/agent-rules:agent-rulesfrom agent-rules
Generates and maintains AGENTS.md files for AI agent onboarding. Detects project stack, extracts CI rules and architecture, validates freshness and content accuracy.
Ships in agent-rules. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate and maintain AGENTS.md files following the agents.md convention. AGENTS.md is FOR AGENTS, not humans.
Call every script by its full path: bash ${CLAUDE_SKILL_DIR}/scripts/<name> PATH. Calling one relative to the working directory is not covered by the frontmatter rule and raises a permission prompt per call.
| Script | Purpose |
|---|---|
generate-agents.sh PATH | Generate AGENTS.md files |
validate-structure.sh PATH | Validate structure compliance |
check-freshness.sh PATH | Check if files are outdated |
verify-content.sh PATH | Verify documented files/commands match codebase |
verify-commands.sh PATH | Verify documented commands execute |
score-agents.sh PATH | Grade AGENTS.md quality, worst-first |
detect-project.sh PATH | Detect language, version, build tools |
detect-scopes.sh PATH | Identify directories needing scoped files |
extract-commands.sh PATH | Extract commands from build configs |
extract-ci-rules.sh PATH | Extract CI quality gates and version matrix |
extract-architecture-rules.sh PATH | Extract module boundaries |
extract-adrs.sh PATH | Extract architectural decision records |
extract-github-rulesets.sh PATH | Extract GitHub rulesets and merge rules |
See references/scripts-guide.md for full options.
detect-project.sh + detect-scopes.sh — stacks and subsystemsextract-commands.sh, extract-ci-rules.sh — gather factsgenerate-agents.sh --style=thin (default) or --verboseverify-content.sh + verify-commands.sh -- MANDATORY before done. Replace the generated **Changelog:** TODO: name the file, its format and which PR writes the entry, read from the last merged PRs (AG-32, AG-33)wc -l AGENTS.md must be under 150 (harness AH-02); run the repo's verify-harness.sh where it exists -- CI's harness check fails otherwise--update preserves curated content outside <!-- GENERATED --> markers.
ai-tool-compatibility.md)| File | Contents |
|---|---|
verification-guide.md | Verification steps, anti-bloat, preservation check |
fleet-sync-sweep.md | Fleet-wide AGENTS.md sweeps |
scripts-guide.md | Script options, validation checklist |
quality-rubric.md | Grading rubric |
ai-tool-compatibility.md | 16-agent compatibility matrix |
output-structure.md | Root/scoped sections |
git-hooks-setup.md | Hook framework setup |
examples/ | Complete examples |
ai-contribution-guidelines.md | "3 Cs" AI-contribution framework |
directory-coverage.md | Scoped-file coverage rationale |
feedback-memory-schema.md | Approved-learning file format |
Root: assets/root-thin.md (default) or root-verbose.md. Scoped: assets/scoped/, one per stack (Go/PHP/Python/TYPO3/Symfony/Oro/CLI/TS/skill-repo).
Go, PHP (Composer/Laravel/Symfony/TYPO3/Oro), TypeScript (React/Next/Vue/Node), Python (pip/poetry/ruff/mypy), skill repos, hybrid.
agent-harness-skill — agent-readiness harness (CI enforcement).skill-repo-skill — skill-repo structure (plugin.json, licensing, releases).AGENTS.md (opens in a new tab)assets/example-workflows/validate-agents.yml (opens in a new tab)assets/root-thin.md (opens in a new tab)assets/root-verbose.md (opens in a new tab)assets/scoped/backend-go.md (opens in a new tab)assets/scoped/backend-php.md (opens in a new tab)assets/scoped/backend-python.md (opens in a new tab)assets/scoped/backend-typescript.md (opens in a new tab)assets/scoped/claude-code-skill.md (opens in a new tab)assets/scoped/cli.md (opens in a new tab)assets/scoped/concourse.md (opens in a new tab)assets/scoped/ddev.md (opens in a new tab)assets/scoped/docker.md (opens in a new tab)assets/scoped/documentation.md (opens in a new tab)assets/scoped/examples.md (opens in a new tab)assets/scoped/frontend-typescript.md (opens in a new tab)assets/scoped/github-actions.md (opens in a new tab)assets/scoped/gitlab-ci.md (opens in a new tab)assets/scoped/oro-bundle.md (opens in a new tab)assets/scoped/oro-project.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
agent-rules@netresearch-claude-code-marketplace is listed by netresearch/claude-code-marketplace — review the source before installing
npx claudepluginhub netresearch/claude-code-marketplace --plugin agent-rulesOther plugins' skills for the same job