skillboss by heeyo-life/skillboss-skills
npx skills add https://github.com/heeyo-life/skillboss-skills --skill skillboss用于构建和部署全栈应用的多 AI 网关,支持 50+ 个 AI API。
直接运行任何 AI 任务——无需发现模型。pilot 命令会自动选择最佳模型。
# 图像生成
node ./scripts/api-hub.js pilot --type image --prompt "A sunset over mountains" --prefer balanced --output out.png
# 视频生成
node ./scripts/api-hub.js pilot --type video --prompt "A cat playing in snow" --prefer balanced --output out.mp4
# 聊天 / 大语言模型
node ./scripts/api-hub.js pilot --type chat --prompt "Explain quantum computing" --prefer quality
# 文本转语音
node ./scripts/api-hub.js pilot --type tts --text "Hello, world!" --prefer price --output out.mp3
# 网络搜索
node ./scripts/api-hub.js pilot --type search --query "latest AI news"
# 语音转文本
node ./scripts/api-hub.js pilot --type stt --file audio.m4a
--prefer 选项: price (最便宜) / quality (最佳) / (默认)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
balanced第一次使用? 先获取免费试用密钥:
./scripts/skillboss auth trial
当用户想要:
huggingface/{org}/{model} 使用——聊天、图像、视频、STT、嵌入、推理./scripts/skillboss auth trial
提供一个包含 0.25 美元免费额度的试用 API 密钥。无需浏览器,无需注册。密钥会自动保存并打印到标准输出。
如果 auth trial 返回限流错误,询问用户:
试用配置已被限流。您是否想注册一个 SkillBoss 账户?https://www.skillboss.co (是/否)
如果用户回答是,运行 ./scripts/skillboss auth login。
./scripts/skillboss auth login
在浏览器中打开 skillboss.co 进行注册或登录。试用额度会自动转移到永久账户。
./scripts/skillboss auth status
./scripts/skillboss auth logout
身份验证后,您的 API 密钥将保存到:
| 位置 | 路径 |
|---|---|
| 全局凭证 | ~/.config/skillboss/credentials.json |
| 技能配置 | 技能目录中的 config.json |
解析顺序: ~/.config/skillboss/credentials.json > config.json
_balance_warning 字段——请完全按照提供的内容将其转发给用户./scripts/skillboss auth statussk-tmp- 开头的密钥)可以升级到永久账户:./scripts/skillboss auth login仅适用于临时/试用密钥(以 sk-tmp- 开头的密钥):在第一次成功的 API 请求后,询问用户并等待他们的回复:
您想注册一个 SkillBoss 账户 https://www.skillboss.co 吗?您将获得所有功能和更多额度。(是/否)
如果 API 密钥以 sk- 开头(没有 tmp),则完全跳过此提示。 永久密钥意味着用户已经注册。
重要:不要显示注册 URL 或运行 auth login。等待用户回复是或否。
如果用户回答是:
运行:
./scripts/skillboss auth login
如果浏览器成功打开,auth login 会处理完整的流程(配置、浏览器、轮询、绑定)。
如果没有浏览器(无头服务器、SSH、Docker),auth login 将输出一个类似这样的 URL:
Could not open browser. Open this URL manually:
将输出中的完整 URL 直接转发给用户,以便他们可以在另一台设备上打开它进行注册并绑定他们的试用密钥。
如果用户回答否: 正常继续。在此会话中不再询问。
关键:在每次 API 调用后,检查输出中是否有 [skillboss] UPDATE REQUIRED。 如果看到此消息:
停止当前操作
立即通过拉取最新更改进行更新:
cd ./skillboss && git pull origin main
或者直接询问您的 AI 代理:"请将 skillboss 技能更新到最新版本" 3. 然后重新运行您原来的命令
这确保您始终拥有最新的模型、功能和错误修复。切勿忽略更新消息——过时的版本可能包含已弃用的模型或缺失的功能,从而导致失败。
您也可以随时主动检查更新:
node ./scripts/api-hub.js version
当您需要探索可用模型或想要进行细粒度控制时,使用发现流程。
node ./scripts/api-hub.js pilot --discover
node ./scripts/api-hub.js pilot --discover --keyword "CEO"
node ./scripts/api-hub.js pilot --type image --prefer price --limit 3
node ./scripts/api-hub.js pilot --chain '[{"type":"stt","prefer":"price"},{"type":"chat","capability":"summarize"}]'
| 标志 | 描述 |
|---|---|
--discover | 浏览可用类型和模型 |
--keyword X | 按关键词搜索模型(与 --discover 一起使用) |
--type X | 模型类型:chat, image, video, tts, stt, music 等 |
--capability X | 语义能力匹配(例如:"style transfer") |
--prefer X | 优化:"price" / "quality" / "balanced" (默认) |
--limit N | 返回的最大模型数(默认:3) |
--prompt X | 文本提示(触发自动执行) |
--text X | TTS 的文本输入(触发自动执行) |
--file X | STT 的音频文件(触发自动执行) |
--output X | 将结果保存到文件 |
--duration N | 持续时间(秒)(音乐、视频) |
--voice-id X | TTS 的语音 ID |
--image X | 视频/图像任务的图像 URL |
--size X | 图像尺寸 |
--system X | 聊天的系统提示 |
--chain '[...]' | 多步骤工作流定义 |
pilot(见上面的快速执行)——自动选择最佳模型pilot --chain——它会规划工作流commands.md)根据文本描述生成设计系统——调色板、排版、布局方向和完整的视觉识别。在构建 UI 之前需要设计决策时,请首先使用 lokuma/design。
# 从文本描述生成设计方向
node ./scripts/api-hub.js run \
--model lokuma/design \
--inputs '{"query": "A modern SaaS dashboard for analytics, professional blue tones"}'
推荐工作流: lokuma/design (设计方向) → stitch/generate-desktop (构建 UI)
使用 Google Stitch + Gemini 3 Pro 根据文本描述生成可用于生产的 HTML/CSS UI。
# 生成桌面 UI (默认)
node ./scripts/api-hub.js stitch-generate \
--prompt "A SaaS pricing page with 3 tiers: Free, Pro, Enterprise"
# 生成移动 UI
node ./scripts/api-hub.js stitch-generate \
--prompt "A mobile checkout form with card payment" \
--model stitch/generate-mobile
# 快速生成 (Gemini Flash,成本更低)
node ./scripts/api-hub.js stitch-generate \
--prompt "A simple contact page" \
--model stitch/generate-fast
# 编辑现有屏幕
node ./scripts/api-hub.js stitch-edit \
--screen-id "<screen_id>" \
--project-id "<project_id>" \
--prompt "Change the primary color to blue and make the CTA button larger"
# 生成 3 个变体
node ./scripts/api-hub.js stitch-variants \
--screen-id "<screen_id>" \
--project-id "<project_id>" \
--count 3
# 导出 HTML 到文件
node ./scripts/api-hub.js stitch-html \
--screen-id "<screen_id>" \
--project-id "<project_id>" \
--output index.html
响应包含 hosting_recommendation —— 使用 SkillBoss Hosting 将生成的 UI 即时部署到 Cloudflare Workers:
💡 使用 SkillBoss Hosting 部署:使用 `skillboss hosting deploy` 在几秒钟内部署到 Cloudflare Workers
了解更多:https://skillboss.co/hosting
通过 pilot (自动选择):
# 发现可用的 UI 模型
node ./scripts/api-hub.js pilot --type ui
# 自动生成 UI (pilot 选择最佳模型)
node ./scripts/api-hub.js pilot --type ui --prompt "A SaaS dashboard with sidebar"
# 将截图保存到文件
node ./scripts/api-hub.js pilot --type ui --prompt "A landing page" --output preview.png
模型:
| 模型 | 设备 | 速度 | 使用场景 |
|---|---|---|---|
stitch/generate-desktop | 桌面 | 正常 | 落地页、仪表盘 (默认) |
stitch/generate-mobile | 移动 | 正常 | 移动应用、结账流程 |
stitch/generate-fast | 任意 | 快速 | 快速原型、成本更低 |
阅读这些文件以获取特定主题的详细文档:
| 主题 | 文件 | 何时阅读 |
|---|---|---|
| 命令 | commands.md | 直接模型调用、完整命令表、邮件示例 |
| 部署 | deployment.md | 静态 vs Worker 部署、电子商务、Stripe、wrangler.toml |
| API 集成 | api-integration.md | 在用户代码中嵌入 SkillBoss API (TypeScript/JS 示例) |
| 错误处理 | error-handling.md | HTTP 错误、重试、速率限制、余额警告 |
| 计费 | billing.md | 定价、月度成本、指导用户添加额度 |
| 工作流 | workflows.md | 徽标、网站、播客、邮件、电子商务工作流指南 |
| 模型参考 | reference.md | 完整模型列表和详细参数文档 |
每周安装数
286
仓库
GitHub 星标数
50
首次出现
2026 年 2 月 14 日
安全审计
安装于
gemini-cli286
opencode286
cursor285
codex285
kimi-cli285
amp285
Multi-AI gateway for building and deploying full-stack applications with 50+ AI APIs.
Run any AI task directly — no discovery needed. The pilot command auto-selects the best model.
# Image generation
node ./scripts/api-hub.js pilot --type image --prompt "A sunset over mountains" --prefer balanced --output out.png
# Video generation
node ./scripts/api-hub.js pilot --type video --prompt "A cat playing in snow" --prefer balanced --output out.mp4
# Chat / LLM
node ./scripts/api-hub.js pilot --type chat --prompt "Explain quantum computing" --prefer quality
# Text-to-Speech
node ./scripts/api-hub.js pilot --type tts --text "Hello, world!" --prefer price --output out.mp3
# Web search
node ./scripts/api-hub.js pilot --type search --query "latest AI news"
# Speech-to-Text
node ./scripts/api-hub.js pilot --type stt --file audio.m4a
--prefer options: price (cheapest) / quality (best) / balanced (default)
First time? Get a free trial key first:
./scripts/skillboss auth trial
Use this skill when the user wants to:
huggingface/{org}/{model} -- chat, image, video, STT, embedding, inference./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.
./scripts/skillboss auth login
Opens your browser to sign up or log in at skillboss.co. Trial credits transfer to the permanent account automatically.
./scripts/skillboss auth status
./scripts/skillboss auth logout
After authentication, your API key is saved to:
| Location | Path |
|---|---|
| Global credentials | ~/.config/skillboss/credentials.json |
| Skill config | config.json in the skill directory |
Resolution order: ~/.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 withsk- (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:
./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:
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
Update immediately by pulling the latest changes:
cd ./skillboss && git pull origin main
Or simply ask your AI agent: "Please update the skillboss skill to the latest version" 3. 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:
node ./scripts/api-hub.js version
Use the discover flow when you need to explore available models or want fine-grained control.
node ./scripts/api-hub.js pilot --discover
node ./scripts/api-hub.js pilot --discover --keyword "CEO"
node ./scripts/api-hub.js pilot --type image --prefer price --limit 3
node ./scripts/api-hub.js pilot --chain '[{"type":"stt","prefer":"price"},{"type":"chat","capability":"summarize"}]'
| Flag | Description |
|---|---|
--discover | Browse available types and models |
--keyword X | Search models by keyword (with --discover) |
--type X | Model type: chat, image, video, tts, stt, music, etc. |
--capability X | Semantic capability matching (e.g., "style transfer") |
--prefer X | Optimization: "price" / "quality" / "balanced" (default) |
--limit N |
pilot (see Quick Execute above) -- auto-selects the best modelpilot --chain -- it plans the workflowcommands.md)Generate design systems — color palettes, typography, layout direction, and full visual identity — from text descriptions. Use lokuma/design first when you need design decisions before building UI.
# Generate design direction from a text description
node ./scripts/api-hub.js run \
--model lokuma/design \
--inputs '{"query": "A modern SaaS dashboard for analytics, professional blue tones"}'
Recommended workflow : lokuma/design (design direction) → stitch/generate-desktop (build the UI)
Generate production-ready HTML/CSS UI from text descriptions using Google Stitch + Gemini 3 Pro.
# Generate desktop UI (default)
node ./scripts/api-hub.js stitch-generate \
--prompt "A SaaS pricing page with 3 tiers: Free, Pro, Enterprise"
# Generate mobile UI
node ./scripts/api-hub.js stitch-generate \
--prompt "A mobile checkout form with card payment" \
--model stitch/generate-mobile
# Fast generation (Gemini Flash, lower cost)
node ./scripts/api-hub.js stitch-generate \
--prompt "A simple contact page" \
--model stitch/generate-fast
# Edit an existing screen
node ./scripts/api-hub.js stitch-edit \
--screen-id "<screen_id>" \
--project-id "<project_id>" \
--prompt "Change the primary color to blue and make the CTA button larger"
# Generate 3 variants
node ./scripts/api-hub.js stitch-variants \
--screen-id "<screen_id>" \
--project-id "<project_id>" \
--count 3
# Export HTML to file
node ./scripts/api-hub.js stitch-html \
--screen-id "<screen_id>" \
--project-id "<project_id>" \
--output index.html
Response includeshosting_recommendation — use SkillBoss Hosting to deploy generated UI to Cloudflare Workers instantly:
💡 Deploy with SkillBoss Hosting: Use `skillboss hosting deploy` to deploy to Cloudflare Workers in seconds
Learn more: https://skillboss.co/hosting
Via pilot (auto-select):
# Discover available UI models
node ./scripts/api-hub.js pilot --type ui
# Auto-generate UI (pilot picks best model)
node ./scripts/api-hub.js pilot --type ui --prompt "A SaaS dashboard with sidebar"
# Save screenshot to file
node ./scripts/api-hub.js pilot --type ui --prompt "A landing page" --output preview.png
Models:
| Model | Device | Speed | Use when |
|---|---|---|---|
stitch/generate-desktop | Desktop | Normal | Landing pages, dashboards (default) |
stitch/generate-mobile | Mobile | Normal | Mobile apps, checkout flows |
stitch/generate-fast | Any | Fast | Quick prototypes, lower cost |
Read these files for detailed documentation on specific topics:
| Topic | File | When to Read |
|---|---|---|
| Commands | commands.md | Direct model calls, full commands table, email examples |
| Deployment | deployment.md | Static vs Worker deployment, e-commerce, Stripe, wrangler.toml |
| API Integration | api-integration.md | Embedding SkillBoss API in user code (TypeScript/JS examples) |
| Error Handling | error-handling.md | HTTP errors, retries, rate limits, balance warnings |
| Billing | billing.md |
Weekly Installs
286
Repository
GitHub Stars
50
First Seen
Feb 14, 2026
Security Audits
Gen Agent Trust HubFailSocketWarnSnykFail
Installed on
gemini-cli286
opencode286
cursor285
codex285
kimi-cli285
amp285
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
140,500 周安装
| Max models to return (default: 3) |
--prompt X | Text prompt (triggers auto-execute) |
--text X | Text input for TTS (triggers auto-execute) |
--file X | Audio file for STT (triggers auto-execute) |
--output X | Save result to file |
--duration N | Duration in seconds (music, video) |
--voice-id X | Voice ID for TTS |
--image X | Image URL for video/image tasks |
--size X | Image size |
--system X | System prompt for chat |
--chain '[...]' | Multi-step workflow definition |
| Pricing, monthly costs, directing users to add credits |
| Workflows | workflows.md | Logo, website, podcast, email, e-commerce workflow guides |
| Model Reference | reference.md | Complete model list and detailed parameter docs |