Skip to content

Claude Code Feature Catalog

Quick reference guide to all Claude Code features: commands, agents, skills, plugins, and hooks.

Navigation: Commands | Permission Modes | Subagents | Skills | Plugins | MCP Servers | Hooks | Memory | New Features


Summary

FeatureBuilt-inExamplesTotalReference
Slash Commands55+863+01-slash-commands/
Subagents6101604-subagents/
Skills5 bundled4903-skills/
Plugins-3307-plugins/
MCP Servers18905-mcp/
Hooks25 events7706-hooks/
Memory7 types3302-memory/
Total9943117

Slash Commands

Commands are user-invoked shortcuts that execute specific actions.

Built-in Commands

CommandDescriptionWhen to Use
/helpShow help informationGet started, learn commands
/btwSide question without adding to contextQuick tangent questions
/chromeConfigure Chrome integrationBrowser automation
/clearClear conversation historyStart fresh, reduce context
/diffInteractive diff viewerReview changes
/configView/edit configurationCustomize behavior
/statusShow session statusCheck current state
/agentsList available agentsSee delegation options
/skillsList available skillsSee auto-invoke capabilities
/hooksList configured hooksDebug automation
/insightsAnalyze session patternsSession optimization
/install-slack-appInstall Claude Slack appSlack integration
/keybindingsCustomize keyboard shortcutsKey customization
/mcpList MCP serversCheck external integrations
/memoryView loaded memory filesDebug context loading
/mobileGenerate mobile QR codeMobile access
/passesView usage passesSubscription info
/pluginManage pluginsInstall/remove extensions
/planEnter planning modeComplex implementations
/rewindRewind to checkpointUndo changes, explore alternatives
/checkpointManage checkpointsSave/restore states
/costShow token usage costsMonitor spending
/contextShow context window usageManage conversation length
/exportExport conversationSave for reference
/extra-usageConfigure extra usage limitsRate limit management
/feedbackSubmit feedback or bug reportReport issues
/loginAuthenticate with AnthropicAccess features
/logoutSign outSwitch accounts
/sandboxToggle sandbox modeSafe command execution
/vimToggle vim modeVim-style editing
/doctorRun diagnosticsTroubleshoot issues
/reload-pluginsReload installed pluginsPlugin management
/release-notesShow release notesCheck new features
/remote-controlEnable remote controlRemote access
/permissionsManage permissionsControl access
/sessionManage sessionsMulti-session workflows
/renameRename current sessionOrganize sessions
/resumeResume previous sessionContinue work
/todoView/manage todo listTrack tasks
/tasksView background tasksMonitor async operations
/copyCopy last response to clipboardShare output quickly
/teleportTransfer session to another machineContinue work remotely
/desktopOpen Claude Desktop appSwitch to desktop interface
/themeChange color themeCustomize appearance
/usageShow API usage statisticsMonitor quota and costs
/forkFork current conversationExplore alternatives
/statsShow session statisticsReview session metrics
/statuslineConfigure status lineCustomize status display
/stickersView session stickersFun rewards
/fastToggle fast output modeSpeed up responses
/terminal-setupConfigure terminal integrationSetup terminal features
/upgradeCheck for updatesVersion management

Custom Commands (Examples)

CommandDescriptionWhen to UseScopeInstallation
/optimizeAnalyze code for optimizationPerformance improvementProjectcp 01-slash-commands/optimize.md .claude/commands/
/prPrepare pull requestBefore submitting PRsProjectcp 01-slash-commands/pr.md .claude/commands/
/generate-api-docsGenerate API documentationDocument APIsProjectcp 01-slash-commands/generate-api-docs.md .claude/commands/
/commitCreate git commit with contextCommit changesUsercp 01-slash-commands/commit.md .claude/commands/
/push-allStage, commit, and pushQuick deploymentUsercp 01-slash-commands/push-all.md .claude/commands/
/doc-refactorRestructure documentationImprove docsProjectcp 01-slash-commands/doc-refactor.md .claude/commands/
/setup-ci-cdSetup CI/CD pipelineNew projectsProjectcp 01-slash-commands/setup-ci-cd.md .claude/commands/
/unit-test-expandExpand test coverageImprove testingProjectcp 01-slash-commands/unit-test-expand.md .claude/commands/

