Stage Compose 标志

Stage Compose

社区
Orkas-AI
stage-compose

Authoring knowledge for Orkas/OVS HTML video compositions -- write an index.html, drive animation from a paused timeline, declare canvas + duration, then run the VideoStudio draft gate to render an mp4. Trigger for explainer / animation / motion-graphics / caption / lower-third / title-card work, or to build a compose segment inside an AUTO plan; do NOT trigger for cutting real footage (stage-edit) or AI footage (stage-generate).

Add to TypingMind

概览

发布者Orkas-AI
代码仓库Orkas-VideoStudio
技能名称stage-compose
星标数
500
复刻数
25
附带文件
5
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Orkas-AI 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Stage Compose AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Orkas-AI/Orkas-VideoStudio/tree/main/packages/skills/stage-compose
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Orkas-AI/Orkas-VideoStudio.git /tmp/Orkas-VideoStudio
mkdir -p .claude/skills
cp -r /tmp/Orkas-VideoStudio/packages/skills/stage-compose .claude/skills/stage-compose
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Stage Compose,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Stage Compose。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Stage Compose 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

stage-compose

How to author an Orkas/OVS HTML composition and turn it into a video. composition-manifest.json v2 is the canonical timeline/audio/design artifact. In this open-source build, ovs draft is the VideoStudio-style production gate: it runs manifest/source/narration/local-asset checks, HyperFrames check/render, media QA, sampled-frame video QA, and writes one report. HyperFrames remains the render backend; do not bypass the draft gate for user-facing drafts.

For visual direction, apply frontend-design before writing manifest art_direction. If the user provides a reference image/video, DESIGN.md, brand guide, screenshot, design notes, existing app UI, or named style, apply design-system-importer to convert it into intent-bound reference constraints and compact tokens. composition-design-review is a bounded full-frame review before a visual preview is shown, with a post-draft fallback when preview is skipped.

Gate authorization belongs to gate-control. This skill supplies the canonical manifest, contact sheet, draft, and QA evidence; after any Gate B/Preview/Gate D decision or resumed approval, run ovs gate transition rather than inventing a second confirmation or recovery loop.

When the production runtime is unavailable, return a clearly unexecuted candidate package instead of fabricating a render: locked assumptions, final-form script/narration, timed storyboard, exact visible copy/captions, visual/audio and rights-safe asset plan, target export settings, and checkable preview/final QA.

Fast COMPOSE Runbook

After Gate B approves the canonical composition manifest, keep the production turn narrow:

  1. Read the approved project/composition/composition-manifest.json and this skill if not already loaded for the current turn. Also read frontend-design; read design-system-importer only when a concrete style source or explicit named reference exists. Read composition-design-review after snapshot evidence exists, or after the draft when preview was intentionally skipped and the fallback trigger applies.
  2. If standalone narration is needed, capture the exact ovs speech-capabilities profile in the approved plan and run ovs narration fit before synthesis. Visual authoring, ovs check, and ovs snapshot may proceed while narration is pending so the visual candidate remains reviewable. Required narration blocks only complete ovs draft/final delivery. Before drafting, run ovs speak once to project/composition/assets/narration.mp3, declare the composition-owned track, probe its duration, rerun measured fit, and reconcile. Reuse an existing matching narration file; do not synthesize again just because a visual preview changed. For an AUTO segment, use audio.owner: "assembler" and render silent.
  3. Keep the approved project/composition/composition-manifest.json with schema_version: 2, including approved timeline/copy/source mappings, audio ownership, and art_direction. Confirm its dedicated cover, any references/reference_fidelity, and VisualDirectionV1; then prepare and author static resolved/hero frames before deterministic motion. The exact 0s cover must already be readable. Reconcile after manifest timing/audio changes without replacing authored DOM/CSS/SVG/motion.
  4. Decide whether to open the optional HTML Preview Gate before rendering mp4. Use the preview gate when expected render rework is expensive: target duration >= 20s, scene count >= 3, render cost is likely slow, or the composition has dense text, complex SVG/GSAP, many branded/supplied assets, tight narration timing, or a prior draft failure. Skip it for short/simple work: target duration < 20s, scene count <= 2, no narration/timing complexity, and no obvious visual-risk signal. The subject category alone never forces the preview gate.
  5. If visual preview is needed, run ovs check and ovs snapshot. Review the complete contact-sheet index and open the cover, QA-named frames and risky cells at full size; compare declared references. Collect all blockers, apply one localized repair, then rerun check/snapshot and review the complete new revision. The contact sheet is only an index. The author checklist is advisory and adds no scored approval gate; present current passing snapshot evidence after addressing concrete visible blockers.
  6. Run the draft command: ovs draft project/composition --out project/render/draft.mp4 --quality draft --report project/render/draft-report.json --findings project/composition/qa/check.json. Before rendering, this gate validates manifest/HTML consistency, prepares declared local vendor assets, blocks remote runtime resources, verifies local assets, checks shotlist/source alignment, and checks narration mapping. Then it runs HyperFrames check/render, media QA, sampled-frame QA, and writes one report.
  7. If draft fails, repair the highest canonical source, reconcile when needed, and retry only after the authored signature changes. Do not delete QA state or repeat an unchanged strategy. After two non-converging passes, preserve the current artifact and show the visible unresolved issue with concrete options through gate-control; await a real user direction before another cycle.
  8. If the draft command returns ok: true, the composition is frozen for final-video confirmation. Do not edit index.html, composition-manifest.json, assets, or narration again in the same turn unless the report contains a real blocker (check/source/audio/video QA failure), or the user explicitly asks for a revision. Visual/readability warnings and design-review fix/polish notes are advisories, not permission to self-repair.
  9. If preview was skipped and the fallback trigger applies, run composition-design-review against representative draft frames. Open final-video confirmation only after the draft command returns ok: true and any triggered review has no concrete blockers.

