← All skills
investigate
82 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By garrytan/gstack (GitHub) · coding · 140,413 stars · scanned at commit 0c41ced
Use when a test fails, code errors or output is wrong: find the root cause, then fix it. (gstack)
Works with any agent that supports SKILL.md skills.
This skill is no longer available at its GitHub address. The information below is from the last time we could read it and may be out of date.
What this skill can do
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README. Expected for a coding skill.
Found in 13 places.
Show 10 more
- investigate/SKILL.md, line 161
~/.claude/skills/gstack/bin/gstack-skill-end --skill "investigate" --outcome OUTCOME \ - investigate/SKILL.md, line 209
_CROSS_PROJ=$(~/.claude/skills/gstack/bin/gstack-config get cross_project_learnings 2>/dev/null || echo "unset") - investigate/SKILL.md, line 264
# $HOME-anchored like the careful/freeze frontmatter hooks: early skill bash runs - investigate/SKILL.md, line 273
bash "$HOME/.claude/skills/gstack/freeze/bin/freeze-state.sh" acquire "<detected-directory>" - investigate/SKILL.md, line 283
bash "$HOME/.claude/skills/gstack/freeze/bin/freeze-state.sh" release "<retained-owner-token>" - investigate/SKILL.md, line 343
~/.claude/skills/gstack/bin/gstack-learnings-log '{"skill":"investigate","type":"investigation","key":"ROOT_CAUSE_KEY","insight":"ROOT_CAUSE_SUMMARY","confidenc - investigate/SKILL.md, line 352
~/.claude/skills/gstack/bin/gstack-learnings-log '{"skill":"investigate","type":"TYPE","key":"SHORT_KEY","insight":"DESCRIPTION","confidence":N,"source":"SOURCE - investigate/SKILL.md.tmpl, line 50
command: 'bash -c "test -x \"$HOME/.claude/skills/gstack/freeze/bin/check-freeze.sh\" && exec bash \"$HOME/.claude/skills/gstack/freeze/bin/check-freeze.sh\"; e - investigate/SKILL.md.tmpl, line 55
command: 'bash -c "test -x \"$HOME/.claude/skills/gstack/freeze/bin/check-freeze.sh\" && exec bash \"$HOME/.claude/skills/gstack/freeze/bin/check-freeze.sh\"; e - investigate/SKILL.md.tmpl, line 60
command: 'bash -c "test -x \"$HOME/.claude/skills/gstack/freeze/bin/check-freeze.sh\" && exec bash \"$HOME/.claude/skills/gstack/freeze/bin/check-freeze.sh\"; e
Changes files outside its own folder
The author does not mention this.
Found in 1 place.
Connects to the internet
The author does not mention this.
Found in 1 place.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'investigate' ] || [ -L ~/.agents/skills/'investigate' ]; then echo 'A skill folder named investigate already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/garrytan/gstack' "$d" && git -C "$d" checkout --quiet '0c41ced4fd7a2e5ca01fb1770543acfef4fbecbc' -- 'investigate' && mkdir -p ~/.agents/skills && cp -R "$d"/'investigate' ~/.agents/skills/'investigate' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'investigate' ~/.claude/skills/'investigate' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for garrytan/gstack shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/garrytan/gstack/)
Score history
| Date | Version | Score |
|---|
| 2026-11-06 | 0c41ced | 82 |