derive-client

derive-client is a skill for Claude Code from unbrowse-ai/unbrowse. It costs 100 tokens per session (1,252 once invoked), scanned A, a copy of derive-client, Apache-2.0.

A workflow that records browser traffic in a HAR file and uses it to build a standalone client, command-line tool, or library for a website’s internal API. A HAR file is a saved record of the requests and responses made by a browser.

In plain words
What is it for?
Use it to record searches, detail pages, pagination, or other flows, identify the real API endpoints, generate client functions, and test those functions against the live service.
Why use it?
It avoids driving a browser for every later use of a repeated website flow. The recorded traffic provides the request shapes, response data, and authentication details needed to create and verify the client.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to record searches, detail pages, pagination, or other flows, identify the real API endpoints, generate client functions, and test those functions against the live service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unbrowse-ai/unbrowse/derive-client
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add unbrowse-ai/unbrowse --skill derive-client
Clone the repo
git clone --depth 1 https://github.com/unbrowse-ai/unbrowse

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for derive-client

README.md
[![agentmods](https://agentmods.dev/badge/skills/unbrowse-ai/unbrowse/derive-client/github.svg)](https://agentmods.dev/skills/unbrowse-ai/unbrowse/derive-client)
Your own site
<a href="https://agentmods.dev/skills/unbrowse-ai/unbrowse/derive-client"><img src="https://agentmods.dev/badge/skills/unbrowse-ai/unbrowse/derive-client/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for derive-client

Your own site · 80×15
<a href="https://agentmods.dev/skills/unbrowse-ai/unbrowse/derive-client"><img src="https://agentmods.dev/badge/skills/unbrowse-ai/unbrowse/derive-client.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,252 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.01252
Opus 5.5 $0.00040 $0.00501
Sonnet 5.5 $0.00020 $0.00250
Haiku 4.5 $0.00010 $0.00125

Measured 7d ago against content hash f0d6bff1ed4d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

derive-client scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to derive-client — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

unbrowse-browser/skill-data/derive-client/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Derive an API client from a recorded session

Driving 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.

The 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.

For a task the agent itself will repeat, agent-browser flow start and flow save do steps 1 to 4 in the core and flow run replays it without a browser. Use this skill when you need a standalone client outside agent-browser.

Workflow

1. Record     Start HAR capture, drive the flows you want in the client
2. Identify   Find the real API endpoints among the noise
3. Extract    Pull request shapes, response schemas, and auth material
4. Generate   Write the client, one function per flow
5. Verify     Call every endpoint for real before declaring done

1. Record

agent-browser network har start          # embeds text response bodies by default
# ... drive the site: search, open a detail page, paginate, etc. ...
agent-browser network har stop /tmp/site.har
  • 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.
  • 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.
  • --content all embeds binary bodies too (base64); --content none disables embedding. Per-body cap is 2 MB.

While the session is still open, agent-browser network requests and network request <id> give the same data interactively — but only the HAR survives navigation and browser close, so prefer it for anything multi-page.

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +2 lines f0d6bff1ed4d
  2. 12d ago First seen · 87 lines · 100 tokens per session scan A ca31e7fd950c

Subscribe to this mod's changes

derive-client is a skill published in the GitHub repository unbrowse-ai/unbrowse (951 stars, last pushed yesterday), licensed Apache-2.0. It adds 100 tokens to every session and 1,252 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to derive-client, differing in 0 lines, and is treated as a copy.

Related

derive-client compared with skills from other repositories

derive-client next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
derive-clientunbrowse-ai/unbrowseSkill951yesterdayApache-2.0A100Claude Code
apple-cktool-jsbastos/skillsSkill75d agoMITA141Codex
apple-cktoolbastos/skillsSkill75d agoMITA121Codex
x402browser-use/browser-useSkill122ktodayMITA166Claude Code
cloudbrowser-use/browser-useSkill122ktodayMITB177Claude Code
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3k3d agoMITA43Claude Code
news-searchelvisun/newsjackSkill1.7k4d agoMITA69Claude Code