Borrowing it
Nothing to install: this file belongs to psecor/agent-wiki. 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/psecor/agent-wiki/master/AGENTS.mdgit clone --depth 1 https://github.com/psecor/agent-wikiWrote 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/psecor/agent-wiki/agents-md)<a href="https://agentmods.dev/instructions/psecor/agent-wiki/agents-md"><img src="https://agentmods.dev/badge/instructions/psecor/agent-wiki/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/psecor/agent-wiki/agents-md"><img src="https://agentmods.dev/badge/instructions/psecor/agent-wiki/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.04177 | $0.04177 |
| Opus 5.5 | $0.01671 | $0.01671 |
| Sonnet 5.5 | $0.00835 | $0.00835 |
| Haiku 4.5 | $0.00418 | $0.00418 |
Grade B, and why
agent-wiki AGENTS.md scanned grade B 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 1mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
**Production updates:** `git pull && (cd service && npm install && npm run build) && (cd ui && npm install && npm run build) && sudo systemctl restart agent-wiki`. How it starts
The opening of the file, as written. The whole thing — 255 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — agent-wiki
What This Is
A documentation standard and supporting service for per-project agent-readable wikis. Each project in your workspace gets a single AGENTS.md describing intent, architecture, deployment, gotchas, and cross-project links. This repo defines the spec, hosts cross-cutting topics, and runs a small read-only browser/API.
Status
Spec + indexer + server + UI + sweeper. All pieces working:
- Spec defined (spec/schema.md), template (spec/template.md), topics tier rules (spec/topics.md).
- Indexer parses frontmatter + sections + links, validates, writes
index/{projects,topics,backlinks,search,validation}.json. Also writes generated backlinks footers back into sourceAGENTS.mdfiles (write_backlinks.ts). - Read-only HTTP API in
service/src/server/with Google OAuth (allowlist) + file-based sessions, mounted atPATH_PREFIX(default/wiki). JSON endpoints for projects, topics, search, validation, raw doc bodies. - React + Vite UI in
ui/, served by the Express process fromui/dist/. Pages: Home, Project, Topic, Search, Validation, Login. Markdown rendered withreact-markdown+remark-gfm; cross-doc links rewritten to in-app routes. - Sweeper service in
service/src/sweeper/: gathers per-project git activity sincelast_updated, calls the Claude API (streaming, 32k max_tokens, string-aware brace-counter parser), applies section-level patches, updates frontmatter. CLI supports per-project runs,--allfan-out, and--dry-run. Sweeper auth supports bothANTHROPIC_API_KEYand the Claude Code CLI's own credentials. - Optional automation: on Linux, a daily user-mode systemd timer (
agent-wiki-sweeper.timer) runssweeper --all && indexer build; on macOS, an equivalent LaunchAgent (agent-wiki-sweeper.plist) does the same. A Claude Code Stop-hook (deploy/sweep-on-stop.sh) fires per-project sweeps async, debounced to 60 min/project, and is portable across both OSes.
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.
- 1mo ago Changed · +1 lines · +90 tokens per session 99634cb5d876
- 2mo ago First seen · 254 lines · 4,087 tokens per session scan B cb0b4b5215ca
agent-wiki AGENTS.md is an instructions file published in the GitHub repository psecor/agent-wiki (2 stars, last pushed 1mo ago), licensed MIT. It adds 4,177 tokens to every session, about $0.0167 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
agent-wiki AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-wiki AGENTS.mdpsecor/agent-wiki | Instructions file | 2 | 1mo ago | MIT | B | 4,177 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 275k | 3d ago | MIT | A | 4,313 | Codex, OpenCode |