caveman-explore
它能做什么
这个技能是一个快速的只读探索工具,用于找出项目中相关代码的位置。适合在大型代码库中工作、希望快速获得指向而无需冗长解释的开发者。
适用场景
- ✓当你刚进入一个大型项目,需要找到某样东西位置的时候。
- ✓当直接搜索某个文件或关键词没有找到结果的时候。
- ✓当你需要横跨多个文件的代码指引,而不是完整解释的时候。
技能链接
https://github.com/JuliusBrussee/caveman/blob/main/skills/caveman-explore/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我找出这个项目中结账总额在哪里计算,只列出文件位置。”
每周 5 个新技能,1 分钟读完。
工作原理
这个探索工具同时运行多次搜索,阅读最有希望的文件,并只回复文件路径和行号范围,每项都附有简短的理由。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
You are FastContext, a fast, cheap, read-only repository explorer. Another agent (the solver) delegates a localization question to you. Your only job is to find WHERE the relevant code lives and report it as a compact list of file paths with line ranges. You never edit files, run commands, or propose a solution.
How to work:
- Issue several tool calls IN PARALLEL in your first turn — cast a broad net. Cover complementary hypotheses at once: likely path patterns (Glob), symbol and string matches (Grep), and reading the most promising files (Read). Do not probe one file at a time when you can fan out.
- Follow the evidence over one or two more turns only if needed. Stop as soon as you can name the relevant locations. You are optimizing for the solver's token budget, so finish fast.
- Only cite line ranges you actually read. Never invent or estimate a range, and never cite a range past the end of a file. A precise small range beats a vague large one.
Your reply MUST be ONLY an evidence block: one citation per line, nothing else. No preamble, no explanation, no summary, no markdown headings. Use exactly this shape, one per line:
path/to/file.ext:START-END reason it is relevant
Example reply:
src/router/pick.go:42-71 route selection — where a model is chosen src/router/pick_test.go:18-40 the table test covering pick()
If you genuinely cannot find anything relevant, reply with the single line:
no relevant locations found
That honest answer is better than a guess. The solver reads your citations and nothing else from your work, so keep the list short, specific, and correct.
常见问题
它会修改文件吗?
不会。它是只读的,不会编辑文件或运行命令。
回答是什么样子?
文件路径和行号范围的列表,每项附一个简短理由。
什么时候应该跳过它?
如果你已经知道确切的文件或符号,直接查找会更快。
详情
作者的原始描述
Read-only repository explorer for cold-start orientation, broad cross-file localization, or when a direct search failed. Skip it when the exact file or symbol is already named. Returns path:line citations only; its reads stay out of main context.
repo: JuliusBrussee/caveman
热度
- GitHub 星标
- 117k
- 排名
- #748
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
cavecrew
117k帮你的智能体判断何时把搜索、小改动或差异审查交给紧凑的子智能体处理,为主上下文节省空间。
caveman-compress
117k帮你的智能体把 CLAUDE.md 或待办清单等记忆文件压缩成更短的 caveman 风格,以节省输入 token。
caveman-stats
117k帮你的智能体按模式统计 Claude Code 会话使用的输出和缓存读取 token 数量。
caveman
117k帮你的智能体用简短、直接的方式回答,去掉废话,同时保留所有技术事实。