← ClaudeAtlas

agent-host-logslisted

Analyze Agent Host debug log exports. Use when given an ah-logs or ahp-logs zip/folder, an Export Agent Host Debug Logs bundle, events.jsonl, AHP JSONL transport logs, Agent Host.log, remote-agenthost.log, or copilot-logs.
chapmanjw/clawdius · ★ 26 · AI & Automation · score 81
Install: claude install-skill chapmanjw/clawdius
# Agent Host Debug Logs Use this skill to orient to bundles produced by `Developer: Export Agent Host Debug Logs...`. These are different from the normal timestamped Code OSS log directory. Treat the bundle as sensitive: it can contain tokens, prompts, file contents, terminal output, paths, and settings. Keep analysis local and avoid quoting secrets or unrelated user content. Timestamps, event names, IDs, status values, and general property values are fine. ## Open the Bundle The export name usually starts with `ah-logs` and may be a zip or an already-unpacked folder. For a zip, use the bundled extractor: ```bash python3 .github/skills/agent-host-logs/scripts/extract.py "<archive>.zip" ``` The final line gives the temporary extraction path. Work from that folder and delete only that exact folder when finished. Files are collected best-effort, so a valid bundle may contain only some of these: ```text events.jsonl Agent Host.log Window.log Shared.log ahp/*.jsonl copilot-logs/*.log remote-agenthost.log ``` ## What the Files Mean The basic flow is: ```text Window/client <-> AHP <-> Agent Host process <-> Copilot SDK ``` | Path | What it shows | |---|---| | `events.jsonl` | Persisted Copilot SDK events for the selected session: turns, messages, tools, permissions, hooks, skills, and subagents. It can cover a much longer period than the other logs. | | `ahp/*.jsonl` | AHP traffic for a client connection. `_ahpLog.dir` is `c2s` or `s2c`; `_ahpLog.ts` is the wire timestam