원클릭으로
agenthub-agent-debug
Backend-first diagnosis for stuck AgentHub agents.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Backend-first diagnosis for stuck AgentHub agents.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when a Team inbox, channel, thread, or human-visible message must be routed into a direct reply, thread reply, mailbox update, task note, or canonical Team task.
Use before editing Team system prompts, runtime prompt tails, prompt-linked skills, or prompt tests to keep prompts bounded, tool-neutral, and pointer-first.
ACP rendering fixes for Team web surfaces.
Journal writing for rollout notes and validation evidence.
Canonical feature spec writing for stable contracts.
Focused AgentHub test planning for behavior changes.
| name | agenthub-agent-debug |
| description | Backend-first diagnosis for stuck AgentHub agents. |
Use this skill when an AgentHub agent or Team member stops replying, gets stuck in ACP/tool-call state, or loses output unexpectedly.
Do not start from the browser unless backend evidence already shows persistence and SSE are healthy. Classify the stall layer first, then inspect the next boundary.
agenthub doctor agent-trace; do not expose new release-mode HTTP diagnostics without explicit design approval.Identify the target.
--agent-id <agent_id>.--team-id <team_id> --member-id <member_id>.--session-id <session_id>.Run the backend trace.
agenthub doctor agent-trace --agent-id <agent_id> --json
agenthub doctor agent-trace --team-id <team_id> --member-id <member_id> --json
agenthub doctor agent-trace --server-url http://127.0.0.1:8080 --token <root_session_token> --agent-id <agent_id> --json
Use --server-url when the debug-build AgentHub server is running and live runtime state is needed.
Without it, the command reads the SQLite snapshot only.
Classify the layer from the trace verdict.
runtime_not_running: inspect agent/session lifecycle before ACP.waiting_permission: inspect permission request rows and timeout/deny handling.mailbox_pending: inspect Team actor receive/ack flow and run ownership.no_persisted_events: inspect provider adapter, ACP server, and event sink.event_stream_present: inspect SSE broadcaster and frontend cache/rendering next.target_not_found or team_member_not_found: fix target resolution first.Verify persistence boundaries before UI work.
agent_sessions.status.agent_events row for the session.acp_permission_requests count.team_actor_messages for Team members.Only then use browser or Chrome DevTools MCP.
cargo test -p agenthub diagnostics::agent_trace
cargo test -p agenthub doctor_cli
cargo fmt --all --check