Migration Dashboard 标志

Migration Dashboard

社区
zuharz
migration-dashboard

Codex-native migration analysis dashboard for Claude→Codex skills and agents. Reads `migration-state.json` to report progress, drift, velocity, nativeness-review state, validator results, and next-batch recommendations. Use for "migration status", "what should I migrate next", "migration progress", or "migration dashboard".

Add to TypingMind

概览

发布者zuharz
代码仓库ccode-to-codex
技能名称migration-dashboard
星标数
76
复刻数
5
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 zuharz 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Migration Dashboard AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/zuharz/ccode-to-codex/tree/main/.codex/skills/migration-dashboard
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zuharz/ccode-to-codex.git /tmp/ccode-to-codex
mkdir -p .claude/skills
cp -r /tmp/ccode-to-codex/.codex/skills/migration-dashboard .claude/skills/migration-dashboard
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Migration Dashboard,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Migration Dashboard。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Migration Dashboard 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Migration Dashboard

Purpose: Answer "where are we, what drifted, what should be migrated next, and when should nativeness review take over?" from the tracker plus live repo state.

Conversation-First Entry

Bare dashboard requests should open with intent routing, not raw flags. Follow the shared contract at ../migrate-to-codex/references/conversational-migration-contract.md.

Default menu for underspecified requests:

  1. Status
  2. What should I migrate next?
  3. Review nativeness backlog
  4. Show unreviewed migrated artifacts
  5. Show migrated agents needing nativeness review
  6. Show migrated skills needing nativeness review
  7. Validate migrated artifacts
  8. Refresh tracker and show status

Routing rules:

  • If the user already says what next, review nativeness, unreviewed migrated artifacts, agents needing nativeness review, skills needing nativeness review, validate migrations, or refresh, route directly.
  • In Plan mode, use request_user_input only for the action choice.
  • Outside Plan mode, render the same menu as numbered text.
  • Require explicit confirmation before --refresh because it writes the tracker file.
  • After any non-empty nativeness queue, stay inside that queue subtree and prompt for review next, review <number>, review <name>, or back.
  • Bare numbers are reserved for the root dashboard menu; queue picks must use the review ... prefix.

Advanced CLI

  • Canonical front door: python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py
  • python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py
  • python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py --plan
  • python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py --review-backlog
  • python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py --unreviewed --json
  • python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py --agent-nativeness
  • python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py --skill-nativeness
  • python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py --validate --json
  • python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py --refresh --json
  • Power-user raw analyzer: python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py --json

Sandbox Policy

Recommended mode: workspace-write

Rationale: the dashboard reads repo state and tracker data, and --refresh updates migration-state.json through the repo tracker script.

Runtime Contract

  1. Preserve direct script execution. This workflow is script-driven, not sub-agent-driven for status, planning, validation, and refresh modes.
  2. The analyzer is the source of truth for status, planning, drift, velocity, and validator aggregation.
  3. Shared tracker-state helpers live in tools/migration_support/; analyzer scripts bootstrap that package before importing tracker helpers.
  4. Mode routing stays stable:
    • default / --status: structural progress, nativeness-review state, tier breakdown, drift, velocity
    • --plan: next batch recommendation with dependency ordering
    • --review-backlog: prioritized nativeness-review queue across skills and agents
    • --unreviewed: exhaustive pending nativeness-review queue across migrated skills and agents
    • --agent-nativeness: migrated agents currently parked in pending_native_review
    • --skill-nativeness: migrated skills currently parked in pending_native_review
    • --validate: validator pass/fail across migrated skills plus review-state context
    • --refresh: tools/migration_support/tracker.py --write, then status
  5. Tracker data comes from migration-state.json. Missing or malformed tracker state is a first-class UX case: explain it briefly, offer the repair action, and do not collapse into an opaque stack trace.
  6. Queue-selection state should come from the analyzer's JSON contract, not by reparsing rendered text. Cache the most recent displayed queue with session-scoped state such as session_state_store in the parent chat workflow so review next, review <number>, and review <name> resolve deterministically.
  7. A queued nativeness review is bounded orchestration work. When the user says review next, review <number>, or review <name> for a displayed queue, this workflow is authorized to route into the sibling migration skill's read-only nativeness-review flow without asking for a second delegation confirmation.
  8. File edits use apply_patch only when maintaining the skill package or the analyzer script itself.
  9. Structured analyzer results may include an additive recommended_action field. Treat it as the top-level routing hint for chat-first UX, but do not break callers that only rely on items, blockers, next_actions, or selection.

