AGENT SKILL

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

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

  1. State expected costs before paid API calls, and execute only after approval through the state file (.decisions.json or equivalent). Chat approval alone does not authorize a charge.
  2. Use only setup-connections and registered .akari/connections.json entries. Do not search .env files. Never hardcode API keys anywhere.
  3. Limit outputs to JSON and HTML; never launch the GUI. This headless process must complete without installing the app.
  4. 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.
  5. Always investigate market-specific platform behavior. The schema requires target.japan_sns.notes in research-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 by validate-research-plan.mjs.
  6. Do not edit CLAUDE.md or AGENTS.md.
  7. Keep a complete free-only route. If paid tools are unavailable, finish with explicitly limited evidence rather than stopping.
  8. Accept revision through chat and plan-comments.json. Before presenting an approval checkpoint again, first read <plan-dir>/plan-comments.json if it exists; see storyboard.md §5.
  9. Recall recipes before ideation. Before ideate.md, check ~/.akari/recipes/ for a recipe marked workflow: "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.
  10. Read a declared memory connection at the same starting point. If .akari/connections.json declares memory (memory connection contract), begin with entry (default INDEX.md), read only the permitted include/exclude scope, and record consulted paths as sources in research-plan.json sources[]. 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.

  1. Read ideate.md, classify and rank ideas, and write topic.candidates[].
  2. Read competitor.md, research the audience and 3–5 competitors using four gap axes and the target market's platform context, and write target.
  3. Read trends.md and research trends with free sources by default. Put findings into candidate rationale or competitor gap and retain source records in sources[] rather than inventing a trend field.
  4. Present the report and obtain the human's topic choice through topic-select. Wait for completedAt before proceeding.
  5. Read storyboard.md. From the approved topic, draft a proposal, chapters in structure.chapters[], and shot cards in structure.shots[]; add the structure-confirm decision card to the same report and obtain approval of the structure.
  6. Read shotlist.md and build shot_list[] from the confirmed storyboard.
  7. Write research-plan.json and run node 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:

  1. Ranked ideas: Evidence from ideate.md and the topic-select card.
  2. Competitor summary: Evidence from competitor.md, including platform context; no decision card.
  3. Structure timeline: Evidence from storyboard.md and part of structure-confirm.
  4. Storyboard shot cards: Evidence from storyboard.md and part of structure-confirm.
  5. Shooting checklist: Evidence from shotlist.md; no decision card. Edit shot_list directly 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: Its answer is { "choice": "<topic.candidates[].id>", "requestMore": false, "note": null }. Set data-default="true" on the top-ranked AI recommendation.
  • structure-confirm: Its answer is { "chapters": [{ "id": "<structure.chapters[].id>", "adopt": true }], "openingHook": "<key>" | null }.
  • Do not pass either checkpoint until completedAt is non-null. After competitor and trend findings are settled, do not begin the proposal past topic-select; do not create the shooting list past structure-confirm until the respective card completes. If the helper is unavailable or decisions.json is corrupt, obtain explicit chat approval and append the exception to decision_log.
  • Do not fill topic.selected or structure.confirmed in research-plan.json before approval. Copy decided_at and confirmed_at from 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.json sources[]. There is no separate trend-research field.
  • Connection to later stages: Keep research-plan.json usable for post-shoot footage matching and editorial structure. Reserve feedback (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.selected before human approval or backdating decided_at.
  • Leaving target.japan_sns.notes blank 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.mjs after writing research-plan.json.

04 同仓库更多 Skills

AkariLabs
AkariLabs/akari-video

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)

★ 214
AkariLabs
AkariLabs/akari-video

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)

★ 214
AkariLabs
AkariLabs/akari-video

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.

★ 214
AkariLabs
AkariLabs/akari-video

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)

★ 214
AkariLabs
AkariLabs/akari-video

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)

★ 214
AkariLabs
AkariLabs/akari-video

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)

★ 214