Agent Skill for 15–90 s motion graphics, promo and character videos: reference analysis, seven stage gates, Remotion and HyperFrames engines.
JavaScript agent-skillsai-videoclaude-codeclaude-skillscodexhyperframesmotion-graphicsopencvremotionvideo-production
feat: support Agent Skills runtimes and refresh README design (#3)
Unclejobs037061afc701
diff --git a/README.en.md b/README.en.mdindex 3bb7cd3..e10fd36 100644--- a/README.en.md+++ b/README.en.md@@ -1,15 +1,48 @@+<p>+ <img src="docs/assets/logo.svg" width="80" height="80" alt="Motion Video Production logo" />+</p>+# motion-video-production-[한국어](README.md) | [English](README.en.md)+[한국어](README.md) · **English**-A **Claude Code skill** with a workflow and review criteria for producing motion graphics and videos (30–90 seconds) from start to finish.+A **production skill in the Agent Skills format** with a workflow and review criteria for producing motion graphics and videos (30–90 seconds) from start to finish. Codex, Claude Code, and other skill-capable runtimes use the same skill folder.It includes a validation script (`harness/gate.py`, referred to below as the gate) that measures the outputs of each of the six production stages and reports pass or fail through exit codes, plus prevention tips for 29 common pitfalls (`references/gotchas.md`).-+**Jump to** · [Installation](#installation) · [Workflow](#workflow) · [Demo](#gate-demo) · [Harness](#harness) · [Tools](#required-tools)++---## Installation-Claude Code reads `~/.claude/skills/<skill name>/SKILL.md` as a skill.+### Shared installation (Codex, Claude Code, and other runtimes)++Run this from the project where you want to use the skill. Requires Node.js and npx; select the runtimes you use during installation.++```bash+npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production+```++To target Codex specifically, use the command below. Add `--global` for a personal installation.++```bash+npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production --agent codex+```++[Vercel skills CLI](https://github.com/vercel-labs/skills) handles installation locations for its supported agents, including Codex, Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Amp, Antigravity, and Windsurf. **Installation compatibility and a verified full video production run are different.** Generation tool connections, image viewing, and command execution permissions depend on the runtime environment. See [runtime installation, invocation, and verification scope](docs/runtimes.md).++<details>+<summary><strong>Manual installation (without Node.js)</strong></summary>++Codex reads project skills from `.agents/skills/` and personal skills from `~/.agents/skills/`. For a personal installation:++```bash+git clone https://github.com/unclejobs-ai/motion-video-skill.git+mkdir -p ~/.agents/skills+cp -r motion-video-skill/skills/motion-video-production ~/.agents/skills/+```++Claude Code reads project skills from `.claude/skills/` and personal skills from `~/.claude/skills/`. The original installation command still works:```bashgit clone https://github.com/unclejobs-ai/motion-video-skill.git@@ -17,24 +50,33 @@ mkdir -p ~/.claude/skillscp -r motion-video-skill/skills/motion-video-production ~/.claude/skills/```-To use it only in a specific project, copy the same folder into `.claude/skills/` inside that project.-After copying it, restart Claude Code and make a request like this to invoke the skill:+To use it only in a specific project, copy the same folder into that runtime's project skill directory. Avoid installing the same skill name in multiple locations for one runtime.++</details>++### First request++After installation, confirm `motion-video-production` appears in the runtime's skill list. Restart the runtime if it does not appear. Invoke it explicitly with `$motion-video-production` in Codex or `/motion-video-production` in Claude Code and Cursor, or make a request like this:> I want to make a 30-second opening video featuring a character.-Claude first asks about four things (how the video will be published, duration and aspect ratio, available tools, and prohibited elements), then works through the stages in order, starting with `STORY.md`.+The agent first asks about four things (how the video will be published, duration and aspect ratio, available tools, and prohibited elements), then works through the stages in order, starting with `STORY.md`. If generation tools are unavailable, it provides prompts and continues with files generated by the user. If it cannot view images, it asks for the user's actual visual review.## Workflow++1. The skill creates the stage outputs (`STORY.md`, `character.txt`, `key/`, `clip/`, `voices.json`, `edit.json`).-2. At the end of each stage, run `python3 harness/gate.py <stage> <project-folder>`.+2. Set `SKILL_ROOT` to the parent directory of the installed `SKILL.md` and `PROJECT_ROOT` to the output project directory. At the end of each stage, run `python3 "$SKILL_ROOT/harness/gate.py" <stage> "$PROJECT_ROOT"`.3. Exit code 0 means you can move to the next stage. If the exit code is 1 (BLOCK), read the BLOCK lines in `qa/gate-<stage>.txt`, fix the outputs, and run the same gate again.4. The script cannot judge checks that require visual inspection. Passing requires review records (`qa/clips-review.md`, `qa/review.md`) written after inspecting the frame strips.-+### Gate demoThis is an example of running `gate.py clips`. Without a visual review record, it returns BLOCK (exit code 1); with the record, it returns PASS (exit code 0). Write the record after opening the frame strip image (`qa/strip-<clip>.png`).++## Harness@@ -58,7 +100,7 @@ Image similarity scores such as SSIM cannot distinguish character movement from### Harness check-After installation, run `bash skills/motion-video-production/harness/selftest.sh`. Exit code 0 means the gates work correctly on this computer. (Requires ffmpeg, ffprobe, and Python 3.)+From the repository folder, run `bash skills/motion-video-production/harness/selftest.sh`. To check an installed copy, run `bash "$SKILL_ROOT/harness/selftest.sh"`. Exit code 0 means the selftest cases behave as expected on this computer. (Requires Bash, ffmpeg, ffprobe, and Python 3.)## Seven criteria for character consistency@@ -83,8 +125,9 @@ Free usage limits and commercial use terms are summarized in `NOTICE.md` and det| Tool | Purpose ||---|---|-| Claude Code | Production workflow and assembly |-| ffmpeg, Python 3 | Running the harness and scripts |+| Codex, Claude Code, and other skill-capable agents | Production workflow and assembly |+| ffmpeg, ffprobe, Python 3 | Running the harness and scripts |+| Bash (macOS/Linux, WSL on Windows) | Running `.sh` scripts || Node.js + Remotion | Motion graphics and assembly || ChatGPT / Grok Imagine | Image and video generation || Suno | Music |@@ -99,8 +142,10 @@ README.en.md English READMELICENSE MITNOTICE.md Summary of external tool guidancedocs/assets/ README images+docs/runtimes.md Runtime installation, invocation, and verification scopeskills/motion-video-production/ Skill folder to install (everything below is copied together)SKILL.md Skill instructions+ agents/openai.yaml Codex display name and invocation examplereferences/ Seven consistency criteria, beat grid, cost rules, tool notes, gotchas, licensing (external tool terms of use)harness/ gate.py (per-stage pass/fail checks), selftest.sh (harness self-check)scripts/ dupcheck.py, clipsheet.sh, key-plate.sh, mix-mux.sh, verify.sh, beat-grid.pydiff --git a/README.md b/README.mdindex 72610b5..bccbe78 100644--- a/README.md+++ b/README.md@@ -1,15 +1,48 @@+<p>+ <img src="docs/assets/logo.svg" width="80" height="80" alt="Motion Video Production 로고" />+</p>+# motion-video-production-[한국어](README.md) | [English](README.en.md)+**한국어** · [English](README.en.md)-모션 그래픽과 영상(30~90초)을 처음부터 끝까지 만드는 순서와 점검 기준을 담은 **Claude Code 스킬**입니다.+모션 그래픽과 영상(30~90초)을 처음부터 끝까지 만드는 순서와 점검 기준을 담은 **Agent Skills 형식의 제작 스킬**입니다. Codex, Claude Code 및 다른 스킬 지원 런타임에서 같은 스킬 폴더를 사용합니다.제작 6단계마다 산출물을 측정해 통과 여부를 종료 코드로 판정하는 검사 스크립트(`harness/gate.py`, 이하 게이트)와, 자주 생기는 함정 29가지의 예방법(`references/gotchas.md`)이 들어 있습니다.-+**바로 가기** · [설치](#설치) · [사용 흐름](#사용-흐름) · [실행 예시](#게이트-실행-예시) · [하네스](#하네스) · [필요한 도구](#필요한-도구)++---## 설치-Claude Code는 `~/.claude/skills/<스킬 이름>/SKILL.md`를 스킬로 읽습니다.+### 공통 설치 (Codex·Claude Code·다른 런타임)++스킬을 사용할 프로젝트 폴더에서 실행합니다. Node.js와 npx가 필요하며, 사용할 런타임을 선택해 설치합니다.++```bash+npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production+```++Codex만 지정하려면 아래처럼 실행합니다. 개인 범위로 설치하려면 `--global`을 추가합니다.++```bash+npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production --agent codex+```++[Vercel skills CLI](https://github.com/vercel-labs/skills)가 Codex, Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Amp, Antigravity, Windsurf 등 지원 대상의 설치 위치를 처리합니다. **설치 호환성과 전체 영상 제작 검증은 다릅니다.** 생성 도구 연결과 이미지 보기·명령 실행 권한은 각 런타임 환경에 달려 있습니다. [런타임별 설치·호출과 검증 범위](docs/runtimes.md)를 참고합니다.++<details>+<summary><strong>수동 설치 (Node.js 없이)</strong></summary>++Codex는 프로젝트 `.agents/skills/`와 개인 `~/.agents/skills/`에서 스킬을 읽습니다. 아래는 개인 설치 예시입니다.++```bash+git clone https://github.com/unclejobs-ai/motion-video-skill.git+mkdir -p ~/.agents/skills+cp -r motion-video-skill/skills/motion-video-production ~/.agents/skills/+```++Claude Code는 프로젝트 `.claude/skills/`와 개인 `~/.claude/skills/`에서 스킬을 읽습니다. 기존 설치 명령도 계속 사용할 수 있습니다.```bashgit clone https://github.com/unclejobs-ai/motion-video-skill.git@@ -17,24 +50,33 @@ mkdir -p ~/.claude/skillscp -r motion-video-skill/skills/motion-video-production ~/.claude/skills/```-특정 프로젝트에서만 쓰려면 프로젝트 폴더의 `.claude/skills/` 아래에 같은 폴더를 복사합니다.-복사한 뒤 Claude Code를 새로 시작하고 아래처럼 요청하면 스킬이 호출됩니다.+특정 프로젝트에서만 쓰려면 해당 프로젝트의 런타임별 스킬 폴더 아래에 같은 폴더를 복사합니다. 한 런타임에 같은 이름을 여러 경로로 중복 설치하지 않습니다.++</details>++### 첫 요청++설치한 뒤 런타임의 스킬 목록에서 `motion-video-production`을 확인합니다. 보이지 않으면 런타임을 새로 시작합니다. Codex에서는 `$motion-video-production`, Claude Code와 Cursor에서는 `/motion-video-production`으로 명시적으로 호출하거나 아래처럼 요청합니다.> 캐릭터가 나오는 30초짜리 오프닝 영상을 만들고 싶어.-Claude가 먼저 4가지(공개 방식, 길이와 화면비, 쓸 수 있는 도구, 금지 요소)를 묻고, `STORY.md`부터 단계 순서대로 진행합니다.+에이전트가 먼저 4가지(공개 방식, 길이와 화면비, 쓸 수 있는 도구, 금지 요소)를 묻고, `STORY.md`부터 단계 순서대로 진행합니다. 생성 도구가 없으면 프롬프트를 전달하고 사용자가 생성한 파일을 받아 이어갑니다. 이미지를 볼 수 없으면 사용자의 실제 눈 검수를 요청합니다.## 사용 흐름++1. 스킬이 단계 산출물을 만듭니다 (`STORY.md`, `character.txt`, `key/`, `clip/`, `voices.json`, `edit.json`).-2. 단계가 끝나면 `python3 harness/gate.py <단계> <프로젝트폴더>`를 실행합니다.+2. 설치된 `SKILL.md`의 부모 폴더를 `SKILL_ROOT`, 산출물 폴더를 `PROJECT_ROOT`로 정하고, 단계가 끝나면 `python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"`를 실행합니다.3. 종료 코드 0이면 다음 단계로 넘어갑니다. 1(BLOCK)이면 `qa/gate-<단계>.txt`의 BLOCK 줄을 읽고 산출물을 고쳐 같은 게이트를 다시 실행합니다.4. 눈으로 봐야 하는 검사는 스크립트가 판정할 수 없습니다. 프레임 스트립을 보고 남긴 기록 파일(`qa/clips-review.md`, `qa/review.md`)이 있어야 통과합니다.-+### 게이트 실행 예시`gate.py clips` 실행 예시입니다. 눈 검수 기록이 없어서 BLOCK(종료 코드 1)이 나오고, 기록을 남기면 PASS(종료 코드 0)가 됩니다. 기록은 프레임 스트립 이미지(`qa/strip-<클립>.png`)를 연 뒤에 씁니다.++## 하네스@@ -58,7 +100,7 @@ SSIM 같은 화면 유사도 값은 인물의 움직임과 인물의 변형을### 하네스 점검-설치한 뒤 `bash skills/motion-video-production/harness/selftest.sh`를 실행합니다. 종료 코드 0이면 이 컴퓨터에서 게이트가 정상 동작합니다. (ffmpeg, ffprobe, Python 3 필요)+저장소 폴더에서 `bash skills/motion-video-production/harness/selftest.sh`를 실행합니다. 설치된 사본을 점검하려면 `bash "$SKILL_ROOT/harness/selftest.sh"`를 실행합니다. 종료 코드 0이면 이 컴퓨터에서 셀프테스트의 검사 사례가 기대대로 동작합니다. (Bash, ffmpeg, ffprobe, Python 3 필요)## 캐릭터 일관성 7가지@@ -83,8 +125,9 @@ SSIM 같은 화면 유사도 값은 인물의 움직임과 인물의 변형을| 도구 | 용도 ||---|---|-| Claude Code | 제작 진행·조립 |-| ffmpeg, Python 3 | 하네스·스크립트 실행 |+| Codex, Claude Code 등 스킬 지원 에이전트 | 제작 진행·조립 |+| ffmpeg, ffprobe, Python 3 | 하네스·스크립트 실행 |+| Bash (macOS/Linux, Windows는 WSL) | `.sh` 스크립트 실행 || Node.js + Remotion | 모션 그래픽·조립 || ChatGPT / Grok Imagine | 이미지·영상 생성 || Suno | 음악 |@@ -95,11 +138,14 @@ SSIM 같은 화면 유사도 값은 인물의 움직임과 인물의 변형을```README.md+README.en.md 영문 READMELICENSE MITNOTICE.md 외부 도구 안내 요약docs/assets/ README 이미지+docs/runtimes.md 런타임별 설치·호출과 검증 범위skills/motion-video-production/ 설치하는 스킬 폴더 (아래 전체가 함께 복사됩니다)SKILL.md 스킬 본문+ agents/openai.yaml Codex 표시 이름·호출 예시references/ 일관성 7가지, 박 격자, 비용 규칙, 도구 메모, gotchas, licensing(외부 도구 이용 조건)harness/ gate.py(단계별 통과 여부 판정), selftest.sh(하네스 자체 검증)scripts/ dupcheck.py, clipsheet.sh, key-plate.sh, mix-mux.sh, verify.sh, beat-grid.pydiff --git a/docs/assets/logo.svg b/docs/assets/logo.svgnew file mode 100644index 0000000..50ee5da--- /dev/null+++ b/docs/assets/logo.svg@@ -0,0 +1,9 @@+<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160" fill="none" role="img" aria-labelledby="title desc">+ <title id="title">Motion Video Production</title>+ <desc id="desc">Three offset video frames converge on an orange frame with a play symbol.</desc>+ <rect width="160" height="160" rx="28" fill="#FAF9F6"/>+ <path d="M30 95V38H108" stroke="#171714" stroke-width="7" stroke-linecap="square"/>+ <path d="M42 108V51H120" stroke="#171714" stroke-width="7" stroke-linecap="square"/>+ <rect x="54" y="64" width="78" height="57" fill="#FF5D0A"/>+ <path d="M83 78L107 92.5L83 107V78Z" fill="#171714"/>+</svg>diff --git a/docs/runtimes.md b/docs/runtimes.mdnew file mode 100644index 0000000..71ca669--- /dev/null+++ b/docs/runtimes.md@@ -0,0 +1,70 @@+# Runtime installation and invocation++[한국어 README](../README.md) | [English README](../README.en.md)++The source of truth is `skills/motion-video-production/`. Its `SKILL.md`, references, templates, harness, and scripts are shared by all runtimes. The repository does not include model API adapters, service credentials, media generation connectors, or Remotion compositions.++## Install for the runtimes you use++Run the following in your video project directory, then select your installed agents:++```bash+npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production+```++To choose specific agents without installing to every supported target:++```bash+npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production --agent codex claude-code gemini-cli cursor github-copilot opencode amp antigravity windsurf+```++Add `--global` for personal scope. The default project scope keeps the installation local to that project. The CLI's default symlink method shares one canonical copy. Install only for agents you use; do not add another copy where the same runtime already discovers this skill.++| Runtime | `--agent` value | Discovery/invocation reference |+|---|---|---|+| Codex | `codex` | [Codex skills](https://learn.chatgpt.com/docs/build-skills); project `.agents/skills/`, personal `~/.agents/skills/`; invoke `$motion-video-production` |+| Claude Code | `claude-code` | [Claude Code skills](https://code.claude.com/docs/en/skills); `.claude/skills/`, `~/.claude/skills/`; invoke `/motion-video-production` |+| Gemini CLI | `gemini-cli` | [Gemini CLI skills](https://geminicli.com/docs/cli/skills/); `.gemini/skills/` or `.agents/skills/`, `~/.gemini/skills/` or `~/.agents/skills/`; inspect with `/skills list`, request use of the skill and approve activation when asked |+| Cursor | `cursor` | [Cursor skills](https://cursor.com/docs/context/skills); `.cursor/skills/` or `.agents/skills/`, `~/.cursor/skills/` or `~/.agents/skills/`; invoke `/motion-video-production` |+| GitHub Copilot | `github-copilot` | [Copilot customization](https://docs.github.com/en/copilot/reference/customization-cheat-sheet); confirm skills in your Copilot surface, then request use of `motion-video-production` |+| OpenCode | `opencode` | [OpenCode skills](https://opencode.ai/docs/skills/); request use of `motion-video-production` |+| Amp | `amp` | [Amp skills](https://ampcode.com/docs/customize/skills); request use of `motion-video-production` |+| Antigravity | `antigravity` | [Antigravity skills](https://antigravity.google/docs/skills); request use of `motion-video-production` |+| Windsurf | `windsurf` | [Cascade skills](https://docs.windsurf.com/windsurf/cascade/skills); invoke `@motion-video-production` |++The [Vercel skills CLI supported-agent list](https://github.com/vercel-labs/skills#supported-agents) covers additional runtimes such as Cline, Continue, Roo Code, Kilo Code, Kiro CLI, Qwen Code, and others. Select their documented `--agent` identifier to install the same package. This is installer compatibility, not a claim that each runtime has completed an end-to-end video production test. Paths and features can change; check the linked docs for your installed version. Native Windows media script execution is not tested; use a Bash environment such as WSL.++## Manual installation and paths++Use the manual Codex/Claude commands in either README when you do not want the Node.js installer. Copy the **entire** `motion-video-production` folder, not just `SKILL.md`. Other runtimes use their documented discovery path.++Keep the installed skill directory separate from the output project. For a project installation that uses `.agents/skills/`, for example, run from your video project:++```bash+SKILL_ROOT="$PWD/.agents/skills/motion-video-production"+PROJECT_ROOT="$PWD/video-project"+mkdir -p "$PROJECT_ROOT"+# Fill STORY.md using "$SKILL_ROOT/templates/STORY.md" before running the story gate.+python3 "$SKILL_ROOT/harness/gate.py" story "$PROJECT_ROOT"+bash "$SKILL_ROOT/harness/selftest.sh"+```++For a personal Codex installation, set `SKILL_ROOT="$HOME/.agents/skills/motion-video-production"` instead. Other runtime installations can have different paths; use the actual path shown in the runtime's skill list. Read references/templates relative to `SKILL_ROOT`, and run helper scripts from the output project using their absolute paths.++## Capabilities and review boundaries++- File access and a terminal are needed for the harness. Requires Python 3, ffmpeg, ffprobe, and Bash for `.sh` scripts. Node.js and a separately installed Remotion project are needed for assembly.+- Image/video/music/voice generation requires separately available services or tools. A web subscription does not imply API access. If tools are absent, the agent provides prompts and target filenames; the user generates and supplies the files.+- If the runtime cannot view frame strips or contact sheets, the user must inspect them and provide actual review results. Never manufacture a `REVIEWED` record from measurements alone. Scripts cannot judge character deformation in later frames.+- Use the provided `STORY.md` template's Korean field names and table headings: the current gate reads those names. Fill values in the user's language. For a non-Korean character description, include `#RRGGBB` codes alongside color names so the current color check can recognize them.+- Remotion code is not bundled. Whisper transcription integration in `verify.sh` remains unverified. Check external service pricing and license terms immediately before work, as described in `NOTICE.md` and the licensing reference.++## Verification scope++Package checks on 2026-10-08 used `[email protected]` with all nine `--agent` identifiers listed above. All 21 skill files reached the canonical project installation, with the expected runtime aliases. A fresh Codex 0.155.1 process discovered the enabled skill and its `agents/openai.yaml` interface; Gemini CLI 0.46.0 also listed the skill as enabled. For the other seven runtimes, only installation was checked, not invocation inside the app.++The installed story gate ran from a different working directory with a space in the output path and wrote its report. The harness selftest exited 0 with no failed cases; its optional Pillow ICC regression case was skipped because Pillow was not installed. These checks did not include external generation, Remotion assembly, listening, or a full video production run.++Installation checks should verify that the whole package (including `harness/`, `scripts/`, `references/`, `templates/`, and `agents/`) reaches the intended discovery location. A runtime discovery check confirms that `motion-video-production` appears in that runtime's actual skill list. A harness selftest checks synthetic media cases on the current computer.++None of those alone proves a complete production run, authenticated external generation, visual review, or audio listening. Report each separately. Do not describe installer support or a successful selftest as end-to-end validation of every runtime.diff --git a/skills/motion-video-production/SKILL.md b/skills/motion-video-production/SKILL.mdindex 881614b..91ce2a7 100644--- a/skills/motion-video-production/SKILL.md+++ b/skills/motion-video-production/SKILL.md@@ -1,6 +1,6 @@---name: motion-video-production-description: 모션 그래픽과 영상(캐릭터 오프닝·홍보 영상 등)을 처음부터 끝까지 만드는 제작 스킬. 스토리·장면 기획, 캐릭터 시트, 장면별 키프레임 이미지, 키프레임의 영상 변환, 음악·목소리, Remotion 모션 그래픽 조립까지 6단계를 안내하고, 장면이 바뀌어도 얼굴과 목소리가 같은 캐릭터를 유지하는 7가지 기준과 무료 도구 우선·유료 도구 최소 사용 규칙을 적용한다. "영상 만들어줘", "모션 그래픽", "캐릭터 영상", "오프닝 영상", "키프레임", "캐릭터 일관성", "Grok Imagine 영상", "Remotion 영상 조립" 같은 요청에 사용한다.+description: Plan and assemble 30–90 second motion graphics and character videos with six production stages, media gates, and visual review. Use for video production, keyframes, character consistency, and Remotion assembly. 모션 그래픽·캐릭터 영상·오프닝 영상 제작에 사용한다.---# 모션 그래픽·영상 제작 스킬 (motion-video-production)@@ -10,6 +10,17 @@ description: 모션 그래픽과 영상(캐릭터 오프닝·홍보 영상 등)모든 답변은 사용자의 언어(기본 한국어)로 합니다. 도구를 대신 로그인하거나 결제하지 않습니다. 로그인·결제·대용량 다운로드가 필요한 시점에서는 사용자에게 먼저 묻습니다.+## 실행 환경과 경로++이 스킬은 Agent Skills 형식의 공통 지침입니다. Codex, Claude Code 및 다른 스킬 지원 런타임에서 같은 폴더를 사용합니다. 특정 모델의 API나 생성 도구 연결을 포함하지 않습니다.++- 런타임이 알려 준 이 `SKILL.md`의 실제 경로에서 부모 폴더를 `SKILL_ROOT`로 정합니다. `~/.claude/skills` 같은 특정 설치 경로를 가정하지 않습니다. 아래 `references/`, `templates/`, `harness/`, `scripts/`는 모두 이 폴더 기준입니다.+- 산출물 폴더의 절대 경로를 `PROJECT_ROOT`로 정합니다. 두 경로를 구분하고, 스크립트는 `python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"`처럼 절대 경로로 실행합니다. 보조 스크립트는 산출물 폴더에서 `bash "$SKILL_ROOT/scripts/<파일>.sh" ...`로 실행합니다.+- Python 3, ffmpeg, ffprobe가 필요합니다. `.sh` 스크립트에는 Bash가 필요합니다(macOS/Linux 또는 Windows의 WSL). Remotion은 Node.js와 별도 설치가 필요합니다.+- 시작할 때 실제로 제공된 파일 읽기·터미널·이미지 보기·생성 도구를 확인합니다. 생성 도구가 없으면 프롬프트와 저장 위치를 제공하고 사용자가 만든 파일을 받아 이어갑니다. 구독만으로 API 접근이나 자동 생성을 할 수 있다고 가정하지 않습니다.+- 이미지를 볼 수 없는 런타임은 사용자의 실제 눈 검수 결과를 요청합니다. 보지 않은 프레임의 검수 기록을 대신 만들지 않습니다. 검사 스크립트 실행이 불가능하면 명령을 전달하고 실제 종료 코드·보고서를 받은 뒤에만 결과를 판단합니다.+- `STORY.md`는 제공된 템플릿의 한국어 항목명과 표 구조를 유지하고, 내용은 사용자 언어로 채웁니다. 게이트가 이 항목명을 읽습니다. 한국어 외의 `character.txt`에는 색 이름과 함께 `#RRGGBB` 색상 코드를 적습니다(현재 색 검사에서 인식 가능).+## 0. 시작하기 전에 정할 것작업을 시작할 때 아래 4가지를 사용자에게 한 번에 묻고 `STORY.md` 맨 위에 기록합니다.@@ -25,7 +36,7 @@ description: 모션 그래픽과 영상(캐릭터 오프닝·홍보 영상 등)| 단계 | 하는 일 | 쓰는 도구(예시) | 산출물 ||---|---|---|---|-| 1. 스토리·장면 기획 | 한 줄 줄거리, 장면 목록(시간·장소·행동·대사), 음악 싱크 지점 확정 | Claude | `STORY.md`, 장면 목록 |+| 1. 스토리·장면 기획 | 한 줄 줄거리, 장면 목록(시간·장소·행동·대사), 음악 싱크 지점 확정 | 현재 에이전트 | `STORY.md`, 장면 목록 || 2. 캐릭터 시트 | 정면·측면·표정·의상을 한 장에 고정한 기준 이미지 | 이미지 생성 도구 | 캐릭터 시트 PNG, 외형 고정문 || 3. 키프레임 | 장면마다 시작 화면 1장씩 생성 | 이미지 생성 도구 | 키프레임 PNG || 4. 영상 변환 | 키프레임을 시작 화면으로 고정하고 3~6초 클립 생성 | 영상 생성 도구 | 장면별 mp4 |@@ -50,7 +61,7 @@ description: 모션 그래픽과 영상(캐릭터 오프닝·홍보 영상 등)단계의 산출물은 `harness/gate.py`가 측정해서 종료 코드로 판정합니다. 게이트가 통과(종료 코드 0)하기 전에는 다음 단계로 넘어가지 않고, 완료라고 보고하지 않습니다.```-python3 harness/gate.py <단계> <프로젝트폴더>+python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"```| 제작 단계 | 게이트 | 하는 검사 |@@ -65,11 +76,11 @@ python3 harness/gate.py <단계> <프로젝트폴더>- 프로젝트 폴더 규칙은 `harness/gate.py` 첫머리에 있습니다. (`STORY.md`, `character.txt`, `voices.json`, `edit.json`, `sheet/`, `key/`, `clip/`, `out/final.mp4`, `qa/`) 클립 이름, 키프레임 이름, `edit.json`의 `clip:<이름>@<시작초>`는 같은 이름을 씁니다.- 게이트는 `qa/gate-<단계>.txt`에 보고서를 남깁니다. 보고할 때는 이 파일의 `BLOCK`, `WARN` 줄을 그대로 인용합니다.-- 눈으로 봐야 하는 검사는 기록 파일을 요구합니다. Claude는 프레임 스트립과 컨택트 시트를 실제로 본 뒤에만 아래 줄을 씁니다.+- 눈으로 봐야 하는 검사는 기록 파일을 요구합니다. 에이전트가 프레임 스트립과 컨택트 시트를 실제로 보거나 사용자의 실제 검수 결과를 받은 뒤에만 아래 줄을 씁니다.- `qa/clips-review.md`: `REVIEWED: <이름> <YYYY-MM-DD>` 줄과, 클립마다 `<클립 이름>: ok|trim|redo|replace` 줄. `redo`, `replace`가 남아 있으면 통과하지 못합니다. 키프레임이 없는 클립은 `nokey: <클립 이름>` 줄로 허용합니다.- `qa/review.md`: `REVIEWED: <이름> <YYYY-MM-DD>` 줄과, 본 결과를 적은 줄. 최종본(`out/final.mp4`)보다 나중에 작성해야 합니다.- 임계값은 환경 변수로 바꿉니다. (`GATE_SSIM_START`, `GATE_LUFS`, `GATE_LUFS_TOL`, `GATE_TP_MAX`)-- 게이트를 고치거나 새 검사를 더하면 `bash harness/selftest.sh`가 종료 코드 0으로 끝나야 합니다. 막아야 할 사례를 합성 프로젝트로 실제로 막는지 확인하는 셀프테스트이고, 새 검사에는 막아야 할 사례를 함께 추가합니다.+- 게이트를 고치거나 새 검사를 더하면 `bash "$SKILL_ROOT/harness/selftest.sh"`가 종료 코드 0으로 끝나야 합니다. 막아야 할 사례를 합성 프로젝트로 실제로 막는지 확인하는 셀프테스트이고, 새 검사에는 막아야 할 사례를 함께 추가합니다.## 단계별 상세diff --git a/skills/motion-video-production/agents/openai.yaml b/skills/motion-video-production/agents/openai.yamlnew file mode 100644index 0000000..758bfe8--- /dev/null+++ b/skills/motion-video-production/agents/openai.yaml@@ -0,0 +1,4 @@+interface:+ display_name: "Motion Video Production"+ short_description: "Plan, assemble, and review motion graphics and character videos"+ default_prompt: "Use $motion-video-production to plan a 30-second character opening video and check available tools before production."diff --git a/skills/motion-video-production/references/cost-rules.md b/skills/motion-video-production/references/cost-rules.mdindex ab6f651..96c7031 100644--- a/skills/motion-video-production/references/cost-rules.md+++ b/skills/motion-video-production/references/cost-rules.md@@ -16,7 +16,7 @@1. **시안은 무료로**: 대본, 음성 톤, 음악 분위기를 정하는 단계는 무료 플랜의 크레딧 안에서 끝냅니다.2. **최종본은 공개 방식으로 결정**: 영상을 상업적으로 공개하는지(광고, 수익 채널, 판매 페이지) 먼저 정합니다. 상업 공개라면 음악과 목소리 도구의 유료 플랜을 올린 뒤 최종 음원·음성을 다시 생성합니다. 무료 플랜에서 만든 파일을 나중에 유료 플랜으로 올려도 소급 적용된다고 가정하지 않습니다. 해당 도구의 약관에서 확인합니다.-3. **구독과 API는 별개**: 웹 구독이 있어도 API·자동화 연결에는 별도 결제나 별도 키가 필요할 수 있습니다. 자동화가 막히면 웹·CLI에서 직접 생성하고 파일만 Claude Code가 조립합니다.+3. **구독과 API는 별개**: 웹 구독이 있어도 API·자동화 연결에는 별도 결제나 별도 키가 필요할 수 있습니다. 자동화가 막히면 웹·CLI에서 직접 생성하고 파일만 현재 에이전트가 조립합니다.4. **해상도·길이 제한 확인**: 영상 생성 도구는 플랜별로 해상도(예: 720p/480p)와 클립 길이 제한이 다를 수 있으므로 시작 전에 확인합니다.5. **일괄 생성 전 승인**: 장면 여러 개를 한 번에 생성하기 전에 예상 크레딧을 알리고 사용자 승인을 받습니다.6. **키와 계정 정보 보관**: API 키는 `.env`에만 두고 저장소·프롬프트·로그에 넣지 않습니다.diff --git a/skills/motion-video-production/references/providers.md b/skills/motion-video-production/references/providers.mdindex aed3c89..f6931dc 100644--- a/skills/motion-video-production/references/providers.md+++ b/skills/motion-video-production/references/providers.md@@ -1,6 +1,6 @@# 도구별 사용 메모-도구의 화면과 명령은 자주 바뀝니다. 아래는 사용 방식의 일반 원칙이고, 구체 옵션은 각 도구의 현재 문서를 확인합니다. 로그인·결제·키 입력은 사용자가 직접 하며 Claude가 대신하지 않습니다.+도구의 화면과 명령은 자주 바뀝니다. 아래는 사용 방식의 일반 원칙이고, 구체 옵션은 각 도구의 현재 문서를 확인합니다. 로그인·결제·키 입력은 사용자가 직접 하며 에이전트가 대신하지 않습니다.## 이미지: 캐릭터 시트와 키프레임- ChatGPT 웹 또는 Grok Imagine 이미지 생성으로 만듭니다.