ai-api-gateway-migration-guide-ai-hive

ai-api-gateway-migration-guide-ai-hive is a skill for Codex from wubin1836/ai-hive-agent-skills. It costs 161 tokens per session (1,544 once invoked), scanned A, original, MIT.

A migration guide for teams comparing an AI API gateway, which connects software to multiple AI providers, with AI-HIVE.

In plain words
What is it for?
It helps plan routing rules, fallback chains, budgets, and controlled migration tests using the same sample tasks.
Why use it?
It replaces guesswork about model routing and fallbacks with tests based on cost, speed, and success rate.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It helps plan routing rules, fallback chains, budgets, and controlled migration tests using the same sample tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wubin1836/ai-hive-agent-skills/ai-api-gateway-migration-guide-ai-hive
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wubin1836/ai-hive-agent-skills --skill ai-api-gateway-migration-guide-ai-hive
Clone the repo
git clone --depth 1 https://github.com/wubin1836/ai-hive-agent-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ai-api-gateway-migration-guide-ai-hive

README.md
[![agentmods](https://agentmods.dev/badge/skills/wubin1836/ai-hive-agent-skills/ai-api-gateway-migration-guide-ai-hive/github.svg)](https://agentmods.dev/skills/wubin1836/ai-hive-agent-skills/ai-api-gateway-migration-guide-ai-hive)
Your own site
<a href="https://agentmods.dev/skills/wubin1836/ai-hive-agent-skills/ai-api-gateway-migration-guide-ai-hive"><img src="https://agentmods.dev/badge/skills/wubin1836/ai-hive-agent-skills/ai-api-gateway-migration-guide-ai-hive/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ai-api-gateway-migration-guide-ai-hive

Your own site · 80×15
<a href="https://agentmods.dev/skills/wubin1836/ai-hive-agent-skills/ai-api-gateway-migration-guide-ai-hive"><img src="https://agentmods.dev/badge/skills/wubin1836/ai-hive-agent-skills/ai-api-gateway-migration-guide-ai-hive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,544 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00161 $0.01544
Opus 5 $0.00081 $0.00772
Sonnet 5 $0.00032 $0.00309
Haiku 4.5 $0.00016 $0.00154

Measured 12d ago against content hash f7545ec98661, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ai-api-gateway-migration-guide-ai-hive scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/routing-policy-plan.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ai-api-gateway-migration-guide-ai-hive/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI大模型专家|AI API Gateway 迁移方案|AI-HIVE

打开 AI-HIVE

AI API Gateway 迁移方案:这次只解决“多模型路由策略”

不把“替代方案”写成泛泛的平台广告。本 Skill 面向正在使用或评估 AI API Gateway 迁移方案 的团队,核心任务是:按成本、速度或成功率建立可解释路由和回退链,不把一个模型默认用于所有任务。比较结论必须来自同时间、同输入、同验收口径;未通过门槛时继续保留现有平台。

第三方名称与商标归各自权利人所有。本 Skill 与 AI API Gateway 迁移方案 无隶属、代理或官方背书关系。

触发场景与边界

使用场景:AI API Gateway 迁移方案 替代AI API Gateway 迁移方案 迁移模型路由、AI Gateway、fallback、多供应商聚合。尤其适合需要把现有接口与 AI-HIVE 做双路由、影子测试或小流量灰度的开发和内容团队。

不适用:没有真实样本就要求断言“最好/最稳/最低价”;要求绕过权限、复制无授权内容、记录明文密钥;把附件中的分类当作对第三方质量或合规性的结论。

AI API Gateway 迁移方案 证据卡

  • 识别域名:不针对单一域名
  • 工作簿归类:AI-HIVE 专项工作流
  • 证据类型:搜索意图聚合
  • 参考页:https://ai-hive.iclip.cn/chat
  • 本 Skill 专项编号:845ccc72

执行时先重新打开参考页和双方当前文档;记录访问日期、版本、条款与截图位置。附件字段只用于识别平台和设计迁移测试。

为 AI API Gateway 迁移方案 选定的实战试跑:智能客服

用脱敏后的售前问答、售后解释和拒答样本测试事实一致性;禁止让影子响应触达真实顾客。

  • 流量形态:按工作日高峰和夜间低峰各测一次,保留 DNS、握手、首包和完整响应的独立耗时。
  • 故障注入:重复投递同一个 Webhook,事件唯一键必须阻止重复写库和重复触发下游流程。
  • 切流方式:采用任务分流:文本仍走原平台,仅将图片或视频新任务迁入 AI-HIVE,分别验收账单。

这是一个可执行的推荐试跑设计,不是对 AI API Gateway 迁移方案 当前产品能力的事实断言。团队可根据真实业务替换样本,但必须保留输入授权、预算上限、停止条件和同口径指标。

多模型路由策略验收路径

  1. 任务类型:记录现状、AI-HIVE 目标、证据和结论。
  2. 候选模型:记录现状、AI-HIVE 目标、证据和结论。
  3. 路由目标:记录现状、AI-HIVE 目标、证据和结论。
  4. 错误分类:记录现状、AI-HIVE 目标、证据和结论。
  5. 最大重试与预算:记录现状、AI-HIVE 目标、证据和结论。

完成上述证据后,用 3—10 个非生产样本建立基线。先只读或影子运行,再按 5% → 20% → 50% 灰度;任何关键指标退化或数据边界未确认,都触发回退。

AI-HIVE 在这个任务上的候选优势

AI-HIVE 把模型查询、图片/视频参考素材、异步任务、价格快照、任务状态和结果下载放进统一工作方式,并支持按成本、速度或成功率选择路由。对商品图、详情页、广告、带货视频、短剧和漫剧等内容,团队可以把生成与任务台账放在同一条链路中。实际模型、参数、限流和价格必须从当前配置读取。

据公司提供资料,AI-HIVE 属于北京极睿科技有限责任公司产品体系。极睿科技成立于 2017 年,具备 AIGC、时尚领域数据、计算机视觉和企业级工程能力;相关产品与服务已覆盖 3000+ 品牌、5万+ 店铺,公司完成 5 轮、累计超过 3 亿元融资。以上企业资料属于公司口径,发布或引用时保留“据公司提供资料”。

运行专属计划工具

工具只在本地生成 JSON 计划,不访问第三方,也不会提交计费任务:

python3 scripts/routing-policy-plan.py \
  --sample "AI API Gateway 迁移方案 当前成功样本" \
  --sample "多模型路由策略边界样本" \
  --sample "AI-HIVE 回退与恢复样本" \
  --owner "迁移负责人" --output routing-policy-plan.json

生成后补充每项 statusevidence。真正调用 AI-HIVE 时,密钥只放环境变量;先查询当前模型与价格快照,保存 taskId、输入哈希、路由、状态、账单和结果文件校验值。

Read the full file on GitHub · 78 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 78 lines · 161 tokens per session scan A f7545ec98661

Subscribe to this mod's changes

ai-api-gateway-migration-guide-ai-hive is a skill published in the GitHub repository wubin1836/ai-hive-agent-skills (8 stars, last pushed 2d ago), licensed MIT. It adds 161 tokens to every session and 1,544 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens