network-capture
description (verbatim frontmatter)
Capture network metrics the way the Claude macOS app itself does — a copycat of its DevTools Network panel and Help > Record Net Log — into an append-only orjson JSONL hot path and an in-memory SQLite fact/dim star schema. `uv run netcap ingest-har|ingest-netlog|ingest-cdp <file> --jsonl <p>` (append), `uv run netcap load --jsonl <p>` (drain to SQLite + print the "N requests, X kB" footer), `uv run netcap query --jsonl <p> --resource-type xhr`. Data shape = the Chrome DevTools Protocol `Network.ResourceType` enum (byte-for-byte the Network-panel filter chips and the connected chrome-devtools MCP). Use when the user asks to capture / record / trace network requests, ingest a HAR or NetLog, tap CDP traffic, or measure a page's request metrics. Trigger on "capture network", "record net log", "HAR", "network requests", "CDP", "DevTools network", "request metrics". Do NOT use for packet-level tracing (packet-trace) or visualizing the captured data (cwc-analytics-engineering's network-analytics reads what this writes).
summary
Capture network metrics the way the Claude macOS app itself does — a copycat of its DevTools Network panel and Help > Record Net Log — into an append-only orjson JSONL hot path and an in-memory SQLite fact/dim star schema.
source
plugins/cwc-hardware-engineering/skills/network-capture/SKILL.md
provenance
created 2026-07-10 18:13:13 · JSON