Borrowing it
Nothing to install: this file belongs to dirien/yet-another-agent-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dirien/yet-another-agent-harness/main/AGENTS.mdgit 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/instructions/dirien/yet-another-agent-harness/agents-md)<a href="https://agentmods.dev/instructions/dirien/yet-another-agent-harness/agents-md"><img src="https://agentmods.dev/badge/instructions/dirien/yet-another-agent-harness/agents-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.1 | $0.02368 | $0.02368 |
| Opus 5 | $0.01184 | $0.01184 |
| Sonnet 5 | $0.00474 | $0.00474 |
| Haiku 4.5 | $0.00237 | $0.00237 |
Grade A, and why
yet-another-agent-harness 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 3d 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 — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Precedence: the closest AGENTS.md to the files you're changing wins. Root holds global defaults only.
Commands (verified)
Source: go.mod + CI (.github/workflows/ci.yaml) — CI-sourced commands are most reliable
| Task | Command | ~Time |
|---|---|---|
| Typecheck | go build -v ./... |
~15s |
| Format | gofmt -w . |
~5s |
| Test (single) | go test -v -race ./path/to/pkg |
~2s |
| Test (all) | go test -v -race -short ./... |
~30s |
| Build | go build -v ./cmd/yaah |
~15s |
| Install locally | go install ./cmd/yaah |
~15s |
If commands fail, verify against go.mod or ask user to update.
Workflow
- Before coding: Read nearest
AGENTS.md+ check Golden Samples for the area you're touching - After each change: Run the smallest relevant check (typecheck → single test)
- Before committing: Run full test suite if changes affect >2 files or touch shared code
- Before claiming done: Run verification and show output as evidence — never say "try again" or "should work now" without proof
File Map
cmd/yaah/ -> CLI entry point (cobra root command)
pkg/catalog/ -> Skill catalog, bundles, discovery, and validation
pkg/harness/ -> Top-level orchestrator wiring all registries
pkg/hooks/ -> Hook registry + handler interface
pkg/hooks/handlers/ -> Built-in handlers (linter, command-guard, secret-scanner, comment-checker, session-logger)
pkg/mcp/ -> MCP server registry + provider interface
pkg/mcp/providers/ -> Built-in MCP providers (yaah, context7, pulumi)
pkg/lsp/ -> LSP registry + provider interface
pkg/lsp/providers/ -> Built-in LSP providers (gopls, pyright, typescript, csharp)
pkg/skills/ -> Skill registry + loader
pkg/skills/builtins/-> Built-in skill definitions (commit, pr, review)
pkg/agents/ -> Agent registry + loader
pkg/commands/ -> Custom CLI command registry
pkg/plugins/ -> Plugin registry
pkg/generator/ -> Per-agent config generators (claude, opencode, codex, copilot)
pkg/schema/ -> Settings types + defaults
pkg/session/ -> Session audit log store
pkg/gitcache/ -> Git-based caching for remote skills/agents
pkg/mcpserver/ -> Built-in MCP server runtime (stdio transport)
internal/cli/ -> CLI wiring (cobra commands, flag parsing)
docs/ -> Component deep-dive + configuration reference
website/ -> Static marketing site (auto-deployed to GitHub Pages)
.claude/skills/ -> Generated + remote skill definitions
.claude/agents/ -> Generated + remote agent definitions
.github/workflows/ -> CI (ci.yaml) + Pages deploy (deploy-pages.yaml)
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.
- 3d ago First seen · 194 lines · 2,368 tokens per session scan A eaa7140161d2
yet-another-agent-harness AGENTS.md is an instructions file published in the GitHub repository dirien/yet-another-agent-harness (20 stars, last pushed 3mo ago), licensed MIT. It adds 2,368 tokens to every session, about $0.0118 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-09-03.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
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.
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).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
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.