rp-cli
Reference for rp-cli usage patterns. Consult before calling rp-cli via Bash.
What this skill does
# rp-cli Reference Quick reference for rp-cli commands. rp-cli is a proxy MCP client that lets AI agents access RepoPrompt's tools through shell commands. ## Prerequisites - RepoPrompt must be running on your Mac - MCP Server must be enabled in RepoPrompt settings - CLI installed via Settings → MCP Server → "Install CLI to PATH" ## Basic Usage ```bash rp-cli -e '<command>' # Execute single command rp-cli -e '<cmd1> && <cmd2>' # Chain commands rp-cli -w <id> -e '<command>' # Target specific window ``` ## Common Commands ### Context Builder (Planning) ```bash rp-cli -e 'builder "YOUR_INSTRUCTIONS" --response-type plan' ``` Creates implementation plan. Returns chat_id for follow-up. ### Chat (Continue Conversation) ```bash rp-cli -e 'chat "YOUR_MESSAGE" --mode plan' rp-cli -e 'chat "YOUR_MESSAGE" --chat-id "CHAT_ID" --mode plan' ``` Modes: `chat`, `plan`, `edit` ### Chat History ```bash rp-cli -e 'chats list --limit 10' rp-cli -e 'chats log --chat-id "CHAT_ID" --limit 10' ``` ### File Selection ```bash 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 ``` ### Workspace Context ```bash rp-cli -e 'context' rp-cli -e 'context --include prompt,selection,tokens' ``` ### File Tree ```bash rp-cli -e 'tree' rp-cli -e 'tree --mode auto' rp-cli -e 'tree --folders' ``` ### Search ```bash rp-cli -e 'search "pattern"' rp-cli -e 'search "pattern" --extensions .ts' ``` ### Code Structure ```bash rp-cli -e 'structure src/auth' rp-cli -e 'map src/components' ``` ### Read Files ```bash rp-cli -e 'read path/to/file.ts' rp-cli -e 'read path/to/file.ts --start-line 45 --limit 100' ``` ### Workspace Management ```bash rp-cli -e 'workspace list' rp-cli -e 'workspace tabs' rp-cli -e 'workspace tab "TAB_NAME"' rp-cli -e 'workspace switch "PROJECT_NAME"' ``` ## Chaining Commands ```bash rp-cli -e 'workspace MyProject && select set src/ && context' ``` ## Output Redirection ```bash rp-cli -e 'context > /tmp/context.md' ``` ## Bash Execution Notes - Use single quotes around the `-e` argument - Escape single quotes in instructions: replace `'` with `'\''` - No sandbox required (communicates via local socket) ## Parsing Chat Log When fetching chats with `chats log`: - `role: "user"` = task context (ignore) - `role: "assistant"` = architectural plan (parse this) - Always use the **last** assistant message ## Troubleshooting **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 ## More Information - Help: `rp-cli --help` - Command details: `rp-cli -d <command>`
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.