promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Claude Code

/agents

Manages subagent configurations.

From v2.1.198, /agents just shows a hint to ask Claude directly to create/manage subagents, or to edit .claude/agents/ or ~/.claude/agents/ yourself. Up to v2.1.197, the command opened an interactive management interface.

โœ… WHEN TO USE IT?

Ask Claude to create a new subagent configuration

/agents, then: "create a subagent for database migrations for me"

Review existing subagent definitions before adjusting them in the current project

/agents to be pointed to .claude/agents/

โ›” WHEN NOT TO?

Expecting an interactive management UI

since v2.1.198, /agents only shows a hint instead of an interactive UI

Better: edit .claude/agents/ or ~/.claude/agents/ directly in an editor

SOURCES