Agent Skill
Install the aibubu-models skill with one command so coding agents like Claude Code and Codex can find models, quote, generate and download results on Aibubu.
aibubu-models is a set of instructions written for AI agents. The agent loads it when you mention Aibubu or ask for an image or video, then follows it end to end:
- Find available models with
GET /v1/modelsand read their parameter schema. - Quote with
POST /v1/quoteand check the balance withGET /v1/user/balance. - Upload reference images to
POST /v1/uploads/imageswhen needed. - Submit with
POST /v1/generationsand pollGET /v1/tasks/{task_id}. - Download the results to
./outputonce the task succeeds.
The skill contains no executable scripts; the agent calls the API with curl as instructed.
Prerequisites
- A coding agent that supports skills, such as Claude Code or Codex.
- Node.js, for the
npxinstall command. curlandjq. To installjq:brew install jq,apt install jqorwinget install jqlang.jq.- An API key; see API Keys.
Install
npx skills add https://docs.aibubu.aiThe command reads https://docs.aibubu.ai/.well-known/agent-skills/index.json, downloads aibubu-models and installs it into the agents you select. It installs into the current project by default (for example ./.claude/skills/); add -g to install for your user so every project can use it:
npx skills add https://docs.aibubu.ai -gIn Claude Code you can also install the official plugin, which bundles the skill and the remote MCP server:
/plugin marketplace add aibubu2026/aibubu-skills
/plugin install aibubu-global@aibubuSet your API key
The skill reads the key from AIBUBU_API_KEY:
# macOS / Linux: add this to ~/.zshrc or ~/.bashrc to keep it
export AIBUBU_API_KEY=sk_aibubu_your_api_key# Windows PowerShell: setx only affects new windows, so also set $env: for this one
setx AIBUBU_API_KEY "sk_aibubu_your_api_key"
$env:AIBUBU_API_KEY = "sk_aibubu_your_api_key"Then restart your agent from that terminal.
Verify
Ask your agent:
Use aibubu to make a minimalist poster of a futuristic city, 1:1. Tell me how many credits it will cost first.The agent should list models, quote and tell you the estimated credits, submit after you confirm, and save the image to ./output.
Update
Run the install command again to get the latest version:
npx skills add https://docs.aibubu.aiManual install
If you cannot use npx, download the archive and extract it into your agent's skills folder. For Claude Code:
mkdir -p ~/.claude/skills/aibubu-models
curl -sL https://docs.aibubu.ai/.well-known/agent-skills/aibubu-models.tar.gz \
| tar -xz -C ~/.claude/skills/aibubu-modelsTroubleshooting
| Symptom | Fix |
|---|---|
| The agent doesn't use the skill | Mention "aibubu" explicitly; make sure you selected this agent during install and restarted it |
401 unauthenticated | The agent started without AIBUBU_API_KEY. Restart it from a terminal where the variable is set |
402 insufficient_credits | Not enough credits; top up and retry |
403 scope_forbidden | The key lacks v1:generate; use a key with generation access |
| Commands fail on Windows | Run the agent in WSL or Git Bash; PowerShell's curl does not accept the example flags |

