Communitygithub.com

媒体编辑专家

HyperFrames 项目的媒体操作系统,一个技能满足所有媒体需求:解析、生成、操作、记忆。

媒体编辑专家 是什么?

该技能旨在为 HyperFrames 项目提供一个统一的媒体处理入口。核心概念是“解析”动词,可通过 `npx hyperframes media-use resolve --type <type> --intent "<description>" --project <dir>` 命令将 BGM、音效、图片、图标、品牌标志、语音、校色或 LUT 等媒体解析为本地冻结文件或可直接粘贴的代码块,并生成账本记录。当目录中缺少所需媒体时,它能利用 TTS、音乐或图像生成模型自动生成。此外,该技能还支持语音旁白、转录、字幕和背景去除等音频操作,以及剪切、重新构图和变换等媒体编辑功能,并能在项目间复用资产。对于用户关于视频画面偏暗、平淡、无聊或需要特定风格(复古、摄像机、打印、ASCII)、隐私保护或媒体揭示等模糊反馈,该技能也能通过“媒体处理”机制进行智能处理。它通过 `--candidates` 标志列出可复用的候选项,并提供详细的引用文档(`references/` 目录下)来指导更高级的操作,如校色、LUT、音频引擎、操作和设置。首次使用需要安装 `heygen` CLI 并通过 `npx hyperframes media-use resolve --doctor` 验证。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/DansiDanutz/Video-Editor/tree/HEAD/.claude/skills/media-use

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

插件安装: 在执行 setup 或 freshness 命令之前,如果此技能位于 HyperFrames 插件内,请遵循插件执行规则。独立安装请保留下面的更新说明。

媒体使用

HyperFrames 的媒体操作系统:解析 · 生成 · 操作 · 记忆 —— 覆盖所有媒体类型,一个技能,零上下文噪音。

首次运行:安装并登录 heygen CLI(免费使用路径),然后使用 npx hyperframes media-use resolve --doctor 验证。设置和提供商:references/setup-providers.md。

解析 —— 唯一的动词

npx hyperframes media-use resolve --type <type> --intent "<description>" --project <dir>

返回一行:resolved <id> → <path> (<type>, <metadata>)。所有搜索噪音保留在磁盘上。

类型一行意图
bgm背景音乐 (HeyGen 目录, 10k+ 曲目)
sfx音效 (捆绑的 19 文件库 + 目录)
image照片, 背景 (HeyGen 资产搜索, 75k+ 矢量)
icon图标, 符号 (透明)
logo官方品牌标志 (theSVG → GitHub 头像 → favicon; 绝不重绘)
voiceTTS 语音旁白 (HeyGen 免费使用路径; 可选的本地 Kokoro)
grade测量校正候选; 广泛的润色/风格化遵循媒体处理
lut用户提供或明确选择的可复用已验证的 .cube 文件

在解析新内容之前,使用 --candidates 列出可复用的候选项,并自行判断其适用性——复用规则、所有标志、引入 (--from) 和采用,请参见 references/resolve.md。

将广泛的视觉反馈视为媒体意图

当用户明确要求修复、润色、风格化、模糊、强调或 揭示摄影媒体时,即使他们没有提及校色或效果,也请阅读 references/media-treatments.md。检查实际的 <img>/<video>, 选择一个主要意图,然后使用确定性持久化和验证。 使用匹配的配方作为可选的测试种子,或检查 hyperframes media-treatment --capabilities --json,然后请求一个相关的 系列/效果并使用 --capability <id> 并从标准控件组装自定义处理。 对于普通创作,永远不要加载 --all。一个处理可以组成 校正、预设、精修、兼容着色器效果、支持的关键帧和可选的 Registry 覆盖。仅添加来源证明的有限 调整和兼容部分,切勿仅仅为了让结果看起来更精致而添加效果。 使用 hyperframes media-treatment 持久化最终的组合负载。

使用一个逐步升级的工作流程。对于视频,检查一个标记了早期/中期/晚期的联系表,而不是分别读取帧。对于普通校正或润色,应用一个候选并检查一个后续表。只有当结果不明确、是时间性的、风格化的、基于 LUT 的、HDR/LOG 敏感的、私有的或品牌关键时,才升级到单个帧或动态草稿证据。

对于普通校正或润色,持久化最终处理的预设/调整 JSON。 不要仅仅为了编码曝光、阴影、对比度或 色温而生成 .cube LUT。仅当用户提供 LUT 或所选处理 明确拥有 LUT 时才使用 LUT。resolve --type grade --for ... --analyze 是测量 证据,而不是用生成的 LUT 替换所选处理的许可。 不要用 CSS/SVG 覆盖层重新创建支持的暗角、颗粒、模糊、像素化、色彩或处理 效果;这会绕过 Studio 控件和标准预览/渲染着色器路径。

主动出击 —— 进行媒体机会评估

