Drive a browser once to learn a site's private API. Generate a fast, typed,
pretty command-line client that calls those endpoints directly β no browser, fully scriptable,
pipeable into jq.
npx skills add dennisonbertram/website-to-cli -a claude-code
Three phases. The browser is used only in the first β to learn the API. Everything after is direct HTTP, which is why the CLI is faster than driving a browser every time.
An agent drives the site through the features you want and records all network traffic to a HAR file β requests, responses, and session.
capture.ts <url> --auto 5
Strip out analytics and static assets, then recover the real API: endpoints, path templates, params, request/response shapes, and auth headers.
analyze-har.ts site.har
Fill a zero-dependency template pointed at those endpoints. Colored & aligned by default;
exact JSON with --json.
cp templates/cli.ts app.ts
An agent controlling a browser on every request is slow and brittle. A derived client is the efficient version β and it composes with the rest of your shell.
Direct HTTP to the endpoints the site already uses. No page loads, no waiting on a headless browser.
Pretty for humans; --json for machines. Pipe into jq, grep, or another script β exit codes and all.
Aligned tables, tasteful color, spinners β TTY-aware so it stays clean when piped. The output reads.
One command installs the skill into your agent. Then just ask it: βmake a CLI for <site>.β Works with Claude Code, Codex, Cursor, OpenCode, and 70+ more.
npx skills add dennisonbertram/website-to-cli -a claude-code
Global install: add -g. Β· Prefer manual? Copy
skills/website-to-cli/ into your agent's skills directory.