06/agents

Using unpeek with AI Coding Agents

Equip Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot, and OpenCode with the official unpeek skill via Vercel Agent Skills so autonomous agents never break hot-path budgets or leak source maps.

Vercel Agent Skills Standard Installation (`npx skills add`)

unpeek ships with an official agent skill compliant with the open Vercel Agent Skills specification (`skills/unpeek/SKILL.md`) and Agent Skills Discovery Optimization (SDO) standards. It equips coding agents to automate unpeek build protection, guard SSR boundaries, and isolate private source maps.

Install the skill with a single command, install locally from repository source, or target multiple agents globally without prompts:

Terminal: Install via Vercel Agent Skills CLI
# Standard installation into your project or configured agent
npx skills add Woffluon/unpeek

# Local repository installation (when developing inside unpeek)
npx skills add .

# Multi-agent targeting & global installation
npx skills add Woffluon/unpeek --agent claude-code codex cursor gemini-cli github-copilot opencode --global --yes
Agent Prompt: Triggering unpeek via $unpeek
$unpeek Protect this build with passive telemetry and seed 0x7f4a2c.

Token-Optimized Modular References (`skills/unpeek/references/`)

To preserve agent context windows and minimize token overhead, the primary `SKILL.md` delegates specialized implementation details to 6 on-demand modular reference guides under `skills/unpeek/references/`. Agents selectively load only the reference file required for their active task:

  • `quickstart`: Immediate zero-config setup, postbuild wiring, and 3-step verification loops.
  • `frameworks`: Framework build configurations and SSR client boundaries (Next.js, Vite, Webpack, Rollup).
  • `architecture`: Acorn AST parsing, transitive call-graph hot-path exemption, and FNV-1a checksums.
  • `sourcemaps`: `.unpeek-maps/` vault isolation, CI pipelines, and Sentry/Datadog symbol uploads.
  • `api`: Complete CLI flag specifications, programmatic Node.js API, and TypeScript interfaces.
  • `recipes`: Production hardening recipes, deterministic CI seeds, and passive telemetry troubleshooting.