Skip to main content

investigate-first

Diagnose ambiguous failures before editing. Use for unknown causes, intermittent behavior, performance regressions, or investigations needing evidence-ranked hypotheses.

CavemanApache-2.0

SKILL.md

Written by Caveman and published in JuliusBrussee/caveman under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on 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.

When investigate-first runs

Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /investigate-first in Claude Code or $investigate-first in Codex.

The description says when to use it:

Use for unknown causes, intermittent behavior, performance regressions, or investigations needing evidence-ranked hypotheses.

Install investigate-first

Claude Code

Copy the investigate-first folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.

git clone --depth 1 https://github.com/JuliusBrussee/caveman.git /tmp/JuliusBrussee-caveman
mkdir -p .claude/skills
cp -r /tmp/JuliusBrussee-caveman/skills/investigate-first .claude/skills/

Codex

Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if investigate-first does not appear.

git clone --depth 1 https://github.com/JuliusBrussee/caveman.git /tmp/JuliusBrussee-caveman
mkdir -p .agents/skills
cp -r /tmp/JuliusBrussee-caveman/skills/investigate-first .agents/skills/

Treq

Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for investigate-first and choose Install….

Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.

Files

investigate-first ships 2 files, 890 B in total. Select a file to load it from GitHub.

agents/openai.yaml202 BView on GitHub ↗

All skills by Caveman