Borrowing it
Nothing to install: this file belongs to activeing123/mcptoon. 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/activeing123/mcptoon/main/AGENTS.mdgit clone --depth 1 https://github.com/activeing123/mcptoonWrote 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/activeing123/mcptoon/agents-md)<a href="https://agentmods.dev/instructions/activeing123/mcptoon/agents-md"><img src="https://agentmods.dev/badge/instructions/activeing123/mcptoon/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/activeing123/mcptoon/agents-md"><img src="https://agentmods.dev/badge/instructions/activeing123/mcptoon/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.01537 | $0.01537 |
| Opus 5 | $0.00768 | $0.00768 |
| Sonnet 5 | $0.00307 | $0.00307 |
| Haiku 4.5 | $0.00154 | $0.00154 |
Grade A, and why
mcptoon 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 today.
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 — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — rules for AI agents working on mcptoon
Any AI agent (Codex, Claude Code, Cursor, DSH, ...) writing code, docs, or cutting releases in this repo follows the rules on this page. They exist because mcptoon is now carried by external automation: numtide/llm-agents.nix packages this project and an official bot auto-bumps it on every PyPI release. A careless release breaks that channel; these rules keep it clean. Human contributors: see CONTRIBUTING.md.
Hard rules
- Zero dependencies, always. The
dependenciesfield inpyproject.tomlstays empty. Standard library only. CI enforces this viascripts/check_zero_deps.py— treat a red zero-deps job as a broken build, not a suggestion. - Tests gate every change. New behavior ships with tests in
tests/. Runpython -m pytest tests/and paste the real green output before claiming done. - Windows is a first-class target. Anything touching paths, subprocess, or npx must work on Windows; the CI matrix runs it on every PR.
- Conventional Commits for every commit (
feat:,fix:,docs:,test:,chore:).
Release discipline
A release is complete only when all five land together:
- version bumped in
pyproject.toml CHANGELOG.mdentry written for the new version- full test suite green
- git tag
vX.Y.Zpushed - PyPI publish green (
.github/workflows/publish.yml)
The numtide bot turns PyPI releases into Nix bump PRs automatically. A version that exists on main but not on PyPI (or the reverse) leaves a broken bump in that channel. Breaking changes must land as deprecation warnings one minor version before removal.
Details that bit us during v0.7.4 (2026-09-05), so they are now part of the ritual:
- The version lives in four places.
pyproject.toml,server.json(twice: top level andpackages[]), and the hardcoded__version__insrc/mcptoon/__init__.py. 0.7.6 shipped withmcptoon --versionprinting 0.7.5 because the last one was missed — caught only by the post-release smoke test.tests/test_registry_sync.pynow pins all of them together; update every one on every bump. - The publish workflows used to race each other.
publish.ymlandpublish-mcp.ymlstart on the same release event; the registry run validated the PyPI version while the wheel was still uploading and failed with 400. This happened on both 0.7.6 and 0.7.7. Root cause fixed inpublish-mcp.yml: a wait step now polls PyPI's JSON API for the released version (up to 5 minutes) before pushing the registry record. If the wait step ever times out, retry withgh workflow run publish-mcp.yml -f reason=.... - Pushing a tag does not publish.
publish.ymltriggers onrelease: [published], so a GitHub Release must be created (gh release create vX.Y.Z --notes-file …). - Verify against the real index. This machine's pip points at a mirror that lags —
and its global
ALL_PROXY=socks5://breaks fresh venvs (no PySocks). Confirm a fresh release with a clean venv, proxy vars cleared:python -m venv .scratch/check && .scratch/check/Scripts/python -m pip install --no-cache-dir --index-url https://pypi.org/simple/ mcptoon, then runmcptoon --versionfrom that venv and compare with the tag. - Run the lint job locally (
python -m ruff check src/mcptoon/ tests/, ruff 0.15.20) before pushing — unpushed commits never see CI, and one UP037 turned the release red. - Update the
Tests-<n> passedbadges inREADME.mdandREADME.zh-CN.md(and the matching comment in their contributor sections) to the suite total of the release. - The MCP Registry record used to be pushed by hand. 0.7.0 and 0.7.2 were published
from a laptop; 0.7.3–0.7.5 never reached it, and
server.json's package version had drifted a release behind its own top-level version.publish-mcp.ymlnow publishes on every release, andtests/test_registry_sync.pyfails CI if the versions, themcp-name:marker in the PyPI README, or the workflow drift apart. Do not remove that marker when rewriting the README — it is invisible when rendered and load-bearing.
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.
- today Changed · +15 lines · +328 tokens per session 53f19b7b9894
- 3d ago First seen · 76 lines · 1,209 tokens per session scan A 27d88465a89d
mcptoon AGENTS.md is an instructions file published in the GitHub repository activeing123/mcptoon (195 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,537 tokens to every session, about $0.0077 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-09-06.
Other instructions, from other repositories
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.
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).
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).
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.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.