har-derived-api-client

har-derived-api-client is a skill for Claude Code, Codex from jozrftamson/hermes-figma-prompt-hub. It costs 19 tokens per session (2,658 once invoked), scanned A, a copy of har-derived-api-client, MIT.

A workflow that records a website's browser network requests in a HAR file, then builds a regular HTTP client from those requests. A HAR file is a saved record of browser requests and responses.

In plain words
What is it for?
Use it to capture a site's requests, derive a client for its private JSON API, and replay calls with HTTP tools such as curl, requests, or httpx.
Why use it?
It can avoid repeating browser clicks for a site whose useful data is exposed through its own network calls. It does not bypass login checks, CAPTCHAs, or bot protection.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to capture a site's requests, derive a client for its private JSON API, and replay calls with HTTP tools such as curl, requests, or httpx.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jozrftamson/hermes-figma-prompt-hub/har-derived-api-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 jozrftamson/hermes-figma-prompt-hub --skill har-derived-api-client
Clone the repo
git clone --depth 1 https://github.com/jozrftamson/hermes-figma-prompt-hub

Made for: Claude Code, Codex.

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 har-derived-api-client

README.md
[![agentmods](https://agentmods.dev/badge/skills/jozrftamson/hermes-figma-prompt-hub/har-derived-api-client/github.svg)](https://agentmods.dev/skills/jozrftamson/hermes-figma-prompt-hub/har-derived-api-client)
Your own site
<a href="https://agentmods.dev/skills/jozrftamson/hermes-figma-prompt-hub/har-derived-api-client"><img src="https://agentmods.dev/badge/skills/jozrftamson/hermes-figma-prompt-hub/har-derived-api-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 har-derived-api-client

Your own site · 80×15
<a href="https://agentmods.dev/skills/jozrftamson/hermes-figma-prompt-hub/har-derived-api-client"><img src="https://agentmods.dev/badge/skills/jozrftamson/hermes-figma-prompt-hub/har-derived-api-client.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% 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.00019 $0.02658
Opus 5.5 $0.00008 $0.01063
Sonnet 5.5 $0.00004 $0.00532
Haiku 4.5 $0.00002 $0.00266

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

Security

Grade A, and why

har-derived-api-client scanned grade A with 1 finding 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 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/har_capture_cdp.py, scripts/har_capture.py, scripts/har_to_client.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

is pure stdlib, replay needs only `requests`/`httpx` (or `curl`).
Origin

This is a copy

92% identical to har-derived-api-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.

optional-skills/web-development/har-derived-api-client/SKILL.md · 163 lines

How it starts

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

HAR-Derived API Client

Drive a website once with a real browser while recording its network traffic to a HAR file, then distill that HAR into the site's private JSON API so you can call it directly with plain HTTP — far cheaper and faster than browser-controlling the page on every request. Credit: trick by Jared Longster, popularized by Dax (thdxr). This captures and replays; it does NOT bypass auth, solve CAPTCHAs, or defeat bot-detection — if the site needs a logged-in session, you carry its headers/cookies forward, you don't forge them.

The scripts are stdlib-plus-Playwright: capture needs Playwright, derivation is pure stdlib, replay needs only requests/httpx (or curl).

Covers every Hermes browser pathway: the default local Chromium that browser_exec drives, plus the cloud/remote backends (Browserbase, Browser-Use, Firecrawl) and any /browser connect CDP endpoint. There are two capture scripts — one for a browser you launch, one for a browser you attach to over CDP — because HAR recording works differently in each case (see How to Run).

When to Use

  • "Build a CLI/client for " — derive its API instead of scripting clicks.
  • "This site has no public API but the page clearly fetches JSON."
  • You're about to loop browser_exec navigations for the same query repeatedly — stop and derive the endpoint once.
  • Reverse-engineering an autocomplete, search, feed, or checkout XHR.
  • You captured a session on a cloud backend (Browserbase / Browser-Use / Firecrawl) or via /browser connect and want the API without re-renting the browser.

Prerequisites

  • Playwright + a browser binary (capture step only):
    • pip install playwright then playwright install chromium --no-shell
    • (If a system Playwright already has browsers under ~/.cache/ms-playwright, reuse it.)
  • requests or httpx for the replay step (stdlib urllib also works).
  • No API keys. Any keys/tokens the client needs are the ones the HAR captured.
  • For the CDP path (har_capture_cdp.py): a reachable CDP endpoint. On Hermes, run /browser connect to print the active endpoint, or read BROWSER_CDP_URL / browser.cdp_url in config. Cloud backends expose it as cdpUrl/connectUrl.

Read the full file on GitHub · 163 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 163 lines · 19 tokens per session scan A f1bae3c06d44

Subscribe to this mod's changes

har-derived-api-client is a skill published in the GitHub repository jozrftamson/hermes-figma-prompt-hub (1 stars, last pushed 13d ago), licensed MIT. It adds 19 tokens to every session and 2,658 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 92% identical to har-derived-api-client, differing in 0 lines, and is treated as a copy.

Related

har-derived-api-client compared with skills from other repositories

har-derived-api-client next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
har-derived-api-clientjozrftamson/hermes-figma-prompt-hubSkill113d agoMITA19Claude Code, Codex
build-appunblockingapi/mcpSkill216d agoMITA76Claude Code
templatesunblockingapi/mcpSkill216d agoMITA80Claude Code
har-derived-api-clientcyborg-garden/hermes-agent-mtSkill14todayMITA19Claude Code, Codex
firecrawl-build-scrapefirecrawl/firecrawlSkill213ktodayAGPL-3.0A62Claude Code, Codex
api-telemetrycyanheads/obsidian-mcp-serverSkill72119d agoApache-2.0A85Claude Code
bookmarks-managementnirholas/XActionsSkill6713d agoApache-2.0A71Claude Code, Codex