Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

har-derived-api-client

Skill by NousResearch

Records a website's XHR and fetch traffic into a HAR file, then derives an HTTP client from it. It is for developers who want a site's private JSON API without scripting browser clicks on every request.

  • Score 91
  • 267k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install har-derived-api-client

Built from the published package, never by AI.

git clone --depth 1 https://github.com/NousResearch/hermes-agent /tmp/hermes-agent && mkdir -p ~/.claude/skills && cp -r /tmp/hermes-agent/optional-skills/web-development/har-derived-api-client ~/.claude/skills/har-derived-api-client

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install har-derived-api-client in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The har-derived-api-client skill drives a website once with a real browser while recording its network traffic to a HAR file. It then reads that HAR, filters for XHR, fetch and JSON calls, and groups them by endpoint. The output shows the method, URL path, query parameters, request body, headers and response samples, so the request can be replayed with plain HTTP and no browser in the loop.

Capture uses Playwright. There are two capture scripts: one for a browser Hermes launches locally, and one for a browser reached over CDP, such as Browserbase, Browser-Use, Firecrawl or a /browser connect endpoint. The skill does not bypass authentication, solve CAPTCHAs or defeat bot detection. It is aimed at developers who want to build a CLI or client for a site that has no public API.

Written from the project's SKILL.md and checked against it.

What it can do

  • Capture XHR to HARRecords a site's network traffic to a HAR file while a browser runs scripted actions.
  • Capture over CDPAttaches to an existing CDP browser, such as a cloud backend or /browser connect, and builds a HAR.
  • Derive endpointsFilters a HAR to XHR, fetch and JSON calls and lists each endpoint with its parameters and bodies.
  • Replay hintsPrints the browser User-Agent and whether cookies or auth headers are present, for replay.
  • Replay as plain HTTPGuides writing a small client that repeats the captured request without a browser.

What you need

  • Python 3
  • Playwright and a Chromium browser binary for capture
  • requests, httpx or curl for replay
  • Windows, macOS or Linux

Try asking

  • Build a CLI for this website by deriving its private JSON API from a HAR capture
  • Capture the XHR traffic when I search this site and list the endpoints
  • Write a small Python client that replays the search request I captured

Good to know

  • Does not bypass auth, solve CAPTCHAs or defeat bot detection
  • Server-rendered pages have no XHR to derive
  • Captured sessions and cookies expire, so clients may need re-capture
  • HAR files contain live secrets and should be deleted after deriving

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: optional-skills/web-development/har-derived-api-client/SKILL.md, optional-skills/web-development/har-derived-api-client/scripts/har_capture.py, optional-skills/web-development/har-derived-api-client/scripts/har_capture_cdp.py, optional-skills/web-development/har-derived-api-client/scripts/har_to_client.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • scripts/har_capture.py2 KB
  • scripts/har_capture_cdp.py5 KB
  • scripts/har_to_client.py6 KB

Alternatives to har-derived-api-client

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

har-derived-api-client: common questions

Does this bypass logins or CAPTCHAs?

No. The source says it only captures and replays traffic and does not bypass auth, solve CAPTCHAs or defeat bot detection. If a site needs a logged-in session, the captured headers and cookies are carried forward.

Why does a derived client get a 403 error?

Many sites reject the default python-requests User-Agent. The source advises sending the browser User-Agent shown in the replay hints.

Is the captured HAR file safe to keep?

The source says HAR files contain live secrets, so they should be treated as sensitive and deleted after the client is derived.

How do I install har-derived-api-client?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is har-derived-api-client free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is har-derived-api-client safe to use?

It scores 91 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 har-derived-api-client?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

har-derived-api-client Install

Add to stack

Loading.