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/yc-software/qm/agents-mdgit clone --depth 1 https://github.com/yc-software/qmWhat 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.01797 | $0.01797 |
| Opus 5 | $0.00898 | $0.00898 |
| Sonnet 5 | $0.00359 | $0.00359 |
| Haiku 4.5 | $0.00180 | $0.00180 |
Grade A, and why
qm 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 2d 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 — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
qm
To run and test, see README.md.
Working on the code
Two habits that keep task-focused changes from scarring the rest of the repo:
- Fix every instance, not just the reported one. When you find a bug or a pattern
worth changing, grep the whole repo (
src/,plugins/,test/,scripts/) for the same pattern and fix all of it in the same change. One autocorrected call site with five untouched siblings is a regression waiting to be rediscovered. - Fixes should make the system simpler, not more complex. Prefer removing or consolidating code over adding a new layer, flag, or special case. If a fix grows the system's surface area, look for the version that shrinks it.
- Never leave comments in the repo. The standard is zero comments: no explanatory comments or docblocks, TODO/FIXME notes, lint/type suppression directives, or commented-out code. Express intent through names, structure, and tests; put rationale in commit messages or PR descriptions. Interpreter shebangs are executable directives, not comments.
- Solve at the layer all paths flow through. Before patching a call site, ask
whether the fix belongs in the shared helper, the store interface, or the base
module instead. Check for an existing helper before writing a new one-liner.
The helper homes:
src/util/errors.ts(errMessage/swallow),src/util/async.ts(sleep, createKeyedQueue),src/util/sweeper.ts(periodic loops),src/sandbox/process-poll.ts(process polling/liveness),src/memory/notebook.ts(memory line grammar). Plugins are separate packages and keep their own local copies rather than importing core code — the one exception is the sharedplugins/chassispackage (the sanctioned home for the plugin↔core plumbing: source-auth signer, signed core-client, node:http helpers, error helpers, CORE_* env), imported by relative path and never importing core. The bar cuts both ways: don't manufacture an abstraction for a pattern with one caller. - Never merge to
mainwithout a fresh-context pass that tries to break the change. Not a blessing — hunt for the bug, the missed edge case, the unstated assumption, the thing that regresses. Always dispatch/code-reviewor an independent review agent that did not watch you write the change: the context that produced a diff already believes it is correct, and that belief is the bias review exists to defeat. Never self-review in the authoring context, however small the diff; a green CI run is not review either. What scales with risk is how deep the reviewer goes — a change with a narrow blast radius warrants one reviewer at modest effort scoped to the diff, while core control flow, auth and credentials, data loss or migrations, concurrency and retry logic, spend, public API contracts, the shared helpers above that every path flows through, or a diff too large to hold in your head warrant high effort and several reviewers with distinct lenses. Judge blast radius by checking callers, not by counting files — a one-line edit to a helper with fifty importers is not a small change. The reviewer, not the author, has the last word on depth: a modest pass that spots risk it wasn't scoped for escalates on its own initiative rather than staying in its lane. Resolve what they find before merging. - Verify locally with the affected tests, not the whole suite. Run the tests covering what you changed plus typecheck and lint, then push and let CI be the full gate — CI shards the suite across parallel runners, and reproducing that serially costs several times the wall clock for the same signal. Judge "affected" by callers rather than by diff size, for the same reason as above; run everything locally when you can't tell what a change reaches.
- Verify non-trivial behavior changes in a live dev instance before opening a PR.
When a change is substantial enough that unit tests alone won't prove it works
end-to-end — new or changed agent behavior, or anything touching the Slack/web
surfaces, orchestrator, directory, or cron flows — boot this worktree with the
/dev-instanceskill and exercise it through a browser against the configured Slack development workspace before opening a PR. Do this Slack QA in Firefox, never the Slack Mac app, and don't ask permission first — do it on your own; don't wait to be asked. Skip it for trivial refactors, docs, config, or pure-logic changes already covered by tests. - Demo every front-end change in the PR. Anything an operator or user sees rendered — admin/web/portal UI, Slack surfaces, emails — ships with a way for a reviewer to see the result without booting it. Prefer a link to a live demo app (e.g. the built UI served against a small mock API, published internally) so the reviewer can click around the real thing; note in the PR what's mocked. Fall back to screenshots only when a live demo isn't practical (e.g. Slack surfaces, emails), and then show the after state (before/after for changes to something that existed), rendered against realistic data.
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.
- 2d ago First seen · 111 lines · 1,797 tokens per session scan A 8a67f75a2c3c
qm AGENTS.md is an instructions file published in the GitHub repository yc-software/qm (14,428 stars, last pushed today), licensed MIT. It adds 1,797 tokens to every session, about $0.0090 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
superturtle CLAUDE.md
Instructions for Rigos0/superturtle, covering superturtle user notes, latest release highlights, important migration info, common commands and notes for the turtle.
superturtle AGENTS.md
Instructions for Rigos0/superturtle, a project described as: Coding agent on your phone 🐢.
pydantic-ai AGENTS.md
Instructions for pydantic/pydantic-ai, covering your primary responsibility is to the project and its users, gathering context on the task, ensuring the task is ready for implementation, philosophy and requirements of all contributions.
nullclaw CLAUDE.md
Instructions for nullclaw/nullclaw, covering claude.md, mandatory reference, build & test commands, requires exactly zig 0.16.0 (verify: zig version) and build flags.
ratel AGENTS.md
Instructions for ratel-ai/ratel, covering agents.md — working in the ratel repo, build & test, rust, ts and python (from src/sdk/python/; needs uv).
openclaw CLAUDE.md
Claude Code instructions for openclaw/openclaw, a project described as: Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞.