debug-snapshotlisted
Install: claude install-skill CocoRoF/geny-executor
# Debug — host + session diagnostic snapshot
The captured snapshot below is the ground truth. Read it carefully
before suggesting any fix — many "obvious" fixes are wrong because
the bug is one layer up (wrong PATH, wrong cwd, stale lock file,
unset env var, dirty worktree).
## Identity
- User: !`id -un`
- Groups: !`id -Gn`
- Hostname: !`hostname`
- Uptime: !`uptime`
## Filesystem context
- cwd: !`pwd`
- cwd writable?: !`[ -w "$(pwd)" ] && echo yes || echo no`
- Disk free (cwd): !`df -h "$(pwd)" 2>/dev/null | tail -n 1 || echo "(df failed)"`
- Inode pressure: !`df -i "$(pwd)" 2>/dev/null | tail -n 1 || echo "(df failed)"`
## Recently-touched files (last 5 minutes, current tree)
```!
find . -maxdepth 3 -type f -mmin -5 -not -path "*/node_modules/*" -not -path "*/.git/*" -not -path "*/__pycache__/*" 2>/dev/null | head -n 20
```
## Git activity (last 10 commits, current branch)
```!
git log --oneline --decorate -n 10 2>/dev/null || echo "(not a git repo)"
```
## Open ports / running listeners (TCP, IPv4)
```!
{ ss -tln 2>/dev/null || netstat -tln 2>/dev/null || lsof -iTCP -sTCP:LISTEN -n 2>/dev/null; } | head -n 30
```
## Resource snapshot
- Free memory: !`free -h 2>/dev/null | head -n 2 || echo "(free unavailable)"`
- Load average: !`cat /proc/loadavg 2>/dev/null || uptime | sed 's/.*load average: //'`
- Open file limit: !`ulimit -n`
## Selected env vars
```!
env | grep -E '^(PATH|PYTHONPATH|NODE_ENV|VIRTUAL_ENV|HOME|USER|LANG|TZ|GENY_|ANTHROPIC_|OPENAI_)' | sed