/browser-data-capture:generate-openapifrom browser-data-capture
Generate a draft OpenAPI 3.1 spec from an endpoints inventory produced by analyze-har, capture-via-proxy, or observe-tab. Reads endpoints.json + inferred schemas and emits openapi.yaml plus openapi.json. Use when the user wants to build a stable client against a captured surface — "make an OpenAPI spec from this", "generate a spec so I can build a client", "turn the capture into something I can codegen against".
Ships in browser-data-capture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Promote a captured endpoint inventory into a draft OpenAPI 3.1 specification, suitable as a starting point for a client SDK or a documented integration contract.
browser-data-capture run directory (containing endpoints.json + schemas/). If unspecified, list recent runs from ${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/browser-data-capture/data/ and ask which one.openapi.yaml — primary, hand-editable.openapi.json — same content, JSON form, for tooling that prefers JSON.notes.md — gaps the spec couldn't fill confidently: endpoints with too few samples to infer required fields, response variants that couldn't be reconciled, auth flows that need a human to describe.endpoints.json. For each endpoint:
paths.<path-template>.<method> entry.parameters: derive path parameters from {id} / {uuid} placeholders, query parameters from observed query keys, header parameters from interesting headers (skip auth — handled in securitySchemes).requestBody: if a request schema was inferred, reference components.schemas.responses: one entry per observed status code, content schema referenced from components.schemas.components.securitySchemes from the auth scheme detected in the inventory. Apply globally via security:.components.schemas from the per-endpoint inferred schemas. Deduplicate by content hash where possible.info.title, info.version, servers[0].url (most-contacted host).openapi-spec-validator is available, run it.notes.md with anything that couldn't be expressed cleanly.A draft spec inferred from observed traffic. Tell the user explicitly:
paths: for collapses that should be split.The spec is a starting point, not a finished artefact.
What SKILL.md sets; muted values are Claude Code's defaults
browser-data-capture@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin browser-data-capture9 skills in this plugin
/analyze-harAnalyze a HAR file (HTTP Archive — exported from Chrome/Firefox DevTools → Network tab → Save all as HAR with content) and produce a normalized inventory of the endpoints it captured, with inferred request/response schemas, auth scheme detection, and a human-readable summary. The zero-install capture path. Use when the user supplies a .har file, says "analyze this HAR", "what endpoints does this site call", or "I exported the network tab, now what"./capture-via-proxyCapture network traffic via a local mitmproxy instance and emit a normalized capture file the rest of the plugin can analyze. Use when the user wants to capture traffic from a desktop app, mobile app on the same network, or a browser without using DevTools — anywhere a HAR export isn't practical. The plugin starts mitmdump in the background, walks the user through trusting the local CA, runs for a chosen duration or until stopped, then converts the flow file into the same normalized shape analyze-har produces./complementary-pluginsList and install plugins that complement browser-data-capture: local-web-capture, site-skill-builder, unofficial-mcp-builder.Other plugins' skills for the same job