Skip to main content
reopt Handbook
reopt Handbook
Claude Code Command MasterLabels and command selectionHow to read a detail guideComplete command listTerminal CLI Commands and Flags

Task guides

Core command basicsStarting and resuming workSkills and Custom CommandsAutomation and Web CommandsOperations and Safety CommandsCustom commands and skillsMCP connections and commands

Conversation and context

Cmd. /add-dirCmd. /backgroundCmd. /compactCmd. /contextCmd. /copyCmd. /exportCmd. /forkCmd. /importCmd. /initCmd. /memoryCmd. /recapCmd. /renameCmd. /resumeCmd. /rewindCmd. claude purge

Planning and execution

Cmd. /autofix-prCmd. /batchCmd. /desktopCmd. /goalCmd. /loopCmd. /planCmd. /remote-envCmd. /scheduleCmd. /tasksCmd. /teleportCmd. /workflows

Review and verification

Cmd. /code-reviewCmd. /runCmd. /run-skill-generatorCmd. /security-reviewCmd. /simplifyCmd. /verify

Models and settings

Cmd. /claude-apiCmd. /configCmd. /effortCmd. /fastCmd. /modelCmd. /output-styleCmd. /update-config

Permissions and integrations

Cmd. /agentsCmd. /hooksCmd. /ideCmd. /mcpCmd. /permissionsCmd. /pluginCmd. /reload-pluginsCmd. /reload-skillsCmd. /sandboxCmd. /skillsCmd. /web-setup

Status and diagnostics

Cmd. /debugCmd. /diffCmd. /doctorCmd. /fewer-permission-promptsCmd. /release-notesCmd. /team-onboarding

Display and input

Cmd. /colorCmd. /focusCmd. /keybindingsCmd. /powerupCmd. /statuslineCmd. /terminal-setupCmd. /themeCmd. /tui

Account and usage

Cmd. /upgradeCmd. /usageCmd. /usage-credits

Legacy

Cmd. /costCmd. /pr-commentsCmd. /reviewCmd. /statsCmd. /ultrareviewCmd. /vimCmd. /approved-toolsCmd. /commandsCmd. /extra-usageCmd. /settingsCmd. /tagCmd. /todos

Verification and history

Current verification scopeHandbook updatesRelease coverage historyEarlier verification recordsCommand change history
Handbook›Claude Code Command Master›Cmd. /agents
한국어KOEnglishEN

Cmd. /agents

On current versions, explain how to manage subagents.

Written and reviewed by Eric Han · Co-founder & CTO, reopt

Key takeaways

  • On current versions, explain how to manage subagents.
  • Check the input surface and availability before using the examples below.

Purpose

On current versions, explain how to manage subagents.

/agents

Availability

FieldValue
Input surfaceRunning CLI prompt
KindBuilt-in
StatusCurrent reference
Aliases—
Documented minimumNot specified
Reviewed against2026-10-23 · Claude Code 2.1.308

v2.1.198+ prints management guidance; the interactive creation UI belongs to v2.1.197 and earlier.

Examples

/agents

Effects and persistence

Current versions explain how to manage subagents. Their definitions live in project or user agents directories.

Where definitions live

Project definitions live in .claude/agents/; user definitions live in ~/.claude/agents/. Existing directories are watched. A newly created directory or an added-directory configuration can require a restart. claude agents in the terminal opens Agent View and serves a different purpose from /agents.

Cautions

Ask Claude to edit agent definitions. The current command no longer opens the older creation wizard. In Agent View, an n:<text> filter matches session names and tasks (v2.1.287+), Ctrl+F finds a session by name, and Alt+↑/↓ jumps between groups (v2.1.288+). From v2.1.292 an agent name can be at most 256 characters.

Official sources

  • Commands
  • Sub Agents
  • Agent View

Complete command list · Verification scope

Related docs

Cmd. /reload-skills

Re-scans on-disk skill and command directories and refreshes session availability.

Cmd. /rename

Changes the current session's name while retaining its conversation.

Subagents

Claude Code Complete Guide · Delegate bounded work while keeping the main Claude Code session accountable.

Cmd. /cd

Codex Command Master · Track the 0.149.0 working-directory commands and verify their live behavior in the installed slash-command help.

Cmd. /goal

Codex Command Master · Set, inspect, pause, resume, or clear a persistent long-running task goal.

Cmd. /update-config

Use the Claude Code bundled skill to edit the appropriate settings.json from a requested permission, environment, or hook change.

Cmd. /hooks

Inspect configured Claude Code hooks and diagnose missing runs by separating event matching, handler failures, and unexpected results.

On this page

PurposeAvailabilityExamplesEffects and persistenceWhere definitions liveCautionsOfficial sources