llm-model-migration-planner

使用实时 OpenRouter 元数据对比当前与目标大语言模型,量化上下文长度、模态支持、参数量、工具调用、结构化输出能力及成本差异,并生成按风险排序的迁移与回滚计划。适用于模型升级、供应商切换、模型弃用响应、成本优化、提示词可移植性保障、能力退化检测或分阶段 AI 模型发布等场景。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "llm-model-migration-planner":https://skillpi.com/zh/skills/deepskill-0932d42c35baa9c29a742eee1878402b5dce444cca0f93cc3000acb7cb9902ef。安装前核对上游来源和版本:https://skillhub.cn/skills/user_b26bd65e/llm-model-migration-planner-b26bd65e。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

使用实时 OpenRouter 元数据对比当前与目标大语言模型,量化上下文长度、模态支持、参数量、工具调用、结构化输出能力及成本差异,并生成按风险排序的迁移与回滚计划。适用于模型升级、供应商切换、模型弃用响应、成本优化、提示词可移植性保障、能力退化检测或分阶段 AI 模型发布等场景。

0 下载

介绍来源: third_party · user_b26bd65e · 1.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: llm-model-migration-planner
description: Compare current and target LLMs using live OpenRouter metadata, quantify context, modality, parameter, tool, structured-output, and cost differences, then produce a risk-ranked migration and rollback plan. Use for model upgrades, provider switches, deprecation response, cost optimization, prompt portability, capability regression checks, or staged AI model rollouts.
slug: llm-model-migration-planner-b26bd65e
displayName: LLM 模型迁移与兼容性规划器
version: 1.0.1
summary: 实时比较两个大模型的能力、上下文、价格与参数兼容性,生成风险分级、验证清单、灰度发布和回滚方案。
license: MIT

LLM Model Migration Planner

Use live catalog data and explicit workload requirements. Do not claim that metadata comparison proves output quality equivalence.

Quick start

Run from this skill directory:

python scripts/compare_models.py \
  --source google/gemini-2.5-flash \
  --target z-ai/glm-5.2 \
  --required-parameter tools \
  --required-parameter structured_outputs \
  --monthly-requests 100000 \
  --input-tokens 2000 \
  --output-tokens 500

Use python3 when required. Add --json for machine-readable output.

Migration workflow

  1. Identify the exact source and target model IDs. If the script reports ambiguity, choose from its candidate IDs instead of guessing.
  2. Inventory real application requirements before comparing:
    • Input/output modalities.
    • Minimum context length.
    • Tools, reasoning, JSON schema, seed, log probabilities, or other used parameters.
    • Typical input/output tokens and monthly request volume.
    • Latency, regional, privacy, and provider requirements not present in the public catalog.
  3. Pass critical capabilities with repeated --required-parameter and --required-modality flags. Treat missing required capabilities as blockers.
  4. Review the compatibility report and projected monthly model cost.
  5. Use the generated staged plan: contract tests, golden-set evaluation, shadow traffic, canary rollout, monitoring, and rollback.
  6. Keep the original model available until target quality, safety, latency, and cost have been measured on representative traffic.

Interpret risks

  • BLOCKER: the target lacks an explicitly required modality or parameter, or violates the minimum context.
  • HIGH: major context reduction or projected cost increase above 2×.
  • MEDIUM: implicit capability regression such as losing tools or structured outputs, or cost increase above 1.5×.
  • INFO: capability additions, lower projected cost, or non-blocking metadata differences.

Treat price calculations as estimates. They exclude provider-specific discounts, caching, reasoning tokens, web search, media, and per-request fees unless included in catalog prompt/completion pricing.

Quality and safety validation

Metadata cannot predict answer quality. Build an evaluation set from real sanitized tasks and compare:

  • Task success and factual accuracy.
  • Structured-output validity and tool-call correctness.
  • Refusal, safety, and prompt-injection behavior.
  • P50/P95 latency, timeout, and retry rate.
  • Input/output token usage and actual billed cost.
  • Chinese language quality and domain terminology.

Do not send production data to a new provider before privacy, retention, residency, and contractual requirements are approved.

Read references/migration-evaluation.md when designing the evaluation set, rollout gates, or rollback thresholds.

当前收录版本

1.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 解决大模型迁移这一高频刚需工程痛点,覆盖能力对比、成本测算、风险评估与回滚方案
  • 适用于模型升级、供应商切换、弃用响应等多种实际场景,受众广泛
触发精准95/100

亮点

  • 触发描述清晰完整,涵盖多种使用场景和核心能力,边界明确无歧义
结构规范95/100

亮点

  • 文档结构完整,包含快速开始、工作流、风险定义和验证说明,提供端到端示例
执行可靠90/100

待提升项

  • 引用文件缺失 原报告严重程度:轻微

    SKILL.md 引用了 references/migration-evaluation.md 文件,但该文件未在 Skill 包中提供

    改进建议:请补充 references/migration-evaluation.md 文件,或移除对该文件的引用

亮点

  • 工具来源明确,参数定义清晰,对关键风险有 blocker 机制,对生产切换有明确警告
证据可验 (前四项均值)94/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。