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.svg" alt="Measured on agentmods" 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.03649 | $0.03649 |
| Opus 5 | $0.01825 | $0.01825 |
| Sonnet 5 | $0.00730 | $0.00730 |
| Haiku 4.5 | $0.00365 | $0.00365 |
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 7d 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 — 314 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.
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. - If you send a command to a terminal, don't forget the newline or carriage return required (Unix, or Windows specific).
- 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/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.
App builds
- GitHub Actions builds and packages the desktop app for macOS, Windows, and Linux via manual trigger
only (see
.github/workflows/build-app.yml). - The workflow installs menai from PyPI (including the pre-built C VM) via
pip install menai. - macOS produces a signed/notarized
.dmg, Windows produces an.exeinstaller via Inno Setup, and Linux produces an.AppImagefor x86_64 and ARM64 viabuild-appimage.sh.
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.
- 7d 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 (100 stars, last pushed today), licensed Apache-2.0. It adds 3,649 tokens to every session, about $0.0182 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
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.