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/harehare/mq/generalgit clone --depth 1 https://github.com/harehare/mqWhat 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.00622 | $0.00622 |
| Opus 5 | $0.00311 | $0.00311 |
| Sonnet 5 | $0.00124 | $0.00124 |
| Haiku 4.5 | $0.00062 | $0.00062 |
Grade A, and why
mq general.instructions.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 — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
General Coding Conventions for mq
- Follow Rust best practices and idioms for all Rust code.
- Use meaningful variable, function, and type names.
- Write concise, clear, and specific comments and documentation.
- Avoid magic numbers; use named constants.
- Prioritize code readability and maintainability.
- All code must be formatted with
cargo fmtand passcargo clippy. - Use the
miettecrate for error handling and provide user-friendly error messages. - Avoid panics; return appropriate
Resulttypes instead. - All public items (functions, structs, traits, enums, etc.) must have documentation comments.
- Update or add tests for all new or changed functionality.
- All changes must be reflected in
CHANGELOG.md. - Ensure all contributions are compatible with the MIT License.
Directory Structure
The mq project follows this main directory structure:
/crates- Contains multiple Rust cratesmq-c-api- C API for integrating mq functionality into C applicationsmq-run- Implementation of the mq command-line interfacemq-crawler- Tool for crawling directories and collecting Markdown files for batch processingmq-formatter- Code formattermq-hir- High-level Internal Representation (HIR)mq-lang- Implementation of the mqmq-lsp- Language Server Protocol implementationmq-markdown- Markdown parser and manipulation utilitiesmq-repl- REPL (Read-Eval-Print Loop) for mqmq-wasm- WebAssembly (Wasm) implementation for running mq in browsers and other WASM environmentsmq-web-api- Web API bindings for mq
/docs- Documentation and user guides/editors- Editor integrations and plugins for popular code editors/assets- Static assets such as images, icons, and other resources/examples- Usage examples/tests- Integration tests/scripts- Scripts for automation tasks/packages- Contains various packages for different functionalitiesmq-web- npm package for using mq in web applications and JavaScript environmentsplayground- A playground for developing and testing for mq
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 · 66 lines · 622 tokens per session scan A 125a2c256cc0
mq general.instructions.md is an instructions file published in the GitHub repository harehare/mq (1,023 stars, last pushed 2d ago), licensed MIT. It adds 622 tokens to every session, about $0.0031 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
webclaw CLAUDE.md
Claude Code instructions for 0xMassi/webclaw, covering webclaw, architecture, core modules (webclaw-core), fetch modules (webclaw-fetch) and llm modules (webclaw-llm).
speclens CLAUDE.md
Instructions for dansreis/speclens, covering claude.md, what it is, stack decisions, gates and file map.
HwpForge CLAUDE.md
Instructions for ai-screams/HwpForge, covering claude.md, project overview, architecture (forge metaphor), development commands and build & test.
scraps CLAUDE.md
Instructions for boykush/scraps, covering scraps development with claude code, project structure and development workflow.
kimun CLAUDE.md
Instructions for nico2sh/kimun, covering kimun, docs and rules.
mdscript CLAUDE.md
Instructions for dean0x/mdscript, covering mds (markdown script), build and test, release, land the bump on main via pr (ci-gated), then and gotchas.