Ugc Editing 标志

Ugc Editing

组织
palmier-io
ugc-editing

涵盖组装原始素材、剪掉失误镜头和静音片段、选择并应用对镜讲述/B-roll 格式(直接交叉剪辑、上下分屏或遮罩/浮动叠加),以及为 UGC 风格内容安排字幕。无论片段是 AI 生成还是实拍,都适用。每当用户想要剪辑、拼接、组装、排版或添加 UGC 风格视频字幕,或选择对镜讲述 + B-roll 布局时使用。若素材由 AI 生成,则承接 ugc-photo-prompts / ugc-video-prompts;若为实拍素材,则承接通过 import_media 导入之后的流程。

Add to TypingMind

概览

发布者palmier-io
代码仓库palmier-skills
技能名称ugc-editing
星标数
82
复刻数
10
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/palmier-io/palmier-skills.git /tmp/palmier-skills
mkdir -p .claude/skills
cp -r /tmp/palmier-skills/skills/ugc-editing .claude/skills/ugc-editing
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

UGC Editing

Core principle

Editing is footage-source-agnostic. The same assemble → trim → layout → caption pipeline applies whether the clips came from ugc-video-prompts or a real phone shoot. This skill picks up wherever footage already exists and turns it into a finished vertical post. The single biggest editing mistake in UGC is padding — long pauses, repeated stumbles, slow setups. Cut harder than feels comfortable. Authentically raw ≠ unedited; it means tight pacing with natural-sounding joins.

Tool model (current Palmier): timeline positions are project frames; source trims are seconds via source: [start, end]. Linked A/V is folded into the video clip as audio: { id, … } — mute/edit audio by that nested id. Mutations return a timeline delta — patch from it; don't re-get_timeline after every call. Index 0 renders on top.


Step 0: Pre-flight — always run before touching the timeline

  1. get_timeline — check resolution / canGenerate. Must be 9:16 (typically 1080×1920). If not:

    set_project_settings({ aspectRatio: "9:16", quality: "1080p" })

    Do this before placing clips. Explicitly configured settings stick (the first clip no longer snaps the project to its source aspect — placement may only note a mismatch).

  2. get_media — identify A-roll and b-roll. Note durationSeconds, width/height, hasAudio.

  3. inspect_media on the A-roll:

    • First: overview: true — storyboard + segment timestamps.
    • Then: wordTimestamps: true (window long clips with startSeconds/endSeconds) — read words as prose before cutting. Look for retakes, fillers, false starts, trailing dead air, weak sections.

Step 1: Place A-roll only — no b-roll yet

add_clips({
  entries: [{
    mediaRef: AROLL_ID,
    startFrame: 0,
    // whole asset, or trim in SOURCE seconds (not project frames):
    source: [SKIP_PREROLL_S, END_S]   // omit for full file
  }]
})
// omit trackIndex on every entry → auto-creates video + linked audio tracks
  • Never pass trackIndex here when you want a fresh storyline track. Omitting it auto-creates one shared video track (and linked audio). Specifying an existing index can overwrite whatever is already there.
  • There is no durationFrames / trimStartFrame on add_clips — use source: [startSeconds, endSeconds] for source span, or endFrame (mutually exclusive with source) for an exact timeline occupy range.
  • 16:9 A-roll in a 9:16 project may letterbox. Cover-crop the talking head to full frame:
    apply_layout({
      layout: "full",
      slots: [{ slot: "main", clipIds: [AROLL_CLIP_ID], anchor: "center" }]
    })
    Prefer apply_layout over set_clip_properties transforms — layout sets transform and crop together (transform-only leaves a stale crop and can stretch).

Step 2: Cut bad takes and filler — words first

Prefer remove_silence first for dead air (no transcript), then word cuts.

Read first, cut once per pass. get_transcript → mark indices → one remove_words call. Indices shift after every cut — re-read before the next pass.

get_transcript()
remove_words({
  words: [
    [FIRST_RETAKE_START, FIRST_RETAKE_END],
    FILLER_INDEX,
    [FALSE_START_START, FALSE_START_END],
  ],
  cutAggressiveness: "tight"   // "balanced" / "loose" if joins feel clipped
})
// bulk fillers: remove_words({ matches: ["um", "uh", "hmm"] })

What to cut: duplicate retakes (keep the most fluent), fillers, false starts, trailing soft endings, off-topic tangents that break hook → value → CTA.

What to keep: natural pauses between real thoughts; best take of each section; the outro/CTA.

Captions block ripple: if a caption track exists, remove it before cutting:

manage_tracks({ remove: [{ trackId: CAPTION_TRACK_ID }] })
// or remove: [index] — prefer trackId from get_timeline

Then cut, then re-add captions. Never caption before cutting is finished. There is no remove_tracks tool.


Step 3: Pick a layout format

Format 0 — Straight intercut (default)
B-roll is supplementary, not simultaneous. Hard cuts alternating full-frame A-roll and b-roll on the same video track every 3–5s. Use add_clips (overwrite landing region) or insert_clips (ripple — requires trackIndex) — no layout tool.

Format 1 — Stacked split, b-roll top / talking head bottom
B-roll is proof (product/result/location). Viewer needs both at once. layout: "top_bottom", b-roll → top, head → bottom.

Format 2 — Stacked split, head top / b-roll bottom
B-roll is filler/retention. Same layout, slots flipped.

Format 3 — Full-bleed b-roll, floating head
Not clean via apply_layout alone — needs chroma/apply_effect + manual framing. Skip unless asked.


Step 4: Place b-roll

Format 0 — intercut on the storyline track

