madcop AGENTS.md

Collaboration instructions for madcop, including use of existing tools, message priority, long-running programming work, and saved task state.

In plain words
What is it for?
They are for collaborating on madcop tasks and managing work that continues across multiple steps or sessions.
Why use it?
They define how an agent should coordinate and preserve progress during extended coding tasks.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/linmy666/madcop/agents-md
Clone the repo
git clone --depth 1 https://github.com/linmy666/madcop

Made for: Codex, OpenCode.

Per session 4,208 This file is loaded in full into every session.
When invoked 4,208 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.04208 $0.04208
Opus 5 $0.02104 $0.02104
Sonnet 5 $0.00842 $0.00842
Haiku 4.5 $0.00421 $0.00421

Measured 3d ago against content hash 43db78bbf055, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

madcop AGENTS.md scanned grade C with 1 finding 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 3d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

1. **这是用户的工作电脑** (`macOS 26.5.1`, 路径 `/Users/linruihan/`), 不是服务器。所有破坏性操作 (`pkill`, `kill -9`, `rm -rf`) 之前**必须先 `git status` 确认没未保存的工作**。
AGENTS.md · 245 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

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.

  1. 3d ago First seen · 245 lines · 4,208 tokens per session scan C 43db78bbf055

Subscribe to this mod's changes

madcop AGENTS.md is an instructions file published in the GitHub repository linmy666/madcop (74 stars, last pushed 4d ago), with no licence file. It adds 4,208 tokens to every session, about $0.0210 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

Team-X CLAUDE.md

Instructions for Git-Rocky-Stack/Team-X, covering claude.md, inheritance from parent repositories, design system, key contacts and skill routing.

Git-Rocky-Stack/Team-X · 1,356 tokens

open-codesign CLAUDE.md

Instructions for OpenCoworkAI/open-codesign, covering claude.md — open codesign, what this project is, hard constraints (do not violate), stack & conventions and frontend stack (locked).

OpenCoworkAI/open-codesign · 1,789 tokens

chat-on-steroids AGENTS.md

Instructions for totec448-spec/chat-on-steroids, covering chat on steroids — the agent map, 1. the app in sixty seconds, 2. where the bugs actually are, name the identity, then find where it is lost and 3. what is authoritative.

totec448-spec/chat-on-steroids · 14,089 tokens

pinvou-agent AGENTS.md

AGENTS.md instructions for Pinvou/pinvou-agent, covering pinvou agent project conventions, core constraints, 0. local private memory, 1. development and pull request conventions and 2. codewhale and fork boundaries.

Pinvou/pinvou-agent · 1,748 tokens

opencove AGENTS.md

AGENTS.md instructions for DeadWaveWave/opencove, covering system prompt: opencove project ai developer agent, 1. core directives & golden rules, 2. decision framework (small vs large), a. small change (fast feedback / 小步快反馈) and b. large change (deep thinking / 慎重对齐).

DeadWaveWave/opencove · 1,183 tokens

wesight AGENTS.md

Instructions for freestylefly/wesight, covering claude.md, build and development commands, build production bundle (typescript + vite), lint with eslint and run memory extractor tests (node.js built-in test runner).

freestylefly/wesight · 6,627 tokens