derive-client
Skill by vercel-labs
Records a website's browser traffic into a HAR file, then generates a standalone client or CLI that calls the site's internal API directly. It suits sites that will be automated repeatedly.
Install derive-client
Built from the published package, never by AI.
git clone --depth 1 https://github.com/vercel-labs/agent-browser /tmp/agent-browser && mkdir -p ~/.claude/skills && cp -r /tmp/agent-browser/skill-data/derive-client ~/.claude/skills/derive-clientRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/vercel-labs/agent-browser /tmp/agent-browser && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agent-browser/skill-data/derive-client ~/.gemini/antigravity-cli/skills/derive-clientAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
derive-client records a website's network traffic into a HAR file while you use the site in a browser. It then finds the site's internal API endpoints among the recorded requests, extracts request shapes, response schemas and auth material, and generates a standalone client, script or CLI. The generated client calls the endpoints directly, so no browser is needed after the first recording.
The skill follows five steps: record, identify, extract, generate and verify. Verification means calling each generated function against the live API and comparing the response shape with the recording. It is aimed at tasks repeated on the same site, where direct HTTP calls are preferred over driving the browser each time. The skill warns that HAR files contain live session credentials and should be handled as secrets.
Written from the project's SKILL.md and checked against it.
What it can do
- Record network trafficCaptures a site's requests into a HAR file using agent-browser while you use the site.
- Identify API endpointsUses jq to filter the HAR for first-party JSON calls and skip analytics and static assets.
- Extract request shapes and authReads request headers, POST bodies and response bodies to derive types and required auth.
- Generate a standalone clientWrites one function per recorded flow that calls the site's endpoints directly.
- Verify endpointsCalls each generated function against the live API and compares the response with the recording.
What you need
- agent-browser CLI, run directly or through npx
- jq for querying the HAR file
- A logged-in session on the target site if it requires login
Try asking
- Derive a client for this site's search API from a recorded session
- Build a CLI for this website by recording its network requests
- Reverse engineer this site's internal API and generate a standalone client
Good to know
- Internal APIs are unversioned and can change without notice.
- HAR files contain live session credentials and must be kept secret.
- Per-body embedding is capped at 2 MB.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skill-data/derive-client/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(agent-browser:*)Bash(npx agent-browser:*)
-
SKILL.md5 KB
Alternatives to derive-client
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
derive-client: common questions
What does derive-client produce?
It produces a standalone client, script, CLI or library that calls a site's internal API directly. The source says it needs no browser after the first recording.
Why record a HAR file instead of driving the browser every time?
The source says driving a browser is the wrong tool for repeated visits. Direct HTTP calls to the endpoints are cheaper to repeat once the API is known.
Are site credentials stored in the generated client?
The source says cookies should load from a file or environment variable at runtime and never be hardcoded into generated source.
How do I install derive-client?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is derive-client free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is derive-client safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to derive-client?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
