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/dirien/yet-another-agent-harness/agent-rulesnpx skills add dirien/yet-another-agent-harness --skill agent-rulesgit clone --depth 1 https://github.com/dirien/yet-another-agent-harnessWrote 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/dirien/yet-another-agent-harness/agent-rules)<a href="https://agentmods.dev/skills/dirien/yet-another-agent-harness/agent-rules"><img src="https://agentmods.dev/badge/skills/dirien/yet-another-agent-harness/agent-rules.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.00063 | $0.01141 |
| Opus 5 | $0.00032 | $0.00571 |
| Sonnet 5 | $0.00013 | $0.00228 |
| Haiku 4.5 | $0.00006 | $0.00114 |
Grade A, and why
agent-rules 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 5d 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 — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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
- Standardizing agent documentation across repositories
- Checking if AGENTS.md files are current with recent 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/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)
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.
- AGENTS.md 3.9 KB
- assets/example-workflows/validate-agents.yml 2.7 KB
- assets/root-thin.md 5.7 KB
- assets/root-verbose.md 5.5 KB
- assets/scoped/backend-go.md 3.6 KB
- assets/scoped/backend-php.md 3.0 KB
- assets/scoped/backend-python.md 2.6 KB
- assets/scoped/backend-typescript.md 2.8 KB
- assets/scoped/claude-code-skill.md 3.4 KB
- assets/scoped/cli.md 2.7 KB
- assets/scoped/concourse.md 5.2 KB
- assets/scoped/ddev.md 2.4 KB
- assets/scoped/docker.md 5.3 KB
- assets/scoped/documentation.md 3.5 KB
- assets/scoped/examples.md 3.4 KB
- assets/scoped/frontend-typescript.md 2.7 KB
- assets/scoped/github-actions.md 5.2 KB
- assets/scoped/gitlab-ci.md 4.6 KB
- assets/scoped/oro-bundle.md 6.5 KB
- assets/scoped/oro-project.md 5.5 KB
- assets/scoped/python-modern.md 6.1 KB
- assets/scoped/resources.md 3.5 KB
- assets/scoped/skill-repo.md 5.4 KB
- assets/scoped/symfony.md 5.3 KB
- assets/scoped/testing.md 3.0 KB
- assets/scoped/typo3-docs.md 3.6 KB
- assets/scoped/typo3-extension.md 5.1 KB
- assets/scoped/typo3-project.md 4.7 KB
- assets/scoped/typo3-testing.md 3.0 KB
- checkpoints.yaml 9.0 KB
- CLAUDE.md 9 B
- evals/evals.json 21 KB
- references/ai-contribution-guidelines.md 2.5 KB
- references/ai-tool-compatibility.md 7.9 KB
- references/analysis.md 11 KB
- references/directory-coverage.md 2.4 KB
- references/examples/coding-agent-cli/AGENTS.md 2.5 KB
- references/examples/coding-agent-cli/go.mod 45 B
- references/examples/coding-agent-cli/scripts-AGENTS.md 10 KB
- references/examples/express-api-ts/.env.example 232 B
- references/examples/express-api-ts/AGENTS.md 3.1 KB
- references/examples/express-api-ts/package.json 757 B
- references/examples/express-api-ts/pnpm-lock.yaml 101 B
- references/examples/express-api-ts/src/AGENTS.md 3.1 KB
- references/examples/express-api-ts/src/config.ts 917 B runs code
- references/examples/express-api-ts/src/controllers/userController.ts 2.1 KB runs code
- references/examples/express-api-ts/src/index.ts 671 B runs code
- references/examples/express-api-ts/src/middleware/errorHandler.ts 1.0 KB runs code
- references/examples/express-api-ts/src/middleware/requestLogger.ts 471 B runs code
- references/examples/express-api-ts/src/routes/health.ts 428 B runs code
- references/examples/express-api-ts/src/routes/users.ts 397 B runs code
- references/examples/express-api-ts/src/utils/errors.ts 1.2 KB runs code
- references/examples/express-api-ts/src/utils/logger.ts 441 B runs code
- references/examples/express-api-ts/tsconfig.json 630 B
- references/examples/fastapi-app/.env.example 348 B
- references/examples/fastapi-app/AGENTS.md 3.2 KB
- references/examples/fastapi-app/pyproject.toml 1.8 KB
- references/examples/fastapi-app/src/__init__.py 58 B runs code
- references/examples/fastapi-app/src/AGENTS.md 2.9 KB
- references/examples/fastapi-app/src/config.py 1.1 KB runs code
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.
- 5d ago First seen · 84 lines · 63 tokens per session scan A c450539f8d90
agent-rules is a skill published in the GitHub repository dirien/yet-another-agent-harness (20 stars, last pushed 3mo ago), licensed MIT. It adds 63 tokens to every session and 1,141 once invoked, about $0.0003 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-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…