/dxd-skills:derive-clientfrom dxd-skills
Derive a small HTTP client or CLI from browser network traffic. Use when a website lacks a suitable API client, or the user asks to capture a HAR and turn an observed browser flow into reusable direct requests.
Ships in dxd-skills. 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.
Read when SKILL.md points to them.
Capture a real browser session as a HAR (or start from an existing HAR), extract the meaningful API calls, and derive a thin HTTP client or CLI so later work hits HTTP directly instead of driving a browser every time.
Skip this workflow when a public OpenAPI spec or official SDK already covers the need, the task is a one-off click with no reuse value, or the user only wants a screenshot or UI walkthrough. If the site's terms or the user forbid reverse engineering, stop and report rather than proceeding.
Before opening a browser, confirm the smallest flow that covers the user's goal: target verbs, success signal, auth model (logged-out, cookie, OAuth, or API key), and output shape (library or CLI). Ask if the scope is unclear.
If the user has not already supplied a HAR, drive the browser through only the target happy path (prefer programmatic capture—Playwright recordHar, CDP Network domain, or browser MCP export—over manual DevTools):
/tmp/<site>-<flow>.har) or in a path confirmed to be gitignored.Treat every HAR as credentialed until proven otherwise. Run a local script or command to scrub secret values before reading any raw HAR contents into model context, and never commit or paste raw HARs, cookies, tokens, or session dumps.
Preserve header names so the auth shape stays visible while replacing values for:
Authorization, Cookie, Set-Cookie, X-API-Key, X-CSRF-Token, and similar auth headerseyJ...), API keys (e.g., AKIA..., sk_live_/sk_test_), refresh tokens, and session IDs in query strings or bodiesDocument where live credentials come from at runtime (env vars or a user-controlled session export)—never hardcode them in generated code, fixtures, or examples.
Drop static assets (.js, .css, images, fonts, source maps), analytics/ads/tag managers, CORS OPTIONS preflights, and telemetry beacons.
Keep API-shaped traffic (JSON, GraphQL, or form/RPC calls to product API hosts) and cluster one sample per METHOD + normalized path (collapsing IDs like /users/42 → /users/{id}) or per GraphQL operation name for POST /graphql endpoints.
Produce a short inventory table (Method, Path / Operation, Role, Auth, Request notes, Response notes). If the inventory is empty, re-capture with clearer filters or a longer flow—never invent endpoints or fields.
Implement a thin client in the repository's or user's chosen language/runtime from the inventory alone—prefer a few solid commands over a full-site mirror:
search, getCart, checkout), named after intent rather than raw paths.jq.POST, PUT, PATCH, DELETE—such as placing orders, sending messages, or deleting records), confirm with the user or target a safe test/staging action.If replay fails with 401/403, diagnose and fix auth acquisition; do not silently fall back to permanent browser automation.
Deliver:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub designxdevelop/agent-skills --plugin dxd-skills19 skills in this plugin
/adversarial-reviewSend a diff to Opus 5.5, GPT-6.1 Sol, and Gemini 4 Carbon (all at medium effort) for an adversarial bug review, then triage every finding. Use when the user asks for an adversarial review, a second model, or a cross-lab bug hunt./ci-verify-setupSet up one reliable project verification command and run it in CI. Use when local checks are scattered or missing, CI is absent or broken, or agents cannot consistently verify their changes./company-profileResearch and write a reusable company profile with accurate descriptions, bios, and page copy. Use when a user needs to explain what a company does across an About page, website sections, social profiles, directories, press materials, or partner listings./data-oriented-designRedesign performance-critical data structures around how they are accessed: flat arrays with index handles instead of hash maps and pointers, struct-of-arrays layouts, bit-packed indices, inline-capacity lists, and bitsets, instead of adding caches. Use when asked to apply data-oriented design, or to make a profiled hot loop or data structure faster in systems code./dxd-code-reviewReview branch changes with a strict focus on maintainability, abstraction boundaries, file size, and branching complexity. Use when the user requests a DXD code review or an unusually deep structural critique./fimo-work-routingRoute Fimo site work between Fimo agents and Routines and an external agent harness (Claude Code, Codex, or the user's preferred harness) with Fimo MCP. Use when deciding where a site task belongs, handing off Fimo research or briefs for implementation, or auditing Fimo agents and Routines.