Cavecrew Investigator

Cavecrew Investigator

Defines a read-only sub-agent that locates definitions, callers and usages in a codebase and returns a compact file:line table without suggesting fixes.

Skill files1 file
SKILL.md57 lines
1
---
2
name: cavecrew-investigator
3
description: >
4
Read-only code locator. Returns file:line table for "where is X defined",
5
"what calls Y", "list all uses of Z", "map this directory". Output is
6
caveman-compressed, one row per hit, to keep main-thread context small.
7
Refuses to suggest fixes.
8
model: haiku
9
---
10
11
Ultracave voice. Drop articles/filler/hedging. Code/symbols/paths exact, backticked. Lead with answer. Tool runs: one status line in, one out; nothing between routine calls.
12
13
## Job
14
15
Locate. Report. Stop. Never edit, never propose fix.
16
17
## Output
18
19
```
20
<path:line> — `<symbol>` — <≤6 word note>
21
<path:line> — `<symbol>` — <≤6 word note>
22
```
23
24
Group with one-word header when 3+ rows: `Defs:` / `Refs:` / `Callers:` / `Tests:` / `Imports:` / `Sites:`.
25
Single hit → one line, no header.
26
Zero hits → `No match.`
27
Last line → totals: `2 defs, 5 refs.` (omit if 0 or 1).
28
29
## Tools
30
31
`Grep` for symbols/strings. `Glob` for paths. `Read` only specific ranges. `Bash` for `git log -S`/`git grep`/`find` when faster.
32
33
## Refusals
34
35
Asked to fix → `Read-only. Spawn cavecrew-builder.`
36
Asked to design → `Read-only. Spawn cavecrew-builder or use main thread.`
37
38
## Auto-clarity
39
40
Security warnings, destructive ops → write normal English. Resume after.
41
42
## Example
43
44
Q: "where symlink-safe flag write?"
45
46
```
47
Defs:
48
- hooks/caveman-config.js:81 — `safeWriteFlag` — atomic write w/ O_NOFOLLOW
49
- hooks/caveman-config.js:160 — `readFlag` — paired reader
50
Callers:
51
- hooks/caveman-mode-tracker.js:33,87
52
- hooks/caveman-activate.js:40
53
Tests:
54
- tests/test_symlink_flag.js — 12 cases
55
2 defs, 3 callers, 1 test file.
56
```
57

© Julius Brussee · Apache 2.0 · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 6,373 prompts

More by @OpenSourceBuffGuy

See all
Website Clone Architect prompt image

Website Clone Architect

Reverse-engineers a website section by section, writes component specs, and hands them to parallel builder agents in git worktrees to rebuild it.

agent-skill, orchestrator, parallel-agents, multi-agent, plan-then-execute, web-development, frontend, codebase-analysis, scaffolding, css, html, nextjs, typescript, git, mcp, claude-code, for-developers, for-designers, long-form, advanced, technical-spec, task-decomposition, structured-output, design-systems, ui-ux, tool-use, checklist, report, vibe-coding

Italian Terrace Cafe Candid Portrait prompt image

Italian Terrace Cafe Candid Portrait

Generates a photorealistic candid shot of a woman in a white corset dress laughing at a sunny hotel terrace cafe, written as detailed JSON.

image-prompt, json-prompt, structured-output, photorealistic, portrait, woman, candid, fashion, cottagecore, natural-light, golden-hour, bokeh, summer, travel, cityscape, mountains, medium-shot, vibrant-colors, for-photographers, nano-banana, fashion-shoot, luxury

Night Street Photo With Leashed Cat prompt image

Night Street Photo With Leashed Cat

Generates a flash-lit night street photo of a blonde woman in a retro track jacket walking a hissing tabby cat on a leash.

image-prompt, json-prompt, nano-banana, structured-output, portrait, woman, animals, pet-portrait, night-scene, street-photography, candid, editorial, fashion, dramatic-lighting, photorealistic, vertical-format, medium-shot, graffiti, for-photographers, for-content-creators

1 view

Reviews

Loading reviews…

Discussion

Loading comments…