modelhub
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "modelhub":https://skillpi.com/zh/skills/deepskill-2ff49d88c4fe48531081fa3b4f3afdead917d6676f685b6b0d55c6a2ccee6423。安装前核对上游来源和版本:https://skillhub.cn/skills/user_79c3983c/modelhub。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
modelhub:用于通过 VicroCode API Center / user-api-center 搜索、定价、测试和集成 1000+ 全球模型的路由优化与集成技能。当需要为 Codex 选择低成本高质量模型路由、比较中继选项、解析模型名称、创建 API 密钥,或生成兼容 OpenAI、Anthropic、Gemini、图像、视频或嵌入集成代码时使用此技能。
介绍来源: third_party · user_79c3983c · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: modelhub
description: VicroCode model route optimization and integration skill for searching, pricing, testing, and integrating 1000+ global models through VicroCode API Center / user-api-center. Use when Codex needs to choose low-cost high-quality model routes, compare relay options, resolve model names, create API keys, or generate OpenAI-compatible, Anthropic, Gemini, image, video, or embedding integration code.
metadata:
financial: true🔒 Security Notice: This skill requires API keys and phone verification for model access. All credentials are stored locally in your environment and never transmitted to third parties. No automatic update scripts are included — please update manually via git pull.
ModelHub
Version: v2026-06-12.01
Core Rules
- Default to the CN model gateway:
https://api.vicoco.cn/api/gateway/v1. - Use the global gateway only when the user explicitly asks for the international site:
https://api.vicrocode.com/api/gateway/v1. - Never invent a model ID. Prefer live model-list results from
GET /api/gateway/v1/models. - Never use local
api-gateway-packages/*/import-package.jsondata as live user-facing pricing or provider-name truth. Those packages are offline import snapshots and may use different provider slugs than production, for example a localai-comfly-chatpackage may not match a production provider namedcm. - The public
/modelsendpoint confirms model availability only. For exact price, use the authenticatedGET /api/gateway/v1/models/pricing?model=MODEL_IDendpoint. If that endpoint is unavailable, fall back to/modelsonly for availability and say live pricing cannot be read. - Assume users do not already have an API Key unless they clearly say they do. First guide them to register and verify a platform account, then create an API Key through this skill or user-api-center.
- Calling models through this skill does not require
超级个体VIP. Any registered member can use the skill after account contact verification. - Sensitive account operations through this skill require 24-hour phone-code authorization on the CN site. Sensitive operations include creating API Keys, listing API Keys, querying usage, querying logs, or testing models with a user key.
- Never ask the user to paste an API Key into chat for code examples. Use environment variables such as
VICROCODE_API_KEY. - Do not run live test calls until the user explicitly agrees, because tests may consume coins.
- If the user has no VicroCode username, verified phone, or API Key, guide them through registration, phone verification, 24-hour skill authorization, and API Key creation before testing.
- If the user asks how coins convert to RMB, use the platform rule
1 金币 = 0.01 元人民币and1 元人民币 = 100 金币. Runpython scripts/vicro_models.py coin-ratefor a repeatable answer. Do not infer a different rate from recharge bonus packages.
Workflow
- Identify the target use case: chat, coding, image, image edit, video, embedding, Anthropic native messages, Gemini native generateContent, or another endpoint.
- Ask for missing high-impact constraints: preferred vendor, quality versus cost priority, latency tolerance, streaming need, context length, and whether their VicroCode account is registered with a verified phone.
- Load
references/vicrocode-model-gateway.mdwhen implementing or explaining API details. - If the user has not configured the API Key yet, print or summarize the setup guide:
python scripts/vicro_models.py guide - For creating API Keys, listing API Keys, checking usage, checking logs, or running tests without an existing API Key, start phone authorization:
python scripts/vicro_models.py auth-start PHONE python scripts/vicro_models.py auth-verify PHONE CODEStore the returned token in
VICROCODE_SKILL_AUTH_TOKEN. The token expires after 24 hours. - If the user wants the skill to create an API Key, run:
python scripts/vicro_models.py --skill-auth-token-env VICROCODE_SKILL_AUTH_TOKEN keys-create --name "Codex Skill"The full API Key is returned only once. Tell the user to store it in
VICROCODE_API_KEY, then avoid reprinting it. - Fetch the live model list only after API Key setup is available:
python scripts/vicro_models.py --api-key-env VICROCODE_API_KEY list - If the user supplies a loose model name such as
sora2, normalize and search:python scripts/vicro_models.py --api-key-env VICROCODE_API_KEY search sora2 - If several exact-looking candidates exist, list them with the tradeoff you can infer from endpoint type, vendor/name, and available pricing metadata. Ask which one to use before editing code.
- If the user asks for price, run
price MODEL. Treatbilling_optionsas authoritative and show each option separately, for example按次and按秒. If/models/pricingis unavailable, only confirm model availability and do not infer live price from local import packages. - If the user asks how much one coin is worth, run:
python scripts/vicro_models.py coin-rate - Generate integration code using the exact endpoint family:
- OpenAI-compatible chat:
/chat/completions - Image generation:
/images/generations - Image edit:
/images/edits - Video task creation:
/videos/generations - Video task polling:
/videos/generations/{task_id} - Embeddings:
/embeddings - Anthropic native: base
https://api.vicoco.cn/api/gateway, route/v1/messages - Gemini native:
/gemini/models/{model}:generateContent
- OpenAI-compatible chat:
- Offer a live smoke test only after the user confirms. Use
test-chatfor chat models,test-videofor video task creation, andpoll-videofor existing video tasks. Clearly state that live creation can consume coins.
Model Advice
- For cheap tests, prefer smaller or lite models when the live list contains names such as
mini,flash,lite,haiku,8b, orsmall. - For stronger reasoning or coding, prefer models with names such as
sonnet,opus,pro,max,coder,reasoning,thinking, or higher dated versions. - For image/video, do not assume chat endpoints. Use the model detail or endpoint family from the API Center before writing code.
- When price data is not available from the live API Center pricing response, say so directly. Do not present offline package values as current production prices.
- If a video model returns multiple billing options, ask the user to choose a route family before integration.
按次is simpler for fixed task pricing;按秒is better when duration controls cost but requires passingduration,duration_seconds, orseconds.
Registration And API Key Help
If the user has no API Key or cannot access API Center:
- For CN/default users, direct them to
https://www.vicoco.cn/register-login. - Tell them any registered member can use this skill after account contact verification;
超级个体VIP is not required for skill-based model calls. - Tell CN users to bind and verify a phone number on the platform before using sensitive skill operations.
- For sensitive skill operations, ask for the phone number only after explaining why it is needed, then run
auth-start PHONE. The platform sends a verification code if the phone belongs to a verified VicroCode account. - After the user provides the code, run
auth-verify PHONE CODEand store the returned token inVICROCODE_SKILL_AUTH_TOKENfor 24 hours. - Use
keys-createto create an API Key when needed. Remind them the full key is shown only once and should be stored inVICROCODE_API_KEY. - If they prefer the website UI, tell them to open
用户中心 -> API中心 -> 我的API -> 新建 API Key.
Sensitive Operation Safety
- Do not treat phone possession as login. Use only the platform's skill-auth token returned after code verification.
- Do not use skill-auth for unrelated account actions. It is only for modelhub API Key creation/listing, usage query, log query, and explicit model tests.
- Do not reveal existing API Key plaintext through this skill. Creating a new key may return the plaintext once; later list operations should show only masked prefixes.
- If the authorization token is missing or expired, ask the user to repeat
auth-startandauth-verify. - If the user asks to send many codes, refuse and explain that the platform rate limits by user, phone, and IP to prevent abuse.
Useful Script
Use scripts/vicro_models.py for repeatable API access:
guide: print registration, phone verification, 24-hour skill authorization, and API Key setup guidance.auth-start PHONE: send a phone verification code for 24-hour skill authorization.auth-verify PHONE CODE: verify the phone code and return a 24-hour skill authorization token.me: show the account attached to the current skill authorization token.keys-list: list API Keys for the authorized account without revealing plaintext.keys-create: create an API Key for the authorized account and print the plaintext once.usage: query API Center usage summary for the authorized account.logs: query recent API Center call logs for the authorized account.list: fetch and print model IDs.search QUERY: fetch models and rank likely matches.price MODEL: fetch live model pricing, route groups, and mixed billing options from/models/pricing; fall back to availability-only when that endpoint is not deployed.coin-rate: print the VicroCode coin-to-RMB conversion rule and optionally convert--coinsor--cnyamounts.test-chat MODEL: run a minimal chat completion after explicit user approval.test-video MODEL: create a minimal video generation task after explicit user approval.poll-video TASK_ID: poll an existing video generation task without creating a new one.
The script uses only Python standard library modules.
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供 1000+ 全球模型的搜索、定价、测试和集成能力
- 解决开发者模型选型与成本控制的实际痛点
- 支持多类型模型(chat/image/video/embedding)和多种 API 格式(OpenAI/Anthropic/Gemini)
亮点
- 触发描述完整覆盖核心使用场景
- 边界清晰,不易与其他 Skill 混淆
待提升项
-
缺少显式 When to Use 章节 原报告严重程度:轻微
文档未设置独立的 When to Use 章节,但 description 和 workflow 已充分说明使用场景
改进建议:可考虑添加显式 When to Use 章节以提升可读性
亮点
- Workflow 步骤清晰完整(13 步)
- 包含端到端代码示例和安全提醒
- frontmatter 元数据完整
亮点
- 异常处理覆盖全面(API Key、phone 验证、token 过期等)
- 不可逆操作有用户确认机制
- 安全机制完善(不暴露敏感信息、phone 验证)
- 提供专用脚本工具降低使用门槛
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 8, 21, 24, 26, 34 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- api.vicoco.cn
- api.vicrocode.com
- www.vicoco.cn
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。