everything-claude-code-zh is a Chinese translation of a collection of configurations for Claude Code and other AI coding agents. It provides agents, skills, hooks, commands, rules, and MCP configurations intended to support development workflows such as memory persistence, security scanning, evaluation, and research-first work. The catalogue includes commands, skills, agents, instructions, and a plugin from this configuration set.
Borrowing it
Nothing to install: this file belongs to xu-xiang/everything-claude-code-zh. 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/xu-xiang/everything-claude-code-zh/main/CLAUDE.mdgit clone --depth 1 https://github.com/xu-xiang/everything-claude-code-zhWrote 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/xu-xiang/everything-claude-code-zh/claude-md)<a href="https://agentmods.dev/instructions/xu-xiang/everything-claude-code-zh/claude-md"><img src="https://agentmods.dev/badge/instructions/xu-xiang/everything-claude-code-zh/claude-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.00813 | $0.00813 |
| Opus 5 | $0.00407 | $0.00407 |
| Sonnet 5 | $0.00163 | $0.00163 |
| Haiku 4.5 | $0.00081 | $0.00081 |
Grade A, and why
everything-claude-code-zh 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 8d 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.
What it actually says
CLAUDE.md
本文件为 Claude Code (claude.ai/code) 在此仓库中处理代码提供指导。
项目概览 (Project Overview)
这是一个 Claude Code 插件 (Plugin) —— 一个包含生产级智能体 (Agents)、技能 (Skills)、钩子 (Hooks)、命令 (Commands)、规则 (Rules) 及 MCP 配置 (MCP Configurations) 的集合。本项目为使用 Claude Code 进行软件开发提供了经受过实战检验的工作流 (Workflows)。
运行测试 (Running Tests)
# 运行所有测试
node tests/run-all.js
# 运行单个测试文件
node tests/lib/utils.test.js
node tests/lib/package-manager.test.js
node tests/hooks/hooks.test.js
架构设计 (Architecture)
项目由以下核心组件组成:
- agents/ - 用于委派 (Delegation) 的专业子智能体 (Subagents)(如 planner、code-reviewer、tdd-guide 等)
- skills/ - 工作流 (Workflow) 定义与领域知识(如编码标准、模式、测试)
- commands/ - 用户调用的斜杠命令 (Slash Commands)(如
/tdd、/plan、/e2e等) - hooks/ - 基于触发器的自动化(如会话持久化、工具使用前/后钩子)
- rules/ - 必须始终遵守的准则(如安全性、编码风格、测试要求)
- mcp-configs/ - 用于外部集成的 MCP 服务配置
- scripts/ - 用于钩子与设置的跨平台 Node.js 工具
- tests/ - 针对脚本与工具的测试套件
核心命令 (Key Commands)
/tdd- 测试驱动开发 (TDD) 工作流/plan- 实现方案规划 (Implementation Planning)/e2e- 生成并运行端到端 (E2E) 测试/code-review- 质量审查 (Quality Review)/build-fix- 修复构建错误/learn- 从会话 (Sessions) 中提取模式/skill-create- 从 Git 历史记录生成技能
开发注意事项 (Development Notes)
- 包管理器 (Package manager) 检测:支持 npm, pnpm, yarn, bun(可通过
CLAUDE_PACKAGE_MANAGER环境变量或项目配置进行设置) - 跨平台:通过 Node.js 脚本支持 Windows, macOS, Linux
- 智能体 (Agent) 格式:带有 YAML Frontmatter (元数据前置块) 的 Markdown 文件(包含名称、描述、工具、模型)
- 技能 (Skill) 格式:包含明确章节(何时使用、工作原理、示例)的 Markdown 文件
- 钩子 (Hook) 格式:包含匹配 (Matcher) 条件以及命令/通知钩子的 JSON 文件
贡献指南 (Contributing)
请遵循 CONTRIBUTING.md 中的格式要求:
- 智能体 (Agents):带有 Frontmatter (name, description, tools, model) 的 Markdown 文件
- 技能 (Skills):明确的章节划分(何时使用、工作原理、示例)
- 命令 (Commands):带有描述性 Frontmatter 的 Markdown 文件
- 钩子 (Hooks):带有匹配器 (Matcher) 和钩子数组的 JSON 文件
文件命名:小写字母加连字符(例如:python-reviewer.md, tdd-workflow.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.
- 8d ago First seen · 61 lines · 813 tokens per session scan A 17efac790f8c
everything-claude-code-zh CLAUDE.md is an instructions file published in the GitHub repository xu-xiang/everything-claude-code-zh (1,935 stars, last pushed 6mo ago), licensed MIT. It adds 813 tokens to every session, about $0.0041 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
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.
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.