Scripts

ScriptPurpose
.codex/skills/migration-dashboard/scripts/analyze_migration.pyTracker-driven migration dashboard with status, planning, drift, velocity, and validation modes
.codex/skills/migration-dashboard/scripts/analyze_migration.pyStable repo-level entrypoint for the dashboard analyzer

Workflow

1. Resolve User Intent to Mode

Map the request to analyzer flags before running anything.

User saysRun
migration status, migration dashboard, no mode(no flags)
what should I migrate next, plan batch--plan
review nativeness, nativeness backlog, what should I review next--review-backlog
show unreviewed migrated artifacts, what is still unreviewed--unreviewed
show migrated agents needing nativeness review, agent nativeness queue--agent-nativeness
show migrated skills needing nativeness review, skill nativeness queue--skill-nativeness
validate migrations, check migration quality--validate
refresh migration tracker, update tracker and show status--refresh

Pass through supported options unchanged:

  • --batch N
  • --all
  • --no-color

For bare requests, present the action menu from the shared conversational contract instead of defaulting straight to a status dump.

2. Run the Analyzer Directly

Execute the skill-owned script with python3:

bash
python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py [args]

Do not redesign this into a plan flow or a delegation workflow. The preserved behavior is a single analyzer command plus interpretation.

3. Interpret the Output

Read the analyzer output by mode:

  • Status: structural progress, nativeness-review state, pending-tier breakdown, velocity, drift alerts, and ignored policy exclusions.
  • Plan: ready skills ordered by unblock impact, blocked skills with the first missing dependency, and ignored skills listed separately.
  • Review backlog: prioritized nativeness-review queue with agents first, then trust level, then skill tier.
  • Unreviewed: all migrated skills and agents still waiting on nativeness review, grouped by artifact type.
  • Agent nativeness: pending nativeness-review queue restricted to migrated agents.
  • Skill nativeness: pending nativeness-review queue restricted to migrated skills.
  • Validate: per-skill validator pass/fail for migrated Codex skills plus whether each artifact is pending review, reviewed native, or reviewed compatible-but-not-native.
  • Refresh: tracker update first, then the same status interpretation as default.

Chat-first recommendation rules:

  • If drift exists, drift repair is the primary recommendation.
  • If actionable migration backlog is zero but nativeness-review backlog is non-zero, review nativeness backlog becomes the primary recommendation in status, plan, and validate modes.
  • If ready migration backlog remains, planning or migration stays primary and nativeness review stays secondary.

Nativeness queue interaction rules:

  • If the queue is non-empty, number the rows and recommend one next item.
  • For queue modes, prefer python3 .codex/skills/migration-dashboard/scripts/analyze_migration.py --json so the workflow can store the structured selection payload directly.
  • Cache the most recent displayed queue snapshot with:
    • scope.mode_name
    • displayed artifact_ids and display_index
    • selection.recommended_artifact_id
    • timestamp
  • End the turn with:
    • review next
    • review <number>
    • review <name>
    • back
  • review <number> resolves only against the most recent displayed queue.
  • If no valid cached queue exists, fail closed and ask the user to reopen the queue instead of guessing.
  • Treat the displayed queue as a finite session queue. After a review outcome is recorded, re-render the same queue minus the handled item; when it is exhausted, show a done state and require back before returning to the root menu.
  • If the queue is truncated, say exact-name selection only works for items shown in the current session queue. Hidden items require backing out and reopening the queue.
  • If tracker integrity is blocked, suppress queue selection and recommended_action payloads, tell the user to run python3 tools/migration_support/tracker.py --write, and do not route review next, review <number>, or review <name> until the tracker is repaired.

