flow-next-rp-explorer

通过智能命令行工具高效探索代码库,支持以极低的 token 开销完成代码结构分析、关键词检索、模式识别、文件定位与上下文提取,适用于快速理解大型项目架构和关键逻辑路径。

快捷安装

在终端运行此命令,即可一键安装该 Skill 到您的 Claude 中

npx skills add gmickel/gmickel-claude-marketplace --skill "flow-next-rp-explorer"

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

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

Step 2: Find Relevant Files

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

Step 3: Deep Dive

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

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. Use -t to target it:

# Builder returns: Tab: <UUID> • <Name>
rp-cli -w W -t "<Name>" -e 'select add extra.ts && context'

# Or chain commands:
rp-cli -w W -e 'builder "find auth" && select add extra.ts && context'

Requirements

RepoPrompt v1.5.62+ with rp-cli installed.