Agent skill

rp-explorer

Token-efficient codebase exploration using RepoPrompt CLI. Use when user says "use rp to..." or "use repoprompt to..." followed by explore, find, understand, search, or similar actions.

Stars 2
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/Gitmaxd/flowfactory/tree/main/templates/skills/rp-explorer

SKILL.md

RP-Explorer

Token-efficient codebase exploration using RepoPrompt CLI.

Trigger Phrases

Activates when user combines "use rp" or "use repoprompt" with an action:

  • "use rp to explore how auth works"
  • "use repoprompt to find similar patterns"
  • "use rp to understand the data flow"
  • "use repoprompt to search for API endpoints"

CLI Reference

Read cli-reference.md for complete command documentation.

Quick Start

Step 1: Get Overview

bash
rp-cli -e 'tree'
rp-cli -e 'structure .'

Step 2: Find Relevant Files

bash
rp-cli -e 'search "auth" --context-lines 2'
rp-cli -e 'builder "understand authentication"'

Step 3: Deep Dive

bash
rp-cli -e 'select set src/auth/'
rp-cli -e 'structure --scope selected'
rp-cli -e 'read src/auth/login.ts'

Step 4: Export Context

bash
rp-cli -e 'context --all > codebase-map.md'

Token Efficiency

  • Use structure instead of reading full files (10x fewer tokens)
  • Use builder for AI-powered file discovery
  • Select only relevant files before exporting context

Tab Isolation

builder creates an isolated compose tab automatically. Chain commands to stay in that tab:

bash
rp-cli -w W -e 'builder "find auth" && select add extra.ts && context'

Requirements

RepoPrompt app with rp-cli installed.

Expand your agent's capabilities with these related and highly-rated skills.

Gitmaxd/flowfactory

flow-work

Execute a plan file or Beads epic systematically with git setup, task tracking, quality checks, and commit workflow. Use when implementing a plan, working through a spec, following documented steps, or executing a Beads issue ID (e.g., bd-123, gno-45, app-12).

2 0
Explore
Gitmaxd/flowfactory

flow-plan-review

Carmack-level plan review via rp-cli context builder + chat. Use when reviewing implementation plans, architecture docs, or design specs. Triggers on mentions of plan review, design review, or architecture review.

2 0
Explore
Gitmaxd/flowfactory

flow-resume

Resume interrupted flow:work session from last checkpoint. Reads flow-progress.txt to restore context and continue work.

2 0
Explore
Gitmaxd/flowfactory

flow-impl-review

John Carmack-level implementation review via rp-cli for current branch changes. Use when reviewing code changes, PRs, or implementations. Triggers on mentions of code review, implementation review, or PR review.

2 0
Explore
Gitmaxd/flowfactory

worktree-kit

Manage git worktrees (create/list/switch/cleanup) and copy .env files. Use for parallel feature work, isolated review, clean workspace, or when user mentions worktrees.

2 0
Explore
Gitmaxd/flowfactory

flow-plan

Create structured build plans from feature requests, bug reports, or Beads issue IDs. Use when planning features, designing implementation, preparing work breakdown, or when given a bead/issue ID to plan. Triggers on /flow:plan with text descriptions or issue IDs (e.g., bd-123, gno-45, app-12).

2 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results