investigate-first
What it does
This skill diagnoses problems whose cause is not yet known, such as intermittent bugs or performance slowdowns. It is for developers who want the cause proven before any code is edited.
When to use it
- ✓When a failure has an unknown cause and you want evidence first.
- ✓When behavior is intermittent and hard to reproduce.
- ✓When performance has slowed down and the reason is unclear.
Skill link
https://github.com/JuliusBrussee/caveman/blob/main/skills/investigate-first/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Our app randomly logs users out. Find the cause with evidence before changing any code.”
5 new skills a week. 1 minute to read.
How it works
The agent separates what was observed from what is inferred, traces inputs and state changes, ranks possible causes by evidence, and stops once one credible cause is found.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.
FAQ
Does it fix the problem?
Not unless the task asks for an implementation. It reports the cause and the proof.
Does it edit code while investigating?
No. It does not edit until one mechanism explains the evidence.
What if the cause cannot be found?
It names the exact blocker that stopped the investigation.
Details
Original description by the author
Diagnose ambiguous failures before editing. Use for unknown causes, intermittent behavior, performance regressions, or investigations needing evidence-ranked hypotheses.
repo: JuliusBrussee/caveman
Popularity
- GitHub stars
- 117k
- Ranking position
- #755
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
cavecrew
117kHelps your agent decide when to hand a search, a small edit or a diff review to a compact subagent, saving space in its main context.
caveman-compress
117kHelps your agent shrink a memory file, such as CLAUDE.md or a todo list, into a shorter caveman style to save input tokens.
caveman-stats
117kHelps your agent show how many output and cache-read tokens a Claude Code session used, grouped by mode.
caveman
117kHelps your agent answer in a short, direct style with the fluff removed and every technical fact kept.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.