Language: Shell · Status: active · Last active: · Source on GitHub
ai-assistant-instructions points to
the shared instruction tree in
ai-llm-prompts/auto-ai-agent/instructions/.
The catalog is the current source for shared agent instructions.
What it does
- The catalog owns shared
AGENTS.md,CLAUDE.md, andagentsmd/**files. - Those files define cross-tool behavior, tool use, and on-demand rules.
- The
instructionsflake package delivers the tree. See the catalog page for its render contract. - The catalog also contains a copy-paste rendering of the shared behavioral base for non-Claude agents.
The CLAUDE.md → @AGENTS.md convention
Every repo’s CLAUDE.md is a thin import of AGENTS.md in the same folder. Always. No exceptions.
AGENTS.md. Claude Code resolves @AGENTS.md as an inline file import (official
docs); the contents are loaded into context exactly as if
they had been written into CLAUDE.md directly.
Why
Where it applies
Every repo. Public or private; monorepo or single-purpose; infra or app. If a repo has aCLAUDE.md, it must be the two-line import. Project-level instructions and conventions belong in
AGENTS.md (or files it @imports). Put command runbooks and tool guidance there as well.
The same convention applies symmetrically to GEMINI.md and any future vendor-specific
files: each is a thin import of AGENTS.md.
There is no source-repository exception.
How to migrate a repo
-
Move every section of the existing
CLAUDE.mdintoAGENTS.md(merge with any existing content, dedupe, prefer linking todocs/*.mdfor deep dives). -
Replace
CLAUDE.mdwith the two-line import shown earlier. -
If
AGENTS.mdends up > 12 KB, either trim further (link out todocs/) or add a.file-size.ymlextension: -
Mirror the same change in any other agent file (for example,
GEMINI.md→@AGENTS.md). -
Update CI: most repos already inherit the
_file-sizecheck fromJacobPEvans/.github. No per-repo workflow edit needed.
How it fits
Configured AI tools read the files rendered by theinstructions flake
package. See the catalog page for its
delivery contract.
Getting started
1
Use the shared bundle
Read the current files in
auto-ai-agent/instructions/.
The instructions flake package renders the files for each tool.2
Follow catalog releases
The catalog page explains how
consumers pin the shared instruction package.
Related repos
Repo boundaries
How rules, plugins, and docs are split across three repos.
claude-code-plugins
Extends Claude Code with custom skills, hooks, and commands that respect these rules.
nix-ai
Packages the AI tools that read these rules.
AI pipeline
How rules + tools + automation become an actual development loop.
Current instruction source
Shared agent instructions and on-demand rules.