migrate-zhin-plugin-runtime
100 / 100 · Low risk
Fine to try.
Migrate legacy Zhin.js plugins and projects to the convention-based Plugin Runtime — from usePlugin/getPlugin/addCommand/addMiddleware/addComponent/addTool/addCron/declareConfig/useContext and mutable registries to definePlugin + capability directories + Scope/Token resources. Use this whenever a Zhin plugin fails to load under `zhin runtime start`, errors with "does not default-export a Plugin definition", still imports zhin.js/@zhin.js/core/@zhin.js/kernel, or when asked to upgrade, port, mod…
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'migrate-zhin-plugin-runtime' ] || [ -L ~/.agents/skills/'migrate-zhin-plugin-runtime' ]; then echo 'A skill folder named migrate-zhin-plugin-runtime already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/zhinjs/zhin' "$d" && git -C "$d" checkout --quiet '8f0ece5afbfccf4cb833d3f082d7c37387f35ed7' -- '.github/skills/migrate-zhin-plugin-runtime' && mkdir -p ~/.agents/skills && cp -R "$d"/'.github/skills/migrate-zhin-plugin-runtime' ~/.agents/skills/'migrate-zhin-plugin-runtime' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'migrate-zhin-plugin-runtime' ~/.claude/skills/'migrate-zhin-plugin-runtime' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/zhinjs/zhin/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-13 | 8f0ece5 | 100 |
| 2026-11-08 | caf0ccb | 100 |