Documentation/Getting Started/CLI Scaffolder

CLI Scaffolder

Scaffold new projects, inspect prices, and run health diagnostics.


CLI Scaffolder (`npx vibezcheck`)

The `vibezcheck` CLI lets you scaffold projects, inspect official model rates, and test environment readiness in seconds.

---

1. Project Setup Wizard

bash
npx vibezcheck init
  • Detects Next.js App Router, Pages Router, or Node projects.
  • Automatically creates `.env.local` with your AI Gateway and Stripe configuration.
  • Generates a working streaming route (`app/api/chat/route.ts`).

---

2. Model Pricing Inspector

bash
npx vibezcheck prices

Prints an ASCII table of official prices (per 1M tokens) across 50+ models from OpenAI, Anthropic, Google, DeepSeek, Mistral, and Groq.

---

3. System Diagnostics

bash
npx vibezcheck doctor

Checks your Node.js version, detects environment keys (`STRIPE_SECRET_KEY`, `AI_GATEWAY_API_KEY`), and verifies metering connectivity.