Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/daichunghy/agentsmd/agents-mdgit clone --depth 1 https://github.com/daichunghy/agentsmdWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00258 | $0.00258 |
| Opus 5 | $0.00129 | $0.00129 |
| Sonnet 5 | $0.00052 | $0.00052 |
| Haiku 4.5 | $0.00026 | $0.00026 |
Grade A, and why
agentsmd AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
AGENTS.md
Setup
Run npm install once; Node >= 18.
Build
npm run build compiles src/ to dist/. npm run build:action bundles
the GitHub Action entry to action-dist/index.js (committed).
Test
npm run verify is the full gate: typecheck, build, action bundle, tests
(including golden fixtures, determinism, text/JSON parity, and process
tests). Run it before considering any change complete.
Conventions
- TypeScript strict mode; no
anyinsrc/. - The CLI keeps zero runtime dependencies; Action-only dependencies are
inlined into
action-distat build time. - Core logic is pure over the injected
FileReader; tests useMemFsfixture trees fromfixtures/. - Lint/score output must stay deterministic: no timestamps, no absolute paths, canonical JSON with sorted keys.
- Conventional commits (
feat:,fix:,test:,chore:,docs:). - Design authority:
docs/superpowers/specs/2026-08-22-agentsmd-mvp-design.md.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 29 lines · 258 tokens per session scan A b8aa82a3e482
agentsmd AGENTS.md is an instructions file published in the GitHub repository daichunghy/agentsmd (1 stars, last pushed 4d ago), licensed MIT. It adds 258 tokens to every session, about $0.0013 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
mda CLAUDE.md
Instructions for sno-ai/mda, covering claude.md — sno-ai/mda, release process for @markdown-ai/cli, to cut a release (any 1.1.x, 1.2.0, 2.0.0 — same flow), release notes — non-negotiable and what's new.
ruleblast AGENTS.md
Instructions for Kpoiut/ruleblast, covering ruleblast repository instructions, evidence before confidence, change discipline and before a commit.
ai-protocol AGENTS.md
Instructions for dnlbox/ai-protocol, covering agents.md, instruction format, instruction discovery, project truth and approved objectives.
agents-md-kit AGENTS.md
Linter, validator, and scaffolding tool for AGENTS.md and SKILL.md files.
agentic-plugins CLAUDE.md
Instructions for theagenticguy/agentic-plugins, covering agentic-plugins, repo structure, harness tool names — do not confuse, no roadmap or migration commentary in skill files and skill architecture: two-tier pattern.
agents-md-sync AGENTS.md
Instructions for trick77/agents-md-sync, covering agent instructions — agents-md-sync, project, stack, coding and testing.