Claude Code hook

Everything Claude Code Zh

everything-claude-code 中文翻译项目:完整的 Claude Code 配置集合(agents, skills, hooks, commands, rules, MCPs)。源自 Anthropic 黑客松获胜者的实战配置,助力中文工程师高效理解与使用 Claude Code。

2,018 stars 331 forksHooks Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add affaan-m/everything-claude-code

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/xu-xiang/everything-claude-code-zh.git

From the README

语言: English | 简体中文 | 繁體中文

Everything Claude Code
50K+ stars | 6K+ forks | 30 contributors | 6 种语言支持 | Anthropic 黑客松获胜者

🌐 Language / 语言 / 語言

English | 简体中文 | 繁體中文 | 日本語

为 AI 智能体(Agent)框架打造的性能优化系统。源自 Anthropic 黑客松获胜作品。

这不仅仅是配置文件。它是一个完整的系统:包含技能(Skills)、本能(Instincts)、内存优化、持续学习、安全扫描以及研究优先的开发模式。这些生产级的智能体(Agents)、钩子(Hooks)、命令(Commands)、规则(Rules)以及 MCP 配置,是在构建真实产品的 10 个多月高强度日常使用中演化而来的。

适用于 Claude Code, Codex, Cowork 以及其他 AI 智能体框架。

指南 (The Guides)

本仓库仅包含原始代码。指南部分解释了所有细节。

简明指南 (Shorthand Guide)设置、基础知识、哲学。请先阅读此篇。
详细指南 (Longform Guide)令牌(Token)优化、内存持久化、评测(Evals)、并行化。

更新内容 (What's New)

v1.7.0 — 跨平台扩展与演示文稿生成器 (2026年2月)

- Codex 应用 + CLI 支持 — 直接支持基于 AGENTS.md 的 Codex,安装器目标定位及 Codex 文档
- frontend-slides 技能 (Skill) — 无依赖的 HTML 演示文稿生成器,包含 PPTX 转换指南和严格的视口自适应规则
- 5 个新型通用业务/内容技能 — article-writing(文章写作)、content-engine(内容引擎)、market-research(市场研究)、investor-materials(融资材料)、investor-outreach(投资者对接)
- 更广的工具覆盖 — 强化了 Cursor、Codex 和 OpenCode 的支持,使同一仓库能在所有主流框架中无缝运行
- 992 项内部测试 — 扩展了插件、钩子 (Hooks)、技能 (Skills) 及打包的验证与回归覆盖率

v1.6.0 — Codex CLI, AgentShield & 市场 (2026年2月)

- Codex CLI 支持 — 新增 /codex-setup 命令,生成用于 OpenAI Codex CLI 兼容的 codex.md
- 7 个新技能 — search-first、swift-actor-persistence、swift-protocol-di-testing、regex-vs-llm-structured-text、content-hash-cache-pattern、cost-aware-llm-pipeline、skill-stocktake
- AgentShield 集成 — /security-scan 技能可直接从 Claude Code 运行 AgentShield;包含 1282 项测试,102 条规则
- GitHub 市场 (Marketplace) — ECC Tools GitHub 应用已在 github.com/marketplace/ecc-tools 上线,提供免费/专业/企业版
- 合并 30+ 社区 PR — 来自 6 种语言的 30 位贡献者的贡献
- 978 项内部测试 — 扩展了涵盖智能体、技能、命令、钩子和规则的验证套件

v1.4.1 — Bug 修复 (2026年2月)

- 修复本能 (Instinct) 导入内容丢失问题 — parse_instinct_file() 在执行 /instinct-import 时会静默丢弃 Frontmatter 之后的所有内容(Action、Evidence、Examples 部分)。由社区贡献者 @ericcai0814 修复 (#148, #161)

v1.4.0 — 多语言规则、安装向导与 PM2…
Read the full README on GitHub

How hooks work

  • Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
  • They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
  • A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Claude Code docs

Details

Type
Hooks
Language
JavaScript
License
MIT
Last updated
5 March 2026
Topics
ai-agentsanthropicclaudeclaude-codedeveloper-toolseverything-claude-codellmmcponeskillproductivity

FAQ

What is Everything Claude Code Zh?

everything-claude-code 中文翻译项目:完整的 Claude Code 配置集合(agents, skills, hooks, commands, rules, MCPs)。源自 Anthropic 黑客松获胜者的实战配置,助力中文工程师高效理解与使用 Claude Code。 It is a hook for Claude Code, from xu-xiang/everything-claude-code-zh on GitHub.

How do I install Everything Claude Code Zh?

Run /plugin marketplace add affaan-m/everything-claude-code inside Claude Code, then follow the setup in the README.

Is Everything Claude Code Zh popular?

xu-xiang/everything-claude-code-zh has 2,018 GitHub stars and 331 forks. It was last updated on 5 March 2026.

More hooks

Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.