AI agents
Let Claude Code, Codex, Cursor and other coding agents build, sign, submit and update your app.
Liftbay has an agent skill: one file that teaches your coding agent how to use the Liftbay CLI. With it, you can ask in plain words ("build iOS for TestFlight", "ship this fix over the air", "why did build 12 fail?") and the agent runs the right commands, reads the results and tells you what happened.
Install the skill
Run this in your app's folder:
npx skills add liftbay/skillsIt works with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and other agents that read skills. Add -g to install it for all your projects, or --all to install it for every agent on this machine. The skill is called liftbay in every agent.
mkdir -p .claude/skills/liftbay
curl -fsSL https://raw.githubusercontent.com/liftbay/skills/main/skills/liftbay/SKILL.md -o .claude/skills/liftbay/SKILL.mdUse ~/.claude/skills/liftbay instead to have it in every project.
What you do, and what the agent does
The agent runs everything through the CLI. A few steps need you, because they prove who you are:
| Step | Who | How |
|---|---|---|
| Sign in to Liftbay | You, once | Give the agent your email address and the code Liftbay emails you. New to Liftbay? That creates your account |
| Install the GitHub App | You, once per repository owner | GitHub in the dashboard sidebar |
| iOS signing | You, once per Apple team | Run npx liftbay credentials ios in your own terminal: Apple asks for your password and a two-factor code |
| Google Play access | You, once per app | Add the service account JSON on the project's Credentials page |
| Everything else | The agent | Link the app, import eas.json and .env files into environments, build, read logs, download artifacts, submit, publish OTA updates, roll out and roll back |
After the one-time steps, the agent works on its own. By default, the skill tells it to check with you before anything that reaches your users: publishing or rolling back on production, and sending builds to TestFlight or a public Play track.
Setting up an app
liftbay init asks a few things only you can decide: the organization and project, the platforms, where iOS builds run, whether to use your eas.json, OTA updates, and which .env files go into which environment. An agent can't answer prompts, so it interviews you instead:
liftbay init --questions --jsonlists the questions, with the choices that apply to your app.- The agent asks you each one, with your agent's question tool where it has one.
- It writes your answers to a JSON file and runs
liftbay init --answers <file>, which sets everything up with no prompts.
How agents sign in
All in the terminal, with a code sent by email:
liftbay login --email you@example.com --json # sends a 6-digit code
liftbay login --email you@example.com --code 123456 --json # signs in, or creates your accountThe agent asks you for your email, then for the code. If you'd rather approve in a browser, liftbay login --no-wait --json gives a link and a code to approve, and liftbay login --json finishes.
For agents that run unattended (in CI, or a cloud agent), create an organization API token under API tokens in the dashboard sidebar and set it as LIFTBAY_TOKEN. No sign-in is needed.
Built for agents
The CLI behaves the same whether a person or an agent runs it, with these additions:
--jsonon every command. Stdout carries exactly one JSON result or error, and logs go to stderr. See JSON output.- No prompts without a terminal. A missing value is an error that names the flag to pass.
--no-waitonbuild,submit,loginanddevice add, plusbuilds view,builds logs,builds listandsubmissions listto check back later.- Errors that say what to do next, so the agent can fix the problem or tell you exactly what's needed.
Example prompts
- "Set up Liftbay for this app."
- "Move this app from EAS to Liftbay." (profiles, channels and env come from
eas.json) - "Import .env.production and .env.preview into Liftbay."
- "Build Android and iOS from main and send iOS to TestFlight."
- "Build 14 failed. Find out why and fix it."
- "Publish this fix to the preview channel, then to production at 20%."
- "Something's wrong with the last update. Roll back production."
- "Register my new iPhone and make me an ad hoc build I can install."