investigate
Debugs in four phases: investigate, analyze, hypothesize, implement. No fix is made without a root cause.
- Kind
- Skill
- Works with
- Claude Code
- Source
- garrytan/gstack @ 01593aa67c94
- Path
- investigate/SKILL.md
- Jobs
- Debugging
- Topics
- Web research
Credit
- Made by
- garrytan
- Original
- github.com/garrytan/gstack/blob/01593aa67c94780528e8f5121e473…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/investigate/ (the skill folder)
- Runs scripts
- Yes
- allowed-tools includes Bash
- shell block in the text
- Uses the network
- Yes
- WebFetch / WebSearch tool
- Needs secrets
- Yes
- SHORT_KEY
- ROOT_CAUSE_KEY
- Reads environment variables
- PPID
- GSTACK_HOME
- SLUG
- BRANCH
- CLAUDE_SKILL_DIR
- GSTACK_SKIP_ASIDE
- Reads outside the project
- $HOME/.claude/skills/gstack/freeze/bin/check-freeze.sh (SKILL.md)
- ~/.gstack/projects/{repo_slug (SKILL.md)
- ~/.gstack/analytics/eureka.jsonl (SKILL.md)
- $HOME/.claude/skills/gstack/bin/gstack-skill-start (SKILL.md)
- and 18 more
- Calls other skills
- /gstack-upgrade
- /skillname
- /plan-tune
- /retro
- /ship
- /qa-only
- and 8 more
- Source revision
- 01593aa67c94
- Licence
- MIT
- Last activity
- 27 Nov 2026
- Source changed after the scan
- Yes
- Last push 27 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --> <!-- Regenerate: bun run gen:skill-docs --> ## When to invoke this skill Four phases: investigate, analyze, hypothesize, implement. Iron Law: no fixes without root cause. Use when asked to "debug this", "fix this bug", "why is this broken", "investigate this error", or "root cause analysis". Proactively invoke this skill (do NOT debug directly) when the user reports errors, 500 errors, stack traces, unexpected behavior, "it was working yesterday", or is troubleshooting why something stopped working. ## Preamble (run first) ```bash _SS="$HOME/.claude/skills/gstack/bin/gstack-skill-start" [ -x "$_SS" ] || _SS=".claude/skills/gstack/bin/gstack-skill-start" "$_SS" --skill "investigate" --model "claude" --parent-pid "$PPID" \ || echo "SKILL_START: unavailable — stale install; run ./setup or /gstack-upgrade (preamble degraded, continue the user's task)" ``` Read the echoed `KEY: value` STATUS lines — they drive every preamble rule below. **Degraded mode:** if `SKILL_START_PROTO: 1` is missing from the output (script absent, stale install, or a different protocol number), apply safe …