技能图谱SKILLSGROVE
技能图谱/视频制作/DareDev256/fcp-mcp-server/transcript-edit

transcript-edit

安装

$npx skills add https://github.com/DareDev256/fcp-mcp-server --skill transcript-edit
$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/transcript-edit ~/.claude/skills/transcript-edit
请帮我安装这个 Agent Skill:https://github.com/DareDev256/fcp-mcp-server/tree/91669b76563e4df7af6b3187465853a8aaf6bde0/fcpxml/skills/transcript-edit ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITEdit dialogue and talking-head footage by what is said. Use when the user says "cut the ums", "remove filler words", "keep only the parts where I talk about X", "tighten this interview", "cut the dead air", or "edit by transcript".
以下 SKILL.md 内容转载自 DareDev256/fcp-mcp-server(提交 91669b7),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2025 DareDev256 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

Transcript edit

Done means: a new .fcpxml with the cuts applied, the reply's cut list matches what the user asked for, view_timeline or preview_render shows the result, and you reported each removed span and the new file path with its sha256.

Every call is <tool> with {"action": "...", "args": {...}}. Pass the last sha256 as expected_sha256. Edits write a new file; the source is never overwritten.

  1. Transcribe: transcript {"action": "transcribe_media", "args": {"filepath": "~/Movies/interview/cut.fcpxml", "backend": "local", "model": "base", "language": "en"}}
    • local runs faster-whisper on this machine; audio never leaves it.
    • elevenlabs uploads the audio to ElevenLabs Scribe and adds speaker labels and audio events. It needs ELEVENLABS_API_KEY in the environment and is opt-in; tell the user the audio leaves the machine before using it. A local transcript never satisfies a request for speakers.
    • Results are cached in the index, so a second call is fast. Runs as a background task where supported.
  2. Read it: {"action": "transcript_pack", "args": {"filepath": "...", "gap": 0.5, "write": true}}. Every transcript on one page; write saves the full pack beside the project when the chat copy is truncated.
  3. Pick the operation:
    • Fillers: {"action": "remove_filler_words", "args": {"filepath": "...", "padding": 0.02, "output_path": "~/Movies/interview/cut_clean.fcpxml"}} (add fillers to override the list)
    • By phrase: {"action": "edit_by_transcript", "args": {"filepath": "...", "phrases": ["so basically"], "mode": "remove", "padding": 0.05}}, or mode "keep_only" to keep only the matches.
    • Dead air from the real audio: edit {"action": "detect_media_silence", "args": {"filepath": "...", "noise_db": -30, "min_silence": 0.5}}, then {"action": "remove_media_silence", "args": {"filepath": "...", "noise_db": -30, "min_silence": 0.5, "padding": 0.05}}.
    • Gaps and clips named like silence in the timeline itself: diagnose detect_silence_candidates, then edit {"action": "remove_silence_candidates", "args": {"filepath": "...", "mode": "mark"}} first (adds markers), delete only after the user agrees.
  4. Review: preview {"action": "preview_check", "args": {"filepath": "...", "source": "~/Movies/interview/a.mov", "start": 10, "end": 15, "cut": 12.5}} shows frames either side of a cut with its waveform; or view view_timeline. Listen-level claims need a render: preview_render.
  5. Chain edits on the NEW file each time; always pass the new path.

Stop and tell the user when:

  • The reply says no media, no transcript, or media not found on this machine.
  • The backend is elevenlabs and ELEVENLABS_API_KEY is missing; do not switch to elevenlabs silently, and do not ask for the key in chat.
  • A phrase matches nothing or far more than expected: show the matches and ask.
  • A hash mismatch refusal appears.
  • The user asked for speaker labels and the transcript is local-only.
查看许可证全文(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.