Petal Pro v4 — built for Claude Code

Phoenix for the AI era

Describe what you want. Claude builds it. You review and ship. Petal Pro v4 ships with deep Claude Code integration — your AI knows the architecture, the conventions, and the patterns.

One-time purchase · Includes 1 year of updates · Use on unlimited projects

You describe. Claude builds.

Petal Pro ships with CLAUDE.md files throughout the codebase. Claude already knows the conventions, the schema patterns, the menu structure, and how the auth and notification systems work — so you don't have to explain anything.

You

Build a transaction tracker. Users log income and expenses with description, amount, type (income/expense), and date. Transactions belong to the current user. Use the data table generator.

Claude
  • Running mix petal.gen.live Finance Transaction transactions...
  • Fixing schema: belongs_to :user, validate_inclusion on type
  • Adding has_many :transactions to User
  • Scoping index query via Ecto.assoc(current_user, :transactions)
  • Injecting user_id on create
  • Adding routes under /app scope
  • Wrapping pages in sidebar layout
  • Running mix ecto.migrate
  • ✓ Done — http://localhost:4000/app/transactions
Transactions feature built by Claude

The result — production-ready CRUD with auth, scoping, validations, and a Petal data table.

Slash command

/generate-brand

Fill in your app name, tagline, brand color, and a description of the icon you want. Claude designs the icon and generates all six logo files — SVGs, favicon, OG image — and drops them into priv/static/images/.

Don't like it? Tweak the icon style description and run it again. No Figma, no design tool, no waiting on a contractor.

docs/branding.md
## App name
Financy
## Primary brand color
#10b981
## Icon style
A dollar sign done in a pixelated way.
Financy landing page generated from a one-line brand description
Built-in

AI admin command center

A built-in admin chat interface powered by Jido AI. Ask plain-English questions like "how many users signed up this week?" or "search for users with admin role" — Claude calls the right tool, queries the database, and answers.

Adding your own tools is straightforward — implement the PetalPro.AI.Tool behaviour and register it. AI cost tracking is wired up automatically — every API call is logged with token counts and cost via a Req plugin.

  • Built on the open Jido framework
  • Tool behaviour pattern with a registry — add tools without touching the chat itself
  • AI cost tracking + token logging built in
The AI admin chat interface with available tools panel
Admin MCP server

Connect Claude Desktop to your live app

Petal Pro v4 exposes admin operations through a Model Context Protocol server at POST /api/mcp. Bearer-auth, JSON-RPC 2.0. Add it to Claude Desktop or Claude Code's .mcp.json and ask:

"Suspend user with email spammer@example.com"
"How many active subscriptions do we have?"
"Publish the v4.0.1 changelog entry"
"Show me the latest 10 user signups"

Your AI assistant queries users, manages orgs, publishes changelog entries, and runs admin actions on your real production data — without leaving the editor.

.mcp.json
{
  "mcpServers": {
    "petal-pro-prod": {
      "url": "https://yourapp.fly.dev/api/mcp",
      "headers": {
        "Authorization": "Bearer ${MCP_TOKEN}"
      }
    }
  }
}

Everything Claude needs to know is already there

v4 ships with the AI context other boilerplates make you write yourself.

CLAUDE.md files

Scoped per-directory. Architecture, conventions, schemas, naming, patterns — all in plain text Claude reads automatically.

22 recipe commands

Slash commands for common customizations: removing billing, switching auth methods, adding fields to users, structural changes, integrations.

Sub-agent definitions

Specialized review agents: schema-architect, elixir-reviewer, heex-reviewer, ui-ux-reviewer, test-runner.

Built-in AI admin chat

Jido-powered. Plain-English admin commands. Tool behaviour pattern. AI cost + token tracking.

MCP admin server

Expose admin operations to Claude Desktop or Claude Code. Bearer auth, JSON-RPC 2.0, ready out of the box.

COMPONENTS.md reference

A catalog of every component and JS hook so Claude knows what UI building blocks already exist. No more reinventing buttons.

Dev tools you didn't have to build

Petal Pro ships with a dev console for inspecting your app — interactive ER diagrams, a route tree, and a live email preview.

Interactive database schema visualizer

Database schema visualizer

Interactive ER diagrams, grouped by domain. Pan, zoom, click for column details.

Email template previewer

Email template previewer

Desktop + mobile preview, plain-text fallback, send a real test email. Iterate fast.

Hierarchical route tree

Hierarchical route tree

Every route in your app, organized by URL segment. Click to copy the helper.

Real-time admin logs

Real-time activity logs

Watch user activity live across browser windows via PubSub. Filter by user, action, or time range.

Ship faster. Skip the boilerplate.

Petal Pro v4 is the Phoenix boilerplate built for the AI era. One purchase, unlimited projects, a year of updates.