ProSkillsLibraryFreePassScan

Guide

Claude Code skills vs CLAUDE.md vs MCP

These look like four ways to give an agent instructions. They are really four different jobs. The difference that matters most is when each one loads, because that sets what it costs you in context.

The decision table

CLAUDE.mdSkillSlash commandMCP serverHook
JobFacts about the projectA procedure or domain knowledgeA prompt you run by nameTools to reach outside systemsA rule that must run
LoadsEvery session, at launchListing always; body on useWhen you run itTool names listed; details as neededOn the event it watches
Context costFull text, every sessionAbout 100 tokens, then the body when usedOnly when run, if set to manual-onlyTool definitions, plus every resultNone, it runs outside the model
Agent decidesAlways sees itYes, from the descriptionNo, you invoke itYes, it chooses toolsNo, the harness runs it
EnforcedNoNoNoNoYes
Use whenBuild commands, conventions, layoutA repeatable task done the same wayA shortcut you typeThe agent needs data or actions elsewhereSomething must always or never happen

Claude Code's docs say custom commands have merged into skills, so a file in .claude/commands/ and a skill in .claude/skills/ both create a slash command. A skill adds supporting files and finer control over who can invoke it. The MCP column reflects the docs on tool search, which lists tool names first so that the full detail is not loaded for tools that are not used.

What it costs, measured

The same text costs different amounts depending on where you put it. Below are real free skills. If the body sat in CLAUDE.md, you would pay the whole body every session. As a skill, you pay the description every session and the body only when it triggers. Tokens are the scanner's estimate.

SkillIn CLAUDE.md, every sessionAs a skill, every sessionAs a skill, when used
Taste Core951 tokens83 tokens1,034 tokens
Hyperframes Starter1,055 tokens94 tokens1,149 tokens
Humanizer1,024 tokens104 tokens1,128 tokens
Grill Me1,075 tokens91 tokens1,166 tokens
Prospect Brief952 tokens87 tokens1,039 tokens

A skill you use in most sessions closes the gap, and the always-loaded cost of many installed skills adds up. Claude Code's docs advise keeping a CLAUDE.md under about 200 lines because longer files use more context and reduce how well instructions are followed. See reduce skill token usage for how to trim.

Which to reach for

You want to…Use
Tell the agent how to run tests in this repoCLAUDE.md
Make it write release notes the same way every timeA skill
Run a prompt you retype oftenA skill or slash command
Let it query your issue trackerAn MCP server
Block pushes to main without reviewA hook
Teach it how to use that MCP server wellA skill that names the tools

A good CLAUDE.md is short. The free AGENTS.md Architect writes one from your real repo. For what makes a skill worth writing, see how to write a skill, and for how the loading works, progressive disclosure.

Sources

Questions

What is the difference between a skill and CLAUDE.md?
CLAUDE.md is loaded at the start of every session, so everything in it costs context every time. A skill's body loads only when it is used, so long procedures cost almost nothing until needed. Claude Code's docs suggest making a skill when a CLAUDE.md section has grown into a procedure rather than a fact.
Are slash commands and skills the same thing now?
In Claude Code, yes. Its docs say custom commands have merged into skills: a file at .claude/commands/deploy.md and a skill at .claude/skills/deploy/SKILL.md both create /deploy, and existing command files keep working.
When should I use MCP instead of a skill?
When the agent needs to reach something outside your files: a database, an API, another app. MCP gives it tools. A skill gives it knowledge and a procedure. They combine well: a skill can tell the agent how to use an MCP server's tools.
Can CLAUDE.md enforce a rule?
No. Claude Code's docs say it treats CLAUDE.md as context, not enforced configuration, and recommend a hook for anything that must always run or never happen.

Keep reading

Scan your own skill

Paste a SKILL.md or drop a folder. It is scored in your browser and nothing is uploaded.

Open the Skill Scanner

Want a skill that already passes? Start with a free one.

AGENTS.md ArchitectFreeScan 100/100A short instructions file from your real repo. From the Agent Ops collection.