har-derived-api-client

har-derived-api-client is a skill for Claude Code, Codex from cyborg-garden/hermes-agent-mt. It costs 19 tokens per session (2,651 once invoked), scanned A, a copy of har-derived-api-client, MIT.

A method for recording a website's browser network requests in a HAR file and deriving a direct HTTP client from them. A HAR is a file containing details of browser requests and responses.

In plain words
What is it for?
Use it to capture a site's requests during a real browser session, turn them into a command-line client, and replay authenticated requests using the needed session details.
Why use it?
It can replace repeated browser clicking with direct requests when a site has no public API. 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 during a real browser session, turn them into a command-line client, and replay authenticated requests using the needed session details.

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

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/cyborg-garden/hermes-agent-mt/har-derived-api-client/github.svg)](https://agentmods.dev/skills/cyborg-garden/hermes-agent-mt/har-derived-api-client)
Your own site
<a href="https://agentmods.dev/skills/cyborg-garden/hermes-agent-mt/har-derived-api-client"><img src="https://agentmods.dev/badge/skills/cyborg-garden/hermes-agent-mt/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/cyborg-garden/hermes-agent-mt/har-derived-api-client"><img src="https://agentmods.dev/badge/skills/cyborg-garden/hermes-agent-mt/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,651 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 98% 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.02651
Opus 5.5 $0.00008 $0.01060
Sonnet 5.5 $0.00004 $0.00530
Haiku 4.5 $0.00002 $0.00265

Measured 4d ago against content hash 6645d1a0403f, 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 4d 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

98% identical to har-derived-api-client — 15 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 · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 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 browser_navigate backend, 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_navigate 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 · 164 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. 4d ago First seen · 164 lines · 19 tokens per session scan A 6645d1a0403f

Subscribe to this mod's changes

har-derived-api-client is a skill published in the GitHub repository cyborg-garden/hermes-agent-mt (14 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 2,651 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 98% identical to har-derived-api-client, differing in 15 lines, and is treated as a copy.

Related

Other skills, from other repositories

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

hermes-memory-providers

Install and configure Mnemosyne as a Hermes Agent memory provider — local SQLite with vector search, episodic consolidation, and temporal knowledge graphs.

mnemosyne-oss/mnemosyne · 34 tokens

mnemosyne

Persistent cross-session memory via Mnemosyne — store, recall, and consolidate facts, preferences, and context.

mnemosyne-oss/mnemosyne · 22 tokens

news-search

Search current news for a topic, company, competitor, or hook and return dated, attributed articles. Uses the newsjack CLI and Medialyst REST API when available, tries direct Medialyst MCP if the CLI is missing, and falls back to host web/browser search with explicit caveats only when neither cloud path is available.

elvisun/newsjack · 69 tokens

mnemosyne-memory-override

Stricter, user-selected override that forces Mnemosyne for all durable memory storage, including small standing rules. Apply it only when the user has consciously chosen this policy; installation, this skill appearing in the skills index, or an ordinary memory task is not that choice. Without it, the default applies…

mnemosyne-oss/mnemosyne · 101 tokens

booth-purchase-automation

Buy a real BOOTH item: search, add to cart, confirm, pay, download via browser CDP.

ggg123124/vrchat-assistant · 30 tokens