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 skills/n-n-code/n-n-code-skills/agents-md-generatornpx skills add n-n-code/n-n-code-skills --skill agents-md-generatorgit clone --depth 1 https://github.com/n-n-code/n-n-code-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/n-n-code/n-n-code-skills/agents-md-generator)<a href="https://agentmods.dev/skills/n-n-code/n-n-code-skills/agents-md-generator"><img src="https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/agents-md-generator.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00088 | $0.01800 |
| Opus 5 | $0.00044 | $0.00900 |
| Sonnet 5 | $0.00018 | $0.00360 |
| Haiku 4.5 | $0.00009 | $0.00180 |
Grade A, and why
agents-md-generator 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 today.
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 — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md generator
Create high-signal, repository-grounded instructions with a host-neutral semantic core for coding-agent hosts that support AGENTS.md. Treat tool-specific instruction files as adapters when a host requires them.
Scope and side effects
findingsanddraftdo not authorize instruction-file edits. Onlyapplyauthorizes those edits, limited to the requested files; validation side effects require separate authorization under the rule below.- The default target is the root
AGENTS.md. Create or revise a nested target only when the user names or approves that path and selectsapply. - Repository inspection is read-only. Validation commands may write caches or artifacts, install dependencies, use the network, or trigger external systems. Assess them first, run the smallest safe check, and get authorization before consequential validation.
- Before editing, inspect the target file and any existing worktree diff. Preserve unrelated and pre-existing changes.
- Never delete or overwrite source instruction files such as
CLAUDE.mdwithout explicit authorization covering those files. Reuse authorization already granted for the same action. Report any validation artifacts that cannot be safely cleaned up.
Core workflow
- Define the task, output, and target independently so mixed requests remain representable.
- Inspect the repository, existing instruction files, and target-file worktree state.
- Resolve operational facts, policy, host compatibility, and source conflicts using the rules below.
- Ask only the missing questions that materially affect the result.
- Produce findings, a draft, or authorized edits for the selected root or nested target.
- Decide whether nested files or host-specific adapters are justified.
- Validate claims and, after writes, review the resulting diff.
- Tighten the instructions and hand off evidence, assumptions, and residual uncertainty.
Do not skip repository inspection unless the user supplies the complete relevant context.
What ships with it
3 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.
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.
- today Changed 949caf638ac1
- 5d ago First seen · 120 lines · 88 tokens per session scan A 9e9c99fe04bd
agents-md-generator is a skill published in the GitHub repository n-n-code/n-n-code-skills (4 stars, last pushed today), licensed MIT. It adds 88 tokens to every session and 1,800 once invoked, about $0.0004 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 skills, from other repositories
audit-docs
Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap (or vice versa), fix-index entries already merged/closed, broken documentation-map links, dependency cycles, artifacts in the wrong language, naming-convention violations — and reports them…
audit-pr
Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the current review-change REVIEW-PASS receipt instead of re-running review axes; posts a SHA-bound ready comment; never edits or merges. Triggers: "audit-pr", "is this PR ready", "merge gate".
design-feature
Turn a raw idea or existing feature into a designed product SPEC by completing entity, integration, role, and expectation closure. Upserts never destroy recorded decisions. Triggers: "design-feature", "design this feature", "define product scope".
plan-feature-from-issue
Internal step of plan-feature: turn a feature-request issue into a scoped, sized, roadmap-mapped SPEC product half (capability closure satisfied) with Closes #N traceability.
plan-feature
Route designed features or issues into engineering planning and roadmap registration; undesigned work stops at design-feature. Supports --next, --from-issue, and --scaffold. Triggers: "plan-feature", "plan a feature", "plan the next roadmap feature", "create SPEC and TASKS".
product-audit
Audit the whole product across code, quality, process, docs, roadmap, and tooling. Persist one severity-ranked, F-numbered report with proposals; never fix or file work. Triggers: "product-audit", "audit the product", "full health check", "are we product-ready", "CTO review".