Commands

Clew Code provides 35+ slash commands for managing providers, sessions, peer networking, MCP, plugins, and more.

Session Commands

CommandDescription
/statusShow current provider, model, session, and context info
/doctorRun system diagnostics
/contextShow active context usage breakdown
/compactCompress conversation history (multi-pass compaction)
/clearClear conversation or caches
/exitExit the REPL
/helpList all available commands
/resumeResume a previous session
/profileSwitch 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 NToggle Max Mode — parallel N candidates via LLM judge

Provider & Model Commands

CommandDescription
/modelSwitch provider or model. Use /model list to see available models
/effortSet reasoning effort (low/medium/high) for supported providers
/fastToggle fast/turbo mode

Peer & Networking Commands

CommandDescription
/peer discoverFind other Clew instances on the LAN
/peer shareShare 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 listList discovered peers
/peer info <peer>Show peer details
/peer helpPeer command reference

MCP Commands

CommandDescription
/mcp listList connected MCP servers and tools
/mcp addAdd an MCP server configuration
/mcp removeRemove an MCP server

Code & Review Commands

CommandDescription
/code-reviewReview changed files for bugs
/simplifyCleanup-focused code review
/prPR management (create/list/view/review/merge/status)
/diffShow git diff

Plugin & Extension Commands

CommandDescription
/pluginPlugin and hook management (install, list, remove)
/skillsList and manage skills
/hooksView active hooks

Autonomous & Agent Commands

CommandDescription
/loop24/7 autonomous agent loop (start, stop, status)
/daemonAutonomous daemon dashboard
/taskManage scheduled tasks
/agentBackground agent dispatch and subcommands
/agentsAgent dashboard (TUI operational view)

Memory Commands

CommandDescription
/memory saveSave session summary to long-term memory
/memory timelineShow chronological session history
/memory statsActivity density chart
/memory digestShow weekly/monthly digests
/memory searchSearch stored memory entries
/maxmode on|off|candidates NToggle Max Mode — parallel candidate selection via LLM judge

Other Commands

CommandDescription
/remoteWebSocket remote control (listen, connect, token)
/bridgeBridge mode configuration
/configOpen configuration panel
/themeSwitch theme
/modeSwitch execution mode — safe, yolo, afk, review-only, browser-safe
/permissionsChange permission mode
/exportExport session
/recapSession recap