Command Catalog
This is a categorized map of the major built-in command families wired through src/commands.ts. It is intentionally organizational rather than exhaustive line-by-line command documentation, because the full surface also includes dynamic skills, plugin commands, and workflow-generated commands.
Session & Navigation
Session lifecycle
/clear/resume/session/rewind/exitSource signals
commands/clear, commands/resume, commands/session, commands/rewind, commands/exit
Discovery / help
/help/status/stats/versionSource signals
commands/help, commands/status, commands/stats, commands/version
Output / clipboard
/copy/output-style/statuslineSource signals
commands/copy, commands/output-style, commands/statusline
Config, Permissions & Personalization
Core config
/model/config/permissions/privacy-settingsSource signals
commands/model, commands/config, commands/permissions, commands/privacy-settings
UX preferences
/theme/vim/keybindings/colorSource signals
commands/theme, commands/vim, commands/keybindings, commands/color
Execution posture
/plan/fast/effort/passes/sandbox-toggleSource signals
commands/plan, commands/fast, commands/effort, commands/passes, commands/sandbox-toggle
Context, Memory & Files
Memory / compaction
/memory/compact/contextSource signals
commands/memory, commands/compact, commands/context
File / repo helpers
/files/diff/branch/renameSource signals
commands/files, commands/diff, commands/branch, commands/rename
Hooks / tags
/hooks/tagSource signals
commands/hooks, commands/tag
Review & Development Workflows
Reviews
/review/ultrareview/security-reviewSource signals
commands/review, commands/security-review
Change workflows
/commit/pr_commentsSource signals
commands/commit, commands/pr_comments
Diagnostics / support
/doctor/feedback/bughunter/advisorSource signals
commands/doctor, commands/feedback, commands/bughunter, commands/advisor
Extensions & Multi-Agent Features
MCP / plugins / skills
/mcp/plugin/reload-plugins/skillsSource signals
commands/mcp, commands/plugin, commands/reload-plugins, commands/skills
Agents / tasks
/agents/tasksSource signals
commands/agents, commands/tasks
IDE / remote env
/ide/remote-envSource signals
commands/ide, commands/remote-env
Auth, Usage & Installation
Auth / account
/login/logout/statusSource signals
commands/login, commands/logout, commands/status
Usage / limits
/usage/extra-usage/cost/rate-limit-optionsSource signals
commands/usage, commands/extra-usage, commands/cost, commands/rate-limit-options
Setup / upgrade
/init/upgrade/terminalSetup/install-github-app/install-slack-appSource signals
commands/init, commands/upgrade, commands/terminalSetup, commands/install-github-app, commands/install-slack-app
Feature-Gated & Internal Families
These families are present in src/commands.ts but only load when a feature flag, subscriber type, or internal build condition allows them.
Remote / bridge
bridgeremoteControlServerCommandteleportmobiledesktopSource signals
feature-gated imports in src/commands.ts
Assistant / proactive
assistantbriefproactivesubscribe-prSource signals
feature-gated imports in src/commands.ts
Voice / peer / buddy flows
voicepeersbuddyforkSource signals
feature-gated imports in src/commands.ts
Workflow / automation
workflowsdynamic workflow commands from WorkflowToolSource signals
feature-gated imports and workflow command generation
Internal-only imports
autofix-pragents-platformsummaryant-tracebridge-kickSource signals
INTERNAL_ONLY_COMMANDS in src/commands.ts
How the Registry Is Assembled
getCommands() merges several sources:
- Built-in commands from
src/commands.ts - Bundled skills
- User skill-directory commands
- Plugin commands and plugin skills
- Workflow-generated commands when workflow scripts are enabled
- Dynamic skills discovered during file operations
That is why the command surface is broader than the examples on the main Command System page.
Key Source Files
| File | Purpose |
|---|---|
src/commands.ts | Built-in command registry and merge order |
src/types/command.ts | Command type system (prompt, local, local-jsx) |
src/commands/ | Built-in command implementations |
src/tools/WorkflowTool/ | Workflow-generated command support when enabled |