Commands
Clew Code provides 35+ slash commands for managing providers, sessions, peer networking, MCP, plugins, and more.
Session Commands
| Command | Description |
/status | Show current provider, model, session, and context info |
/doctor | Run system diagnostics |
/context | Show active context usage breakdown |
/compact | Compress conversation history (multi-pass compaction) |
/clear | Clear conversation or caches |
/exit | Exit the REPL |
/help | List all available commands |
/resume | Resume a previous session |
/profile | Switch between coding and personal profiles. Personal profile turns Clew into a personal AI control center with delegation, memory-driven learning, and skill creation. See Personal Profile. |
/maxmode on|off|candidates N | Toggle Max Mode — parallel N candidates via LLM judge |
Provider & Model Commands
| Command | Description |
/model | Switch provider or model. Use /model list to see available models |
/effort | Set reasoning effort (low/medium/high) for supported providers |
/fast | Toggle fast/turbo mode |
Peer & Networking Commands
| Command | Description |
/peer discover | Find other Clew instances on the LAN |
/peer share | Share this instance as a worker |
/peer run <peer> <cmd> | Run a command on a remote peer |
/peer send <peer> <msg> | Send a message to a peer |
/peer list | List discovered peers |
/peer info <peer> | Show peer details |
/peer help | Peer command reference |
MCP Commands
| Command | Description |
/mcp list | List connected MCP servers and tools |
/mcp add | Add an MCP server configuration |
/mcp remove | Remove an MCP server |
Code & Review Commands
| Command | Description |
/code-review | Review changed files for bugs |
/simplify | Cleanup-focused code review |
/pr | PR management (create/list/view/review/merge/status) |
/diff | Show git diff |
Plugin & Extension Commands
| Command | Description |
/plugin | Plugin and hook management (install, list, remove) |
/skills | List and manage skills |
/hooks | View active hooks |
Autonomous & Agent Commands
| Command | Description |
/loop | 24/7 autonomous agent loop (start, stop, status) |
/daemon | Autonomous daemon dashboard |
/task | Manage scheduled tasks |
/agent | Background agent dispatch and subcommands |
/agents | Agent dashboard (TUI operational view) |
Memory Commands
| Command | Description |
/memory save | Save session summary to long-term memory |
/memory timeline | Show chronological session history |
/memory stats | Activity density chart |
/memory digest | Show weekly/monthly digests |
/memory search | Search stored memory entries |
/maxmode on|off|candidates N | Toggle Max Mode — parallel candidate selection via LLM judge |
Other Commands
| Command | Description |
/remote | WebSocket remote control (listen, connect, token) |
/bridge | Bridge mode configuration |
/config | Open configuration panel |
/theme | Switch theme |
/mode | Switch execution mode — safe, yolo, afk, review-only, browser-safe |
/permissions | Change permission mode |
/export | Export session |
/recap | Session recap |