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-pair-planning-framework/plugin install repoprompt-pair-pipeline@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>This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.