Reference for rp-cli usage patterns. Consult before calling rp-cli via Bash.
Execute RepoPrompt commands via rp-cli to analyze codebases, manage file selections, and generate implementation plans. Use when you need to read files, search code, or get workspace context from RepoPrompt.
/plugin marketplace add GantisStorm/claude-code-repoprompt-codex-plugins/plugin install repoprompt-swarm@claude-code-repoprompt-codex-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Quick reference for rp-cli commands. rp-cli is a proxy MCP client that lets AI agents access RepoPrompt's tools through shell commands.
rp-cli -e '<command>' # Execute single command
rp-cli -e '<cmd1> && <cmd2>' # Chain commands
rp-cli -w <id> -e '<command>' # Target specific window
rp-cli -e 'builder "YOUR_INSTRUCTIONS" --response-type plan'
Creates implementation plan. Returns chat_id for follow-up.
rp-cli -e 'chat "YOUR_MESSAGE" --mode plan'
rp-cli -e 'chat "YOUR_MESSAGE" --chat-id "CHAT_ID" --mode plan'
Modes: chat, plan, edit
rp-cli -e 'chats list --limit 10'
rp-cli -e 'chats log --chat-id "CHAT_ID" --limit 10'
rp-cli -e 'select add path/to/file.ts'
rp-cli -e 'select remove path/to/file.ts'
rp-cli -e 'select set path/to/file1.ts path/to/file2.ts'
rp-cli -e 'select clear'
rp-cli -e 'select promote path/to/codemap.ts' # Upgrade to full file
rp-cli -e 'select demote path/to/large.ts' # Downgrade to codemap
rp-cli -e 'context'
rp-cli -e 'context --include prompt,selection,tokens'
rp-cli -e 'tree'
rp-cli -e 'tree --mode auto'
rp-cli -e 'tree --folders'
rp-cli -e 'search "pattern"'
rp-cli -e 'search "pattern" --extensions .ts'
rp-cli -e 'structure src/auth'
rp-cli -e 'map src/components'
rp-cli -e 'read path/to/file.ts'
rp-cli -e 'read path/to/file.ts --start-line 45 --limit 100'
rp-cli -e 'workspace list'
rp-cli -e 'workspace tabs'
rp-cli -e 'workspace tab "TAB_NAME"'
rp-cli -e 'workspace switch "PROJECT_NAME"'
rp-cli -e 'workspace MyProject && select set src/ && context'
rp-cli -e 'context > /tmp/context.md'
-e argument' with '\''When fetching chats with chats log:
role: "user" = task context (ignore)role: "assistant" = architectural plan (parse this)Connection failures: Ensure RepoPrompt is running and MCP Server is enabled
Command not found: Run rp-cli --version to verify installation
Operations need approval: Some operations require approval in RepoPrompt UI
rp-cli --helprp-cli -d <command>