Borrowing it
Nothing to install: this file belongs to zhixuli0406/DuDuClaw. 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/zhixuli0406/DuDuClaw/main/CLAUDE.mdgit clone --depth 1 https://github.com/zhixuli0406/DuDuClawWrote 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/zhixuli0406/duduclaw/claude-md)<a href="https://agentmods.dev/instructions/zhixuli0406/duduclaw/claude-md"><img src="https://agentmods.dev/badge/instructions/zhixuli0406/duduclaw/claude-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/zhixuli0406/duduclaw/claude-md"><img src="https://agentmods.dev/badge/instructions/zhixuli0406/duduclaw/claude-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.06067 | $0.06067 |
| Opus 5.5 | $0.02427 | $0.02427 |
| Sonnet 5.5 | $0.01213 | $0.01213 |
| Haiku 4.5 | $0.00607 | $0.00607 |
Grade A, and why
DuDuClaw CLAUDE.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 5d 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 — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DuDuClaw Project Guidelines
Highest directive: every new feature and every fix gets its own branch
Owner instruction, 2026-10-03: 「每次有新功能與修復時都開分支」. It outranks every other workflow rule in this file.
- Before starting a feature or a fix, create a branch from the latest
origin/main(feat/…,fix/…,docs/…,chore/…). Feature and fix commits never go onmaindirectly. - The change reaches
mainthrough a pull request.mainrequires four checks on a PR merge: Rust ubuntu-latest, Dashboard, Python, Security Audit (cargo audit, required since 2026-10-08). The ECC Tools app comments on PRs (security evidence, risk taxonomy and other audits); its results are advisory and not required checks. - When another session is using the main checkout, work in a separate
git worktreeinstead of switching branches there. - When several open PRs touch the same files, merge them in the order the owner gives; the later one rebases.
- Release lanes:
minor/majorrequire the full signed delivery review;hotfix(deprecated alias:patch) auto-signs five unchanged delivery items and publishes all channels. Hotfix fixes and bump PRs use owner admin merge afterRust ubuntu-latestsucceeds. - Opening a branch is not permission to merge or release. Merging a PR and cutting a release stay the owner's decision.
Where the detail lives
This file is loaded into every session, so it keeps only the map, the cross-cutting rules and the conventions. Detail lives elsewhere:
CHANGELOG.md: what shipped in which version (zh-TW, user-facing). Source of truth for version numbers.wiki/duduclaw-kb/architecture/subsystem-reference.md: the long per-subsystem history (file paths, config keys, measured numbers, known gaps). Moved verbatim from this file on 2026-10-12; code comments that say "see CLAUDE.md's … note" (credentials consolidation, agent-id validator waves, harness-borrowing waves) now mean this file.wiki/duduclaw-kb/architecture/release-implementation-notes.md: developer notes for v1.67.0 → v1.72.0, one block per feature batch, including each batch's "not verified" list.- Public docs:
docs/features/anddocs/guides/(three languages),docs/features/05-security-defense.md(canonical security description),docs/guides/deprecations.md,docs/guides/dashboard-settings.md,docs/guides/mcp-tools.md,SECURITY.md.
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.
- 5d ago Changed · +1 lines · +180 tokens per session dcebbcfd650c
- 6d ago Changed · -27 tokens per session e45dcbe32351
- 7d ago Changed · -2 tokens per session 563935f17f45
- 8d ago Changed · +1 lines · +71 tokens per session 5eccf66b554b
- 21d ago Changed · +115 tokens per session 267dc004ddae
- 23d ago Changed · +1 lines · +93 tokens per session 3c681ea28829
- 24d ago Changed · -35 lines · -40,181 tokens per session scan F → A 413eebed811e
- 1mo ago Changed · +27 lines · +8,692 tokens per session scan E → F 4b3b664fd1c3
- 1mo ago Changed · +4 lines · +9,585 tokens per session 69b2d5a53e05
- 1mo ago First seen · 177 lines · 27,541 tokens per session scan E f65a9a4b6aed
DuDuClaw CLAUDE.md is an instructions file published in the GitHub repository zhixuli0406/DuDuClaw (51 stars, last pushed today), licensed Apache-2.0. It adds 6,067 tokens to every session, about $0.0243 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.
DuDuClaw CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| DuDuClaw CLAUDE.mdzhixuli0406/DuDuClaw | Instructions file | 51 | today | Apache-2.0 | A | 6,067 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |