/butterbase-skills:journey-ai runs instead · from butterbase-skills
Configures AI gateway defaults (model, BYOK) as part of the Butterbase guided journey. Skipped if the plan has no LLM/embeddings usage.
This skill never runs in Claude Code
It ships in butterbase-skills at skills/, but /butterbase-skills:journey-ai (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Stage 3f of the guided journey. Configure AI gateway defaults (model, BYOK).
journey when current_stage: ai./butterbase-skills:journey-ai.(n/a)) if the plan has no AI section.If docs/butterbase/03-preflight.md is missing, older than 24 hours, or 00-state.md has app_id: null, invoke butterbase-skills:journey-preflight first. Wait for it to return successfully before proceeding.
docs/butterbase/02-plan.md — the AI section.docs/butterbase/00-state.md — for app_id.Refresh docs. Call butterbase_docs with topic: "ai". For BYOK and model lists, also WebFetch https://docs.butterbase.ai/ai. Skip if cache is fresh.
Read the AI section. Print it back: "About to configure AI: default model=<m>, BYOK=<yes/no>. Proceed?". Wait for yes.
Invoke butterbase-skills:ai via the Skill tool with the AI plan and app_id. The wrapped skill calls manage_ai action: update_config (and per-provider key updates if BYOK).
Smoke: call manage_ai action: chat with a tiny prompt ("say ok") to confirm the gateway responds.
Append one line to docs/butterbase/04-build-log.md:
<ISO timestamp> ai manage_ai ok
Tick - [x] ai in 00-state.md, set current_stage: to the next unchecked stage.
Return to journey orchestrator (or ask "Continue to the next stage? (yes/no)").
04-build-log.md.manage_ai action: list_models — list first.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ai-configuration, gateway-setup, byok, llm, butterbase, journey-stage
npx claudepluginhub butterbase-ai/butterbase-skills --plugin butterbase-skills39 skills in this plugin
/agentsUse when designing, deploying, or debugging a Butterbase Agent (declarative LLM/tool graph), registering an MCP server for tool use, or wiring access controls and rate limits. Agents are first-class app resources defined by a `graph_spec` and invoked over `/v1/<app_id>/agents/<name>/runs`./aiUse when calling the app's AI gateway from agent tools — chat completions, embeddings, listing models, configuring defaults or BYOK, reading token/cost usage, polling video jobs or preparing declared fictional image references/auth-setupUse when configuring OAuth providers (Google/GitHub/Apple/X/etc.), setting up post-login auth hooks, tuning JWT lifetimes, or generating service API keys/build-appUse when building a new Butterbase app from scratch, creating a full-stack application, or when the user asks to set up a complete backend with database, auth, and deployment/contributingUse when contributing to the Butterbase codebase, adding new MCP tools, creating API routes, writing migrations, or understanding the monorepo architecture/debug-rlsUse when users report access denied errors, see wrong data, RLS policies are not working, or when troubleshooting Row-Level Security issues in ButterbaseOther plugins' skills for the same job