debug
Installation
SKILL.md
Debug Skill
Help the user debug an issue they're encountering in this current Claude Code session.
Debug Logging Just Enabled
Debug logging was OFF for this session until now. Nothing prior to this /debug invocation was captured.
Tell the user that debug logging is now active at ~/.claude/debug/{{SESSION_ID}}.txt, ask them to reproduce the issue, then re-read the log. If they can't reproduce, they can also restart with claude --debug to capture logs from startup.
Session Debug Log
The debug log for the current session is at: ~/.claude/debug/{{SESSION_ID}}.txt
No log file exists yet.
For additional context, grep for [ERROR] and [WARN] lines across the full file.