Claude Code gives you four ways to teach an agent something, and the CCA-F exam's favorite Configuration-domain question is simply: which one? CLAUDE.md, skills, slash commands, and MCP servers overlap enough to confuse, and the wrong choice is a real cost (a bloated context, a manual step that should have been automatic, a capability that never loads when needed). This guide draws the lines.
Skills and slash commands live in the Claude Code Configuration & Workflows domain (20% of the exam). For the file that anchors persistent memory, pair this with the CLAUDE.md guide; for the enforcement layer, the hooks guide.
Find out where you stand first
Take the free CCA-F sample questions cold (no signup, real exam style), then read on with your gaps in mind. When you are ready for full rehearsal, Preporato's CCA-F practice tests include 6 full-length exams (390 questions in total, domain-proportional, every answer explained) for a one-time $19.99 with lifetime access.
Skills: Capabilities That Load on Demand
A skill is a packaged capability the agent pulls in when it is relevant, not every session. Structurally, a skill is a folder with a SKILL.md (instructions plus a description of when to use it) and optionally supporting files, scripts, or resources. The key property is progressive disclosure: only the skill's short description sits in context normally; the full instructions load when the agent decides the skill applies.
That solves the CLAUDE.md bloat problem directly. A 300-line deployment runbook does not belong in memory that loads every session. As a skill, its one-line description ("use when deploying to production") costs almost nothing until the moment a deploy comes up, at which point the full procedure loads.
Skills can be personal (~/.claude/skills/), project-scoped (.claude/skills/, shared via git), or provided by plugins. The description field is doing the same routing job it does for subagents: it is how the agent decides whether to load the skill at all, so vague descriptions leave skills stranded.
Try 15 CCA-F practice questions free
They come from the CCA-F practice tests, and each option shows its explanation once you answer.
- 6 timed practice exams
- Every answer explained
- A score for each domain
- $19.99 one-time
Slash Commands: User-Triggered Shortcuts
A slash command is a reusable prompt the user invokes by typing /name. It is a Markdown file in .claude/commands/ (project) or ~/.claude/commands/ (personal) whose body is the prompt that gets sent, optionally with $ARGUMENTS interpolation.
The defining difference from a skill: who decides to use it. A skill is loaded by the agent when it judges the skill relevant. A slash command fires when you type it. /review-pr 1234 is you deciding to run a saved workflow; a skill is the agent deciding, mid-task, that it needs the PDF-processing capability.
Slash commands shine for workflows you run repeatedly and want to trigger deterministically: /deploy, /write-tests, /changelog. They are muscle memory, not agent judgment.
The Full Selection Matrix
This table is the exam's Configuration domain in one view:
Which mechanism?
| Mechanism | Loaded by | When it applies | Best for |
|---|---|---|---|
| CLAUDE.md | Harness, every session | Always in context | Facts true every session: commands, architecture, boundaries |
| Skill | Agent, on demand | When the agent judges it relevant | Occasional procedures, specialized capabilities, big reference material |
| Slash command | User, by typing /name | When you invoke it | Repeated workflows you trigger deliberately |
| Hook | Harness, at lifecycle events | Deterministically, on the event | Hard guarantees and gates |
| MCP server | Agent, via tool calls | When a tool is needed | Connecting to external systems and data |
The sorting questions the exam asks, and their answers:
- "A 5-step incident-response procedure used maybe twice a month" -> skill (on-demand, keeps context lean)
- "The team's standard PR-review prompt, run several times a day" -> slash command (user-triggered, repeatable)
- "The repo's test command" -> CLAUDE.md (needed every session)
- "Block writes to the secrets file" -> hook (hard guarantee)
- "Let the agent query the production database" -> MCP server (external system access)
Three questions from the CCA-F practice tests
Your billing agent's loop continues while stop_reason is "tool_use" and treats every other stop_reason as a finished turn, sending the text to the customer. Most conversations work, but about 4% of answers to multi-item refund questions end mid-sentence, for example "Your refund for the first two items will be". What change fixes this?
[object Object]
Correct. A cut-off answer comes back with stop_reason "max_tokens", which means the response hit your limit before Claude finished. Treating every non-"tool_use" value as done sends those fragments to customers. Ending the turn only on "end_turn" and handling "max_tokens" explicitly (a higher limit, then retry) fixes the loop for every length of answer.
A. Judging completion from punctuation is the natural-language parsing anti-pattern: an answer can end in a list or a number, and a cut-off answer can happen to end in a period. The API already reports why the response stopped.
B. A length instruction lowers how often answers hit the limit but cannot guarantee it, and detailed multi-item answers are exactly the ones that run long. The loop would still send whatever was cut off.
D. Trimming hides the symptom and drops the part of the answer the customer needed, such as the refund amount. The loop still treats a truncated response as finished.
Your coordinator spends its first ten turns clarifying a research request with the user, who says the analysis must cover only the European market and exclude two competitors that are being acquired. The coordinator then dispatches a market-analysis subagent with the brief "Analyze the competitive landscape for our product." The subagent's report covers North America and includes both excluded competitors. What is the most likely cause?
[object Object]
Correct. A subagent starts with a fresh context: it receives its own system prompt and the prompt passed in the Task call, and the coordinator's conversation is not included. The scope and exclusions lived only in that conversation, so the subagent never saw them. The coordinator has to put them in the brief.
A. The subagent never received the coordinator's conversation at all, so there was nothing to overflow. The constraints were missing from its input from the start.
C. A system prompt can shape how the subagent works, but there were no inherited constraints to override. The brief was the only place the constraints could have reached it.
D. Subagents do not inherit the coordinator's conversation history. This answer assumes they do and then blames prioritization, which misses the actual gap.
Your support agent, built on the Claude Agent SDK, issues refunds through a process_refund tool owned by another team, and you cannot change that tool. Policy says refunds above $500 must go to a human reviewer. The system prompt states this in capital letters, yet audits find a few refunds between $600 and $800 every month. Where should you enforce the limit?
[object Object]
Correct. A PreToolUse hook runs before the tool executes and can deny the call, so a refund above $500 never reaches the payments system. The denial reason goes back to the agent, which can then escalate to a human. This enforces the rule without changing the other team's tool.
A. Placement and examples can make escalation more likely, but prompt instructions keep a non-zero failure rate. The audits already show the rule being missed in its current form.
B. A description guides how Claude uses the tool, but nothing enforces it, and the tool itself would still accept the amount. This is prompt-based guidance in a different place.
C. PostToolUse runs after the tool has succeeded, so the refund has already been issued by the time the hook sees it. Flagging it afterward turns a prevention rule into cleanup.
Full CCA-F set: 6 timed exams, every answer explained, $19.99 one-time.
See the practice testsSkills vs MCP: The Subtle One
Both extend what an agent can do, and professional questions probe the boundary. The clean distinction:
- MCP connects the agent to external systems: a database, a SaaS API, a file store. It is about access and integration, exposing tools/resources/prompts over a protocol.
- Skills package knowledge and procedure: how to do a task well, what steps in what order, which files to touch. A skill can use MCP tools, but the skill itself is instructions, not a connection.
A "process customer refunds" skill might describe the policy and steps; the MCP server it calls is what actually reaches the billing system. Confusing the two ("use a skill to connect to the CRM," "use MCP to teach the refund procedure") is a classic wrong answer. See the MCP architecture guide for the integration half.
Sharing and Team Workflows
A quietly important exam theme: which of these travel with the repo. Project-scoped skills, slash commands, and CLAUDE.md are committed to git, so cloning the repo gives every teammate (and every agent instance) the same capabilities and conventions. Personal-scoped versions stay on your machine. Designing a team's Claude Code setup means deciding deliberately what is shared project config versus personal preference, and the exam rewards putting shared conventions in project scope.
Build an MCP tool server and wire it to an agent
The skills-vs-MCP line gets concrete once you build the MCP side: a real tool server a LangChain agent connects to and calls.
Key Takeaways
- Skill = agent loads it on demand (progressive disclosure); slash command = user triggers it by typing
- CLAUDE.md = every session; skill = some sessions; hook = must happen; MCP = external access
- Skills package procedure and knowledge; MCP packages connection to systems; a skill may call MCP tools
- Project-scoped skills/commands/CLAUDE.md travel via git; put shared conventions there
- Descriptions are routing logic for both skills and subagents, so write them precisely
The Claude Code course builds real skills and slash commands in Level 5, and Preporato's CCA-F practice tests drill the selection matrix across 390 explained questions.
Sources:
Last updated: July 10, 2026
