ワンクリックで
debug
Diagnose agent session issues — show recent logs, tool errors, and configuration problems
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Diagnose agent session issues — show recent logs, tool errors, and configuration problems
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Research and plan a large-scale mechanical change, then execute it in parallel across independent work units
Review staged changes and create a conventional git commit
Review auto-memory entries and promote useful ones to CLAUDE.md or project memory files
Review changed code for reuse, quality, and efficiency, then fix any issues found
Capture the current session's repeatable process into a reusable SKILL.md file
Diagnose a frozen, slow, or stuck agent session by inspecting running processes and recent logs
| name | debug |
| description | Diagnose agent session issues — show recent logs, tool errors, and configuration problems |
| when_to_use | When the agent is behaving unexpectedly, a tool keeps failing, permissions are being denied unexpectedly, or the user wants to understand what happened in the current session. |
| argument-hint | optional: specific issue to investigate, e.g. 'bash tool always denied' |
| context | inline |
| allowed-tools | ["read_file","glob","grep_file","bash"] |
| disable-model-invocation | true |
Diagnose the current session and report findings.
$ARGUMENTS
Read the following files (skip if absent):
~/.claude/settings.json — user-level permissions, hooks, env vars.claude/settings.json — project-level settings.claude/settings.local.json — local overridesLook for:
deny entries).Run:
# Show last 50 lines of the agent log if it exists
ls -t /tmp/ai-coding-*.log 2>/dev/null | head -1 | xargs tail -50 2>/dev/null || echo "No log file found"
Look for patterns:
permission denied → tool blocked by a deny rule or OS permissionexit code → command failed; note the exit code and stderrinterrupt → tool was suspended waiting for user approvalgit status --short 2>/dev/null | head -20
git log --oneline -5 2>/dev/null
This helps confirm whether file-write tools actually worked.
Structure the report as:
For each issue:
"allow": ["bash(go *)"] to .claude/settings.json)If nothing is wrong, say so and describe what was checked.