alexknowshtml

Peek API — AI skill for Claude Code

AI community

Discover internal APIs from any website.

How to install Peek API

This entry records only its repository, not the path inside it, so there is no exact command to give. Open alexknowshtml/peek-api and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Peek API does

Discover internal APIs from any website. Captures XHR/fetch calls, extracts auth headers, outputs structured endpoint catalogs. Like opening Chrome DevTools Network tab, but automated and AI-agent friendly.

Alternatives in AI

  • Internal Safety Collapse — We built an adversarial codespace setup 1.2k ★
  • Qiaomu Markdown Proxy — Fetch any URL as clean Markdown via proxy services (r.jina.ai / defuddle.md) or built-in scripts 426 ★
  • AI Review Local — Run AI code review locally using Codex CLI or OpenAI API before opening a PR 387 ★

README

peek-api

Discover and call internal APIs from any website. Monitors browser network traffic, captures XHR/fetch calls, extracts authentication headers, and outputs structured endpoint catalogs. Also makes direct HTTP API calls using session cookies -- no browser needed.

Like opening Chrome DevTools Network tab, but automated and scriptable.

Built on the ideas from [Unbrowse](https://github.com/lekt9/unbrowse-openclaw) by [@nicedayfor](https://github.com/nicedayfor). Their work on API discovery for AI agents is what inspired this project. This is a standalone reimplementation with no framework dependencies -- the core capture/extract/report workflow works with any agent platform, any automation stack, or just on its own from the command line.

How this differs from Unbrowse

Unbrowse is a plugin for the [OpenClaw](https://github.com/nicedayfor/openclaw) agent framework. It's tightly integrated -- it uses OpenClaw's browser service, generates OpenClaw-specific "skills", and requires the OpenClaw runtime.

`peek-api` extracts the same core idea (browse a site, capture API traffic, extract auth, catalog endpoints) and makes it a standalone CLI:

Unbrowse peek-api
Runtime Requires OpenClaw agent framework Standalone Node.js CLI
Browser OpenClaw's managed browser service Playwright (local or remote CDP)
Auth Managed by OpenClaw login command saves portable session files
Bot detection OpenClaw handles it Built-in stealth mode via --stealth
Output OpenClaw skill definitions Markdown report + JSON (use with anything)
Agent integration OpenClaw only Agent-agnostic (works with Claude, GPT, etc.)
Direct HTTP Not available Call APIs directly with session cookies

If you're using OpenClaw, use Unbrowse. If you want API capture without framework lock-in, use this.

Install

npm ins