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/d-o-hub/github-template-ai-agents/claude-mdgit clone --depth 1 https://github.com/d-o-hub/github-template-ai-agentsWrote 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/instructions/d-o-hub/github-template-ai-agents/claude-md)<a href="https://agentmods.dev/instructions/d-o-hub/github-template-ai-agents/claude-md"><img src="https://agentmods.dev/badge/instructions/d-o-hub/github-template-ai-agents/claude-md.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.00439 | $0.00439 |
| Opus 5 | $0.00219 | $0.00219 |
| Sonnet 5 | $0.00088 | $0.00088 |
| Haiku 4.5 | $0.00044 | $0.00044 |
Grade C, and why
github-template-ai-agents CLAUDE.md scanned grade C with 1 finding 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 yesterday.
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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- Claude Code-specific instructions only. Do not duplicate content from AGENTS.md. --> What it actually says
@AGENTS.md
Claude Code Features
Sub-Agents
Sub-agent definitions live in .claude/agents/. Each is a Markdown file with YAML
frontmatter (name, description, tools, model).
Default agents in this template:
agent-creator- scaffold new sub-agent definitionsgoap-agent- goal-oriented action planning for complex workflowsloop-agent- iterative refinement loopsanalysis-swarm- parallel multi-perspective code analysis
Delegate context-heavy research to sub-agents to keep the parent session focused.
See agents-docs/SUB-AGENTS.md.
Skills
Skills live canonically in .agents/skills/. The .claude/skills/ folder contains
only symlinks. Run ./scripts/setup-skills.sh once after cloning.
Skills use progressive disclosure - SKILL.md is injected only when the agent
decides the skill is needed. Do not pre-load all skills at session start.
See agents-docs/SKILLS.md.
Custom Commands
Project slash commands live in .claude/commands/. Use them for repeatable workflows.
Metrics
After every task, append using: ./scripts/log-metric.sh '<json>'
Entries go to .agents/metrics/metrics-{agent}.jsonl.
See agents-docs/METRICS.md.
Verification hooks run automatically on agent stop events.
- Exit
0= silent success (nothing extra enters context) - Exit
2= errors surfaced to agent, forcing remediation before finishing Seeagents-docs/HOOKS.md.
Headless / CI Mode
claude -p "your prompt" --output-format stream-json
Context Management
- Use
/clearbetween unrelated tasks - Use
Glob/Grepto find code instead of reading whole file trees - Prefer sub-agents for multi-step research tasks
- See
agents-docs/CONTEXT.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.
- yesterday First seen · 57 lines · 439 tokens per session scan C 51f2b3a41d2d
github-template-ai-agents CLAUDE.md is an instructions file published in the GitHub repository d-o-hub/github-template-ai-agents (2 stars, last pushed yesterday), licensed MIT. It adds 439 tokens to every session, about $0.0022 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other instructions, from other repositories
festival GEMINI.md
Gemini CLI instructions for Obedience-Corp/festival: Festival is a goal-oriented project management methodology for human and AI development workflows, driven by the fest and camp CLIs, installed and kept in sync by a third tool, festival. The skills imported below describe how to plan and execute festivals. Load them…
claude-project-skill CLAUDE.md
Instructions for ZOO-AiiiPM/claude-project-skill, covering claude-project-skill, 跨 session 协作(硬规则), 项目硬规则, 关键资源索引 and 待做.
claude-code-for-pms CLAUDE.md
Claude Code instructions for lautarogiambroni/claude-code-for-pms, covering claude code for pms and rules.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.