
Investigate First
Investigate-first is a guardrail for the moment when Claude Code wants to start editing before it knows what's actually broken. It pushes the agent to separate the observed symptom from the inferred cause, trace inputs, state transitions, and ownership boundaries, and rank candidate hypotheses by how much evidence supports them and how cheaply each can be falsified. No product code changes until one mechanism credibly explains the evidence, and the report is expected to name the cause and the proof rather than a speculative patch. I'd reach for it on intermittent failures, performance regressions, and anything where the cause is unknown, since those are where an eager agent does the most damage by "fixing" the wrong thing. The honest caveat is that it's a short prompt-level skill, so its discipline depends on the agent following it, and it works best when you explicitly say whether you want a diagnosis only or a fix.
- skills.sh installs
- 120.1K
- GitHub stars
- 118.7K
- last updated
- Oct 26, 2026
Install
$ npx -y skills add juliusbrussee/caveman --skill investigate-first --agent claude-codeInstalls into .claude/skills of the current project.
Files
Investigate first
Gather evidence before changing product code.
- Separate observed symptom from inferred cause.
- Trace inputs, state transitions, ownership boundaries, and failure output.
- Rank hypotheses by evidence and cheap falsification value.
- Do not edit until one credible mechanism explains evidence.
- Stop exploration when evidence is sufficient to name cause or exact blocker.
Report cause and proof. Make no fix unless task authorizes implementation.
Sponsors
Details
- Repository
- github.com/juliusbrussee/caveman
- Category
- Debugging
- First seen
- Oct 26, 2026
More from juliusbrussee/caveman
All 25- Verify And Stop119.6K
- Surgical Patch119.5K
- Lean Build119.1K
- Caveman Evidence Review119K
- Caveman Discover119K
- Caveman Manage118.7K
- Migration118.4K
- Caveman Setup118K
- Compress45.8K
- Ultracave41.3K
- Megacave40.1K
- Caveman Es513
- Caveman Cn437
- Caveman618.3K
- Caveman Commit431.6K
- Caveman Compress428.9K
- Caveman Review427.5K
- Caveman Help418.2K
- Cavecrew374.2K
- Caveman Stats374.1K
- Caveman Explore122.4K
- Caveman Learn121.5K
- Safe Refactor121.2K
- Caveman Optimize120.5K