gaia commands for you and forwards any questions back to you.
Prerequisites
Install and authenticate the CLI first (the plugin drives it):Install the plugin
In a Claude Code session:The plugin no longer bundles a binary — it relies on the globally installed
gaia from npm. If gaia isn’t found, Claude is reminded to run npm i -g "@gainable.dev/cli".What you get
Two modes
chat (harness-driven, the default) and code (Claude authors files itself). Claude picks based on what you ask.
Slash commands
/gainable:chat, /gainable:build, /gainable:code, and /gainable:apps for explicit control.Project orientation
A
SessionStart hook reads .gaia/project.json and tells Claude which app it’s working on from the first turn.No permission prompts
gaia commands are pre-allowed, so Claude can run them without interrupting you.Use it
Describe what you want
Just talk to Claude:
- “List my Gainable apps”
- “Add a probability column to the deals table”
- “Build me a CRM for tracking SaaS deals”
- “Add KPI cards to the top of the sponsors view”
gaia chat / gaia build, then relays the result.Slash commands
For explicit control you can call the commands directly:| Command | What it does |
|---|---|
/gainable:build "<idea>" | Drive the new-app build journey |
/gainable:chat "<change>" | Refine the current app (one cheap turn) |
/gainable:code "<change>" | Switch to code mode — Claude authors files locally |
/gainable:apps | List the apps in your account |
Asking Claude to write the code itself
By default Claude uses chat mode, where the Gainable harness does the work. If you want Claude to hand-write the app code instead — with the same validators the Build Agent uses — opt in explicitly:“Code the sponsors view yourself with a hero KPI section.”Phrases like “code it yourself”, “write it manually”, or “without the harness” switch Claude to code mode (
gaia code): it pulls a local mirror of your app, edits files, validates, and pushes. See code mode in the command reference.
Building progress
When Claude kicks off a build, it renders each pipeline stage as a live task list so you can watch models, seed data, views, and validation complete in real time, then shares the link to your finished app.Next steps
Command reference
Every
gaia command behind the plugin.Codex plugin
The same experience in OpenAI Codex.