Work like a pro

Skills, subagents, hooks and MCP

The four extension tools, explained simply.

4 min14 / 18

Once the basics work, Claude Code can be extended. Here is each tool in one sentence, with when to use it.

Facts and rules for every session.
Repeatable procedures, loaded when needed.
Helpers with their own .
HooksScripts that always run at set moments.
Connections to outside apps and data.
PluginsBundles of the above, installed in one go.
Start with CLAUDE.md. Add the others when you feel the need.

Skills

A skill is a folder with a SKILL.md file containing instructions. Claude loads it when a request matches, or you run it with /skill-name. Use skills for procedures you would otherwise paste again and again.

.claude/skills/explain-simply/SKILL.md
---
name: explain-simply
description: Explains code in plain language for beginners. Use when the user asks what a piece of code does.
---

Explain $ARGUMENTS as if the reader is new to programming:

1. Say in one sentence what it does.
2. Walk through it step by step, defining any jargon.
3. End with one small change the reader could try.

Personal skills live in ~/.claude/skills/, project skills in .claude/skills/. Run /skills to see what is available.

Subagents

A subagent is a helper with its own context window and its own allowed tools. Good for reading many files or an independent review. Ask in plain words: "Use a subagent to review this for security problems."

Hooks

A hook runs a script automatically at a set point, for example formatting every file after an edit. Unlike CLAUDE.md, hooks are guaranteed to run. Claude can write them for you.

MCP

The Model Context Protocol (MCP) is an open standard for connecting AI tools to outside data and services. Through MCP, Claude Code can read design documents, update tickets or query a database. Add a server with claude mcp add.

Plugins: everything in one package

A plugin bundles skills, subagents, hooks and MCP connections so you can install a whole workflow at once, for example a code-review kit or a set of marketing skills. Plugins come from marketplaces; your organization may also offer its own.

A hook, described in plain words

Prompt: let Claude write the hook

Add a hook to this project: after every file edit, run our formatter on the changed file. Show me the settings change before you save it, and explain in two sentences how I can turn it off.

You stay in control: you see the change and know how to undo it.

Background agentsFor bigger jobs Claude Code can run several sessions in parallel and let a lead agent split and merge the work. Start with one session; reach for this when tasks really are independent.
NeedUse
A repeatable procedureSkill
Keep research out of the main chatSubagent
Something must always happenHook
Connect an outside app or dataMCP
Facts Claude needs every sessionCLAUDE.md
Only connect what you trustSkills, plugins and MCP servers can run code or reach your data. Install only from sources you trust, and read what they ask permission for.

Check yourself

1. A formatting step must run after every edit, guaranteed. Which tool?
2. You keep pasting the same 6-step checklist into chat. What fits?
3. What is MCP?
4. What is a plugin?

Tip: use ← and → to move between lessons.