Borrowing it
Nothing to install: this file belongs to m6r-ai/humbug. 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/m6r-ai/humbug/main/AGENTS.mdgit clone --depth 1 https://github.com/m6r-ai/humbugWrote 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/m6r-ai/humbug/agents-md)<a href="https://agentmods.dev/instructions/m6r-ai/humbug/agents-md"><img src="https://agentmods.dev/badge/instructions/m6r-ai/humbug/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/m6r-ai/humbug/agents-md"><img src="https://agentmods.dev/badge/instructions/m6r-ai/humbug/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.04583 | $0.04583 |
| Opus 5.5 | $0.01833 | $0.01833 |
| Sonnet 5.5 | $0.00917 | $0.00917 |
| Haiku 4.5 | $0.00458 | $0.00458 |
Grade A, and why
humbug 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 6d 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 — 373 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md - Humbug Project Structure
Overview
Humbug is a platform for human-AI collaboration, written in Python. This document describes how AI agents should navigate the codebase.
Architecture decisions
Significant architectural and design decisions are recorded as ADRs in docs/adr/, which holds the definitive index and the conventions for writing new ADRs.
Consult it before proposing changes that touch established decisions.
Tool use
- If you want to use the terminal you will require user authorization every time you send keystrokes. If you load files into an editor tab, however, you don't. If you just want to do a simple search of a file then consider using the editor tabs. They can get pretty cluttered though so if you don't need the tab again then close it.
- If you open a terminal it will automatically be in the root of the mindspace directory. Don't change directory unless you want to be somewhere else.
- Terminals will not open with a python virtual environment by default. The venv is at
venv/in the mindspace root. - Do not pipe pytest output through
grepor other filtering tools. pytest interleaves progress dots on stderr with summary lines on stdout, so filtering mangles the output and hides the pass/fail counts. Run pytest with no flags and pipe throughtailonly if the output is too long to read in full:python -m pytest tests/src/menai_ai_tool/ 2>&1 | tail -10
Menai C VM binary
- Menai is installed from PyPI as a dependency of Humbug (
pip install menai). - Pre-built wheels include the C VM binary for all supported platforms (Linux, macOS, and Windows on x86_64 and ARM64, Python 3.10–3.14), so no separate clone, build, or download step is needed.
- Humbug's
pyproject.tomldoes not pin a version, sopip installalways fetches the latest version from PyPI. - For local development on Menai itself, clone the menai repository and install
it as an editable dependency:
pip install -e /path/to/menai.
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.
- 6d ago Changed · +19 lines · +308 tokens per session a44dd5743173
- 28d ago Changed · +39 lines · +591 tokens per session 178eb08cba39
- 1mo ago Changed · -11 lines · -112 tokens per session b35497d3c483
- 1mo ago Changed · +12 lines · +147 tokens per session df7ba9628a3d
- 2mo ago First seen · 314 lines · 3,649 tokens per session scan A 8a4579984067
humbug AGENTS.md is an instructions file published in the GitHub repository m6r-ai/humbug (104 stars, last pushed yesterday), licensed Apache-2.0. It adds 4,583 tokens to every session, about $0.0183 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.
humbug AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| humbug AGENTS.mdm6r-ai/humbug | Instructions file | 104 | yesterday | Apache-2.0 | A | 4,583 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |