Token导航 LogoToken导航

Agent Skill · 研究检索

compose(compose 开发)

compose 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

compose 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 45,877。

总安装 823周安装 35GitHub Stars 64下载 288核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:compose(compose 开发)
来源仓库:https://github.com/factory-ai/factory-plugins
仓库路径:skills/compose
安装命令:
npx skills add https://github.com/factory-ai/factory-plugins --skill compose
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/factory-ai/factory-plugins --skill compose

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

compose 将多个原始录制片段合并为单个 polished 视频制品,支持变速与布局调整。接收机械剪辑路径与标签信息,按 fidelity 等级压缩输出最终文件。适用于对比前后版本差异演示,如 PR 修改效果可视化呈现。输出前应预览关键帧以确保时序正确,避免因剪辑错位误导观察者认知。

compose 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/compose

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/factory-ai/factory-plugins --skill compose;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

compose 怎么安装?

在终端执行 npx skills add https://github.com/factory-ai/factory-plugins --skill compose。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

compose 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

compose 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

compose 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

compose 用的人多吗?

公开数据是累计安装 823 次,近一周安装 35 次,下载 288 次,GitHub 64 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

compose 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
compose

compose 开发 · 本页

82364操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Compose

This atom owns the full video assembly pipeline. You receive raw outputs from the capture stage and produce a single polished artifact. Follow the pipeline below step by step.

Inputs

The command or capture stage should have provided a handoff with two sections:

Mechanical (structured)

  • clips: paths to raw recordings (.cast,.mp4,.webm,.png)
  • driver: tuistory | true-input | agent-browser
  • layout: single | side-by-side
  • labels: text for each clip (e.g., "BEFORE (dev)", "AFTER (PR)")
  • speed: multiplier (default 3x)
  • fidelity: auto | compact | standard | inspect (optional; auto => side-by-side=inspect, single=standard)
  • title: text for the title card
  • subtitle: one-sentence summary
  • sections: text banners for chapters [{t, title}] (optional)
  • keys: keystroke events [{t, label, dur?}] (if overlay requested)
  • showcase: preset name -- macos, minimal, hero, presentation, factory, factory-hero
  • effects tier: utilitarian | full | none (see "Choosing effects at compose time" below)
  • output: desired output path

Creative (natural language)

Free-text guidance on what to emphasize: which moments to hold, what the title card should convey, whether phase cards are warranted, how to trim dead time. Use this -- along with the effects tier -- for editorial decisions, including choosing specific effects to apply.

Pipeline

1. Build props   →  construct the Showcase JSON props
2. Render        →  render-showcase.sh (converts .cast, stages clips, renders, cleans up)
3. Finalize      →  verify and output

Remotion handles all compositing in a single pass — title cards, transitions, window chrome, backgrounds, keystroke overlays, spotlights, particles, noise, and color grading are all automatic. You construct the props JSON; the engine does the rest.

Remotion project & helper script

REMOTION_DIR=${DROID_PLUGIN_ROOT}/remotion
RENDER=${DROID_PLUGIN_ROOT}/scripts/render-showcase.sh

Showcase mode vs Demo mode

Both use the same Remotion pipeline but target different visual registers.

ShowcaseDemo
GoalCinematic, high-polish marketing materialClear, utilitarian demonstration — single or comparison, whichever the story calls for
Presetfactory, factory-hero, or heromacos, minimal, or presentation
Effects tierFull -- spotlight, zoom, callout, keystroke overlay. Go all out.Utilitarian -- zoom for readability, keystroke overlay for user actions
AudienceExternal — landing pages, social, marketingInternal — PR reviews, docs, QA

Decision rule: If the video will be seen outside the eng team, use Showcase mode. If it's for a PR description, internal demo, or documentation embed, use Demo mode. The visual polish layers (warm glow, particles, color grade, motion blur) are always present but their intensity is palette-driven — Factory presets produce rich cinematic warmth while Catppuccin presets stay subtle and cool.

Choosing effects at compose time

The command stage committed an effects tier (utilitarian, full, or none). Now that you have actual recordings, choose specific effects:

  • Utilitarian: Add zoom effects for any small or hard-to-read text. Add keystroke overlay if user actions were captured. Skip spotlight and callout unless something is genuinely hard to find on screen.
  • Full: Use the full palette. Spotlight the key proof points. Zoom into details. Add callout annotations where the UI isn't self-explanatory. Layer keystroke overlay throughout. Aim for cinematic -- the viewer should feel guided, not left to scan.
  • None: Pass "effects": [] in props. Keystroke overlay is still allowed if committed separately.

Step 1: Choose fidelity and pacing

render-showcase.sh auto-selects inspect for side-by-side and standard for single-clip layouts when fidelity is omitted or set to auto.

