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/agents-mdgit 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.00843 | $0.00843 |
| Opus 5 | $0.00421 | $0.00421 |
| Sonnet 5 | $0.00169 | $0.00169 |
| Haiku 4.5 | $0.00084 | $0.00084 |
Grade A, and why
mq 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.
This is a copy
100% identical to mq copilot-instructions.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mq Development Guide
Project Overview
mq is a jq-like command-line tool for Markdown processing. Written in Rust, it allows you to easily slice, filter, map, and transform Markdown files.
Coding Conventions
Rust Code Conventions
- Always format and validate code using
cargo fmtandcargo clippy - Add appropriate documentation comments to all public functions, structs, traits, enums, etc.
- Use the
miettecrate for error handling and provide user-friendly error messages - Avoid panics whenever possible and return appropriate
Resulttypes - Write comprehensive tests and update related tests when adding or changing functionality
Commit Message Conventions
Use the following format for commit messages:
<type>(<scope>): <description>
[optional body]
[optional footer]
- Types include:
- ✨ feat: New feature
- 🐛 fix: Bug fix
- 📝 docs: Documentation changes
- 💄 style: Code style changes that don't affect behavior
- ♻️ refactor: Refactoring
- ⚡ perf: Performance improvements
- ✅ test: Adding or modifying tests
- 📦 build: Changes to build system or external dependencies
- 👷 ci: Changes to CI configuration files and scripts
- Write clear, concise, and descriptive commit messages.
- Reference related issues or pull requests when relevant.
Documentation Guidelines
When adding new features, update the documentation.
- Keep documentation up-to-date with code changes.
- Use clear, concise language and provide usage examples.
- Document all public APIs, commands, and features.
- Update
/docsand crate-levelREADME.mdfiles for new features or changes. - Add changelog entries for all user-facing changes.
- Ensure documentation is consistent across all files and crates.
- Use Markdown best practices for formatting and structure.
Testing Conventions
- Write comprehensive tests for all new features and bug fixes.
- Use descriptive names for test functions and modules.
- Prefer table-driven tests for similar input/output patterns.
- Use
assert_eq!,assert!, and custom error messages for clarity. - Avoid flaky or timing-dependent tests.
- Place integration tests in the
tests/directory and unit tests alongside implementation. - Mock external dependencies where possible.
- Keep tests fast and isolated.
- Update or add tests when changing existing code.
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 · 102 lines · 843 tokens per session scan A c25e3d23d254
mq AGENTS.md is an instructions file published in the GitHub repository harehare/mq (1,023 stars, last pushed 2d ago), licensed MIT. It adds 843 tokens to every session, about $0.0042 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to mq copilot-instructions.md, differing in 0 lines, and is treated as a copy.
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.