Tooluck logoTooluck
SKILL.md

derive-client

Agent skill fromfcakyon/claude-codex-settings

Reverse-engineer a website's internal API by recording browser traffic into a HAR file, then generate a standalone client or CLI that calls the endpoints directly, with no browser needed after the first recording. Use when asked to "derive a client", "build a CLI for <site>", "reverse engineer this site's API", "record network requests", "turn this site into an API", or when the same site will be automated repeatedly and direct HTTP calls would beat driving the browser every time.

How to install derive-client

install derive-client
# install the claude-codex-settings pack with the skills CLI
npx skills add fcakyon/claude-codex-settings

# or add only this skill to Claude Code: copy the folder

plugins/agent-browser/skills/derive-client/

# into

~/.claude/skills/derive-client/ (all projects)

.claude/skills/derive-client/ (one project)

plugins/agent-browser/skills/derive-client/SKILL.md

Apache-2.0Full file
1# Derive an API client from a recorded session
2
3Driving a browser is the right tool for the first visit and the wrong tool for the hundredth. This skill records a site's network traffic once while you use it, then turns the captured requests into a standalone client (script, CLI, or library) that talks to the site's internal API directly.
4
5The recording alone contains everything needed: agent-browser embeds text response bodies (JSON/HTML/JS) in the HAR by default, so endpoint shapes can be studied offline after the browser is closed.
6
7## Workflow
8
9```
101. Record Start HAR capture, drive the flows you want in the client
112. Identify Find the real API endpoints among the noise
123. Extract Pull request shapes, response schemas, and auth material
134. Generate Write the client, one function per flow
145. Verify Call every endpoint for real before declaring done
15```
16
17## 1. Record
18
19```bash
20agent-browser network har start # embeds text response bodies by default
21# ... drive the site: search, open a detail page, paginate, etc. ...
22agent-browser network har stop /tmp/site.har
23```
24
25- Exercise **every flow the client should support**, and run each one at least twice with different inputs (two search terms, two detail pages). Diffing the recorded URLs reveals which parts are parameters.
26- If the site needs login, log in **before** starting the HAR so credentials don't land in the recording unnecessarily. The session cookies are exported separately in step 3.
27…

Excerpt shown under the repository's Apache-2.0 license.

More skills in claude-codex-settings

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates