filmcraft
Use when editing, cutting, grading or exporting a FilmCraft project, or attaching Mercury to its open window. Not for PhotoCraft still-image editing or LightCraft photo-library development.
- License 许可
- Apache-2.0
- 所属仓库
- Whq02/MercuryCLI
- 最近更新
- 2026-11-12
- Stars
- ★ 31
- Forks
- 3
01 前言 Front Matter
- description
- Use when editing, cutting, grading or exporting a FilmCraft project, or attaching Mercury to its open window. Not for PhotoCraft still-image editing or LightCraft photo-library development.
- argument-hint
- [project or editing task]
03 SKILL.md 正文
FilmCraft
FilmCraft 0.20.0 answers control requests only with the session token it was started with (FILMCRAFT_CONTROL_TOKEN). A craft_connect launch creates one; to attach to a window the user opened themselves, pass tokenFile, a private file holding that token. The port is loopback-only with no filesystem confinement, so the token is the only gate.
Inspect the open project and sequence first; that identity is what every later edit is checked against. Discover command IDs, enablement and parameters with command_list instead of guessing; bring in media with media_import. Cuts are sequence.addEdit, placement timeline.place, moves timeline.move, grading effects.setParam; prefer seconds, frame or timecode parameters (raw ticks are 254016000000 per second; since 0.17.1 a move's time takes them too).
Preserve originals: save to a new .fcproj and export with file.exportMedia to a new path. ui_screenshot shows the actual window; render_frame is output pixels, not the window. An export is done only once the file exists and its dimensions and duration have been inspected; an image sequence names its first still as path and its last as lastPath.
A timeout or disconnect may follow an applied edit. Inspect the project before retrying; never replay a mutation blindly. A hidden window or sleeping display makes screenshots fail; report that rather than substituting a render.
04 同仓库更多 Skills
skill-forge
Use when writing or fixing a Mercury SKILL.md and its discovery rules. Not for /skillify session capture or extension packaging.
research
Use when researching papers or a document corpus and producing a cited report with document deliverables. Not for a quick factual lookup or editing application code.
provider-apis
Use when building or changing a Mercury model-provider road, or choosing its request shapes, streaming, tools, caching or usage reader. Not for account sign-in, choosing a model in the UI or unrelated SDKs.
mcp-smithy
Use when building an MCP server for a Mercury session and proving its tool contract. Not for configuring an existing server.
image-generation
暂无简介
extension-maker
Use when building or repairing a Mercury extension or catalogue. Not for installing or approving one for the operator.