通常,人类无法判断哪些媒体可以提升作品。但你可以。当你构建或审查一个合成时,请进行一次有依据的扫描,然后询问一次 —— 不要默默添加,也不要对每个资产都唠叨。

仅当存在具体信号时才提出机会:

检测到的信号建议
屏幕上的文本 / 没有旁白的脚本TTS 语音旁白 (音频引擎)
表情符号或样式化为图标的 <div>解析真实的 icons
占位符、很小或看起来放大的图片更好的 image (和/或放大 — 参见 references/operations.md)
没有声音的硬场景切换 / 转场转场 sfx
超过约 10 秒且没有音乐底部的片段bgm
看起来欠曝/过曝或有偏色的素材校正校色 (使用 hyperframes media-treatment --selector '#hero' --analyze --json 检查)
感觉视觉上平淡或主题不符的摄影媒体一个具体的、适合来源的预设或自定义处理,并指明预期的目标
感觉静态的有意义的媒体进入/揭示一个支持的安全搜索兼容的处理动画;除非请求还证明了预设的必要性,否则保留颜色

保证这成为帮助而非唠叨的规则:有依据,而非泛泛(无信号 → 无建议);有主见且具体(根据默认值提出具体修复方案 —— 人类批准 全部 / 部分 / 都不批准);每个项目一次(一次合并询问;尊重“保持原样”);展示,永不静默变异(尤其是校色:提出并预览 —— 一个灰世界的“校正”会毁掉一个有意为之的日落或霓虹灯效果)。

查阅位置 —— 仅读取任务所需的文件

任务读取
解析 / 复用 / 采用 / 引入, 标志, 级联, 清单references/resolve.md
校色, LUT, 智能校色 (--for), 校色对比references/grading.md
语音旁白 / TTS, 音乐, SFX, 字幕, 转录 (音频引擎)references/audio.md
剪切 / 重新构图 / 变换现有媒体, 精确误差扩散, HEVCreferences/operations.md
来源感知的创意处理, 实时效果, 覆盖层, 揭示references/media-treatments.md
安装 + 认证, 提供商表格, RAM 阶梯, --local-only, --providerreferences/setup-providers.md
记住的偏好 + 冻结配方 (用户记忆)references/memory.md
所有权矩阵, 使用统计, 遥测, 隐私 (维护者面向)references/meta.md

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

DansiDanutz/Video-Editor

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

DansiDanutz/Video-Editor

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

DansiDanutz/Video-Editor

Use when audio already placed in a HyperFrames composition needs to be mixed: fade-in/fade-out, crossfade, track gain or volume, volume automation, ducking, a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), automation envelopes drawn on a track's volume or any effect parameter, or one submix bus carrying a chain, a fader and an automation clock for several tracks at once (`<hf-audio-group>`). Don't use for sourcing or generating audio — finding BGM, SFX, or making a voiceover is `/media-use`. Don't use for clip timing or track layout, which is `/hyperframes-core`.

DansiDanutz/Video-Editor

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, timeline, history, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

DansiDanutz/Video-Editor

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

DansiDanutz/Video-Editor

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

DansiDanutz/Video-Editor

Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, text trails, 3D depth, or `hyperframes keyframes` diagnostics. Don't use for broad scene strategy, brand design, media sourcing, captions, or general video planning.

DansiDanutz/Video-Editor

Search, install, and wire registry blocks and components into HyperFrames compositions. Use BEFORE hand-building any named visual — whenever a brief, a user, or a storyboard names a look, effect, treatment, or transition such as CRT scanlines, glitch, chromatic aberration, film grain, a shimmer sweep, a chart, a code or terminal window, a map, or a confetti burst — because roughly 400 hosted items already cover many of them and the search ranks all of them with nothing installed, no project, and no account. Also use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

DansiDanutz/Video-Editor

Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo, explainer, captioned clip, title card, overlay, slideshow or interactive deck, Remotion port, or any HyperFrames HTML composition. Also use it to inspect, diagnose, validate, preview, publish, or batch-render an existing HyperFrames project. Inputs may be a website URL, GitHub PR, Figma design or URL, text or brief, existing footage, or music. It resumes project state, captures intent when applicable, selects and installs the owning workflow, and routes domain capabilities. HyperFrames is the default output framework unless the user explicitly chooses another framework for the deliverable or asks only to record a browser session.

DansiDanutz/Video-Editor

Use when building or editing a HyperFrames project that people open in Studio: how the timeline should be laid out so it reads well (one caption track, one element kind per track, every scene a sub-composition) and where captions and key content may sit (safe zones). Don't use for how to perform an individual edit (split, trim, retime, volume, copy, swap): that is `creator-editing-recipes.md` in `/hyperframes-core`.

DansiDanutz/Video-Editor

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

DansiDanutz/Video-Editor

Divide a finished story/script into filmable scenes with per-scene image and animation prompts. Use when building a scene outline or shot list, deciding scene boundaries, durations, or what each visual must show.

DansiDanutz/Video-Editor

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

相关技能