← ~/pillars / tooling-foundation / skills-vs-prompts
Skills versus prompts
When a skill beats a CLAUDE.md section beats an MCP tool, how slash commands became skills, and what the Agent Skills open standard buys a team.
updated 2026-06-10 ~4 min read pattern 03/03 Agent Tooling
on this page
Context. Your CLAUDE.md started as build commands and module boundaries. Six months later it contains a release procedure, a PR review checklist, and a four-paragraph incident process, all loaded on every turn, whether the session is about any of them or not.
Forces. CLAUDE.md is the only always-on layer, which makes it both the most powerful place for facts and the most expensive place for procedures. Skills load lazily (name and description cost ~30–50 tokens at startup, the body only on activation) via three-tier progressive disclosure: discovery, activation, execution (agentskills.io). But skills add indirection: a procedure in a skill only fires when its description matches the task, and a badly described skill simply never runs.
Resolution. CLAUDE.md carries facts; skills carry procedures; MCP carries external state. Migrate any CLAUDE.md section that has become a “how” rather than a “what”, and write the skill description as the trigger condition it is.
The three-way decision
Use CLAUDE.md when the content is a short, always-relevant fact Claude should know on every turn: build commands, architecture decisions, coding standards in summary form. Zero invocation friction, permanent token cost.
Use a skill when the content is procedural (“do X then Y”), large, or conditional. The skill body costs nothing until invoked; it can bundle scripts, references, and templates; and frontmatter gives invocation control that prose never can (skills reference):
disable-model-invocation: true: only the user can run it. Use for/deploy,/release-notes, anything with side effects you want a human to initiate.user-invocable: false: hidden from the/menu; background knowledge Claude pulls in when relevant. Use for convention references.paths: "**/*.java": auto-activates only when matching files are in play.context: fork: runs the skill in an isolated subagent context, keeping long procedures out of the main conversation.allowed-tools: pre-approves tools while the skill is active, so a vetted workflow does not stall on permission prompts.
Skills also support dynamic context injection: an !`command` placeholder
runs at invocation time as preprocessing, and the output replaces the
placeholder before Claude reads the skill. A release-notes skill injects the
actual git log rather than instructing Claude to go and fetch it.
Use MCP when the capability is an external system: live GitHub state, current AWS docs, a database. If the task is local and Claude is the orchestrator, a skill with bundled scripts beats registering a server: no process to manage, no schema to load, no new auth. The fuller comparison is in choosing your toolchain.
Slash commands are skills now
Custom commands have been fully merged into skills:
.claude/commands/deploy.md and .claude/skills/deploy/SKILL.md both create
/deploy and behave identically
(commands reference). Existing
command files keep working, but skills are the preferred path: they support
supporting files, frontmatter invocation control, and subagent execution. If a
skill and a command share a name, the skill wins. Write nothing new under
.claude/commands/; migrate opportunistically when a command needs any
capability the flat file lacks.
The command slug comes from the skill’s directory name, and plugin skills are
namespaced as /plugin-name:skill-name, so a team plugin’s /acme:deploy
cannot collide with a project’s /deploy.
The open standard, and what portability is worth
Agent Skills is an open standard, released by Anthropic on 2025-12-18 and
adopted by 35+ agent products including OpenAI Codex, Gemini CLI, GitHub
Copilot, VS Code, Cursor, JetBrains Junie, and Spring AI
(agentskills.io). A skill is a directory with a
SKILL.md plus optional scripts/, references/, and assets/. That makes
skills the only extension layer where team investment is not Claude-specific:
the release procedure you encode today works in whatever agent half your team
runs next year. Two caveats: some Claude Code frontmatter (invocation control,
context: fork) and the dynamic-injection preprocessing are richer than the
baseline standard, so keep load-bearing portability to the core format. And
skills resolve by precedence (enterprise, then personal, then project, then
plugin), so a personal skill can shadow the team’s; prefer distinct names.
Distribution is mundane on purpose: commit .claude/skills/ to the repo and
everyone has them on next pull; live change detection means edits take effect
within the current session (skills reference).
Worked example
Take a CLAUDE.md section titled “Release notes procedure”: 40 lines of instructions on grouping commits, flagging breaking changes, and noting AWS service impacts. Every session paid for those lines; perhaps one in fifty used them.
Migrated, it becomes .claude/skills/release-notes/SKILL.md:
disable-model-invocation: true so only a human triggers a release artifact,
argument-hint so /release-notes v2.4.0 autocompletes meaningfully, an
!`git log` injection so the commit list arrives pre-fetched, and
allowed-tools: Bash(git log *) so it runs without prompts. CLAUDE.md drops
to one line of fact (“release notes are generated by /release-notes”), and
the procedure costs tokens only when releasing. The complete file is the
/release-notes artifact; the same
migration applied to background knowledge (conventions rather than
procedures) is the
team convention skill template.