The default path is model-authored HTML -> draft. Do not write or compile spec.json; fixed template compilation is not part of the COMPOSE path because visual quality and extensibility come first.

HTML Preview Gate

Use the HTML Preview Gate to avoid expensive mp4 rerenders when visual rework is likely. It is a cost-control gate, not a new creative milestone, and it is only for the COMPOSE line. Decide from expected rework cost:

  • Preview first when duration >= 20s or scene count >= 3.
  • Preview first when a shorter piece has dense text, multiple chapters, many supplied/brand assets, complex SVG/GSAP motion, tight narration timing, or a prior draft/repair failure.
  • Skip preview when duration < 20s, scene count <= 2, and the HTML is simple enough that rendering the draft is cheaper than asking for another confirmation.
  • Do not use product/promo/version-update labels alone as the trigger. Those labels only contribute to risk when the piece is long, visually dense, or expensive to rerender.

When preview is triggered, run ovs check and ovs snapshot, review the complete contact-sheet index and open the cover and risky frame_paths with composition-design-review, and show only a fully reviewed revision. The contact sheet is an index; full-size frames resolve doubtful cells. Show the full frame evidence, the index.html path, and a compact status line:

  • reason for preview: duration / scene count / complexity / prior failure
  • check headline: blocking count or main advisory
  • what approval means: render mp4 draft next

If the user revises, edit the manifest or HTML, reconcile when needed, then rerun check/snapshot and the complete frame review. Keep this loop lightweight; reuse materialized narration and do not render mp4 during visual preview.

The HTML Preview Gate does not replace the mp4 draft. It cannot validate audio muxing, final encoded video quality, sampled-frame video QA, or exact narration pacing. After approval, always run ovs draft and open Gate D with the video.

Read manifest and authoring before writing or reconciling manifest/HTML. It owns the canonical schema, offline assets, semantic hooks and HyperFrames timing contract.

Read art direction before authoring the visual system. It owns the concrete design budgets and reference constraints.

Read render and preview before judging reference-led snapshot or draft evidence. It owns paired source/target comparison and the boundary between contact-sheet indexing and full-size inspection.

Check And Repair Policy

Run the draft command before any user-facing video. If structural/source/audio/video QA fails, repair the highest canonical source and retry only after its signature changes. After two non-converging passes, preserve the evidence and request a concrete user direction through gate-control. Technical errors with repair passes remaining do not create confirmation requests.

Repairs should address the cause, not just the symptom:

  • FONT_TOO_SMALL: reduce text density, shorten copy, enlarge/reflow containers, or move labels out of small shapes. Do not simply increase every font size if that creates overflow.
  • missing_timeline_registry, gsap_timeline_not_registered: register a paused GSAP timeline on window.__timelines[compositionId], using the exact root data-composition-id.
  • timed_element_missing_clip_class, root_composition_missing_data_start, media_missing_data_start, imperative_media_control: let the renderer own timing and media playback through data-start, data-duration, .clip, and media data attributes.
  • text_occluded, text_box_overflow, content_overlap: restructure the scene layout or regenerate the affected scene from the contract's boxes. Do not rely on small numeric nudges.
  • FROZEN_FRAME_RUN: treat repeated sampled frames as an advisory until semantic evidence confirms the timeline is frozen. Inspect the visual evidence; repair timeline registration, scene clip timing, or variation only when the frames actually fail to change as intended.

If only visual advisories remain and the draft render exists, present the mp4 draft with QA notes instead of silently looping. Repair the manifest or hand-authored HTML directly; do not introduce spec.json as a workaround.

After the draft render succeeds, use composition-design-review only as the fallback when preview was skipped and its trigger applies. A review blocker must be visible in a specific scene/frame and must break readability, the approved promise, required brand/style tokens, motion timing, or asset safety. Allow at most one localized repair and re-draft only for concrete blockers. Treat fix and polish findings as final-video confirmation notes.

Read narration and audio only when this composition carries speech or other audio. It owns narration fitting, existing-speech preservation and audio ownership.

Render (The Outcome)

