repoprompt by parcadei/continuous-claude-v3
npx skills add https://github.com/parcadei/continuous-claude-v3 --skill repopromptRepoPrompt 比直接读取原始文件更节省token:
structure → 仅获取签名(非完整内容)read --start-line --limit → 读取片段而非完整文件search --context-lines → 附带上下文的相关匹配# 如果已安装到 PATH(设置 → MCP 服务器 → 安装 CLI 到 PATH)
rp-cli -e 'command'
# 或使用别名(在 shell 中配置)
repoprompt_cli -e 'command'
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
# 完整树状结构
rp-cli -e 'tree'
# 仅文件夹
rp-cli -e 'tree --mode folders'
# 仅选中的文件
rp-cli -e 'tree --mode selected'
# 特定路径的结构
rp-cli -e 'structure src/auth/'
# 选中文件的结构
rp-cli -e 'structure --scope selected'
# 限制结果数量
rp-cli -e 'structure src/ --max-results 10'
# 基础搜索
rp-cli -e 'search "pattern"'
# 附带上下文行
rp-cli -e 'search "error" --context-lines 3'
# 按扩展名过滤
rp-cli -e 'search "TODO" --extensions .ts,.tsx'
# 限制结果数量
rp-cli -e 'search "function" --max-results 20'
# 完整文件
rp-cli -e 'read path/to/file.ts'
# 行范围(片段)
rp-cli -e 'read path/to/file.ts --start-line 50 --limit 30'
# 最后 N 行(尾部)
rp-cli -e 'read path/to/file.ts --start-line -20'
# 添加文件到选择
rp-cli -e 'select add src/auth/'
# 设置选择(替换)
rp-cli -e 'select set src/api/ src/types/'
# 清除选择
rp-cli -e 'select clear'
# 查看当前选择
rp-cli -e 'select get'
# 获取完整上下文
rp-cli -e 'context'
# 特定包含项
rp-cli -e 'context --include prompt,selection,tree'
# 多个操作
rp-cli -e 'select set src/auth/ && structure --scope selected && context'
# 列出工作区
rp-cli -e 'workspace list'
# 列出标签页
rp-cli -e 'workspace tabs'
# 切换工作区
rp-cli -e 'workspace switch "ProjectName"'
# 发送到聊天
rp-cli -e 'chat "认证系统如何工作?"'
# 计划模式
rp-cli -e 'chat "设计一个新功能" --mode plan'
# 为任务自动选择相关文件
rp-cli -e 'builder "实现用户认证"'
# 无需 -e 语法的快速操作
rp-cli --workspace MyProject --select-set src/ --export-context ~/out.md
rp-cli --chat "认证系统如何工作?"
rp-cli --builder "实现用户认证"
对于可重复的工作流,将命令保存到脚本:
# daily-export.rp
workspace switch Frontend
select set src/components/
context --all > ~/exports/frontend.md
运行方式:
rp-cli --exec-file ~/scripts/daily-export.rp
| 标志 | 用途 |
|---|---|
-e 'cmd' | 执行命令 |
-w <id> | 目标窗口 ID |
-q | 静默模式 |
-d <cmd> | 命令的详细帮助 |
--wait-for-server 5 | 等待连接(脚本) |
对于长时间运行的操作如 builder,使用异步脚本:
# 异步启动上下文构建器
uv run python -m runtime.harness scripts/repoprompt_async.py \
--action start --task "理解认证系统"
# 附带工作区切换
uv run python -m runtime.harness scripts/repoprompt_async.py \
--action start --workspace "MyProject" --task "探索 API 模式"
# 检查状态
uv run python -m runtime.harness scripts/repoprompt_async.py --action status
# 完成后获取结果
uv run python -m runtime.harness scripts/repoprompt_async.py --action result
# 必要时终止
uv run python -m runtime.harness scripts/repoprompt_async.py --action kill
需要 RepoPrompt 应用程序运行并启用 MCP 服务器。
每周安装量
194
代码仓库
GitHub 星标
3.6K
首次出现
2026年1月22日
安全审计
安装于
codex185
opencode185
gemini-cli182
cursor181
github-copilot179
amp176
RepoPrompt is more token-efficient than raw file reads:
structure → signatures only (not full content)read --start-line --limit → slices instead of full filessearch --context-lines → relevant matches with context# If installed to PATH (Settings → MCP Server → Install CLI to PATH)
rp-cli -e 'command'
# Or use the alias (configure in your shell)
repoprompt_cli -e 'command'
# Full tree
rp-cli -e 'tree'
# Folders only
rp-cli -e 'tree --mode folders'
# Selected files only
rp-cli -e 'tree --mode selected'
# Structure of specific paths
rp-cli -e 'structure src/auth/'
# Structure of selected files
rp-cli -e 'structure --scope selected'
# Limit results
rp-cli -e 'structure src/ --max-results 10'
# Basic search
rp-cli -e 'search "pattern"'
# With context lines
rp-cli -e 'search "error" --context-lines 3'
# Filter by extension
rp-cli -e 'search "TODO" --extensions .ts,.tsx'
# Limit results
rp-cli -e 'search "function" --max-results 20'
# Full file
rp-cli -e 'read path/to/file.ts'
# Line range (slice)
rp-cli -e 'read path/to/file.ts --start-line 50 --limit 30'
# Last N lines (tail)
rp-cli -e 'read path/to/file.ts --start-line -20'
# Add files to selection
rp-cli -e 'select add src/auth/'
# Set selection (replace)
rp-cli -e 'select set src/api/ src/types/'
# Clear selection
rp-cli -e 'select clear'
# View current selection
rp-cli -e 'select get'
# Get full context
rp-cli -e 'context'
# Specific includes
rp-cli -e 'context --include prompt,selection,tree'
# Multiple operations
rp-cli -e 'select set src/auth/ && structure --scope selected && context'
# List workspaces
rp-cli -e 'workspace list'
# List tabs
rp-cli -e 'workspace tabs'
# Switch workspace
rp-cli -e 'workspace switch "ProjectName"'
# Send to chat
rp-cli -e 'chat "How does the auth system work?"'
# Plan mode
rp-cli -e 'chat "Design a new feature" --mode plan'
# Auto-select relevant files for a task
rp-cli -e 'builder "implement user authentication"'
# Quick operations without -e syntax
rp-cli --workspace MyProject --select-set src/ --export-context ~/out.md
rp-cli --chat "How does auth work?"
rp-cli --builder "implement user authentication"
For repeatable workflows, save commands to a script:
# daily-export.rp
workspace switch Frontend
select set src/components/
context --all > ~/exports/frontend.md
Run with:
rp-cli --exec-file ~/scripts/daily-export.rp
| Flag | Purpose |
|---|---|
-e 'cmd' | Execute command(s) |
-w <id> | Target window ID |
-q | Quiet mode |
-d <cmd> | Detailed help for command |
--wait-for-server 5 | Wait for connection (scripts) |
For long-running operations like builder, use the async script:
# Start context builder async
uv run python -m runtime.harness scripts/repoprompt_async.py \
--action start --task "understand the auth system"
# With workspace switch
uv run python -m runtime.harness scripts/repoprompt_async.py \
--action start --workspace "MyProject" --task "explore API patterns"
# Check status
uv run python -m runtime.harness scripts/repoprompt_async.py --action status
# Get result when done
uv run python -m runtime.harness scripts/repoprompt_async.py --action result
# Kill if needed
uv run python -m runtime.harness scripts/repoprompt_async.py --action kill
Requires RepoPrompt app running with MCP Server enabled.
Weekly Installs
194
Repository
GitHub Stars
3.6K
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykPass
Installed on
codex185
opencode185
gemini-cli182
cursor181
github-copilot179
amp176
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
116,600 周安装
AI书籍封面设计指南:使用inference.sh CLI生成惊悚、言情、科幻等流派风格封面
7,600 周安装
Gmail附件自动保存到Google Drive教程 - Google Workspace CLI配方
7,700 周安装
Google Workspace CLI 教程:基于模板创建文档并自动填充内容与共享
7,700 周安装
C# TUnit单元测试框架:最佳实践、数据驱动测试与xUnit迁移指南
7,700 周安装
Google日历每周日程规划技能:自动查看空闲时段与添加事件
7,700 周安装
AI邮件设计工具:使用inference.sh CLI生成高转化率营销邮件模板与布局指南
7,700 周安装