add_clips({
  entries: [
    { mediaRef: BROLL_1, startFrame: F0, source: [0, 4] },
    { mediaRef: BROLL_2, startFrame: F1, source: [0, 3] },
  ]
})
// same track as A-roll → overwrites those ranges (split/trim under the hood)

Mute any linked b-roll audio (nested audio.id on each placed video, or mute the b-roll audio track via manage_tracks).

Format 1–2 — stacked split (critical: span-scope the head)

apply_layout on an existing clip is whole-clip (time-invariant). If you layout the entire A-roll into bottom, the head stays half-frame for the whole video — including stretches with no b-roll (black / empty top).

Do this instead:

  1. split_clips the A-roll at each b-roll span boundary so overlay segments are their own clips.
  2. add_clips each b-roll tile on a new track (omit trackIndex on the whole batch) covering exactly those frames — use startFrame + source or endFrame.
  3. Mute b-roll audio immediately:
    set_clip_properties({
      clipIds: [BROLL_AUDIO_NESTED_IDS],  // video.audio.id from timeline/delta
      volume: 0
    })
  4. For each overlapping pair, apply_layout:
    apply_layout({
      layout: "top_bottom",
      slots: [
        { slot: "top",    clipIds: [BROLL_CLIP_ID], anchorY: 0.4 },
        { slot: "bottom", clipIds: [AROLL_SEGMENT_ID], anchor: "center" }
      ]
    })
  5. Leave non-overlay A-roll segments full-frame (layout: "full" only if something dirtied them).

Do not use insert_clips for overlay b-roll — it ripples the storyline and breaks sync. Do not build splits with set_clip_properties / set_keyframes transforms.

Optional shortcut for a single continuous stacked section: apply_layout placement mode with mediaRef in every slot + startFrame/endFrame creates stacked tracks for that range only — useful when A-roll isn't already on the timeline for that span. Don't mix mediaRef and clipIds across slots in one call.


Step 5: Captions

add_captions finds spoken audio itself — there is no clipIds filter. Mute all b-roll / non-dialogue audio before captioning or captions will pick up the wrong speech.

add_captions({
  animation: "highlightPop",          // or "wordPop"
  highlightColor: "#FFD700",
  maxWords: 3,
  transform: { centerY: 0.5 },        // 0.5 seam (split); 0.82 lower-third (full-frame)
  style: {
    color: "#FFFFFF",
    bold: true,
    fontSize: 48,                     // ~48 split; 60+ full-frame
    fontCase: "mixed"                 // NOT "uppercase" — natural case
  }
})
  • Restyle later: update_text({ captionGroupId, style: {…}, transform: {…}, animation }).
  • fontCase is display casing (mixed / uppercase / lowercase). Prefer mixed.
  • Caption clips show as captionGroups summaries on get_timeline — use captionDetail: true only when editing individual caption clips.

Step 6: Verify

inspect_timeline({ startFrame: 0, endFrame: totalFrames, maxFrames: 6 })

Check samples for: b-roll filling its half only during overlay spans; talking head full-frame elsewhere; captions at the seam/lower-third; no stretched clips (stale crop — reset with apply_layout full).


Common failure modes

SymptomCauseFix
B-roll overwrites A-rolltrackIndex pointed at storylineRe-add b-roll with trackIndex omitted
Head stuck in bottom half foreverapply_layout on whole A-roll clipSplit A-roll; layout only overlay segments
Clip looks stretchedTransform without clearing cropapply_layout({ layout: "full", slots: [{ slot: "main", clipIds: [ID] }] })
Captions from b-roll dialogueB-roll audio still audiblevolume: 0 on nested b-roll audio ids, then regenerate captions
remove_words sync-lockCaption track presentmanage_tracks remove caption track → cut → re-caption
add_clips rejectedUsed durationFrames / bare arrayUse { entries: [{ mediaRef, startFrame, source? }] }
Stale timeline mental modelRe-read skipped after foreign editsPatch from mutation deltas; get_timeline after failures / user edits

Track order — typical end state

Index 0 = top (what you see on top in the preview).

IndexContent
0Captions (text)
1B-roll video (muted linked audio)
2A-roll video
…A-roll audio (linked; may appear as nested audio on the video clip)

Pacing benchmarks

  • Hook in the first 2–3 seconds.
  • A cut, b-roll switch, or caption change roughly every 3–5 seconds.
  • Most UGC ads: 15–60s (30–45s sweet spot for Reels with CTA).
  • Captions are not optional — most social video is watched muted.
  • AI talking heads: keep faces to 2–3s before cutting to b-roll.

Guardrails

  • Build fictional, generic personas — don't edit in a specific real, identifiable person without consent, and don't recreate a named public figure's likeness.
  • Keep wardrobe/pose/action choices brand-safe and non-sexualizing by default; only go further if the user explicitly asks.

常见问题

Ugc Editing AI 技能有什么作用?

涵盖组装原始素材、剪掉失误镜头和静音片段、选择并应用对镜讲述/B-roll 格式(直接交叉剪辑、上下分屏或遮罩/浮动叠加),以及为 UGC 风格内容安排字幕。无论片段是 AI 生成还是实拍,都适用。每当用户想要剪辑、拼接、组装、排版或添加 UGC 风格视频字幕,或选择对镜讲述 + B-roll 布局时使用。若素材由 AI 生成,则承接 ugc-photo-prompts / ugc-video-prompts;若为实拍素材,则承接通过 import_media 导入之后的流程。

为什么在 TypingMind 中使用 Ugc Editing?

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

如何在 TypingMind 中安装 Ugc Editing?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/palmier-io/palmier-skills/tree/main/skills/ugc-editing。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ugc Editing?

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

Ugc Editing 可以搭配多少个 AI 模型使用?

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

Ugc Editing AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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