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 skills add mblode/agent-skills --skill agents-mdgit clone --depth 1 https://github.com/mblode/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mblode/agent-skills/agents-md)<a href="https://agentmods.dev/skills/mblode/agent-skills/agents-md"><img src="https://agentmods.dev/badge/skills/mblode/agent-skills/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mblode/agent-skills/agents-md"><img src="https://agentmods.dev/badge/skills/mblode/agent-skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 4 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Agent Snooping · line 95 Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
- high Anti-Refusal · line 115 Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
- medium Rogue Agent · line 94 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Agent Snooping · line 104 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
What 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.1 | $0.00060 | $0.03550 |
| Opus 5.5 | $0.00024 | $0.01420 |
| Sonnet 5.5 | $0.00012 | $0.00710 |
| Haiku 4.5 | $0.00006 | $0.00355 |
Grade A, and why
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 27d 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.
How it starts
The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md Setup and Audit
- IS: wiring a repo so every agent tool in use reads the same rules, then auditing, scoring, refactoring, and writing the AGENTS.md / CLAUDE.md / CLAUDE.local.md files agents load at session start.
- IS NOT: authoring SKILL.md files (use
agent-skills-creator), project docs or READMEs (useghostwriter), or mining session history (use the externalcadence-adviseskill where installed; this skill audits the file as-is).
AGENTS.md files are execution contracts, not knowledge bases. Two tests catch the two ways a line fails.
- Dead weight: "Would removing this cause the agent to make a mistake?" If no, cut it; bloat makes agents ignore the rules that matter.
- Harmful precision: "Is this wrong on any plausible task in this repo?" A prohibition that is wrong one task in ten is still obeyed on that task, and the agent cannot tell that this is the exception. State the outcome you want and let the surrounding code pick the path.
NEVER write commentsbecomesmatch the comment density of the file you are editing: shorter, no exception list to maintain, and correct in a densely commented file without being told.
Absolutes still earn their place for safety, data loss, format contracts, and rules this repo's agents have actually been observed to break.
AGENTS.md is the tool-agnostic source of truth. Claude Code's built-in agents-md mod supports it directly. Use AGENTS.md at the root and in scoped subdirectories, without CLAUDE.md wrappers or symlinks. The default claude-md-or-agents-md mode yields when project Claude instruction files exist on the root-to-working-directory path; see references/project-setup.md for migration, settings, and loader limits. Preserve unique instructions before removing old files. User-level and managed Claude files are separate from repository migration.
Choose a Mode
- Repo has no agent instructions, or targets a tool it is not wired for -> Setup:
references/project-setup.mddecides which files exist and which tool reads each one, then Writing From Scratch below fills the root file, then Audit scores it. - A file exists and the question is quality -> Audit, below.
- A file exists and is over the Size Budget below, stale, or scored badly -> Refactor,
references/refactor-workflow.md.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/evals.json 6.2 KB
- evals/fixtures/claude-file-migration/base/.claude/CLAUDE.md 287 B
- evals/fixtures/claude-file-migration/base/.gitignore 52 B
- evals/fixtures/claude-file-migration/base/AGENTS.md 710 B
- evals/fixtures/claude-file-migration/base/CLAUDE.md 11 B
- evals/fixtures/claude-file-migration/base/package.json 215 B
- evals/fixtures/claude-file-migration/base/packages/api/CLAUDE.md 403 B
- evals/fixtures/claude-file-migration/base/packages/api/package.json 358 B
- evals/fixtures/claude-file-migration/base/packages/api/src/http.ts 332 B runs code
- evals/fixtures/claude-file-migration/base/packages/api/src/routes/quotes.ts 1.3 KB runs code
- evals/fixtures/claude-file-migration/base/packages/web/package.json 273 B
- evals/fixtures/claude-file-migration/base/pnpm-workspace.yaml 27 B
- evals/fixtures/claude-file-migration/fixture.json 32 B
- evals/fixtures/claude-file-migration/worktree/CLAUDE.local.md 335 B
- evals/fixtures/instruction-creep/base/.claude/skills/add-api-route/SKILL.md 1006 B
- evals/fixtures/instruction-creep/base/.claude/skills/db-migrations/SKILL.md 1.3 KB
- evals/fixtures/instruction-creep/base/.claude/skills/email-template/SKILL.md 691 B
- evals/fixtures/instruction-creep/base/.claude/skills/refund-rules/SKILL.md 1.0 KB
- evals/fixtures/instruction-creep/base/.claude/skills/release-checklist/SKILL.md 735 B
- evals/fixtures/instruction-creep/base/.claude/skills/seed-data/SKILL.md 529 B
- evals/fixtures/instruction-creep/base/AGENTS.md 17 KB
- evals/fixtures/instruction-creep/base/package.json 414 B
- evals/fixtures/instruction-creep/base/packages/api/package.json 703 B
- evals/fixtures/instruction-creep/base/packages/web/package.json 561 B
- evals/fixtures/instruction-creep/fixture.json 34 B
- evals/fixtures/missing-deploy-script/base/AGENTS.md 968 B
- evals/fixtures/missing-deploy-script/base/db/migrations/0001_create_notes.sql 146 B
- evals/fixtures/missing-deploy-script/base/db/migrations/0002_add_deleted_at.sql 119 B
- evals/fixtures/missing-deploy-script/base/package.json 375 B
- evals/fixtures/missing-deploy-script/base/scripts/check-migrations.mjs 589 B runs code
- evals/fixtures/missing-deploy-script/base/scripts/migrate.mjs 786 B runs code
- evals/fixtures/missing-deploy-script/base/scripts/publish.mjs 796 B runs code
- evals/fixtures/missing-deploy-script/base/src/routes/notes.mjs 1.5 KB runs code
- evals/fixtures/missing-deploy-script/base/src/server.mjs 1.1 KB runs code
- evals/fixtures/missing-deploy-script/fixture.json 29 B
- evals/fixtures/shared-triage-skill/base/.codex/config.toml 110 B
- evals/fixtures/shared-triage-skill/base/.mcp.json 204 B
- evals/fixtures/shared-triage-skill/base/AGENTS.md 1.4 KB
- evals/fixtures/shared-triage-skill/base/package.json 484 B
- evals/fixtures/shared-triage-skill/base/scripts/changelog.mjs 363 B runs code
- evals/fixtures/shared-triage-skill/base/skills/release-notes/SKILL.md 899 B
- evals/fixtures/shared-triage-skill/base/skills/triage-errors/SKILL.md 1.3 KB
- evals/fixtures/shared-triage-skill/base/src/lib/capture.ts 598 B runs code
- evals/fixtures/shared-triage-skill/fixture.json 30 B
- evals/fixtures/stale-test-command/base/AGENTS.md 623 B
- evals/fixtures/stale-test-command/base/CLAUDE.md 748 B
- evals/fixtures/stale-test-command/base/package.json 341 B
- evals/fixtures/stale-test-command/base/scripts/verify-rates.mjs 563 B runs code
- evals/fixtures/stale-test-command/base/src/ledger.ts 766 B runs code
- evals/fixtures/stale-test-command/base/src/money.ts 818 B runs code
- evals/fixtures/stale-test-command/base/src/rates.json 123 B
- evals/fixtures/stale-test-command/base/tsconfig.build.json 109 B
- evals/fixtures/stale-test-command/base/tsconfig.json 222 B
- evals/fixtures/stale-test-command/fixture.json 31 B
- references/project-setup.md 9.3 KB
- references/quality-criteria.md 4.9 KB
- references/quick-checklist.md 1.8 KB
- references/refactor-workflow.md 3.8 KB
- references/repo-evals.md 3.5 KB
- references/root-content-guidance.md 5.0 KB
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.
- 27d ago Changed · +29 lines 073c8fea67f4
- 1mo ago Changed 4c5bf1560b7b
- 1mo ago Changed · +9 lines · -11 tokens per session 2553c9e0e4b4
- 2mo ago Changed 9e9bf0396b95
- 2mo ago Changed · +4 tokens per session 33457c792219
- 2mo ago Changed · -6 lines · -165 tokens per session 67b88e5b32f7
- 3mo ago First seen · 144 lines · 232 tokens per session scan A e5104a3ac6ef
agents-md is a skill published in the GitHub repository mblode/agent-skills (231 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 3,550 once invoked, about $0.0002 per session on Opus 5.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-30.
agents-md compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agents-mdmblode/agent-skills | Skill | 231 | today | MIT | A | 60 | Claude Code, Codex |
| dcf-modelNousResearch/hermes-agent | Skill | 268k | today | MIT | A | 14 | Claude Code, Codex |
| mle-workflowaffaan-m/ECC | Skill | 315k | yesterday | MIT | A | 44 | Claude Code, Codex |
| autonomous-loopsaffaan-m/ECC | Skill | 315k | yesterday | MIT | A | 26 | Claude Code, Kiro |
| ascii-videoNousResearch/hermes-agent | Skill | 268k | today | MIT | A | 17 | Claude Code, Codex |
| grounded-citationsNousResearch/hermes-agent | Skill | 268k | today | MIT | A | 16 | Claude Code, Codex |
| hermes-agent-skill-authoringNousResearch/hermes-agent | Skill | 268k | today | MIT | A | 22 | Claude Code, Codex |