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 skills add yknnv/brownspec --skill repo-readinggit clone --depth 1 https://github.com/yknnv/brownspecWrote 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/yknnv/brownspec/repo-reading)<a href="https://agentmods.dev/skills/yknnv/brownspec/repo-reading"><img src="https://agentmods.dev/badge/skills/yknnv/brownspec/repo-reading/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/skills/yknnv/brownspec/repo-reading"><img src="https://agentmods.dev/badge/skills/yknnv/brownspec/repo-reading.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.00057 | $0.01316 |
| Opus 5 | $0.00028 | $0.00658 |
| Sonnet 5 | $0.00011 | $0.00263 |
| Haiku 4.5 | $0.00006 | $0.00132 |
Grade A, and why
repo-reading 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 9d 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 — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reading an existing repository
Three levels, run lazily and in order. Each is more expensive than the last, so no level runs until something actually needs it. Most of a spec never needs level 3.
Everything Brownspec writes lives under .brownspec/ in the target repository:
.brownspec/
├── conventions.md generated, safe to overwrite
├── policies.md written by people, never overwritten
├── project-map.json cache
└── features/<slug>/ spec.md · design.md · tasks.md · trace.json
Level 1 — Project map
Cost: cheap. Cached: .brownspec/project-map.json.
Establish the shape of the repository, nothing more:
- Language, runtime version, dependency manager, and the manifest file that declares them
- Top-level module or service layout, and what each is for in one line
- Entry points — binaries, HTTP servers, workers, scheduled jobs, CLI
- Where tests live and how they are run
- Where database migrations live, if any
- Build, lint, and CI configuration files
Invalidation. Record the dependency manifest's path and modification time in the cache. If the manifest has changed since, rebuild the map. Otherwise reuse it — do not re-read the repository to answer a question level 1 already answered.
Write it as JSON so later runs can read it without re-deriving anything:
{
"generated": "<date>",
"manifest": { "path": "pyproject.toml", "mtime": "<iso8601>" },
"language": "python 3.12",
"package_manager": "uv",
"modules": [{ "path": "app/api", "role": "HTTP handlers" }],
"entry_points": [{ "kind": "http", "path": "app/main.py" }],
"tests": { "path": "tests", "runner": "pytest" },
"migrations": { "path": "migrations", "tool": "alembic" }
}
Level 2 — Conventions by sample
Cost: moderate. Cached: .brownspec/conventions.md.
Do not summarize the whole codebase, and do not describe an ideal. Pick two or three modules closest to the work at hand and extract what they actually do:
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.
- 9d ago First seen · 139 lines · 57 tokens per session scan A 28f299dbcd99
repo-reading is a skill published in the GitHub repository yknnv/brownspec (2 stars, last pushed 12d ago), licensed MIT. It adds 57 tokens to every session and 1,316 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-31.
Other skills, from other repositories
review
Use in the Review phase before claiming any Java/Spring task is complete, fixed, or passing. Spawns the auditor subagents that check the implementation against every applicable skill, rule, and memory item, runs the test suite for fresh evidence, and re-spawns for at most two fix rounds before reporting what survives.…
cleanup-audit
Audit codebase for dead code, unused exports, orphaned files, and stale manifests.
link-check
Verify @file references in AIWG skills and agents against the linking contract — per-file or corpus-wide, with optional auto-fix.
audit-agents-skills
Audit Claude Code agents, skills, and commands for quality and production readiness. Use when evaluating skill quality, checking production readiness scores, or comparing agents against best-practice templates.
design-patterns
Detect, suggest, and evaluate GoF design patterns in TypeScript/JavaScript codebases. Use when refactoring code, applying singleton/factory/observer/strategy patterns, reviewing pattern quality, or finding stack-native alternatives for React, Angular, NestJS, and Vue.
pr-triage
4-phase PR backlog management with audit, deep code review, validated comments, and optional worktree setup. Use when triaging pull requests, catching up on pending code reviews, or managing a backlog of open PRs. Args: 'all' to review all, PR numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit…