mirror of
https://github.com/digitalsamba/claude-code-video-toolkit.git
synced 2026-09-18 19:41:13 +08:00
79fa4c9c11
Mirror scripts/migrate_to_codex.py for Kiro CLI. Kiro shares Claude Code's SKILL.md format and $ARGUMENTS convention, so toolkit skills copy verbatim into ~/.kiro/skills and each .claude/commands/*.md gets a wrapper skill invoked as the same /video, /setup, ... slash command, pointing at the original file as source of truth. CLAUDE.md is generated into .kiro/steering/ inside a managed marker block. Skills install globally with the toolkit's absolute path pinned in each wrapper, preserving Claude Code parity: commands work from any directory, since Kiro does not walk up the tree to find workspace .kiro/ the way Claude Code finds .claude/. --workspace-skills opts into a repo-local install. TESTING: verified end to end in kiro-cli chat — all 26 skills load from the repo root and subdirectories, tab completion resolves /video, and the /video, /scene-review, /generate-voiceover, and /setup wrappers follow their original workflows through project creation and a local render. --force is idempotent; --reset removes only toolkit skills; steering preserves manual content; full cycle passes on macOS (py3.12) and Amazon Linux 2 (py3.7). Co-authored-by: Homeo <homeo@amazon.com> Co-authored-by: Conal Mullan <cmullan@digitalsamba.com>