Skip to main content
Shared instructions for every agent tool.
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, and agentsmd/** files.
  • Those files define cross-tool behavior, tool use, and on-demand rules.
  • The instructions flake 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.
Cross-repo writing standards that humans also need to read live on this docs site. They cover commit conventions, no-scripts, diagramming, CI/CD policy, OpenTofu check placement, Nix package placement, and scrubbed values. See Conventions for the full set. Situational agent guidance ships as on-demand skills in claude-code-plugins instead of always-loaded rules. Examples include pre-commit architecture, the Nix tool policy, and shared-workflow org references. This keeps the per-session footprint focused on voice, tool use, skill-execution integrity, and repository-local routing. The default development loop is intentionally lightweight. It gathers enough context, chooses the simplest verifiable path, implements the smallest correct change, and reports the result plus verification. PRD-heavy, test-first gating remains available for high-risk or explicitly gated work.

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.
That’s the entire file. Two lines of content (plus a heading). All actual project guidance lives in 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 a CLAUDE.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

  1. Move every section of the existing CLAUDE.md into AGENTS.md (merge with any existing content, dedupe, prefer linking to docs/*.md for deep dives).
  2. Replace CLAUDE.md with the two-line import shown earlier.
  3. If AGENTS.md ends up > 12 KB, either trim further (link out to docs/) or add a .file-size.yml extension:
  4. Mirror the same change in any other agent file (for example, GEMINI.md → @AGENTS.md).
  5. Update CI: most repos already inherit the _file-size check from JacobPEvans/.github. No per-repo workflow edit needed.

How it fits

Configured AI tools read the files rendered by the instructions flake package. See the catalog page for its delivery contract.
This repository points to the shared instructions in the prompt catalog. The current rules live in that bundle.

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.

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.