# Claude Code Mastery — Hooks, Skills, MCP Guide (2026) > claude-code-mastery is a guide + templates for Claude Code hooks/skills/MCP; verified 511★ with a Quick Start to copy hooks and skills into `~/.claude`. ## Install Paste the prompt below into your AI tool: ## Quick Use ```bash git clone https://github.com/TheDecipherist/claude-code-mastery.git cd claude-code-mastery mkdir -p ~/.claude/hooks ~/.claude/skills cp hooks/* ~/.claude/hooks/ && chmod +x ~/.claude/hooks/* cp -r skills/* ~/.claude/skills/ ``` ## Intro claude-code-mastery is a guide + templates for Claude Code hooks/skills/MCP; verified 511★ with a Quick Start to copy hooks and skills into `~/.claude`. **Best for:** Claude Code users who want deterministic enforcement (hooks), reusable skills, and a standard project scaffolding baseline **Works with:** Claude Code, shell hooks, Python hooks, user-level `~/.claude` configuration, and MCP servers **Setup time:** 10-20 minutes ## Main - The repository is a hands-on baseline: templates for global `~/.claude/CLAUDE.md`, hook scripts, skills, and command files, plus an opinionated explanation of why hooks matter. - Because it is structured as copyable files, you can selectively adopt one lane (hooks-only or skills-only) without committing to the full framework at once. - The README is honest about versioning (it labels the guide version obsolete and points to newer material), so on TokRepo we treat it as a reference library of templates and patterns. - A pragmatic workflow is: install the safety hooks first (block secrets / block dangerous commands), then add one skill and confirm it triggers as expected before importing more. ### FAQ - **Is this a single tool or a guide?**: It is primarily a guide and a set of templates (hooks, skills, commands). Treat it as a starting point you copy and customize. - **What is the safest first step?**: Install the guardrail hooks (secrets + dangerous commands) and validate they run, before copying broader settings or skills. - **Why include an "obsolete" repo?**: Because the repo still contains concrete, reusable assets and a Quick Start; we keep the TokRepo description factual and scoped. ## Source & Thanks > Source: https://github.com/TheDecipherist/claude-code-mastery > License: MIT > GitHub stars: 511 · forks: 45 --- ## Quick Use ```bash git clone https://github.com/TheDecipherist/claude-code-mastery.git cd claude-code-mastery mkdir -p ~/.claude/hooks ~/.claude/skills cp hooks/* ~/.claude/hooks/ && chmod +x ~/.claude/hooks/* cp -r skills/* ~/.claude/skills/ ``` ## Intro claude-code-mastery 是面向 Claude Code 的实战指南与模板集合(hooks/skills/MCP);已核验 511★,README 提供 Quick Start,可在几分钟内完成 hooks/settings/skills 基础落地。 **Best for:** 希望用 hooks 做确定性约束、用 skills 做复用,并建立统一项目脚手架基线的 Claude Code 用户 **Works with:** Claude Code、shell/Python hooks、用户级 `~/.claude` 配置,以及 MCP servers **Setup time:** 10-20 minutes ## Main - 它更像一个可直接复制落地的基线:提供 `~/.claude/CLAUDE.md`、hooks 脚本、skills 与 commands 的模板,并解释为什么 hooks 比“建议式规则”更可控。 - 由于都是文件化资产,你可以分阶段采用(先 hooks 或先 skills),不必一次性全盘接受完整框架。 - README 对版本状态有明确标注(旧版 obsolete 并指向更新),因此在 TokRepo 里把它定位为“模板与模式库”更合适。 - 推荐的落地顺序是:先装安全类 hooks(阻止 secrets/危险命令),再加一个 skill 验证触发链路,最后再逐步引入更多内容。 ### FAQ - **它是一个工具还是指南?**:主要是指南 + 一组可复用模板(hooks/skills/commands)。更适合复制到自己的配置里再按需定制。 - **最安全的第一步是什么?**:先安装安全护栏类 hooks(secrets/危险命令),并验证执行正常,再考虑引入更广的 settings 或 skills。 - **为什么收录一个标注 obsolete 的仓库?**:因为它仍包含可复用的实物资产与 Quick Start;TokRepo 文案只描述可验证内容并控制范围。 ## Source & Thanks > Source: https://github.com/TheDecipherist/claude-code-mastery > License: MIT > GitHub stars: 511 · forks: 45 --- Source: https://tokrepo.com/en/workflows/claude-code-mastery-hooks-skills-mcp-guide-2026 Author: Prompt Lab