Habify BaseHabify Base
Zero-Config AI Skill · Zero DevOps

Ship Vibe-Coded Apps with Zero DevOps — Official AI Agent Skill & llms.txt

Install the one-line SKILL.md for Claude Code, OpenAI Codex CLI, or Antigravity. Your agent scaffolds FORCE RLS schemas, wires OTP auth, SePay QR & e-invoices via @habifybase/sdk — host only your frontend on Vercel or Cloudflare Pages.

Free Frontend Tiers + Full Managed Backend

Host UI/SSR on Vercel, Cloudflare Pages, or Netlify at $0. Habify Base handles isolated Postgres 18, Auth OTP, R2 Storage, Realtime & Backups.

Security-First AI Code Generation

SKILL.md enforces FORCE ROW LEVEL SECURITY, server-authoritative pricing reads, Turnstile verification, and timing-safe HMAC webhooks.

Idempotent SQL Push & Sheets CSV Migration

Agents push SQL via `habify db push` / `POST /api/v1/projects/{id}/db/push`, import Sheets CSV, and use 18 tools in @habifybase/mcp.

Scoped Agent Tokens via Browser Device Login

Run `habify login` once in terminal and approve in Console: tokens (hb_at_*) respect RBAC + hard guardrails blocking billing, members, and drops.

1. One-Line Skill Install (Zero Configuration)

Install globally for your CLI/IDE agent or commit it inside your repository.

GET https://habifybase.com/skill.md · GET https://habifybase.com/skills/habify-base/SKILL.md

Claude Code

Automatically discovered in ~/.claude/skills/.

bash
mkdir -p ~/.claude/skills/habify-base && \
curl -fsSL https://habifybase.com/skill.md -o ~/.claude/skills/habify-base/SKILL.md

OpenAI Codex CLI

Loaded natively from ~/.codex/skills/.

bash
mkdir -p ~/.codex/skills/habify-base && \
curl -fsSL https://habifybase.com/skill.md -o ~/.codex/skills/habify-base/SKILL.md

Antigravity / Repo-Shared (.agents)

Shared across Antigravity & team collaborators via Git.

bash
mkdir -p .agents/skills/habify-base && \
curl -fsSL https://habifybase.com/skill.md -o .agents/skills/habify-base/SKILL.md

2. Pair with @habifybase/mcp & /llms.txt

Add @habifybase/mcp to Cursor, Windsurf, Antigravity, or Claude Desktop for live schema inspection and readiness checks, or index /llms-full.txt directly.

json
{
  "mcpServers": {
    "habify": {
      "command": "npx",
      "args": ["-y", "@habifybase/mcp"]
    }
  }
}

3. Copy-Paste Zero-Config Master Prompt

Create a Free Sandbox ($0) or Starter ($9/mo) project in Console, then paste this prompt into your AI agent:

markdown
Install the Habify Base CLI (or load https://habifybase.com/skill.md) and connect this frontend:
1. Run `habify whoami --json` to verify Workspace & Project scope (or run `habify projects create` / `habify db import-csv` when migrating from Google Sheets).
2. Author PostgreSQL migrations with ENABLE + FORCE ROW LEVEL SECURITY and apply them via `habify db push --project <id>` (or POST /api/v1/projects/{id}/db/push).
3. Run `habify env init --project <id>` to populate .env.local safely without rotating production keys or printing raw secrets.
4. Wire Auth & Data API (X-Habify-Key header) and run a clean production build before handoff.
Zero-Dependency Node CLI · Device Auth Flow

Authorize AI Agents Safely via CLI Browser Device Login

Instead of pasting high-privilege keys into prompts, install the zero-dependency CLI and approve once in your browser (/console/device). Stored with chmod 0600 and shared automatically with all 18 @habifybase/mcp tools.

bash
curl -fsSL https://habifybase.com/install.sh | bash
habify login

What Agents CAN do:

  • • Create projects, PG18 tables & FORCE RLS policies
  • • Import Google Sheets CSV & query/mutate rows
  • • Issue additive dev keys (`habify env init`)

Permanently BLOCKED:

  • • Workspace wallet, billing checkout, spend caps
  • • Inviting members, changing roles, Sudo actions
  • • Dropping tables/projects or rotating live keys
Popular Use-Case: BA Prototype → Production

Leave Google Apps Script & Sheets Behind in 5 Minutes

Avoid slow Apps Script quotas and fragile Sheets-to-DB rewrites during engineering handoff. BAs manage records in Console Spreadsheet Data Grid while developers build directly on PostgreSQL 18.

4 Production Guardrails Enforced by the Skill

Strict Key Split: browser traffic only sends hb_pk_* under RLS; server-only hb_sk_* with a browser Origin header fails closed with 403 SECRET_KEY_BROWSER_FORBIDDEN.
Mandatory Default-Deny RLS: every Data API table enforces ENABLE + FORCE ROW LEVEL SECURITY plus explicit policies.
Server-Authoritative Totals: payment and checkout handlers fetch real pricing from Postgres via hb_sk_* before touching /v1/payment/* or /v1/billing/*.
Timing-Safe Webhooks: verifies X-Habify-Signature over raw body bytes with a <=300s timestamp window.

AI Skill & Zero-DevOps FAQ

How is /skill.md different from reading traditional REST API docs?

SKILL.md follows the native Agent Skill standard read directly by Claude Code, OpenAI Codex CLI, and Antigravity. Instead of manual wiring, your coding agent inspects your framework, asks only for your project URL and keys, authors FORCE ROW LEVEL SECURITY migrations, wires @habifybase/sdk, and runs a security preflight before finishing.

Do I still need a backend VPS if I host my UI on Vercel or Cloudflare Pages?

No. Hosting your UI/SSR frontend on Vercel or Cloudflare Pages free tier paired with Habify Base gives you isolated PostgreSQL 18, Data API, Auth OTP, R2 Storage, WebSocket Realtime, Billing Kit, and automated backups with zero server DevOps.

What stops an AI coding assistant from accidentally exposing hb_sk_* in the browser?

Both SKILL.md guardrails and Habify Base server enforcement protect you: any request carrying hb_sk_* together with a browser Origin header is immediately rejected with 403 SECRET_KEY_BROWSER_FORBIDDEN.

Should I install SKILL.md or configure @habifybase/mcp?

Use both together for the best workflow: SKILL.md teaches the agent non-negotiable security & integration conventions, while @habifybase/mcp gives live introspection of schemas, readiness checks, and documentation inside your IDE.

Start Free & Let Your AI Wire the Backend

Spin up an isolated PostgreSQL 18 project on Free Sandbox ($0) and grab your hb_pk_* key in 60 seconds.