Produce the finished video by running the draft gate over the composition directory. Iterate at draft quality, then do one high-quality pass once the layout and timing pass review:

  • Draft: ovs draft project/composition --out project/render/draft.mp4 --quality draft --report project/render/draft-report.json --findings project/composition/qa/check.json
  • Final: ovs draft project/composition --out project/render/video.mp4 --quality high --report project/render/final-report.json --findings project/composition/qa/final-check.json

Use ovs render only as a narrow diagnostic render when QA has already identified the blocker. User-facing drafts and finals go through ovs draft so contract, source, narration, media, and sampled-frame QA are not skipped.

After final-video approval, a local visual-only revision reuses the approved plan, assets, and narration. Change only the affected scene, run reconcile when needed, then ovs check, ovs snapshot, full-frame design review, and one revised high-quality encode. Do not request production-plan confirmation again or synthesize narration/generation again unless the requested edit changes signed copy, timing, language, narration, source mapping, or provider intent.

Director Judgment (Compose Line)

Craft calls specific to designed/animated explainers, on top of the shared craft reference (video-craft):

  • One concept per visual chapter -- do not stack two ideas in one scene; give each its own build.
  • Concrete before abstract -- real data, diagrams, steps before a metaphor; the metaphor only lands once the concrete version is understood.
  • Aesthetic thesis before styling -- use frontend-design to choose one signature visual device that comes from the subject matter; spend distinctiveness there and keep the rest disciplined.
  • Reference intent governs fidelity -- use design-system-importer for DESIGN.md/brand/reference input. For reproduce/edit, preserve declared geometry, visual relationships, and authorized assets except named may_change; for guide, adapt only the declared roles. Respect explicit exclusions without forcing unrelated variation.
  • Design review is a pre-preview guardrail -- inspect the entire snapshot frame set before showing it; when preview is skipped, use the triggered post-draft fallback. Block only on concrete visible failures; template feel, hierarchy, and polish issues that do not break the promise become final-video confirmation notes.
  • Render exact text as real text -- stats, names, CTAs are typed into the composition, never baked into AI imagery.
  • Build to the narration words, not arbitrary beats; hold a fully-built scene/chart >= 2-3 s before moving on.
  • Vary scene types -- no three near-identical layouts in a row; alternate full-frame / split / diagram / quote.
  • Spoken/readable captions live in the plan's tracks.captions.lines (data), NOT burned into this composition -- the assembler burns them via burnsubs at the end, so a later typo fix is a one-line edit, not a re-render of the whole composition. Only a purely decorative caption treatment that is the visual design may live inside the composition.
  • Surface craft-threshold warnings on the composition when you QA it before rendering. In draft mode, small readable text is a QA advisory rather than a render blocker; oversized palette is advisory and should be judged against the design thesis, brand, and scene clarity.

Constraints

  • Deterministic only: no real-time timers, no network-dependent runtime behavior, no randomness without a fixed seed -- the renderer seeks discrete frames.
  • Keep all referenced assets inside the composition directory so the render is self-contained.
  • This skill authors and renders compositions; it does not pick the production line (see video-router) or generate AI footage.

Scene timing and narration identity

Position authored tweens with scaffold S("scene-id") and D("scene-id"), which read canonical scene attributes after reconcile. Never move HyperFrames-owned clip visibility into custom playback code. The delivered opening must already carry visible title/hero content at exactly zero; animate from a visible base, not a blank fade. Every child also starts with visible content; only the delivered opening needs the whole-video cover promise.

An explicit empty narration_text marks a silent scene and clears stale narration references. Preserve those silent windows when fitting speech. Shorter speech that fits the existing spoken windows leaves the visual timeline unchanged. Keep the declared target separate from measured audio; do not truncate speech or silently change a fixed user duration. Narration-only changes reuse visual approval only if all visual assets and scene windows remain identical. New pixels or timing require a current complete preview.

Reuse speech only when text, route, voice, model, format, speed and output bytes match its receipt. Keep one file per line in EDIT/AUTO. Their signed start_sec and target_sec are fixed windows: shortening text or using an approved retry fits the audio into the window; moving the timeline requires the corresponding user authority. Music/SFX ownership alone does not imply narration.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Stage Compose AI 技能有什么作用?

Authoring knowledge for Orkas/OVS HTML video compositions -- write an index.html, drive animation from a paused timeline, declare canvas + duration, then run the VideoStudio draft gate to render an mp4. Trigger for explainer / animation / motion-graphics / caption / lower-third / title-card work, or to build a compose segment inside an AUTO plan; do NOT trigger for cutting real footage (stage-edit) or AI footage (stage-generate).

为什么在 TypingMind 中使用 Stage Compose?

因为您只需安装一次,就能搭配任何模型使用。Stage Compose 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Stage Compose?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Orkas-AI/Orkas-VideoStudio/tree/main/packages/skills/stage-compose。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Stage Compose?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Stage Compose 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Stage Compose 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Stage Compose AI 技能免费吗?

是的。Orkas-AI 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