Agent-first CLI for the v0 Platform API.
Single v0 binary. 55 operations across chats, projects, versions, messages, deployments, env vars, webhooks, MCP servers. Stable JSON output, trust ladder, audit trail, single-use intent tokens for destructive ops.
bun install -g @crafter/v0-cli # or `bun link` from source
v0 doctor --jsonRequires V0_API_KEY from v0.app/chat/settings/keys.
For agents (Claude Code, Cursor, custom):
npx skills add Railly/v0-cliThe skill teaches agents the preflight recipe (doctor → schema → rate-limits), the JSON contract, the T0/T1/T2/T3 trust ladder, and the intent-token flow for destructive operations. Source: skill/SKILL.md.
The foundation primitives (audit log, killswitch, XDG paths, error map,
doctor checks, global flags, JSON mode, next-steps) are
cligentic blocks, copy-pasted into
src/cli/ via bunx shadcn@latest add. v0-cli dogfoods
the registry: if something breaks or a pattern is missing, the fix lands
upstream first, then gets re-pulled here.
- Docs + design: v0-cli.crafter.run
- v0 Platform API: https://v0.app/docs/api/platform
- v0-sdk: https://github.com/vercel/v0-sdk
- cligentic registry: https://cligentic.railly.dev
MIT