--- name: h3-plan-gate description: Turn a story idea into a validated plan_json_input JSON for the MiniMax H3 Production Plan node (ComfyUI-MiniMaxH3-Context-Loop). Use when the user wants to plan scenes/shots for H3 video generation, write or extend a scene plan, regenerate one scene, or validate an existing H3 plan JSON. --- # H3 Plan Gate This is a stub so the skill registers with the agent harness. The real procedure lives at `h3-plan-gate/SKILL.md` in the project root (~22 KB, fits one read). Read it now and follow it top to bottom for the user's request. Hard rules that apply throughout (also in `.clinerules/`): - Run `h3-plan-gate/verify_plan_rules.py` and `h3-plan-gate/build_plan.py` — never read them (Cline truncates reads over ~48,000 characters). - Never read back one-line JSON (`build_plan.py` output, `plan_oneline.json`) — Cline cuts lines at 2,000 characters; copy or submit them with commands. - If a write is rejected over 6,000 characters, split it with the `@@CONTINUE@@` marker pattern (see the rules section of `h3-plan-gate/SKILL.md`). Never write part 2 with write_to_file — it overwrites part 1.