Borrowing it
Nothing to install: this file belongs to npstorey/civic-ai-tools. 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/npstorey/civic-ai-tools/main/AGENTS.mdgit clone --depth 1 https://github.com/npstorey/civic-ai-toolsWrote 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/npstorey/civic-ai-tools/agents-md)<a href="https://agentmods.dev/instructions/npstorey/civic-ai-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/npstorey/civic-ai-tools/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.01549 | $0.01549 |
| Opus 5 | $0.00775 | $0.00775 |
| Sonnet 5 | $0.00310 | $0.00310 |
| Haiku 4.5 | $0.00155 | $0.00155 |
Grade C, and why
civic-ai-tools AGENTS.md scanned grade C 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 8d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- **Prove any install-path claim in a fresh `git clone`,** never an in-place `rm -rf node_modules`; npm 10.x runs How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
The hub repo of a four-repo project: MCP configs and setup tooling for civic open data (NYC Open Data via Socrata, Google
Data Commons), the Typed Standards Specification and its ADRs, the source of truth for shared skill guidance, and the
publish-record skill. npm workspaces (one package, packages/civic-typed-harness) alongside Python examples. Cursor
and Codex read this file natively; CLAUDE.md is a one-line bridge to it.
Boundaries
This repo is public. Strategic and relationship context — named external stakeholders, prospective collaborators, pre-meeting strategy, private outreach plans, named individuals' opinions — lives in local-only planning docs, never here. Use neutral phrasing ("an external stakeholder", "an upcoming demo") wherever output lands in this repo; if a prompt you received carries strategic context, scrub it first.
Never push to main, and never bypass a git hook or the pre-push sensitivity guard. The guard scans the added lines
of each outgoing commit, not the net diff, so a fix commit on top never clears it — rebuild the branch history.
Secret hygiene (incident: civic#174, the 2026-08-22 token exposure). Never cat, head, tail, or otherwise dump
.env*, auth.json, credentials*, *.pem, *.key, or anything under ~/.ssh or ~/.aws. Two reads are permitted:
a field-scoped read by key name (grep '^VAR_NAME=' .env, or jq over non-secret fields), and a command the tool
itself exposes (publish.py --list-tokens prints prefix, scope, and expiry only). One prohibition: never
load-and-print a credentials file, even through a redaction filter — a filter applied at the wrong nesting level prints
the value it was written to hide. Publish tokens live in ~/.config/civic-ai-tools/credentials.json; --logout is
local-only, revocation is the dashboard. Setup keys belong in .env; tell a user to paste them there, never into a chat.
Commands
| Command | Healthy output |
|---|---|
npm ci |
added 116 packages, and audited 118 packages … found 0 vulnerabilities; leaves packages/civic-typed-harness/dist populated |
npm run build |
the tsc -p tsconfig.json echo and nothing after it, exit 0 |
npm test |
# pass 125 / # fail 0 (node --test TAP; includes the golden byte-compat suite) |
npm run typecheck |
no output, exit 0 |
npm run lint |
no output, exit 0 |
npm run check:budgets |
Dependency-budget check passed. — twin check:budgets:self-test → # pass 9 / # fail 0 |
npm run check:spec-frontmatter |
Spec-frontmatter check passed. — twin check:spec-frontmatter:self-test → # pass 11 / # fail 0 |
npm run check:skill-drift |
Skill-drift check passed — every embedded copy matches its source of truth. — twin check:skill-drift:self-test → # pass 29 / # fail 0 |
python3 .claude/skills/publish-record/test_publish.py |
Ran 73 tests … OK |
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.
- 8d ago First seen · 81 lines · 1,549 tokens per session scan C 294602877f27
civic-ai-tools AGENTS.md is an instructions file published in the GitHub repository npstorey/civic-ai-tools (41 stars, last pushed 3d ago), licensed MIT. It adds 1,549 tokens to every session, about $0.0077 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
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).
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.
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.
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).
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.