Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. CCDV-F/
  4. CCDV-F Learning Path/
  5. Study FAQs/
  6. When should I use a Claude Code slash command, Skill, or custom subagent?

Study FAQ

When should I use a Claude Code slash command, Skill, or custom subagent?

Exam · CCDV-FKnowledge domain · Claude CodeUpdated Nov 25, 2026
Also asked as 2
  • Which Claude Code extension should I choose for reusable instructions or delegated work?
  • How do I choose between a built-in command, a reusable Skill, and an isolated subagent in Claude Code?

Answer

Use a built-in slash command for an explicit session action such as inspecting context. Use a Skill when you want a reusable workflow with instructions and reference files. Use a custom subagent when a bounded task needs its own working context, role-specific instructions, or narrower tool access.

A Skill can be invoked by a user or discovered by Claude, subject to its configuration. Put the core procedure and validation checks in SKILL.md, keep larger references separate, and review any commands and supporting scripts the Skill can lead Claude to use. Current Claude Code loads custom commands in .claude/commands/ as Skills. New reusable workflows can use the Skill directory layout for supporting files and invocation controls.

Configure a subagent’s role and permitted tools explicitly and give it a checkable result contract. An ordinary linear workflow often fits a Skill in the main session. Use supported settings, permissions, or event hooks when you need an enforced policy or an action at a specific lifecycle boundary.

  • Claude Code built-in commands
  • Extend Claude Code with Skills
  • Claude Code custom subagents

Full explanation

Claude Code Operation, Configuration, and Extension Surfaces

Study guide · CCDV-F

Read the full explanation →
← Back to CCDV-F FAQsView learning path →

Related questions

When should I clear, compact, or resume a Claude Code session? →How should I initialize and organize Claude Code instructions for a repository? →Which Claude Code settings win when several scopes set the same key? →How should I review and roll back a Claude Code plugin upgrade? →How should I choose a Claude Code operating mode and output format? →When should I use a Claude Code command hook for a guardrail? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.