Debug debug
Enable debug logging for this session and help diagnose issues
- Our test
- 5/10
- tested Dec 6, 2026
- GitHub stars
- 74k
- asgeirtj/system_prompts_leaks
- Added by
- 0
- members
- Updated
- Dec 6
- commit 4426e53
- Content
- 1 file
- no scripts · 2 KB
- License
- CC0
- free to use
What our test found
Le skill propose une démarche de diagnostic utile, mais suppose à tort que la journalisation est activée et que le journal est accessible ou déjà présent.
Limits spotted
- Claims that logging was just enabled without ensuring that the assistant can do so.
- Asks to reread a file even though it says no log exists yet.
- The log path containing `{{SESSION_ID}}` may be an unresolved template.
- Does not remind the user to protect sensitive data in logs.
name: debug description: Enable debug logging for this session and help diagnose issues disable-model-invocation: true
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.
Daemon
No daemon lock or status file found — the background daemon does not appear to be running. If the issue involves background sessions or claude agents, the daemon log (if any) is at ~/.claude/daemon.log.
Issue Description
The user did not describe a specific issue. Read the debug log and summarize any errors, warnings, or notable issues.
Settings
Remember that settings are in:
- user - ~/.claude/settings.json
- project - /private/tmp/skillcap/.claude/settings.json
- local - /private/tmp/skillcap/.claude/settings.local.json
Instructions
- Review the user's issue description
- The last 20 lines show the debug file format. Look for [ERROR] and [WARN] entries, stack traces, and failure patterns across the file
- Consider launching the claude-code-guide subagent to understand the relevant Claude Code features
- Explain what you found in plain language
- Suggest concrete fixes or next steps