Creates scripts, editing plans, and packaged clips in the 晓暖 call-in style (livestream matchmaking format). Validates style consistency, factual accuracy, and consent boundaries before rendering.
Ships in video-creation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
迁移参考作品的连麦定位推理、叙事结构、口语招式与包装模板(顶部双行标题、单行宋体字幕、资料卡、连麦头像窗、彩条加 1 kHz 分隔),不复制作者身份、素材或未经证实的观点。默认交付剪辑计划;用户提供自己的连麦或直播录像并取得来访者同意时,用内置模板出片。
lov-media-crawler),本 Skill 不管理登录态。每次运行读取 skill.yaml、共享 user-profile/v1 及本 Skill records。优先级为当前请求、项目上下文、Skill records、共享偏好、用户/品牌 Profile、安全默认值。
python3 "$SKILL_DIR/scripts/profile_store.py" read --skill-id lov-xiaonuan-style-media-creator --pretty
用户明确要求长期保留的偏好(如自己的栏目名、定位关键词、标题字体)才用 scripts/profile_store.py record --confirm 保存,并报告保存路径。凭据、私聊、来访者个人信息不写入 Profile。详见 references/user-profile.md。
运行前读 references/skill-composition.md。这是 Single Skill:画像、创作、校验和包装模板共享同一份风格 JSON 与时间线协议。下载、转写、发布只通过明确的文件交接,不是隐藏依赖。
创作前读 references/authorship-integrity.md。保留事实、例外和未解问题;来源里的市场判断与刻板说法是原作者的修辞,不是本 Skill 验证过的事实,不能迁移成确定结论。
绑定 SKILL_DIR,读取 assets/xiaonuan-v0.1/style-profile.json、evidence.jsonl 与 references/creation-protocol.md。
uv run --with jsonschema --with pyyaml python "$SKILL_DIR/scripts/style_media.py" doctor
uv run --with jsonschema --with pyyaml python "$SKILL_DIR/scripts/style_media.py" validate-profile
画像含版本、训练/留出拆分、证据、适用条件、例外与局限;unknown 不补成硬规则。校验失败先修复,不绕过门禁。
按 assets/brief.schema.json 解析选题、format(call_in / solo_numbered / solo_mechanism)、时长、平台、事实与素材。建立事实台账,区分事实、判断、虚构演示与未知;虚构来访者标为 fictional_demo。
来访者的声音、条件和形象须有书面同意(guest.consent),只以头像出现。缺失会改变事实、身份、授权或制作范围时问一个聚焦问题;没有时长时说明采用样本中位数(约 5.5 分钟)或用户平台惯例。
按画像在 call_in_positioning、case_to_viewpoint、solo_numbered_answer、solo_mechanism 中选择;service_intro 只在用户提供自己经核实的身份与服务时借结构。
连麦个案按“求定位 → 报条件 → 短问追数字 → 复述并改写真问题 → 带区间的画像与取舍 → 收束 →(可选)对观众泛化”。市场框架换成目标领域可核查的维度;判断落在选择与市场,不对人格下诊断。
先写论证与 beat,再写对白,最后排声画;参考 references/creation-protocol.md 与证据,不凭形容词生成。可用 prompt 子命令为宿主 AI 准备输入包:
uv run --with jsonschema --with pyyaml python "$SKILL_DIR/scripts/style_media.py" prompt --brief BRIEF --output PROMPT_JSON
输出 facts-ledger.json、script.md、edit-plan.json(assets/edit-plan.schema.json)、style-review.json。剪辑计划要求:第一段 5–20 秒前置高光;第二段 0.6–1.2 秒彩条分隔;单行字幕不带标点、每行不超过 16 个文本单位;两行标题一黄(或红)一白;可选资料卡;顶部 160 px、底部 260 px 安全区;-16 LUFS、True Peak 不高于 -1 dBTP。
uv run --with jsonschema --with pyyaml python "$SKILL_DIR/scripts/style_media.py" validate-plan --brief BRIEF --plan EDIT_PLAN
检查 Schema、连续时间线、分隔位置、字幕单行与语速、对白与字幕一致、事实与规则引用、对话密度、标题与资料卡顺序、安全区和响度目标。再人工审阅:改写是否有依据、画像是否可执行、有无读心或刻板判断、标题能否在对话里找到。自动通过不等于风格认可。
仅在用户请求、录像与授权齐备时制作。
python3 "$SKILL_DIR/scripts/build_audio.py" --plan EDIT_PLAN --voice REF=VOICE_WAV --output WORK/public/audio/mix.m4a
python3 "$SKILL_DIR/scripts/build_render_plan.py" --plan EDIT_PLAN --media REF=media/FILE.mp4 --audio audio/mix.m4a --output WORK/src/data/render-plan.json
把 templates/remotion 复制到工作目录,按其 README 放入依赖、录像、音轨与标题字体后渲染 XiaonuanClip 与 XiaonuanCover34。片尾默认接所有视频 Skill 共用的作者品牌片尾(lov-logo-sting 的 media end,配置在共享 Profile preferences.video_outro;作者 2026-11-17 定为统一模板):python3 "$HOME/.agents/skills/lov-logo-sting/scripts/media_end.py" make --out work/sting --fps <成片 fps> 生成,<LogoSting> 接在 XiaonuanClip 最后(intro 取 outro.json,不传 audioSrc),sting.wav 按 outro.json 的增益(默认 0.40)在起点帧并进最终混音、片尾下不垫配乐;只有作者明确说本片不要片尾时才省略。验收:成片重新转写核对剪口、实测响度与峰值、separator_scan.py 复查提示音、扫描黑场与长静音、抽帧检查叠加元素、在 3:4 缩略尺寸检查封面。prepared、validated、rendered_review、human_approved、published 是不同状态;对外发布前确认来访者对这一版的同意。
新样本或重分析时读 references/analysis-protocol.md。先冻结样本与训练/留出拆分,再测量和写规则;留出样本只在画像冻结后读取,基于留出的修订另开版本。
python3 "$SKILL_DIR/scripts/analyze_media.py" --manifest SOURCES_JSON --output MEASUREMENTS_DIR
python3 "$SKILL_DIR/scripts/scan_layout.py" --manifest SOURCES_JSON --output LAYOUT_DIR --partition train
python3 "$SKILL_DIR/scripts/separator_scan.py" --manifest SOURCES_JSON --output SEPARATORS_JSON
python3 "$SKILL_DIR/scripts/speaker_hint.py" --media MEDIA --transcript ASR_JSON --output HINT_TXT
v0.2 候选修订记录在 assets/xiaonuan-v0.1/holdout-report.json。外部调用前说明发送哪些公开或已授权素材;凭据只来自环境或系统凭据存储。
生成与审阅使用宿主 AI 与内置画像,不依赖固定云账号。校验需 Python 3.9+、jsonschema、PyYAML。出片需 FFmpeg、numpy、Node.js 与 Remotion 4.0.517;片尾需 lov-logo-sting(默认片尾,共享 media end)。重分析需 OpenCV、Pillow、librosa、swiftc(macOS Vision OCR)与一个带时间戳的 ASR。下载、转写、拍摄、来访者授权、发布不是默认已完成的步骤。
CHANGELOG.md (opens in a new tab)LICENSE (opens in a new tab)README.md (opens in a new tab)assets/brief.schema.json (opens in a new tab)assets/edit-plan.schema.json (opens in a new tab)assets/style-profile.schema.json (opens in a new tab)assets/xiaonuan-v0.1/FROZEN.json (opens in a new tab)assets/xiaonuan-v0.1/evidence.jsonl (opens in a new tab)assets/xiaonuan-v0.1/holdout-report.json (opens in a new tab)assets/xiaonuan-v0.1/measurements/beep-scan.train.json (opens in a new tab)assets/xiaonuan-v0.1/measurements/ocr-stats.train.json (opens in a new tab)assets/xiaonuan-v0.1/measurements/sign-and-guest-subs.train.json (opens in a new tab)assets/xiaonuan-v0.1/measurements/subtitle-highlight-scan.train.json (opens in a new tab)assets/xiaonuan-v0.1/measurements/text-colors.train.json (opens in a new tab)assets/xiaonuan-v0.1/measurements/training-metrics.json (opens in a new tab)assets/xiaonuan-v0.1/measurements/whole-file-measurements.train.json (opens in a new tab)assets/xiaonuan-v0.1/per-video-analysis.json (opens in a new tab)assets/xiaonuan-v0.1/style-profile.json (opens in a new tab)cases/cases.json (opens in a new tab)cases/yiqimao-demo/brief.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
17 skills in this plugin
/lov-branding-consistency面向公众号、网站、App、策划案、海报等真实发布场景,为读者可见文本建立受众、品牌角色、组件惯例与信息可见性门禁。Use when generating, editing, rendering, publishing, or reviewing audience-facing copy for brand and context fit.
/lov-compress-video把指定视频压到尽可能小且画质不明显下降:默认 HEVC CRF 28 保留分辨率,可选质量 档、目标体积、VMAF 画质门禁与替换原文件模式。Use when 用户说“把这个视频压小” “压缩到 50M 以内”或 “compress this video as small as possible”。
/lov-koubo-media-creator口播短片:输入一个主题,产出 AI 工具类竖版口播的调研、脚本、提词器、上屏素材与封面;作者录完口播后自动剪成上素材下出镜的成片。 Use for 做一条口播短视频、topic to talking-head short.
/video-creation:lov-xiaonuan-style-media-creatorfrom video-creation
npx claudepluginhub lovstudio/skills --plugin video-creationOther plugins' skills for the same job