Borrowing it
Nothing to install: this file belongs to jayminwest/canopy. 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/jayminwest/canopy/main/AGENTS.mdgit clone --depth 1 https://github.com/jayminwest/canopyWrote 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/jayminwest/canopy/agents-md)<a href="https://agentmods.dev/instructions/jayminwest/canopy/agents-md"><img src="https://agentmods.dev/badge/instructions/jayminwest/canopy/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/jayminwest/canopy/agents-md"><img src="https://agentmods.dev/badge/instructions/jayminwest/canopy/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.04243 | $0.04243 |
| Opus 5.5 | $0.01697 | $0.01697 |
| Sonnet 5.5 | $0.00849 | $0.00849 |
| Haiku 4.5 | $0.00424 | $0.00424 |
Grade A, and why
canopy 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 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.
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 — 392 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file is the canonical entry point for AI coding agents working in
the canopy repo, following the agents.md
convention. It mirrors the essentials from CLAUDE.md; when the two
disagree, CLAUDE.md is authoritative and this file should be updated
to match.
What this project is
Canopy is git-native prompt management for AI agent workflows.
Prompts are structured records with composable sections, inheritance,
versioning, and schema validation. The JSONL file IS the database;
cn emit renders prompts to plain .md (or .ts) files for any
downstream tool to consume. Minimal runtime dependencies, advisory
file locks for concurrent agents, Bun runtime.
Canopy is part of the os-eco ecosystem alongside warren (control
plane), burrow (sandbox), plot (coordination), mulch (expertise), and
seeds (issue tracking). See SPEC.md for the full design record.
Tech stack at a glance
- Runtime: Bun (runs TypeScript directly; no build step on the CLI).
- Language: TypeScript with strict mode (
noUncheckedIndexedAccess, noany). - Lint / format: Biome (
biome.json). Errors fail CI; theuseFilenamingConventionrule enforces kebab-case filenames. - Tests:
bun testdiscovers*.test.tsnext to the file under test; configuration lives inbunfig.toml. - Storage: JSONL files under
.canopy/(one per record type, diffable / mergeable,merge=uniongitattribute). - CLI:
cn(defined insrc/index.ts, dispatched via commander).
Project layout
canopy/
├── src/
│ ├── index.ts # cn CLI entry point + Commander wiring
│ ├── commands/ # one file per subcommand
│ ├── render.ts # inheritance resolution
│ ├── validate.ts # schema validation
│ ├── store.ts # JSONL read/write with advisory locks
│ ├── output.ts # human + JSON output helpers
│ ├── frontmatter.ts # YAML frontmatter renderer
│ ├── yaml.ts # minimal built-in YAML parser
│ └── ...
├── scripts/ # quality-gate scripts (size, debt, coverage, …)
│ ├── check-all.ts # canonical quiet runner (byte-identical fleet-wide)
│ ├── check-ci-parity.ts # CI ⇄ check:all parity gate (byte-identical fleet-wide)
│ ├── ci-parity-config.json # per-repo parity escape hatches (aliases / ciOnly)
│ ├── validate-agents-md.ts # validates this file's references
│ ├── generate-cli-docs.ts # emits docs/cli-reference.md
│ ├── check-file-sizes.ts
│ ├── check-debt-markers.ts
│ ├── check-coverage.ts
│ ├── report-test-timing.ts
│ └── report-quality-metrics.ts
├── budgets/ # ratchet budgets (coverage, file-size, debt)
├── docs/
│ ├── cli-reference.md # auto-generated; do not edit
│ └── architecture.mmd # mermaid service diagram
├── .canopy/ # canopy's own prompts (dogfood)
├── .factory/skills/ # repo-local agent skills
├── .github/workflows/ # ci.yml + publish.yml + auto-merge.yml
├── SPEC.md # V1 design record
├── README.md # user-facing pitch
├── CHANGELOG.md # release history
├── RUNBOOK.md # release / triage / rollback procedures
├── biome.json
├── bunfig.toml
├── tsconfig.json
└── package.json
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 First seen · 392 lines · 4,243 tokens per session scan A bcc3bf56cf3b
canopy AGENTS.md is an instructions file published in the GitHub repository jayminwest/canopy (41 stars, last pushed 2mo ago), licensed MIT. It adds 4,243 tokens to every session, about $0.0170 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-08-30.
Other instructions, from other repositories
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.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
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 copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.