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 agentmods add instructions/spiritledsoftware/caplets/agents-mdgit clone --depth 1 https://github.com/spiritledsoftware/capletsWhat 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 | $0.01490 | $0.01490 |
| Opus 5 | $0.00745 | $0.00745 |
| Sonnet 5 | $0.00298 | $0.00298 |
| Haiku 4.5 | $0.00149 | $0.00149 |
Grade A, and why
caplets 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 yesterday.
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 — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Commands
- Use
pnpmonly; the repo pins[email protected]and requires Node>=22. - Install with
pnpm install --frozen-lockfilewhen matching CI. - Full local gate and pre-push hook:
pnpm verify(format:check -> lint -> code-mode:check-api -> schema:check -> docs:check -> typecheck -> test -> benchmark:check -> build). - Fast focused checks:
pnpm format:check,pnpm lint,pnpm typecheck,pnpm test,pnpm build. - Run one package:
pnpm --filter @caplets/core test,pnpm --filter @caplets/sdk test,pnpm --filter caplets build, or replace the filter with@caplets/opencode,@caplets/pi, or@caplets/benchmarks. - Run one Vitest file by passing it after the package script, e.g.
pnpm --filter @caplets/core test -- test/config.test.ts. - Dev server:
pnpm devbuilds/watches@caplets/coreand restartspackages/cli/dist/index.js; runpnpm buildfirst if CLI dist output is missing.
Package Map
packages/coreis the runtime/library source: config parsing, schema generation, MCP/OpenAPI/GraphQL/HTTP/CLI backends, native service exports.packages/sdkowns the independent public Caplets SDK. Its root is the browser/Node Fetch client generated from the canonical public HTTP contract plus curated Caplet Bundle helpers;@caplets/sdk/project-bindingowns the browser-safe fixed-v1 coordinator, and@caplets/sdk/project-binding/nodeowns marker-aware filesystem fingerprints. Keep caller authentication optional and caller-owned, require isolated clients and explicit service/WebSocket roots, and exclude MCP and dashboard-private routes.packages/clipublishes thecapletsbinary and delegates almost all behavior to@caplets/core;caplets servestarts the MCP server, while no args print help.packages/opencodeandpackages/piare native agent integrations that wrap@caplets/core/native; keep integration-specific schema/adapter code there.packages/benchmarksowns deterministic and opt-in live coding-agent benchmarks; deterministic benchmark docs are generated frompnpm benchmark.
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.
- yesterday First seen · 67 lines · 1,490 tokens per session scan A e698e7d66330
caplets AGENTS.md is an instructions file published in the GitHub repository spiritledsoftware/caplets (14 stars, last pushed 8d ago), licensed MIT. It adds 1,490 tokens to every session, about $0.0075 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-30.
Other instructions, from other repositories
agent-device AGENTS.md
AGENTS.md instructions for callstack/agent-device, covering agents.md, incident-derived principles, declaration sites and enforcement, hard repository rules and module and test topology.
api-gateway CLAUDE.md
Instructions for membrane/api-gateway, covering claude.md, working principles, 1. think before coding, 2. simplicity first and 3. surgical changes.
beads AGENTS.md
AGENTS.md instructions for gastownhall/beads, covering agent instructions, key sections, project scope, pr safety for agents and visual design anti-patterns.
LAP CLAUDE.md
Instructions for Lap-Platform/LAP, covering lap - lean api platform, what this is, quick reference, install and run tests.
ai-agent-board AGENTS.md
Instructions for DanWahlin/ai-agent-board, covering agents.md, project overview, architecture, key technical decisions and running locally.
lineark CLAUDE.md
Instructions for flipbit03/lineark, covering claude.md — lineark, what is this, workspace layout, key commands and writing online tests: the three pillars.