/huasheng:upgradefrom huasheng
Keeps hs and Huasheng Flows up to date via MCP. Handles hs upgrades, plugin refreshes, and Flow SDK/Runtime migrations when update notices appear or FLOW_RUNTIME_UPGRADE_REQUIRED is reported.
Ships in huasheng. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
hs, the plugin in this client and each Flow project upgrade separately. Updating hs never changes a Flow project, and it does not refresh this plugin's skills. Call hs_help with topic:"upgrade" for the current procedure; it wins over this text if they differ.
When any hs result carries update (the JSON field or an "Update recommended" note), tell the user in your next reply and offer to update now. An outdated hs or Runtime can stop working with the Huasheng website. If they decline, continue and mention it again at a natural stop.
hs_read upgrade --check. It installs nothing and reports from, to, up_to_date and method. hs_help also reports the running server's hs_version.hs_commit upgrade with a request_id; follow the job with hs_job. ran: false means this install cannot replace itself (npx, a project's node_modules, or Windows): give the user the returned command to run. UPGRADE_FAILED leaves the current hs in place; report its message./mcp, choose huasheng, Reconnect, or start a new session; other clients: restart the client or its MCP connection).hs_help must now report the new hs_version. If it still reports the old one, the client has not restarted the server; do not continue through the old server.The client keeps its own copy of these skills. After an hs upgrade, ask the user to refresh the plugin and start a new session:
claude plugin marketplace update huasheng
claude plugin update huasheng@huasheng
In Codex: codex plugin marketplace upgrade huasheng, then remove and add huasheng@huasheng again.
Do this for each Flow the user keeps developing, one at a time, with the absolute plugin directory as cwd.
hs_read flow upgrade --check. Report current, target, breaking and the migration notes of the breaking steps. dev_supported: false, or FLOW_RUNTIME_UPGRADE_REQUIRED from dev, means the pin can no longer run dev against the website.hs_help with topic:"flow-dev" have the details.hs_write flow upgrade (optionally --to <sdk-version>); follow the job with hs_job. It checks the upgrade on a copy and changes the project only when the build, type check and load all pass.flow dev, the project's own checks through flow shell, then flow pack. Report what you verified separately from what still needs the user's browser. Publish a new Flow version only when asked.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/flow-developmentDevelop Huasheng Flow plugins with hs MCP. Use for creating or modifying Flow agents, tools, project data or GUI code; debugging local Flow runtimes; testing, packaging or publishing a Flow (开发 Flow、调试、打包、发布). Making a video with an existing Flow uses the use-flow skill; updating hs or a Flow's SDK uses the upgrade skill./make-videoMake and edit Huasheng videos with the standard editor through hs MCP. Use when the user wants a video from a sentence, a script or a narration recording, or wants to check, edit, export or publish an existing Huasheng video (做视频、改分镜、换画面、换音色、导出、投稿). Videos made with a published Flow use the use-flow skill./use-flowFind a published Huasheng Flow and make a video with it through hs MCP. Use when the user wants to browse Flows, pick one for a request, or create, follow and export a video made with a Flow (用 Flow 做视频、找 Flow). Building or changing a Flow uses the flow-development skill.npx claudepluginhub superlcr/huasheng-cli --plugin huashengOther plugins' skills for the same job