plan-video
Plan a video headlessly: work from ideas through audience, competitor, and trend research to a proposal, structure, storyboard, and shot list. Use decision cards in an HTML report and decisions.json to obtain human choices for the topic and final structure.(旧名: research-plan)
- License 许可
- MIT
- 最近更新
- 2026-10-22
- Stars
- ★ 214
- Forks
- 25
01 前言 Front Matter
- name
- plan-video
- description
- Plan a video headlessly: work from ideas through audience, competitor, and trend research to a proposal, structure, storyboard, and shot list. Use decision cards in an HTML report and decisions.json to obtain human choices for the topic and final structure.(旧名: research-plan)
02 资源文件 7
- 参考文档competitor.md2.7 KB
- 参考文档ideate.md3.9 KB
- 参考文档lang/en.md982 B
- 参考文档lang/ja.md1.1 KB
- 参考文档shotlist.md2.5 KB
- 参考文档storyboard.md5.9 KB
- 参考文档trends.md2.1 KB
03 SKILL.md 正文
Plan and research a video
Language: Respond in the user's language — conversation, questions, approval prompts, and the reports and records you write (including decision-log rows) follow the language the user writes in.
Read lang/<content-language>.md for language-specific rules (content language: --lang → intake.json "language" → transcript language → ja; see https://github.com/AkariLabs/akari-video/blob/main/docs/contract-2026-10-11-content-language.md). If that file does not exist, read lang/en.md.
The bundled v0 skill is provisional. Move it to reference distribution when both the skill catalog and setup installation mechanism exist. The bundle, including its leaf files, contains only text and no binary assets.
Hard rules
- State expected costs before paid API calls, and execute only after approval through the state file (
.decisions.jsonor equivalent). Chat approval alone does not authorize a charge. - Use only setup-connections and registered
.akari/connections.jsonentries. Do not search.envfiles. Never hardcode API keys anywhere. - Limit outputs to JSON and HTML; never launch the GUI. This headless process must complete without installing the app.
- Do not copy code or prose from external skills or repositories. Adapt only the process pattern (Hub/Hero/Help, parallel gap analysis, monetization ranking); only verified MIT or Apache sources are exceptions. Keep AKARI's schema.
- Always investigate market-specific platform behavior. The schema requires
target.japan_sns.notesinresearch-plan.json. For the work's market, use the content-language pack; if free sources provide no evidence, record that fact and why. Empty or omitted notes fail validation byvalidate-research-plan.mjs. - Do not edit CLAUDE.md or AGENTS.md.
- Keep a complete free-only route. If paid tools are unavailable, finish with explicitly limited evidence rather than stopping.
- Accept revision through chat and
plan-comments.json. Before presenting an approval checkpoint again, first read<plan-dir>/plan-comments.jsonif it exists; see storyboard.md §5. - Recall recipes before ideation. Before ideate.md, check
~/.akari/recipes/for a recipe markedworkflow: "research", using the recall procedure in plan-edit/recipe.md. Present any match as a sourced suggestion; it cannot override the request or skip required research, including the platform review in rule 5. - Read a declared memory connection at the same starting point. If
.akari/connections.jsondeclaresmemory(memory connection contract), begin withentry(defaultINDEX.md), read only the permittedinclude/excludescope, and record consulted paths as sources inresearch-plan.jsonsources[]. Never ingest the whole tree. With no declaration, continue without error.
Execution order and leaf files
Read only the leaf needed for the current stage; do not run later stages ahead of approval.
- Read ideate.md, classify and rank ideas, and write
topic.candidates[]. - Read competitor.md, research the audience and 3–5 competitors using four gap axes and the target market's platform context, and write
target. - Read trends.md and research trends with free sources by default. Put findings into candidate
rationaleor competitorgapand retain source records insources[]rather than inventing a trend field. - Present the report and obtain the human's topic choice through
topic-select. Wait forcompletedAtbefore proceeding. - Read storyboard.md. From the approved topic, draft a proposal, chapters in
structure.chapters[], and shot cards instructure.shots[]; add thestructure-confirmdecision card to the same report and obtain approval of the structure. - Read shotlist.md and build
shot_list[]from the confirmed storyboard. - Write
research-plan.jsonand runnode packages/schemas/bin/validate-research-plan.mjs <パス>. Completion requires exit 0.
Report and approval gates
Reuse plan-edit's decision-card mechanism. Render with node packages/decision-cards/render-research-plan-report.mjs <research-plan.json> <research-plan-report.html> and present with node packages/decision-cards/report-helper.mjs <レポートパス>. Follow report-template.html for CSP, self-contained delivery, and accessibility. The storyboard has read-only card and structure views. Keep the card data attributes, the 全部おまかせ ("leave everything to me") choice, the required summary view, and append-only decision_log behavior consistent with plan-edit/report-guide.md, including byDefault, completedAt, polling, and explicit chat approval if the helper fails.
The report must contain exactly these five surfaces; never omit an empty one—state the reason:
- Ranked ideas: Evidence from ideate.md and the
topic-selectcard. - Competitor summary: Evidence from competitor.md, including platform context; no decision card.
- Structure timeline: Evidence from storyboard.md and part of
structure-confirm. - Storyboard shot cards: Evidence from storyboard.md and part of
structure-confirm. - Shooting checklist: Evidence from shotlist.md; no decision card. Edit
shot_listdirectly for changes and carry the state difference into the next round.
Use exactly two decision cards; the contract fixes the decision points at topic selection and structure confirmation: topic-select and structure-confirm.
topic-select: Itsansweris{ "choice": "<topic.candidates[].id>", "requestMore": false, "note": null }. Setdata-default="true"on the top-ranked AI recommendation.structure-confirm: Itsansweris{ "chapters": [{ "id": "<structure.chapters[].id>", "adopt": true }], "openingHook": "<key>" | null }.- Do not pass either checkpoint until
completedAtis non-null. After competitor and trend findings are settled, do not begin the proposal pasttopic-select; do not create the shooting list paststructure-confirmuntil the respective card completes. If the helper is unavailable or decisions.json is corrupt, obtain explicit chat approval and append the exception todecision_log. - Do not fill
topic.selectedorstructure.confirmedinresearch-plan.jsonbefore approval. Copydecided_atandconfirmed_atfrom the decision-card completion time or chat approval time.
Deliverables
Place the output under the project's planning/ directory.
planning/
├── research-plan-report.html # 固定 5 面のレポート
├── research-plan-report.html.decisions.json
└── research-plan.json # 企画の SSOT。version 必須
- Source record: Put each external URL, access time, and free/paid status in
research-plan.jsonsources[]. There is no separate trend-research field. - Connection to later stages: Keep
research-plan.jsonusable for post-shoot footage matching and editorial structure. Reservefeedback(reserved: true) for future post-publication learning; v0 does not implement it.
Common mistakes
- Copying the explanatory prose of Hub/Hero/Help or four-axis gap analysis rather than expressing the pattern in your own words.
- Writing
topic.selectedbefore human approval or backdatingdecided_at. - Leaving
target.japan_sns.notesblank or saying only “omitted.” - Calling a paid trend or search API before approval.
- Adding cards to the two review-only report surfaces—Competitor summary and Shooting checklist—and increasing the number of approval gates beyond two.
- Skipping
validate-research-plan.mjsafter writingresearch-plan.json.
04 同仓库更多 Skills
verify-project
Verify an AKARI Video project with the L0 / L1 / L2 verification ladder required by an AKARI Video task contract on the current Theia stack. Read when acceptance criteria specify levels such as L0 or L0+L1, to determine exactly what to run and how at each level.(旧名: verify)
verify-edit
Verify edit.json and optional analysis.json / captions.json / media with a deterministic CLI, then finish QA with frame inspection and reporting after PASS. Use immediately after writing or modifying edit.json, before export, and after applying review feedback.(旧名: edit-lint)
setup-remote
Set up remote access to approval reports and previews from another device such as a phone, and send footage to the workspace. Use doctor to assess Tailscale, guide installation and login (human actions), expose the preview server (default 4567) and approval report helper over tailnet-only HTTPS with tailscale serve, connect Taildrop reception to workspace inbox/, and verify access from another device. Use for requests to view reports on a phone, approve remotely, send footage from a phone, or set up remote access. Public internet exposure (funnel) is outside the default scope.
setup-project
Set up an AKARI Video project headlessly. Recursively copy `templates/project-default/`, record the template version, initialize git only when safe, and generate an HTML creation report. No app launch is needed. Use to create a video project or fill in an existing folder as an AKARI Video project.(旧名: create-project)
setup-library
Use for first-time AKARI Video setup or when the current project needs more usable assets. This first-run skill checks ffmpeg / whisper-cli (and can install with approval), reads the bundled catalog with akari assets to propose a starter pack, obtains explicit human approval, then acquires, places, validates, and updates INDEX entries. It also covers the audio library (BGM and sound effects): bulk acquisition of first-party AKARI Sounds from GitHub Releases, a free-source candidate HTML list with drop-folder matching or assisted acquisition for missing families, and keep/drop decisions in the listening gallery. Use for requests such as "I want more BGM" or "add sound effects to the library".(旧名: setup-audio-library)
setup-connections
Set up and inspect AKARI Video connections: AI-service keys, which models are allowed, cost-approval policy, the tool and media-service state, and 3D settings. Use for first-time setup, adding a provider or key later, checking what is usable (「何が使える?」 'what can I use?'), setting a key such as fal (「fal の鍵を設定したい」), 3D settings (「3D の設定を使いたい」), connection checks, and gates before paid generation or external publication. Model selection belongs to the production skills (they read the ledger and preferences); this skill decides allowed models and the cost policy. Works with `.akari/connections.json` and a free, read-only doctor.(旧名: manage-connections)(旧名: connect)