FidelityDefault output sizeRemotion encodePolish overlaysBest for
compact1920x1080H.264 CRF 21, JPEG framesfull grain + gradeSmall embeds
standard1920x1080H.264 CRF 18, JPEG framesreduced grain + gradeSingle-panel demos
inspect2560x1440H.264 CRF 14, PNG framesminimal grain + gradeSide-by-side comparisons / tiny text

.cast conversion behavior

render-showcase.sh converts .cast inputs through agg -> gif -> ffmpeg -> mp4 before Remotion render, using the asciicast's own cols/rows and fixed font metrics so element positions remain stable across fidelity profiles.

CRITICAL: agg replaces ALL 16 ANSI colors with its theme palette. The render script uses a custom Droid CLI theme. If you manually run agg, never omit --theme and never use built-in themes like monokai or dracula.

The --theme flag accepts a comma-separated hex string (no # prefix): bg,fg,color0..color7 (10 values) or bg,fg,color0..color7,color8..color15 (18 values for bright variants).

Note: tuistory recordings of the Droid CLI typically emit NO color escape codes -- the CLI uses Ink's direct rendering which doesn't produce standard ANSI SGR sequences in the cast output. The theme's bg (first value: 181818) and fg (second value: e0d0c0, warm white) are the only colors that will affect the output. The warm-white fg avoids the cold blue-grey look of default themes.

For other terminals that DO emit ANSI color codes, build the full theme string from the terminal's actual color settings.

Pacing: Target the final video duration, not a speed factor. A blind multiplier either makes text illegible or leaves dead air.

Demo typeTarget durationWhy
Single feature, 3-5 steps30-45sViewer watches the whole thing in one breath
Before/after comparison, side-by-side45-75sEach panel needs time to land; frozen-vs-active contrasts need a beat
Multi-phase or complex flow60-120sPhase cards give the viewer reset points; rushing defeats the purpose

Set the speed prop to hit the target: if the raw recording is 3 minutes and the target is 60s, use "speed": 3. If it's already 40s raw, use "speed": 1 or trim dead time instead. Trim first, speed second -- cut LLM thinking pauses, build waits, and network delays from the .cast with asciinema cut or by splitting segments, then apply a gentle speed-up only if still over target.

Keystroke timing adjustment: If a keystroke list was emitted during capture, its timestamps are in raw recording time. When you apply a speed multiplier, you must divide every timestamp by the speed factor before passing it to the Remotion props. A keystroke at raw t=6.0s in a 3x video should appear at t=2.0s.

Non-.cast clips

.mp4, .webm, and .png clips are passed through to Remotion unchanged except for staging into public/. Re-encode non-.cast clips manually only if their pixel format or dimensions are invalid.

Clip aspect ratio (mandatory check for browser captures)

At the default 1920×1080 output with factory preset margins, panels come out roughly:

LayoutPanel aspect
single~1760×920 (≈16:9 landscape)
side-by-side~872×920 per panel (≈8:9, near-square / slight portrait)

.cast conversions target panel aspect automatically. Pre-recorded .mp4 / .webm clips do not — if the clip aspect doesn't match the panel aspect, the clip will letterbox (with the default objectFit: "contain") or crop (with "cover").

Common pitfall: browser captures are typically 16:9 landscape (e.g. 1280×720). Dropped into a side-by-side layout they render as a thin band with giant black bars above and below.

Two fixes, in priority order:

  1. Re-capture at a panel-friendly viewport — go back to the capture stage and set viewport to ~960×1000 for side-by-side, ~1280×720 for single.
  2. Pass "objectFit": "cover" in props — crops the clip edges to fill the panel. Acceptable when the relevant UI is centered and edges are expendable. Not acceptable if cropped content matters (e.g. sidebar UI cut off).

.cast clips rarely need this since their rendered aspect is derived from cols/rows; it's almost always a browser-capture concern.

Duration checkpoint (mandatory, before proceeding)

Check whether the planned speed factor produces a final duration within the pacing table's target range:

final_duration = clip_duration / speed_factor
If final_duration is...Action
Within the target rangeProceed
Below the minimumReduce the speed factor until the target is met. If even at 1x the clip is below the minimum, the recording is too short — return to capture and add more interaction steps.
Above the maximumTrim dead time first (asciinema cut), then increase the speed prop

This checkpoint is not optional. A video that lands outside the target range fails verification.

Step 2: Build props

Choose layout

Default: single. One clip of the target/final state. New features, bug-fix proofs, walkthroughs, and README heroes all belong here.

Use side-by-side only when the story is fundamentally a comparison: regression (broken vs fixed), behavior-preserving refactor, or an explicit user request. Never fabricate a "before" clip to justify the side-by-side shape.

Save the showcaseSchema JSON to a temp file:

DEMO_TMP="$(mktemp -d /tmp/droid-demo-XXXXXX)"
PROPS="${DEMO_TMP}/showcase-props.json"

cat > "$PROPS" << 'EOF'
{
  "clips": ["demo.cast"],
  "layout": "single",
  "fidelity": "auto",
  "labels": [],
  "speed": 3,
  "title": "PR #11621 — Prevent session freezes",
  "subtitle": "Bash Mode blocks interactive commands and supports ESC cancellation",
  "preset": "factory",
  "keys": [
    {"t": 2.0, "label": "vim"},
    {"t": 5.5, "label": "sleep 100"},
    {"t": 8.0, "label": "Esc"}
  ],
  "sections": [],
  "effects": [],
  "speedNote": "3x speed",
  "windowTitle": "droid demo"
}
EOF

For a comparison flow, swap "clips" to two paths, "layout" to "side-by-side", and populate "labels" (e.g., ["BEFORE (main)", "AFTER (PR #11621)"]).

Use a run-scoped props path like $PROPS; do not reuse a global /tmp/showcase-props.json across rerenders or concurrent demos.

CRITICAL: clipDuration handling. The render script auto-detects clip duration via ffprobe when clipDuration is omitted from the props. If you set it manually, it must match the actual clip duration or you get blank frames (too long) or truncation (too short). When in doubt, omit it and let the script auto-detect.

Props reference

PropTypeRequiredDescription
clipsstring[]yesFilenames (basenames only — the render script handles staging)
layout`"single" \"side-by-side"`yesComposition layout
labelsstring[]yesLabels for each clip (visible in side-by-side; pass [] for single)
fidelity`"compact" \"standard" \"inspect"`noOutput quality/compression profile. Omit for auto-selection by layout.
speednumbernoPlayback speed for .cast -> agg conversion.
titlestringyesTitle card heading
subtitlestringyesTitle card subheading
presetpreset nameyesVisual preset — see table below
keysKeystroke[]yesKeystroke overlay events (pass [] for none)
sectionsSection[]noSection banners to mark chapters (pass [] for none)
effectsEffect[]yesEffect timeline (pass [] for none)
clipDurationnumbernoClip duration in seconds. Auto-detected by render script if omitted.
speedNotestringnoShown on title card (e.g., "3x speed")
windowTitlestringnoText in the window title bar
widthnumbernoOutput width (default: 2560 for inspect, else 1920)
heightnumbernoOutput height (default: 1440 for inspect, else 1080)
objectFit`"contain" \"cover" \"fill"`noHow each clip fits its panel. Default "contain" (letterbox to preserve aspect). Use "cover" when clip aspect doesn't match panel aspect and you'd rather crop than see black bars. See "Clip aspect ratio" below.
codeAnnotationsCodeAnnotation[]noTimed syntax-highlighted code overlays shown during the main content sequence. See "Code annotations" below.
transitionStyle`"motion-blur" \"flash" \"whip-pan" \"light-leak" \"glitch-lite"`noPresentation used for title→content and content→outro transitions. Default "motion-blur" preserves existing aesthetic. See "Transition styles" below.

Preset quick reference

PresetLookPaletteBest for
factoryWarm black bg, traffic lights, 12px radius, 80px marginFactory (warm)Official Factory content
factory-heroSame as factory + gradient bgFactory (warm)Factory landing pages, social
heroGradient bg, generous margins, prominent shadowCatppuccin (cool)Non-Factory marketing
macosDark bg, traffic lights, clean frameCatppuccin (cool)General-purpose demos
presentationBlack bg, generous marginsCatppuccin (cool)Slide decks, talks
minimalNo window bar, tiny radius, tight marginsCatppuccin (cool)Docs embeds, inline clips

Keystroke schema

{ t: number, label: string, dur?: number }
  • t: Time in seconds relative to clip start (not title card). Adjust for speed factor.
  • label: Display text (e.g., "Ctrl+C", "vim main.rs")
  • dur: Display duration in seconds (default: 1.2s). Auto-cut when next keystroke starts.

Section schema

{ "t": 2.0, "title": "Testing basic echo" }
  • t: Time in seconds relative to clip start (not title card). Adjust for speed factor.
  • title: Display text for the section header. Remains visible until the next section starts.

Effect types

EffectPropsDescription
fade-int, durFade from black
fade-outt, durFade to black
zoomt, dur, to: {x,y,w,h}Directed zoom to a target region (30% in, 40% hold, 30% out)
spotlightt, dur, on: {x,y,w,h}, dim?Dim everything except a region (dim: 0–1, default 0.6)
calloutt, dur, text, at: {x,y}Text overlay anchored to a point

Regions use percentage strings (e.g., "25%") relative to the video dimensions.

When to use effects

EffectUse when…Don't use when…
spotlightDrawing attention to a specific region (error, status change)The whole frame is relevant
zoomSmall text or detail that's hard to read at full scaleContent is already legible
calloutAnnotating something the viewer might not recognizeThe UI is self-explanatory
Keystroke overlayShowing user actions (typing, key presses)No user interaction in the clip

Less is more. One well-timed spotlight has more impact than five overlapping effects.

Code annotations

Timed syntax-highlighted code card laid over the captured video. Use for PR demos where the decisive source change needs to sit next to the runtime proof.

FieldTypeRequiredDescription
tnumberyesStart time in seconds, relative to clip start. Adjust for speed factor (same rule as keys[].t).
durnumberyesHow long the card stays visible, in seconds.
codestringyesSource text; \n for multiline; no trailing newline.
languagestringnoPrism language id (tsx, ts, py, rust, bash,...). Default tsx.
titlestringnoSmall caption above the code (usually a file path).
highlight[{start,end}]no1-based inclusive line ranges with accent background + left border.
focus[{start,end}]no1-based inclusive line ranges kept at full opacity; others are dimmed/blurred.
position`"top-right" \"center" \"bottom-left"`noDefault "top-right". Move to "bottom-left" if the captured top-right is load-bearing.

Keep it short — aim for ≤ 15 lines per card, hold for 3–6 seconds.

Transition styles

transitionStyle selects the title→content and content→outro crossfade presentation. Both transitions in one render share the same style. flash and light-leak derive their tint from the preset palette. Default motion-blur is always safe; preset-tier guidance lives in showcase/SKILL.md.

StyleFeelUse when…
motion-blurSubtle dolly, blur + opacity crossfadeDefault for PR demos, Factory content, most showcase work
flashQuick palette-tinted flash at midpointBug-fix proofs where the "after" state should feel sudden
whip-panHorizontal pan + motion blurEnergetic showcase / marketing when pacing is fast
light-leakWarm gradient sweepFactory-branded landing/social clips
glitch-liteRGB channel offset + horizontal bandSecurity/vulnerability proof, terminal aesthetic; never default, never twice

Step 3: Render

Use the render script — it handles clip staging, duration detection, rendering, and cleanup:

RENDER=${DROID_PLUGIN_ROOT}/scripts/render-showcase.sh

# Basic render
$RENDER --props "$PROPS" --output /tmp/demo.mp4 \
  /tmp/before.cast /tmp/after.cast

# Or with inline props (useful for simple cases)
$RENDER --props-inline '{"clips":["clip.mp4"],"layout":"single","labels":[],"title":"Demo","subtitle":"Test","preset":"macos","keys":[],"effects":[]}' \
  --output /tmp/demo.mp4 /tmp/clip.mp4

The script:

  1. Converts .cast inputs to .mp4 using the selected fidelity profile
  2. Copies clip files into ${REMOTION_DIR}/public/
  3. Auto-detects clipDuration via ffprobe if missing from props
  4. Runs npx remotion render Showcase with profile-specific encode flags
  5. Cleans up staged and generated clips

Quick frame check (sanity-check layout before full render):

cd ${REMOTION_DIR}
npx remotion still Showcase --props="$(cat "$PROPS")" --frame=30 --scale=0.5 /tmp/check.png

Render time: Expect ~1-3 minutes for a 30-60s video at 1920x1080. Set worker timeouts accordingly (5 minutes is safe).

Step 4: Finalize

Check the result:

ffprobe -v quiet -print_format json -show_format -show_streams /tmp/demo.mp4

Confirm:

  • Resolution is 1920x1080 (or matches the expected output)
  • Duration is reasonable (not 0s, not hours)
  • File size is manageable (under 5 MB for GitHub embeds, 25 MB hard limit)
  • Pixel format is yuv420p (universal playback)

Outputs

Hand to the verify stage:

## Compose outputs
- video: /tmp/demo-pr-11621.mp4
- resolution: 1920x1080
- duration: 42s
- size: 3.2 MB
- preset: factory
- keystrokes: 3 events overlaid
- effects: 1 spotlight
- engine: remotion

Screenshot-only artifacts (proofs, QA)

Not every deliverable is a video. For proof and QA workflows, compose may just organize screenshots and snapshots:

Annotated screenshot set

ffmpeg -y -i before.png -i after.png \
  -filter_complex "
    [0:v]scale=960:-1[left];
    [1:v]scale=960:-1[right];
    [left][right]hstack=inputs=2[out]" \
  -map "[out]" comparison.png

Markdown report with embedded evidence

For text-based deliverables, organize the evidence into a structured report rather than a video. The verify stage handles this.

平台分布

Codex

36.99%
按下载量换算107

Claude

27.98%
按下载量换算81

Cursor

18.8%
按下载量换算54

Gemini CLI

9.01%
按下载量换算26

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills