← ClaudeAtlas

apirev-capturelisted

Helps the user record real traffic from an API they own or are allowed to use (browser DevTools "Save all as HAR", mitmproxy for their own apps, or server access logs), then writes a scrubbed copy with credentials, cookies, tokens and optionally emails and phone numbers redacted, static assets and third-party hosts dropped. The first step of the api-reverse pack. Use when the user says "capture the API traffic", "how do I get a HAR file", "record what the app calls", "scrub this HAR", "remove secrets from this capture", "I have a HAR from DevTools", or "reverse engineer our internal API".
vivekbhange-hub/api-reverse-skill · ★ 0 · API & Backend · score 75
Install: claude install-skill vivekbhange-hub/api-reverse-skill
# apirev-capture: record traffic, then scrub it Every later step (spec, SDK, mock, contract checks) is only as good as the capture, and a raw capture is full of live credentials. This skill gets the user a capture that covers the flows they care about, then writes `api/capture.scrubbed.har` so nothing secret reaches the spec, the examples or the repo. ## Inputs - A HAR file the user already has, or a description of the app so you can guide the capture. - The API host(s) to keep, e.g. `api.example.com`. Ask if it is not obvious from the HAR. - Commands below say `python3`; on Windows use `python` (or `py -3`). ## Outputs - `api/capture.scrubbed.har`: scrubbed copy. The original file is never modified. - A redaction summary printed to the terminal; repeat its key lines to the user. ## Steps 1. **Confirm authorization.** Ask once, plainly: is this an API the user owns, works on, or is permitted to use? If the answer is no or unclear, stop and say why (see What NOT to do). 2. **Pick a capture method** if there is no HAR yet. Give only the one that fits: - Web app: DevTools > Network, tick "Preserve log", clear, click through the flows, then right-click > "Save all as HAR with content" (Chrome) or the gear > "Save All As HAR" (Firefox). - Mobile or desktop app the user builds: run `mitmproxy` / `mitmweb` on their own device or emulator, then export flows as HAR (`mitmdump -r flows -s savehar.py` or the web UI export). Only for apps they own; ne