Communitygithub.com

長影片故事

針對長影片協商故事內容。使用者可提供故事或請 Claude 撰寫。當 Claude 撰寫時,會先詢問故事風格,執行該風格的技能,並反覆修訂直到使用者核准。在 long-video-setup 之後使用,或當使用者說「我的影片需要故事」、「給我一個想法」或想更改未核准的故事時使用。僅在使用者明確核准故事時結束。

長影片故事 是什麼?

這個 AI 代理技能(「長影片故事」)是長影片工作流程的第二階段,主要功能是協助使用者定義並批准影片的故事大綱。使用者既可以自行提供完整故事,也可以提供粗略想法或種子主題,交由 AI 代為撰寫。當 AI 負責撰寫時,它會先查詢已安裝的故事風格(如「利基探索」或「挑釁式提問敘事」),並引導使用者選擇;接著根據所選風格的類型(「點子型」或「寫手型」)來取得主題或生成提案,最後產出符合目標長度、語言、語氣與觀眾設定的完整故事草案。整個過程中,AI 會與使用者反覆迭代、根據回饋修改,直到使用者明確說出「批准」為止。核准後,故事會被鎖定,專案狀態更新為「story-approved」,並可選擇進入下一階段「long-video-assets」。此技能支援 Claude Code 等平台,透過 SKILL.md 文件定義的嚴謹步驟(包含風格選擇、事實驗證、版本控制)確保故事品質與使用者控制權。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/samanfirouzi/long-video-skill/tree/HEAD/skills/long-video-story

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

長影片故事 是做什麼的?

長影片工作流程的第二階段。產出:專案資料夾中一份獲得批准的 story.md。

此階段只有在 Claude 和用戶都同意故事內容後才會結束。後續階段在此之前都不會開始。

開始之前

  1. 找出活躍中的專案:~/.long-video/projects/<slug>/project.json。如果用戶有多個專案,詢問是哪一個。
  2. 如果沒有專案存在,請先執行 long-video-setup。
  3. 從 ~/.long-video/configs/<config-name>.json 載入專案的設定。使用其中的資訊來決定長度、語言、目標觀眾、語氣、格式和視覺呈現方式。不要重複詢問設定檔已回答的問題。
  4. 如果 story.md 已存在且狀態為 draft,詢問是否要繼續編輯。如果狀態為 approved,詢問是否要重新開啟。

步驟 1:詢問起始問題

詢問:「你有故事,還是希望我幫你寫一個?」

  • 我有故事。 用戶貼上或描述故事。前往步驟 5。
  • 幫我寫一個。 前往步驟 2。
  • 我有一個粗略的想法。 用戶提供一個種子想法(主題、話題、一句話)。保留它,然後前往步驟 2。

步驟 2:詢問故事風格

每當 Claude 撰寫故事時,一定要問這個問題。不要跳過,也不要幫用戶選擇風格。

  1. 閱讀 references/story-styles.md。檢查哪些風格技能已安裝。
  2. 顯示可用的風格,每種風格附上一行說明。務必包含 open。
  3. 要求用戶選擇一種。他們也可以描述自己的風格。如果他們這麼做,請將其視為 open 風格,並將他們的描述作為額外指示。
  4. 將選擇結果儲存在 project.json 中,鍵值為 `

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

long-video-assets

Video and animation skill. Build the visual foundation for a long video from an approved story. Extracts the recurring characters, environments and key objects, helps the user choose one art style from suggested options (10 at a time, more on request), then writes image generation prompts for every character (portrait plus character sheet), environment and object, all sharing one locked style. Can also generate the images (installed tool, API, MCP or browser) or hand the user a folder and file names to fill. Use after lon

long-video-director

Turn an approved story into a shot-by-shot video script, acting as the director. Asks whether the video uses a narrator or characters who speak (or both), suggests professional filming choices (camera type, lenses, camera movement, lighting, color, pacing), saves them as a separate film style file, then writes a script that matches the project config. Outputs film-style.md and video-script.md. Use after long-video-story (and long-video-assets) are done, or when the user asks for the video script, shot list, camera style or lighting plan.

long-video-keyframes

Create the start and end frame image for every scene (clip) of the approved video script. Writes one image prompt per frame with a fixed file name that holds the scene number and start or end, makes a folder for the images, and can generate the images with an available image tool, or hand the prompts to the user all at once or one by one. Use after long-video-director, or when the user asks for start frames, end frames, keyframes or scene images.

long-video-render

Assemble the finished video and run the review loop. Builds the edit from the clips (or images with camera moves), voice, sound stems and captions, renders a low quality review version with scene numbers and time burned in so a client can review it, collects and applies changes (re-rendering reviews as often as needed), and when the user approves, renders the high quality final video. Uses a video editor with a CLI or MCP (FilmCraft, EffectCraft or another) if one is available and the user wants it, otherwise the bundled ffmpeg renderer. Use after long-video-sound, or when the user asks to render, assemble, export, preview or finalize the video.

long-video-sound

Video and animation skill. Create the sound effects, ambience and background music for the video and place them on the timeline. Plans the sound design from the approved script, sources or makes each sound (Openverse for openly licensed recordings and music, Earshot to make sounds from words and to listen to and judge sounds, Clipwing real-sfx to place real sounds on exact frames), records licences and credits, and mixes separate stems (effects, ambience, music) with the music ducked under speech. Or gives the user a fold

long-video-voice

Create the spoken audio (narration and character voices) for the approved video script. First decides whether the video needs speech and asks the user to confirm. If yes, builds a voice cast (narrator plus each speaking character), makes a short sample of each voice with an available tool such as an ElevenLabs MCP and asks the user to approve the voices, then generates one audio file per spoken line with a name that holds the scene number and speaker. Or gives the user the lines, file names and folder to record or generate themselves. Use after long-video-clips (or long-video-keyframes), or when the user asks for narration, voiceover, voices or dialogue audio.

相關技能