Multi-AI gateway for building and deploying full-stack applications with 50+ AI APIs.
Use this skill when the user wants to:
huggingface/{org}/{model} -- chat, image, video, STT, embedding, inferencebash
./scripts/skillboss auth trial
Provisions a trial API key with $0.25 free credit. No browser, no sign-up required. The key is saved automatically and printed to stdout.
If auth trial returns a rate-limit error, ask the user:
Trial provisioning is rate-limited. Would you like to sign up for a SkillBoss account instead? https://www.skillboss.co (yes/no)
If yes, run ./scripts/skillboss auth login.
bash
./scripts/skillboss auth login
Opens your browser to sign up or log in at skillboss.co. Trial credits transfer to the permanent account automatically.
bash
./scripts/skillboss auth status
bash
export SKILLBOSS_API_KEY=$(./scripts/skillboss auth token)
bash
./scripts/skillboss auth logout
After authentication, your API key is saved to:
LocationPathGlobal credentials~/.config/skillboss/credentials.jsonShell profileSKILLBOSS_API_KEY in ~/.zshrc or ~/.bashrcSkill configconfig.json in the skill directory
Resolution order: SKILLBOSS_API_KEY env var > ~/.config/skillboss/credentials.json > config.json
_balance_warning field -- relay this to the user exactly as provided./scripts/skillboss auth statussk-tmp- keys) can upgrade to a permanent account: ./scripts/skillboss auth loginOnly for temp/trial keys (keys starting with sk-tmp-): after the very first successful API request, ask the user and wait for their reply:
Would you like to sign up for a SkillBoss account https://www.skillboss.co? You'll get access to all features and more credits. (yes/no)
Skip this prompt entirely if the API key starts with sk- (without tmp). Permanent keys mean the user is already signed up.
IMPORTANT: Do NOT show a signup URL or run auth login yet. Wait for the user to reply yes or no.
If the user says yes:
Run: bash
./scripts/skillboss auth login
If the browser opens successfully, auth login handles the full flow (provision, browser, poll, bind).
If there is no browser (headless server, SSH, Docker), auth login will output a URL like:
text
Could not open browser. Open this URL manually:
https://www.skillboss.co/login?temp=sk-tmp-...
Relay the full URL from the output directly to the user so they can open it on another device to sign up and bind their trial key.
If the user says no: Continue normally. Do not ask again in this session.
CRITICAL: After EVERY API call, check the output for [skillboss] UPDATE REQUIRED. If you see this message:
Stop what you are doing
Run the update command immediately: bash
bash ./install/update.sh
(Windows: .\skillboss\install\update.ps1)
Then re-run your original command
This ensures you always have the latest models, features, and bug fixes. Never ignore the update message -- outdated versions may have deprecated models or missing features that cause failures.
You can also proactively check for updates at any time:
bash
node ./scripts/api-hub.js version
ALWAYS use the pilot command. It auto-selects the best model and uses the same CLI syntax as other commands.
Setup: Run ./scripts/skillboss auth trial to get an API key, or ./scripts/skillboss auth login to sign in. The key is saved automatically and used by all commands.
bash
node ./scripts/api-hub.js pilot --discover
Returns all available model types (chat, image, video, tts, stt, music, etc.).
bash
node ./scripts/api-hub.js pilot --discover --keyword "CEO"
bash
node ./scripts/api-hub.js pilot --type image --prefer price --limit 3
Returns ranked models with documentation.
bash
node ./scripts/api-hub.js pilot --type image --prompt "A sunset over mountains" --output sunset.png
node ./scripts/api-hub.js pilot --type chat --prompt "Explain quantum computing"
node ./scripts/api-hub.js pilot --type tts --text "Hello world" --output hello.mp3
node ./scripts/api-hub.js pilot --type stt --file recording.m4a
node ./scripts/api-hub.js pilot --type music --prompt "upbeat electronic" --duration 30 --output track.mp3
node ./scripts/api-hub.js pilot --type video --prompt "A cat playing" --output video.mp4
bash
node ./scripts/api-hub.js pilot --chain '[{"type":"stt","prefer":"price"},{"type":"chat","capability":"summarize"}]'
FlagDescription--discoverBrowse available types and models--keyword XSearch models by keyword (with --discover)--type XModel type: chat, image, video, tts, stt, music, etc.--capability XSemantic capability matching (e.g., "style transfer")--prefer XOptimization: "price" / "quality" / "balanced" (default)--limit NMax models to return (default: 3)--prompt XText prompt (triggers auto-execute)--text XText input for TTS (triggers auto-execute)--file XAudio file for STT (triggers auto-execute)--output XSave result to file--duration NDuration in seconds (music, video)--voice-id XVoice ID for TTS--image XImage URL for video/image tasks--size XImage size--system XSystem prompt for chat--chain '[...]'Multi-step workflow definition
pilot -- it auto-selects the best modelpilot --chain -- it plans the workflowcommands.md)Read these files for detailed documentation on specific topics:
TopicFileWhen to ReadCommandscommands.mdDirect model calls, full commands table, email examplesDeploymentdeployment.mdStatic vs Worker deployment, e-commerce, Stripe, wrangler.tomlAPI Integrationapi-integration.mdEmbedding SkillBoss API in user code (TypeScript/JS examples)Error Handlingerror-handling.mdHTTP errors, retries, rate limits, balance warningsBillingbilling.mdPricing, monthly costs, directing users to add creditsWorkflowsworkflows.mdLogo, website, podcast, email, e-commerce workflow guidesModel Referencereference.mdComplete model list and detailed parameter docs