investigate
Facilitates systematic debugging and root cause analysis through a structured four-phase approach for effective problem resolution.
Install this skill
Security score
The investigate skill was audited on Jun 5, 2026 and we found 17 security issues across 3 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 205 | ```bash |
Template literal with variable interpolation in command context
| 211 | ```bash |
Access to hidden dotfiles in home directory
| 38 | _UPD=$(~/.claude/skills/chief/bin/chief-update-check 2>/dev/null || .claude/skills/chief/bin/chief-update-check 2>/dev/null || true) |
Access to hidden dotfiles in home directory
| 40 | mkdir -p ~/.chief/sessions |
Access to hidden dotfiles in home directory
| 41 | touch ~/.chief/sessions/"$PPID" |
Access to hidden dotfiles in home directory
| 42 | _SESSIONS=$(find ~/.chief/sessions -mmin -120 -type f 2>/dev/null | wc -l | tr -d ' ') |
Access to hidden dotfiles in home directory
| 43 | find ~/.chief/sessions -mmin +120 -type f -delete 2>/dev/null || true |
Access to hidden dotfiles in home directory
| 44 | _CONTRIB=$(~/.claude/skills/chief/bin/chief-config get chief_contributor 2>/dev/null || true) |
Access to hidden dotfiles in home directory
| 45 | _PROACTIVE=$(~/.claude/skills/chief/bin/chief-config get proactive 2>/dev/null || echo "true") |
Access to hidden dotfiles in home directory
| 49 | _LAKE_SEEN=$([ -f ~/.chief/.completeness-intro-seen ] && echo "yes" || echo "no") |
Access to hidden dotfiles in home directory
| 51 | mkdir -p ~/.chief/analytics |
Access to hidden dotfiles in home directory
| 52 | echo '{"skill":"investigate","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}' >> ~/.chief/analytics/skill- |
Access to hidden dotfiles in home directory
| 58 | If output shows `UPGRADE_AVAILABLE <old> <new>`: read `~/.claude/skills/chief/chief-upgrade/SKILL.md` and follow the "Inline upgrade flow" (auto-upgrade if configured, otherwise AskUserQuestion with 4 |
Access to hidden dotfiles in home directory
| 67 | touch ~/.chief/.completeness-intro-seen |
Access to hidden dotfiles in home directory
| 119 | **To file:** write `~/.chief/contributor-logs/{slug}.md` with **all sections below** (do not truncate — include every section through the Date/Version footer): |
External URL reference
| 62 | thing when AI makes the marginal cost near-zero. Read more: https://garryslist.org/posts/boil-the-ocean" |
External URL reference
| 66 | open https://garryslist.org/posts/boil-the-ocean |