원클릭으로
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.