Claude Code Mastery

Developer tools

The complete guide to Claude Code: CLAUDE.md, hooks, skills, MCP servers, and commands.

Your AI app calls the Claude Code Mastery MCP server, which does the developer tools work and sends the result back to the chat.

About Claude Code Mastery

Claude Code Mastery is a community MCP server from TheDecipherist, filed in our directory under developer tools. The complete guide to Claude Code: CLAUDE.md, hooks, skills, MCP servers, and commands.

At a glance

Publisher
TheDecipherist (community)
Runs
See the README for setup
Written in
Shell
License
MIT
GitHub stars
560

How to set up Claude Code Mastery

  1. Follow the install steps in the Claude Code Mastery README; it is written in Shell, so have that toolchain ready.
  2. Check the Claude Code Mastery README for keys or settings; the registry lists none that Claude Code Mastery requires.
  3. Add Claude Code Mastery to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Claude Code Mastery tools to confirm the connection.
  5. Run one read-only task with Claude Code Mastery first, and keep your app asking before each tool call until the results look right.

Claude Code Mastery compared with similar servers

  • SSH Manager by bvisible has fewer GitHub stars than Claude Code Mastery (559 against 560); both are community servers, and both run locally.
  • Fastapi MCP Langgraph Template by NicholasGoh has more GitHub stars than Claude Code Mastery (561 against 560); both are community servers, and both run locally.
  • Hevy by chrisdoc has fewer GitHub stars than Claude Code Mastery (555 against 560); both are community servers, and both run locally.

Before you connect Claude Code Mastery

  • Give Claude Code Mastery its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Claude Code Mastery tool call until you trust what it does with them.
  • Treat text that Claude Code Mastery fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Claude Code Mastery on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Claude Code Mastery

How marketing and sales teams put Claude Code Mastery to work, by company size. Pick the size closest to yours and start Claude Code Mastery on one use case.

Small business

  • A small business with a developer can use Claude Code Mastery to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Claude Code Mastery to explain and fix a marketing site issue without context switching between tools.
  • Claude Code Mastery runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Claude Code Mastery to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Claude Code Mastery to keep scripts and automations documented and versioned as they change.
  • Start Claude Code Mastery on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Claude Code Mastery with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Claude Code Mastery so web and marketing engineering share one reviewed way of working with AI.
  • Claude Code Mastery is a community server, so have security review the code and pin a version before Claude Code Mastery touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Claude Code Mastery README

From TheDecipherist/claude-code-mastery on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

✨ MDD, Manual-Driven Development: standalone package

MDD turns Claude Code into a structured development partner: every feature starts with documentation, every fix starts with an audit. 21 modes covering build, audit, planning, ops runbooks, and more, all via /mdd in any Claude Code session.

Install: npm install -g @thedecipherist/mdd && mdd install

GitHub → · npm →

🚀 NEW 2-14-2026: Claude Code Mastery Starter Kit

Everything from V1–V5 baked into a production-ready project template. 16 slash commands, deterministic hook enforcement, a battle-tested MongoDB wrapper, live AI monitoring, and three-layer security, all wired up and ready to clone. Stop configuring, start building.

Claude Code Mastery V2 (Obsolete)

The complete guide to maximizing Claude Code: Global CLAUDE.md, MCP Servers, Commands, Hooks, Skills, and Why Single-Purpose Chats Matter.

This version is obsolete by now. Please use the new Claude Code Mastery Starter Kit instead

Previous versions:

V5

V4

V3

TL;DR: Your global ~/.claude/CLAUDE.md is a security gatekeeper AND project scaffolding blueprint. MCP servers extend Claude's capabilities. Custom commands automate workflows. Hooks enforce rules deterministically (where CLAUDE.md can fail). Skills package reusable expertise. And research shows mixing topics in a single chat causes 39% performance degradation.

📚 Table of Contents

  • Quick Start
  • The Guide
  • Repository Contents
  • Installation
  • Contributing
  • Sources

🚀 Quick Start

# Clone this repo
git clone https://github.com/TheDecipherist/claude-code-mastery.git
cd claude-code-mastery

# Copy hooks to your Claude config
mkdir -p ~/.claude/hooks
cp hooks/* ~/.claude/hooks/
chmod +x ~/.claude/hooks/*.sh

# Copy the settings template (review and customize first!)
cp templates/settings.json ~/.claude/settings.json

# Copy skills
mkdir -p ~/.claude/skills
cp -r skills/* ~/.claude/skills/

📖 The Guide

📱 Read V3 on GitHub Pages | 📄 View GUIDE.md (V3)

What's Covered
Part Topic Key Takeaway
1 Global CLAUDE.md as Security Gatekeeper Define once, inherit everywhere
2 Project Scaffolding Rules Every project follows same structure
3 MCP Servers External tool integrations
4 Context7 Live documentation access
5 Custom Commands Workflow automation
6 Single-Purpose Chats 39% degradation from topic mixing
7 Skills & Hooks Enforcement over suggestion

📁 Repository Contents

claude-code-mastery/
├── GUIDE.md                    # The complete guide
├── templates/
│   ├── global-claude.md        # ~/.claude/CLAUDE.md template
│   ├── project-claude.md       # ./CLAUDE.md starter
│   ├── settings.json           # Hook configuration template
│   └── .gitignore              # Recommended .gitignore
├── hooks/
│   ├── block-secrets.py        # PreToolUse: Block .env access
│   ├── block-dangerous-commands.sh  # PreToolUse: Block rm -rf, etc.
│   ├── end-of-turn.sh          # Stop: Quality gates
│   ├── after-edit.sh           # PostToolUse: Run formatters
│   └── notify.sh               # Notification: Desktop alerts
├── skills/
│   ├── commit-messages/        # Generate conventional commits
│   │   └── SKILL.md
│   └── security-audit/         # Security vulnerability checks
│       └── SKILL.md
└── commands/
    ├── new-project.md          # /new-project scaffold
    ├── security-check.md       # /security-check audit
    └── pre-commit.md           # /pre-commit quality gates

🔧 Installation

Prerequisites
  • Claude Code installed
  • Python 3.8+ (for Python hooks)
  • jq (for JSON parsing in shell hooks)
Step-by-Step
1. Install Hooks
# Create hooks directory
mkdir -p ~/.claude/hooks

# Copy hook scripts
cp hooks/block-secrets.py ~/.claude/hooks/
cp hooks/block-dangerous-commands.sh ~/.claude/hooks/
cp hooks/end-of-turn.sh ~/.claude/hooks/

# Make shell scripts executable
chmod +x ~/.claude/hooks/*.sh
2. Configure Settings
# If you don't have settings.json yet
cp templates/settings.json ~/.claude/settings.json

# If you already have settings.json, merge the hooks section manually
3. Install Skills
# Create skills directory
mkdir -p ~/.claude/skills

# Copy skills
cp -r skills/* ~/.claude/skills/
4. Set Up Global CLAUDE.md
# Copy template
cp templates/global-claude.md ~/.claude/CLAUDE.md

# Customize with your details
$EDITOR ~/.claude/CLAUDE.md
5. Verify Installation
# Start Claude Code
claude

# Check hooks are loaded
/hooks

# Check skills are loaded
/skills

🔒 Why Hooks Matter

CLAUDE.md rules are suggestions. Hooks are enforcement.

CLAUDE.md saying "don't edit .env"
  → Parsed by LLM
  → Weighed against other context
  → Maybe followed

PreToolUse hook blocking .env edits
  → Always runs
  → Returns exit code 2
  → Operation blocked. Period.

Real-world example from a community member:

"My PreToolUse hook blocks Claude from accessing secrets (.env files) a few times per week. Claude does not respect CLAUDE.md rules very rigorously."

Hook Exit Codes
Code Meaning
0 Success, allow operation
1 Error (shown to user only)
2 Block operation, feed stderr to Claude

🧠 Why Single-Purpose Chats

Research consistently shows topic mixing destroys accuracy:

Study Finding
Multi-turn conversations 39% performance drop when mixing topics
Context rot Recall decreases as context grows
Context pollution 2% early misalignment → 40% failure rate

Golden Rule: One Task, One Chat

🤝 Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Add your hooks, skills, or improvements
  4. Submit a PR with description
Ideas for Contributions

Questions about Claude Code Mastery

What is the Claude Code Mastery MCP server?

The complete guide to Claude Code: CLAUDE.md, hooks, skills, MCP servers, and commands. Claude Code Mastery is maintained by TheDecipherist on GitHub at TheDecipherist/claude-code-mastery, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Claude Code Mastery MCP server?

Claude Code Mastery doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (TheDecipherist/claude-code-mastery). Like most servers, Claude Code Mastery ends with a command or URL you paste into your AI app's MCP config.

Does Claude Code Mastery need an API key?

The registry lists no required keys for Claude Code Mastery. Check the Claude Code Mastery README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Claude Code Mastery an official MCP server?

No. Claude Code Mastery is a community server maintained by TheDecipherist. Community servers can be excellent; read the code and the open issues before you give Claude Code Mastery access to company data.

What license is Claude Code Mastery under?

Claude Code Mastery is released under the MIT license, according to its GitHub repository. The license covers the code of Claude Code Mastery; the service it connects to has its own terms.