modelhub
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "modelhub" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2ff49d88c4fe48531081fa3b4f3afdead917d6676f685b6b0d55c6a2ccee6423. Verify the upstream source and version against https://skillhub.cn/skills/user_79c3983c/modelhub before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Modelhub: VicroCode model route optimization and integration skill for searching, pricing, testing, and integrating 1000+ global models through the VicroCode API Center / user-api-center. Use this skill 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.
Introduction source: third_party · user_79c3983c · 1.0.0 Reference
SkillPi interpretation
- Tasks
- 🔒 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.
- Testing
- Not tested
Browse files
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.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 1000+ 全球模型的搜索、定价、测试和集成能力
- 解决开发者模型选型与成本控制的实际痛点
- 支持多类型模型(chat/image/video/embedding)和多种 API 格式(OpenAI/Anthropic/Gemini)
Highlights
- 触发描述完整覆盖核心使用场景
- 边界清晰,不易与其他 Skill 混淆
Areas to improve
-
缺少显式 When to Use 章节 Reported severity: Minor
文档未设置独立的 When to Use 章节,但 description 和 workflow 已充分说明使用场景
Recommendation: 可考虑添加显式 When to Use 章节以提升可读性
Highlights
- Workflow 步骤清晰完整(13 步)
- 包含端到端代码示例和安全提醒
- frontmatter 元数据完整
Highlights
- 异常处理覆盖全面(API Key、phone 验证、token 过期等)
- 不可逆操作有用户确认机制
- 安全机制完善(不暴露敏感信息、phone 验证)
- 提供专用脚本工具降低使用门槛
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 8, 21, 24, 26, 34
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- api.vicoco.cn
- api.vicrocode.com
- www.vicoco.cn
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.