4. Offer the Next Action

After reporting the analyzer output:

  • If drift is detected, suggest rerunning $migrate-to-codex for drifted skills.
  • If --plan shows blockers, point out the single migration that unblocks the most downstream work.
  • If --plan shows ignored items, treat them as backlog context only, not work to unblock.
  • If --plan shows no actionable pending items but nativeness review backlog remains, recommend review nativeness backlog instead of leaving the user in a dead-end plan screen.
  • If --review-backlog or --unreviewed returns pending items, point the user at the recommended artifact, then offer review next, review <number>, review <name>, or back.
  • If --agent-nativeness returns no items, say the agent nativeness queue is clear rather than redirecting back to migration planning.
  • If --skill-nativeness returns no items, say the skill nativeness queue is clear rather than redirecting back to migration planning.
  • If --validate fails skills, suggest re-migrating or patching those skill packages before further rollout.
  • If --validate passes and nativeness review backlog remains, recommend the backlog next and surface a short list of warning-heavy pending-review artifacts in text mode.
  • If velocity is zero and tracker history looks sparse, note that a new tracker history can suppress velocity without implying a real stall.

If the user selects a single queued artifact:

  • Route into a single-item nativeness review, not back to migration planning.
  • Agent target -> hand off to migrate-agents-to-codex review flow.
  • Skill target -> hand off to migrate-to-codex review flow.
  • Start read-only: audit first, auto-record native by default when the final result is NO_FINDINGS, and only ask the user to choose when fixes remain, only MEDIUM findings remain, or the user explicitly requested audit-only behavior.
  • Keep the dashboard as the router only. The sibling migration skill owns the spawned nativeness auditor, convergence loop, evidence handling, and tracker close-out guidance.
  • The parent thread should return a compact summary only:
    • artifact id and verdict
    • top findings or NO_FINDINGS
    • recorded review outcome when auto-recorded
    • next action
    • evidence path when available
  • Do not paste the full delegated review body back into the main thread unless the user explicitly asks for it.

5. Failure Handling

  • Missing or malformed tracker file: explain the tracker state is unavailable, then offer python3 tools/migration_support/tracker.py --write.
  • Ambiguous archived-review recovery: explain that nativeness queues are blocked until tracker state is repaired, then offer python3 tools/migration_support/tracker.py --write.
  • Missing validator: report the missing repo script path directly.
  • Timeout or subprocess errors in --validate: surface the failing skill and the truncated error output from the analyzer.

Notes

  • Tier classification is heuristic. The dashboard is for prioritization, not for bypassing skill review.
  • Status semantics:
    • blocked = unresolved dependency blockers inside the active migration backlog
    • ignored = intentionally excluded from migration policy and omitted from actionable backlog math
  • Dependency extraction only trusts explicit skill-call syntax in source skills and agent skills: frontmatter, not prose references.
  • Explicit legacy skill-call references are dependency signals for planning, not an automatic Tier 3 classifier by themselves.
  • Runtime references to .claude/ remain intentional here because the dashboard audits migration from source .claude/ artifacts into .codex/ artifacts.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Migration Dashboard AI 技能有什么作用?

Codex-native migration analysis dashboard for Claude→Codex skills and agents. Reads `migration-state.json` to report progress, drift, velocity, nativeness-review state, validator results, and next-batch recommendations. Use for "migration status", "what should I migrate next", "migration progress", or "migration dashboard".

为什么在 TypingMind 中使用 Migration Dashboard?

因为您只需安装一次,就能搭配任何模型使用。Migration Dashboard 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Migration Dashboard?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/zuharz/ccode-to-codex/tree/main/.codex/skills/migration-dashboard。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Migration Dashboard?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Migration Dashboard 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Migration Dashboard 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Migration Dashboard AI 技能免费吗?

是的。zuharz 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