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/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/instructions/dirien/yet-another-agent-harness/agents-md"><img src="https://agentmods.dev/badge/instructions/dirien/yet-another-agent-harness/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.5 | $0.00947 | $0.00947 |
| Sonnet 5.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 3mo 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.
- 3mo 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 (19 stars, last pushed 6mo ago), licensed MIT. It adds 2,368 tokens to every session, about $0.0095 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-09-03.
yet-another-agent-harness AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yet-another-agent-harness AGENTS.mddirien/yet-another-agent-harness | Instructions file | 19 | 6mo ago | MIT | A | 2,368 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,951 | Codex, OpenCode |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 291k | today | MIT | A | 4,396 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,303 | GitHub Copilot |