Scope: User = personal workflows (~/.claude/commands/), Project = team-shared (.claude/commands/)

Reference: 01-slash-commands/ | Official Docs

Quick Install (All Custom Commands):

bash
cp 01-slash-commands/*.md .claude/commands/

Permission Modes

Claude Code supports 6 permission modes that control how tool use is authorized.

ModeDescriptionWhen to Use
defaultPrompt for each tool callStandard interactive use
acceptEditsAuto-accept file edits, prompt for othersTrusted editing workflows
planRead-only tools only, no writesPlanning and exploration
autoAccept all tools without promptingFully autonomous operation (Research Preview)
bypassPermissionsSkip all permission checksCI/CD, headless environments
dontAskSkip tools that would require permissionNon-interactive scripting

Note: auto mode is a Research Preview feature (March 2026). Use bypassPermissions only in trusted, sandboxed environments.

Reference: Official Docs


Subagents

Specialized AI assistants with isolated contexts for specific tasks.

Built-in Subagents

AgentDescriptionToolsModelWhen to Use
general-purposeMulti-step tasks, researchAll toolsInherits modelComplex research, multi-file tasks
PlanImplementation planningRead, Glob, Grep, BashInherits modelArchitecture design, planning
ExploreCodebase explorationRead, Glob, GrepHaiku 4.5Quick searches, understanding code
BashCommand executionBashInherits modelGit operations, terminal tasks
statusline-setupStatus line configurationBash, Read, WriteSonnet 4.6Configure status line display
Claude Code GuideHelp and documentationRead, Glob, GrepHaiku 4.5Getting help, learning features

Subagent Configuration Fields

FieldTypeDescription
namestringAgent identifier
descriptionstringWhat the agent does
modelstringModel override (e.g., haiku-4.5)
toolsarrayAllowed tools list
effortstringReasoning effort level (low, medium, high)
initialPromptstringSystem prompt injected at agent start
disallowedToolsarrayTools explicitly denied to this agent

Custom Subagents (Examples)

AgentDescriptionWhen to UseScopeInstallation
code-reviewerComprehensive code qualityCode review sessionsProjectcp 04-subagents/code-reviewer.md .claude/agents/
code-architectFeature architecture designNew feature planningProjectcp 04-subagents/code-architect.md .claude/agents/
code-explorerDeep codebase analysisUnderstanding existing featuresProjectcp 04-subagents/code-explorer.md .claude/agents/
clean-code-reviewerClean Code principles reviewMaintainability reviewProjectcp 04-subagents/clean-code-reviewer.md .claude/agents/
test-engineerTest strategy & coverageTest planningProjectcp 04-subagents/test-engineer.md .claude/agents/
documentation-writerTechnical documentationAPI docs, guidesProjectcp 04-subagents/documentation-writer.md .claude/agents/
secure-reviewerSecurity-focused reviewSecurity auditsProjectcp 04-subagents/secure-reviewer.md .claude/agents/
implementation-agentFull feature implementationFeature developmentProjectcp 04-subagents/implementation-agent.md .claude/agents/
debuggerRoot cause analysisBug investigationUsercp 04-subagents/debugger.md .claude/agents/
data-scientistSQL queries, data analysisData tasksUsercp 04-subagents/data-scientist.md .claude/agents/

Scope: User = personal (~/.claude/agents/), Project = team-shared (.claude/agents/)

Reference: 04-subagents/ | Official Docs

Quick Install (All Custom Agents):

bash
cp 04-subagents/*.md .claude/agents/

Skills

Auto-invoked capabilities with instructions, scripts, and templates.

Example Skills

SkillDescriptionWhen Auto-InvokedScopeInstallation
code-reviewComprehensive code review"Review this code", "Check quality"Projectcp -r 03-skills/code-review .claude/skills/
brand-voiceBrand consistency checkerWriting marketing copyProjectcp -r 03-skills/brand-voice .claude/skills/
doc-generatorAPI documentation generator"Generate docs", "Document API"Projectcp -r 03-skills/doc-generator .claude/skills/
refactorSystematic code refactoring (Martin Fowler)"Refactor this", "Clean up code"Usercp -r 03-skills/refactor ~/.claude/skills/

Scope: User = personal (~/.claude/skills/), Project = team-shared (.claude/skills/)

Skill Structure

~/.claude/skills/skill-name/
├── SKILL.md          # Skill definition & instructions
├── scripts/          # Helper scripts
└── templates/        # Output templates

Skill Frontmatter Fields

Skills support YAML frontmatter in SKILL.md for configuration:

FieldTypeDescription
namestringSkill display name
descriptionstringWhat the skill does
autoInvokearrayTrigger phrases for auto-invocation
effortstringReasoning effort level (low, medium, high)
shellstringShell to use for scripts (bash, zsh, sh)

Reference: 03-skills/ | Official Docs

Quick Install (All Skills):

bash
cp -r 03-skills/* ~/.claude/skills/

Bundled Skills

SkillDescriptionWhen Auto-Invoked
/simplifyReview code for qualityAfter writing code
/batchRun prompts on multiple filesBatch operations
/debugDebug failing tests/errorsDebugging sessions
/loopRun prompts on intervalRecurring tasks
/claude-apiBuild apps with Claude APIAPI development

Plugins

Bundled collections of commands, agents, MCP servers, and hooks.

Example Plugins

PluginDescriptionComponentsWhen to UseScopeInstallation
pr-reviewPR review workflow3 commands, 3 agents, GitHub MCPCode reviewsProject/plugin install pr-review
devops-automationDeployment & monitoring4 commands, 3 agents, K8s MCPDevOps tasksProject/plugin install devops-automation
documentationDoc generation suite4 commands, 3 agents, templatesDocumentationProject/plugin install documentation

Scope: Project = team-shared, User = personal workflows

Plugin Structure

.claude-plugin/
├── plugin.json       # Manifest file
├── commands/         # Slash commands
├── agents/           # Subagents
├── skills/           # Skills
├── mcp/              # MCP configurations
├── hooks/            # Hook scripts
└── scripts/          # Utility scripts

Reference: 07-plugins/ | Official Docs

Plugin Management Commands:

bash
/plugin list              # List installed plugins
/plugin install <name>    # Install plugin
/plugin remove <name>     # Remove plugin
/plugin update <name>     # Update plugin

MCP Servers

Model Context Protocol servers for external tool and API access.

Common MCP Servers

ServerDescriptionWhen to UseScopeInstallation
GitHubPR management, issues, codeGitHub workflowsProjectclaude mcp add github -- npx -y @modelcontextprotocol/server-github
DatabaseSQL queries, data accessDatabase operationsProjectclaude mcp add db -- npx -y @modelcontextprotocol/server-postgres
FilesystemAdvanced file operationsComplex file tasksUserclaude mcp add fs -- npx -y @modelcontextprotocol/server-filesystem
SlackTeam communicationNotifications, updatesProjectConfigure in settings
Google DocsDocument accessDoc editing, reviewProjectConfigure in settings
AsanaProject managementTask trackingProjectConfigure in settings
StripePayment dataFinancial analysisProjectConfigure in settings
MemoryPersistent memoryCross-session recallUserConfigure in settings
Context7Library documentationUp-to-date docs lookupBuilt-inBuilt-in

Scope: Project = team (.mcp.json), User = personal (~/.claude.json), Built-in = pre-installed

MCP Configuration Example

json
{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_TOKEN": "${GITHUB_TOKEN}"
      }
    }
  }
}

Reference: 05-mcp/ | MCP Protocol Docs

Quick Install (GitHub MCP):

bash
export GITHUB_TOKEN="your_token" && claude mcp add github -- npx -y @modelcontextprotocol/server-github

Hooks

Event-driven automation that executes shell commands on Claude Code events.

Hook Events

EventDescriptionWhen TriggeredUse Cases
SessionStartSession begins/resumesSession initializationSetup tasks
InstructionsLoadedInstructions loadedCLAUDE.md or rules file loadedCustom instruction handling
UserPromptSubmitBefore prompt processingUser sends messageInput validation
PreToolUseBefore tool executionBefore any tool runsValidation, logging
PermissionRequestPermission dialog shownBefore sensitive actionsCustom approval flows
PostToolUseAfter tool succeedsAfter any tool completesFormatting, notifications
PostToolUseFailureTool execution failsAfter tool errorError handling, logging
NotificationNotification sentClaude sends notificationExternal alerts
SubagentStartSubagent spawnedSubagent task startsInitialize subagent context
SubagentStopSubagent finishesSubagent task completeChain actions
StopClaude finishes respondingResponse completeCleanup, reporting
StopFailureAPI error ends turnAPI error occursError recovery, logging
TeammateIdleTeammate agent idleAgent team coordinationDistribute work
TaskCompletedTask marked completeTask donePost-task processing
TaskCreatedTask created via TaskCreateNew task createdTask tracking, logging
ConfigChangeConfiguration updatedSettings modifiedReact to config changes
CwdChangedWorking directory changesDirectory changedDirectory-specific setup
FileChangedWatched file changesFile modifiedFile monitoring, rebuild
PreCompactBefore compact operationContext compressionState preservation
PostCompactAfter compaction completesCompaction donePost-compact actions
WorktreeCreateWorktree being createdGit worktree createdSetup worktree environment
WorktreeRemoveWorktree being removedGit worktree removedCleanup worktree resources
ElicitationMCP server requests inputMCP elicitationInput validation
ElicitationResultUser responds to elicitationUser respondsResponse processing
SessionEndSession terminatesSession terminationCleanup, save state

Example Hooks

HookDescriptionEventScopeInstallation
validate-bash.pyCommand validationPreToolUse:BashProjectcp 06-hooks/validate-bash.py .claude/hooks/
security-scan.pySecurity scanningPostToolUse:WriteProjectcp 06-hooks/security-scan.py .claude/hooks/
format-code.shAuto-formattingPostToolUse:WriteUsercp 06-hooks/format-code.sh ~/.claude/hooks/
validate-prompt.pyPrompt validationUserPromptSubmitProjectcp 06-hooks/validate-prompt.py .claude/hooks/
context-tracker.pyToken usage trackingStopUsercp 06-hooks/context-tracker.py ~/.claude/hooks/
pre-commit.shPre-commit validationPreToolUse:BashProjectcp 06-hooks/pre-commit.sh .claude/hooks/
log-bash.shCommand loggingPostToolUse:BashUsercp 06-hooks/log-bash.sh ~/.claude/hooks/

Scope: Project = team (.claude/settings.json), User = personal (~/.claude/settings.json)

Hook Configuration

json
{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "command": "~/.claude/hooks/validate-bash.py"
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Write",
        "command": "~/.claude/hooks/format-code.sh"
      }
    ]
  }
}

Reference: 06-hooks/ | Official Docs

Quick Install (All Hooks):

bash
mkdir -p ~/.claude/hooks && cp 06-hooks/*.sh ~/.claude/hooks/ && chmod +x ~/.claude/hooks/*.sh

Memory Files

Persistent context loaded automatically across sessions.

Memory Types

TypeLocationScopeWhen to Use
Managed PolicyOrg-managed policiesOrganizationEnforce org-wide standards
Project./CLAUDE.mdProject (team)Team standards, project context
Project Rules.claude/rules/Project (team)Modular project rules
User~/.claude/CLAUDE.mdUser (personal)Personal preferences
User Rules~/.claude/rules/User (personal)Modular personal rules
Local./CLAUDE.local.mdLocal (git-ignored)Machine-specific overrides (not in official docs as of March 2026; may be legacy)
Auto MemoryAutomaticSessionAuto-captured insights and corrections

Scope: Organization = managed by admins, Project = shared with team via git, User = personal preferences, Local = not committed, Session = auto-managed

Reference: 02-memory/ | Official Docs

Quick Install:

bash
cp 02-memory/project-CLAUDE.md ./CLAUDE.md
cp 02-memory/personal-CLAUDE.md ~/.claude/CLAUDE.md

New Features (March 2026)

FeatureDescriptionHow to Use
Remote ControlControl Claude Code sessions remotely via APIUse the remote control API to send prompts and receive responses programmatically
Web SessionsRun Claude Code in a browser-based environmentAccess via claude web or through the Anthropic Console
Desktop AppNative desktop application for Claude CodeUse /desktop or download from Anthropic website
Agent TeamsCoordinate multiple agents working on related tasksConfigure teammate agents that collaborate and share context
Task ListBackground task management and monitoringUse /tasks to view and manage background operations
Prompt SuggestionsContext-aware command suggestionsSuggestions appear automatically based on current context
Git WorktreesIsolated git worktrees for parallel developmentUse worktree commands for safe parallel branch work
SandboxingIsolated execution environments for safetyUse /sandbox to toggle; runs commands in restricted environments
MCP OAuthOAuth authentication for MCP serversConfigure OAuth credentials in MCP server settings for secure access
MCP Tool SearchSearch and discover MCP tools dynamicallyUse tool search to find available MCP tools across connected servers
Scheduled TasksSet up recurring tasks with /loop and cron toolsUse /loop 5m /command or CronCreate tool
Chrome IntegrationBrowser automation with headless ChromiumUse --chrome flag or /chrome command
Keyboard CustomizationCustomize keybindings including chord supportUse /keybindings or edit ~/.claude/keybindings.json
Auto ModeFully autonomous operation without permission prompts (Research Preview)Use --mode auto or /permissions auto; March 2026
ChannelsMulti-channel communication (Telegram, Slack, etc.) (Research Preview)Configure channel plugins; March 2026
Voice DictationVoice input for promptsUse microphone icon or voice keybinding
Agent Hook TypeHooks that spawn a subagent instead of running a shell commandSet "type": "agent" in hook configuration
Prompt Hook TypeHooks that inject prompt text into the conversationSet "type": "prompt" in hook configuration
MCP ElicitationMCP servers can request user input during tool executionHandle via Elicitation and ElicitationResult hook events
WebSocket MCP TransportWebSocket-based transport for MCP server connectionsUse "transport": "websocket" in MCP server config
Plugin LSP SupportLanguage Server Protocol integration via pluginsConfigure LSP servers in plugin.json for editor features
Managed Drop-insOrganization-managed drop-in configurations (v2.1.83)Admin-configured via managed policies; auto-applied to all users

Quick Reference Matrix

Feature Selection Guide

NeedRecommended FeatureWhy
Quick shortcutSlash CommandManual, immediate
Persistent contextMemoryAuto-loaded
Complex automationSkillAuto-invoked
Specialized taskSubagentIsolated context
External dataMCP ServerReal-time access
Event automationHookEvent-triggered
Complete solutionPluginAll-in-one bundle

Installation Priority

PriorityFeatureCommand
1. EssentialMemorycp 02-memory/project-CLAUDE.md ./CLAUDE.md
2. Daily UseSlash Commandscp 01-slash-commands/*.md .claude/commands/
3. QualitySubagentscp 04-subagents/*.md .claude/agents/
4. AutomationHookscp 06-hooks/*.sh ~/.claude/hooks/ && chmod +x ~/.claude/hooks/*.sh
5. ExternalMCPclaude mcp add github -- npx -y @modelcontextprotocol/server-github
6. AdvancedSkillscp -r 03-skills/* ~/.claude/skills/
7. CompletePlugins/plugin install pr-review

Complete One-Command Installation

Install all examples from this repository:

bash
# Create directories
mkdir -p .claude/{commands,agents,skills} ~/.claude/{hooks,skills}

# Install all features
cp 01-slash-commands/*.md .claude/commands/ && \
cp 02-memory/project-CLAUDE.md ./CLAUDE.md && \
cp -r 03-skills/* ~/.claude/skills/ && \
cp 04-subagents/*.md .claude/agents/ && \
cp 06-hooks/*.sh ~/.claude/hooks/ && \
chmod +x ~/.claude/hooks/*.sh

Additional Resources


Last Updated: March 2026

Alpha内测提示:当前为早期内部构建版本,部分章节仍在完善中,也可能存在问题,欢迎在下方评论区留言。