SkillsGrove
SkillsGrove/Videoproduktion/DareDev256/fcp-mcp-server/generative-fill

generative-fill

Installation

$npx skills add https://github.com/DareDev256/fcp-mcp-server --skill generative-fill
$git clone --depth 1 https://github.com/DareDev256/fcp-mcp-server.git /tmp/fcp-mcp-server && mkdir -p ~/.claude/skills && cp -r /tmp/fcp-mcp-server/fcpxml/skills/generative-fill ~/.claude/skills/generative-fill
Bitte installiere diesen Agent Skill für mich: https://github.com/DareDev256/fcp-mcp-server/tree/91669b76563e4df7af6b3187465853a8aaf6bde0/fcpxml/skills/generative-fill – lies zuerst seine SKILL.md und seine Skripte und installiere ihn erst dann in meinen Skills-Ordner, wenn du bestätigt hast, dass er sicher ist.

Zusammenfassung

Originalbeschreibung · MITFill a gap, add AI b-roll, or extend a clip with generated video. Use when the user says "generate b-roll", "fill this gap with AI footage", "extend this clip", "what would generated footage cost", or "put something over this section".
Die folgende SKILL.md ist aus DareDev256/fcp-mcp-server (Commit 91669b7) unter der Lizenz MIT wiedergegeben. Der Text ist unverändert; lediglich die Metadaten im Dateikopf sind weggelassen, Bilder werden als Links angezeigt und sehr lange Dateien werden gekürzt. Copyright 2025 DareDev256. Lizenz: LICENSE. Es wird nur die Anleitungsdatei angezeigt; etwaige Skripte finden Sie im Original-Repository.

Generative fill

Done means: the user saw a price and approved it, the generation ran, the new file has a generated lane clip with a marker, DTD status was reported, and you previewed the result. This spends real money. Spending is the user's decision. An agent must never confirm a quote on its own, never pass confirm: true without the user having said yes to that quote in this conversation, and never raise the per-call cap to make a job fit.

Every call is <tool> with {"action": "...", "args": {...}}.

  1. Quote: gen {"action": "gen_quote", "args": {"provider": "fal", "seconds": 7, "prompt": "a street at dusk, handheld"}}. The reply gives a quote id, billable seconds, the estimated USD with its price date, whether the price was read on the vendor page or is UNVERIFIED, and the cap (FCP_MCP_GEN_MAX_USD, default 5). model is optional. Runway and Luma are stubs: the quote is an estimate only.
  2. Ask the user. Show provider, model, seconds, prompt, price, cap. Wait for an explicit yes. Quotes expire after 60 minutes.
  3. Generate, with the SAME provider, model, seconds and prompt as the quote (the price is recomputed from the job, so a changed prompt invalidates the quote id):
    • Gap: {"action": "gen_fill_gap", "args": {"filepath": "~/Movies/cut/final.fcpxml", "gap_index": 0, "prompt": "...", "seconds": 7, "quote_id": "<id>", "confirm": true}} (or at in seconds to pick the gap)
    • B-roll over a clip: {"action": "gen_broll", "args": {"filepath": "...", "clip_name": "Interview A", "at": 4, "seconds": 5, "prompt": "...", "quote_id": "<id>", "confirm": true, "lane": 1}}
    • Extend past the out point: {"action": "gen_extend_clip", "args": {"filepath": "...", "clip_name": "Interview A", "seconds": 3, "prompt": "...", "quote_id": "<id>", "confirm": true}} condition_on_frame defaults true: the job is conditioned on a frame of the source when available, and the reply says if it fell back to the prompt alone. The generators run as background tasks where supported. Where the server supports elicitation and you call a generator without a confirmed quote, it asks the user to approve the spend in a dialog instead of refusing. Let them answer it. Do not work around it.
  4. Read the reply: media saved under generated/ beside the project, probed length and fps, lane, role generated, a marker naming prompt and provider, the new file path, sha256, estimated cost, and a DTD line. "DTD: INVALID" means do not import the file.
  5. Preview: view view_timeline, then preview preview_render on the new file. Report spend: the estimate is not invoice-checked, say so.

Stop and tell the user when:

  • The call refuses: no confirm, unknown or expired quote, job changed since the quote, price over the cap, or no key (FAL_KEY or GEMINI_API_KEY in the environment; never ask for the key in chat).
  • The provider is video-to-video or a stub that is not implemented.
  • The generated media probes as not video, or DTD is INVALID.
  • The user asks to "just run it": still show the price first.
Vollständigen Lizenztext ansehen (MIT)
MIT License

Copyright (c) 2025 DareDev256

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.