Skip to content

Conversation

@jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Jan 12, 2026

Add AGENTS.md, along with a CLAUDE.md that symlinks to the former, and a fetch-spec claude skill.

@jmcarp jmcarp requested a review from a team as a code owner January 12, 2026 19:57
Copy link
Collaborator

@sudomateo sudomateo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll probably write this up more broadly internally but I don't want to be overly dogmatic when it comes to reviewing and merging AI agent content like AGENTS.md, slash commands, and skills. This whole space is rapidly changing so anyone with maintainer access to this repository should be empowered to merge changes to such files without an overly strict review. The only thing I ask is to keep https://agents.md compatibility in mind for those that don't use Claude Code.

AGENTS.md Outdated

For local testing, set `OPENAPI_SPEC_PATH` environment variable to use a local spec file instead.

**Claude skill:** Use `/fetch-spec` to automatically fetch the spec and save it to
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is technically a slash command rather than a skill. I know it's all just blurred at this point but just letting you know.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL. I'm changing this to a proper skill so claude can discover it.

4. Report what you found:
- The Omicron commit version
- The versioned spec filename
- Confirm the spec was saved to `/tmp/oxide-openapi-spec.json`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this save outside the current working directory?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, it'll ask permission, but it works.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll test this with Amp and others, but I think we should put the commands in .agents/commands with .claude/commands symlinked to it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice overview!

Add AGENTS.md, along with a CLAUDE.md that symlinks to the former, and a
`fetch-spec` claude skill.
@jmcarp jmcarp merged commit 43715d5 into main Jan 14, 2026
2 checks passed
@jmcarp jmcarp deleted the agents.md branch January 14, 2026 16:51
- Source spec version tracked in `VERSION_OMICRON`
- Generator in `internal/generate/`
- Templates in `internal/generate/templates/`
- **Do not manually edit** `types.go`, `paths.go`, `responses.go`, or `version.go`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Late to the party, but I was actually wondering about it the other when I was prototyping splitting these files into groups if it would be better to add a prefix (like generated_*.go) to mark which files are auto-generated and should not be manually edited. It sounds like this could be helpful here as well (though I'm not sure how good AIs are at respecting glob patterns 😬 ).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know we discussed this a bit on our sync this week but I wanted to comment here as well. We should feel free to make changes that enable better AI processing. Things like renaming files to generated_*.go or updating the package layout are no longer considered nice to have design decisions but instead provide tangible benefits to ourselves and AI agents. The AI landscape is rapidly changing and our changes to AGENTS.md and others should similarly be subject to rapid modification when necessary. Not reckless modification, rapid modification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants