Claude Code Toolkit: Pick the Right Tool for the Job
The Big Picture
Claude Code has 7 customization layers. Each solves a different problem. Using the wrong one wastes context, tokens, and your time.
At a Glance
- CLAUDE.md · Project readme Claude actually reads · Always loaded
- Memories · Persistent facts across sessions · Auto / fuzzy
- Rules · File-type-specific instructions · Loaded on file match
- Skills · Reusable step-by-step workflows · Loaded on trigger
- Agents · Specialized personas · Loaded on invocation
- MCP · Structured access to external services · Loaded on tool call
- Hooks · Automated shell triggers on events · Guaranteed
Each Tool in 30 Seconds
📄 CLAUDE.md: Your Project's Brain Dump
- Think of it as the README that Claude actually reads
- Put what's particular about your project, not general knowledge
- Keep it focused: essentials only, no encyclopedias
▶Example content
Architecture decisions, tech stack, naming conventions, folder structure, key patterns unique to your codebase. The Mega Review project's CLAUDE.md is ~13k tokens covering architecture, conventions, and decisions.
🧠 Memories: Persistent Context Across Sessions
- Facts that survive between conversations
- User preferences, role info, project state
- Least predictable tool. Claude decides when to recall them.
📏 Rules: File-Specific Guardrails
- Triggered by file patterns (e.g.,
*.md,*.test.ts)
- Perfect for formatting, structure, and conventions per file type
- Claude reads the rules before editing the file
▶Example
A rule for *.md files: "Titles must use sentence case. Bold is reserved for key terms. Never use H1 inside the document body." A rule for *.test.* files: "This is our test harness. Here's how to run tests. Consider these project-specific patterns."
⚡ Skills: Reusable Workflows
- The most powerful customization tool
- Step-by-step recipes that Claude executes in order
- Composable: skills can call other skills
- Flexible entry: you can drop in at any phase
▶Real example: "Work on Ticket" skill (9 phases)
- Select ticket via Jira MCP
- Transition ticket to In Progress
- Implement code changes
- Run tests (calls "Run Tests" sub-skill)
- Fix failures, re-test
- Commit work
- Create branch on GitHub
- Create PR (calls "Create PR" sub-skill, which calls "Create PR Content" sub-skill)
- Monitor automated checks, address feedback, transition ticket to Code Review
🎭 Agents: Specialized Personas
- Not a workflow, it's a way of being
- Points the LLM into a role: it thinks and responds as that specialist
- Great for domain expertise that colors all output
🔌 MCP: External Service Access
- Structured connections to Jira, GitHub, Slack, databases, browsers
- Configured in your MCP JSON file
- Tighter permission control than raw command line tools
gh pr create.🪝 Hooks: The Boring (but Essential) Stuff
- Shell commands that fire on events (before a commit, on file save, etc.)
- Perfect for mechanical, repeatable checks: code style, formatting, vocabulary
- Not AI-powered, just pure automation
🧭 Decision Guide
Ask yourself these questions in order. The first "yes" points you to the right tool.
- Do I need project-wide context in every conversation? →
CLAUDE.md
- Do I need specific rules for a file type? →
Rules
- Do I need a multi-step, repeatable workflow? →
Skill
- Do I need deep domain expertise or a specialist persona? →
Agent
- Do I need to talk to an external service (Jira, GitHub, Slack)? →
MCP
- Do I need a mechanical, automated check (formatting, style)? →
Hook
- Do I need facts to persist across sessions? →
Memories
🧩 Composability
The best setups mix tools together:
- A skill calls an MCP to fetch a Jira ticket
- A hook runs code style checks after a skill commits code
- An agent uses skills as its playbook
- A skill offloads to sub-skills for PR creation
📦 Progressive Disclosure
Context control = cost control:
- Always loaded: CLAUDE.md
- Description only: Skill triggers
- On demand: Full skill content, rules, MCP tools
- Fuzzy: Memories
How Predictable Is Each Tool?
More predictable
- Hooks, Rules will always fire when conditions are met
Middle ground
- Skills, MCP, CLAUDE.md have reliable triggers but flexible execution
Less predictable
- Agents, Memories let the AI decide when and how to engage
Quick Wins to Get Started
- Start with CLAUDE.md. Write what's unique about your project
- Add rules for your most common file types
- Build one skill for your most repeated workflow
- Connect one MCP (GitHub or Jira) for external reach
- Add hooks for your existing code style and formatting tools
- Don't overdo it. Add tools as the need shows up