Agent rules
Use when creating or updating AGENTS.md files, .github/copilot-instructions.md, or other AI agent rule files, onboarding AI agents to a project, standardizing agent documentation, or when anyone mentions AGENTS.md, agent rules, project onboarding, or codebase documentation for AI agents.From its SKILL.md
npx -y skills add netresearch/agent-rules-skill --skill agent-rulesAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its file declares
Copied from the file, not written here
The file declares its own license as (MIT AND CC-BY-SA-4.0). See LICENSE-MIT and LICENSE-CC-BY-SA-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
4.6 KB, 967 tokens by cl100k_base, as published. Nobody here has run it
AGENTS.md Generator Skill
Generate and maintain AGENTS.md files following the agents.md convention. AGENTS.md is FOR AGENTS, not humans.
When to Use
- Creating or updating AGENTS.md for new/existing projects
- Scaffolding a new repository — ship AGENTS.md with the initial commits; retrofitting later needs full re-verification
- Standardizing agent documentation across repositories
- Checking AGENTS.md freshness after code changes
- Onboarding AI agents to an unfamiliar codebase
Scripts
| Script | Purpose |
|---|---|
scripts/generate-agents.sh PATH | Generate AGENTS.md files |
scripts/validate-structure.sh PATH | Validate structure compliance |
scripts/check-freshness.sh PATH | Check if files are outdated |
scripts/verify-content.sh PATH | Verify documented files/commands match codebase |
scripts/verify-commands.sh PATH | Verify documented commands execute |
scripts/score-agents.sh PATH | Grade AGENTS.md quality, worst-first |
scripts/detect-project.sh PATH | Detect language, version, build tools |
scripts/detect-scopes.sh PATH | Identify directories needing scoped files |
scripts/extract-commands.sh PATH | Extract commands from build configs |
scripts/extract-ci-rules.sh PATH | Extract CI quality gates and version matrix |
scripts/extract-architecture-rules.sh PATH | Extract module boundaries |
scripts/extract-adrs.sh PATH | Extract architectural decision records |
scripts/extract-github-rulesets.sh PATH | Extract GitHub rulesets and merge rules |
See references/scripts-guide.md for full options.
Workflow
- Detect:
detect-project.sh+detect-scopes.shto identify stacks and subsystems - Extract:
extract-commands.sh,extract-ci-rules.sh, etc. to gather facts - Generate:
generate-agents.shwith--style=thin(default) or--verbose - Verify:
verify-content.sh+verify-commands.sh-- MANDATORY before done
Use --update to preserve human-curated content outside <!-- GENERATED --> markers.
Core Principles
- Structured over Prose -- tables parse faster than paragraphs
- Never Fabricate -- only document what exists; verify every command and path
- Pointer Principle -- point to files, don't duplicate content
- Auto Symlinks -- CLAUDE.md/GEMINI.md symlinks by default (see
ai-tool-compatibility.md)
References
| File | Contents |
|---|---|
verification-guide.md | Verification steps, anti-bloat |
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 |
Templates
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).
Supported Projects
Go, PHP (Composer/Laravel/Symfony/TYPO3/Oro), TypeScript (React/Next/Vue/Node), Python (pip/poetry/ruff/mypy), Skill repos, Hybrid (auto-scoping).
See Also
agent-harness-skill— agent-readiness harness (CI enforcement).skill-repo-skill— skill-repo structure (plugin.json, licensing, releases).
What ships with it: 151 files
702.6 KB alongside SKILL.md, 53 of them executable
assets/
- example-workflows/validate-agents.yml2.8 KB
- root-thin.md5.7 KB
- root-verbose.md5.5 KB
- scoped/backend-go.md3.6 KB
- scoped/backend-php.md3.0 KB
- scoped/backend-python.md2.6 KB
- scoped/backend-typescript.md2.8 KB
- scoped/claude-code-skill.md3.4 KB
- scoped/cli.md2.7 KB
- scoped/concourse.md5.2 KB
- scoped/ddev.md2.4 KB
- scoped/docker.md5.3 KB
- scoped/documentation.md3.5 KB
- scoped/examples.md3.4 KB
- scoped/frontend-typescript.md2.7 KB
- scoped/github-actions.md5.2 KB
- scoped/gitlab-ci.md4.6 KB
- scoped/oro-bundle.md6.5 KB
- scoped/oro-project.md5.5 KB
- scoped/python-modern.md6.1 KB
- scoped/resources.md3.5 KB
- scoped/skill-repo.md5.4 KB
- scoped/symfony.md5.3 KB
- scoped/testing.md3.0 KB
- scoped/typo3-docs.md3.6 KB
- scoped/typo3-extension.md5.1 KB
- scoped/typo3-project.md4.7 KB
- scoped/typo3-testing.md3.0 KB
evals/
- evals.json20.7 KB
references/
- AGENTS.md3.9 KB
- checkpoints.yaml9.0 KB
- CLAUDE.md9 B
111 more files not listed here. See all 151 in the repository.