Commands
Clew Code has 100+ slash commands. Here are the most notable:
| Command | Description |
|---|---|
/model | Switch provider or model |
/status | Provider, session, context info |
/doctor | Diagnostics |
/context | Active context usage |
/compact | Compress conversation + extract memories |
/goal | Track and verify task completion |
/mcp | MCP server management |
/code-review | Review changed files for bugs |
/plugin | Plugin and hook management |
/agent | Background agent dispatch |
/agents | TUI Agent dashboard |
/peer | LAN peers: share, discover, swarm, dashboard |
/remote | WebSocket remote control |
/daemon | Autonomous daemon dashboard |
/task | Scheduled tasks |
/memory | Memory system management |
/tasks | Curated task list |
/effort | Set reasoning effort |
/rule | View / toggle project rules |
/workspace | Link / unlink / list project repos |
/cd | Change working directory |
/diff | Show git diff |
/files | Explore project files |
/branch | Git branch operations |
/fork | Fork a conversation |
/stats | Session statistics |
/guardian | Auto-review mode |
/approve | Override guardian denials |
/pr | GitHub PR lifecycle |
/voice | Voice input |
/buddy | Companion card |
/team | Team dashboard |
/bg | Background sessions |
/plan | Plan mode |
/vim | Vim keybindings |
/research | Research dossier management |
/deep-research | Deep research with multi-source synthesis |
/workflow | Multi-step workflow automation |
/rewind | Undo last response |
/upgrade | Check for updates |
/session | Session management |
/theme | Theme switcher |
/skills | List and manage skills |
/ultracode | UltraCode reasoning mode |
/cost | Token cost summary |
/thinkback | Browse past agent thoughts |
/passes | View test/code passes |
/hooks | Manage lifecycle hooks |
/export | Export conversation |
/sandbox-toggle | Toggle sandbox mode |
/insights | Generate session analysis report |
/add-dir | Add a directory to working set |
/config | View/edit configuration |
/copy | Copy session content |
/desktop | Desktop integration |
/explorer | File explorer |
/help | Help and skill listing |
/keybindings | View keyboard shortcuts |
/login | Login via gateway |
/logout | Logout / clear credentials |
/provider-select | Provider selection UI |
/recap | Session recap |
/reload-plugins | Reload all plugins |
/rename | Rename session |
/resume | Resume a past session |
/thinkback-play | Replay agent thoughts |
/usage | Token usage statistics |
Profile is set via settings.json (field: profile, values: coding / personal) — no slash command.