analyze-proxy-log

analyze-proxy-log is a skill for Claude Code, Codex from OlegHQ/agentpack. It costs 81 tokens per session (473 once invoked), scanned A, original, MIT.

A diagnostic procedure for JSONL logs from the agentpack Claude proxy, where JSONL means one JSON record per line. It looks for hangs, connection problems, authentication failures, upstream errors, and stalled requests.

In plain words
What is it for?
Use it to analyze proxy logs, find the affected request and transport, identify the first failing event, and report the exact log path.
Why use it?
It helps identify where a proxy request failed and separates issues in the agent, network connection, authentication, or upstream service.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/oleghq/agentpack/analyze-proxy-log
Any agent
npx skills add OlegHQ/agentpack --skill analyze-proxy-log
Clone the repo
git clone --depth 1 https://github.com/OlegHQ/agentpack

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analyze-proxy-log

README.md
[![agentmods](https://agentmods.dev/badge/skills/oleghq/agentpack/analyze-proxy-log.svg)](https://agentmods.dev/skills/oleghq/agentpack/analyze-proxy-log)
Your own site
<a href="https://agentmods.dev/skills/oleghq/agentpack/analyze-proxy-log"><img src="https://agentmods.dev/badge/skills/oleghq/agentpack/analyze-proxy-log.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 473 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00081 $0.00473
Opus 5 $0.00041 $0.00236
Sonnet 5 $0.00016 $0.00095
Haiku 4.5 $0.00008 $0.00047

Measured 4d ago against content hash 75ac3b04b897, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

analyze-proxy-log scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/analyze_proxy_log.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/analyze-proxy-log/SKILL.md · 37 lines

What it actually says

Analyze Proxy Log

Use this skill to quickly diagnose agentpack --proxy claude failures from the proxy JSONL log.

Workflow

  1. Locate the log:
    • Prefer an explicit path from the user.
    • Else read AGENTPACK_PROXY_LOG_DIR.
    • Else find the nearest agentpack project root and use $AGENTPACK_HOME/projects/<project-hash>/proxy-logs/latest.json.
  2. Run scripts/analyze_proxy_log.py with the log file or log directory.
  3. Read the summary first, then inspect the request timelines flagged as LIKELY ISSUE.
  4. Classify the primary failure:
    • stalled_request: request accepted but no terminal event.
    • websocket_timeout: connect/read/write timeout or closed-before-terminal WebSocket.
    • websocket_setup: 401/403/429 or setup frame error before a normal response.
    • auth_refresh: refresh attempted and failed or repeated authorization failure.
    • upstream_http: non-success HTTP status from Codex.
    • translation: request or response conversion failed.
    • downstream: Claude disconnected or response write failed.
  5. Report the likely root cause, the request ID, transport, model mapping, first failing event, and the exact log path.

Commands

python3 .agents/skills/analyze-proxy-log/scripts/analyze_proxy_log.py
python3 .agents/skills/analyze-proxy-log/scripts/analyze_proxy_log.py "$AGENTPACK_PROXY_LOG_DIR"
python3 .agents/skills/analyze-proxy-log/scripts/analyze_proxy_log.py /path/to/proxy-*.jsonl

Do not paste full payload snippets into the final answer unless the user explicitly asks. Logs are sanitized by default, but payload logging may be enabled with AGENTPACK_PROXY_LOG_PAYLOADS=1.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 37 lines · 81 tokens per session scan A 75ac3b04b897

Subscribe to this mod's changes

analyze-proxy-log is a skill published in the GitHub repository OlegHQ/agentpack (14 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 473 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

background-watch-hook

Use vibe watch to run a managed Harness waiter that returns to the same conversation later. Best for reviews, CI, files, logs, and other wait-now-continue-later workflows.

avibe-bot/avibe · 44 tokens

check-model

Check model compatibility with xinfer before loading. Validates config.json, weight tensor shapes and naming, quantization format correctness, and multi-rank (tensor-parallel) divisibility. Use when the user asks to check, validate, audit, or verify a model will load correctly — from a HuggingFace URL/config, local…

guoqingbao/xinfer · 76 tokens

test-model

Test LLM models served by xinfer for correctness, output quality, and performance. Use when the user asks to test, benchmark, validate, or verify models — either from a local folder path or HuggingFace model IDs. Supports all xinfer-compatible formats: BF16, FP8, MXFP4, NVFP4, GGUF, GPTQ, AWQ, ISQ, Dense, MoE, and…

guoqingbao/xinfer · 93 tokens

pr-delivery-loop

The implementation-lane standard for delivering a PR across the Avibe repositories (avibe, avibe-backend, avibe-docs, avault, and vault-sandbox) — branch/scope rules, contracts, Codex-bot review-loop discipline, and close-out criteria. Use this skill for every implementation task in these repos, regardless of agent…

avibe-bot/avibe · 78 tokens

add-model

Adapt and port new LLM model architectures to this xinfer project. Use when the user asks to add, port, support, or adapt a new model (e.g. Llama, Gemma, Qwen, GPT-OSS, DeepSeek, or any HuggingFace architecture) including safetensors and GGUF formats, Dense and MoE architectures, and quantization formats (MXFP4…

guoqingbao/xinfer · 95 tokens

rust-agent-handoff

Handoff protocol for the Rust multi-agent development team (rust-architect, rust-developer, rust-testing-engineer, rust-performance-engineer, rust-security-maintenance, rust-code-reviewer, rust-cicd-devops, rust-debugger, rust-critic). Use only when orchestrating subagents via structured YAML files in .local/handoff/.…

bug-ops/zeph · 85 tokens