Communitygithub.com

Alemoterani/auto-edit-hyperframes

超帧项目的代理媒体操作系统。通过一条 `resolve` 命令解决 BGM、SFX、图像、图标、品牌 Logo、语音、调色或 LUT,将其冻结为本地文件或可粘贴的代码块及分类账记录;当目录缺失时通过 TTS/音乐/图像模型生成;通过统一的音频引擎生成旁白、转录、字幕和背景去除;对媒体执行剪切/重构图/变换操作;并在项目间复用资产。也适用于模糊反馈,例如真实镜头太暗、平淡、无聊,应具有复古/摄像机/打印/ASCII 风格,需要隐私保护或需要媒体揭示。当宿主应用提供其自有的音乐或音效工具时,使用这些工具处理音乐和音效;`resolve --type bgm|sfx` 需要 heygen CLI。当设置了 `HEYGEN_API_BASE` 时,HeyGen 调用通过该主机进行,无需 CLI 登录。

auto-edit-hyperframes 是什么?

该技能是一个为 HyperFrames 项目设计的全能代理媒体操作系统,旨在统一管理各种媒体类型,消除上下文噪音。它通过一个核心动词 `resolve` 来搜索和获取媒体资产(如背景音乐、音效、图像、图标、Logo、语音、调色或 LUT),若目录中缺失则自动调用 TTS、音乐或图像生成模型创建。技能还提供剪切、重构图、变换等操作,并在项目间复用资产,同时集成了一个通用的音频引擎用于旁白、转录和字幕生成。它支持模糊的视觉反馈,将修复、润色、风格化、模糊或揭示等意图转化为具体的媒体处理工作流。在支持 HeyGen 的宿主应用中,技能能自动识别并优先使用宿主提供的 HeyGen 工具及付费额度,否则引导用户通过 heygen CLI 的 OAuth 免费额度或 API Key 使用。该技能通过详细的引用文件组织其复杂功能,确保在处理视频、音频和图像时,只读取当前任务所需的特定文档。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Alemoterani/auto-edit-hyperframes/tree/HEAD/vendor/hyperframes/skills/media-use

在你喜欢的 AI 中提问

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

文档

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

media-use

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

仅当在你的环境中设置了 HEYGEN_API_BASE 时(宿主应用已设置并使用自己的密钥为 HeyGen 付费):HeyGen 媒体已付费。无需要求用户安装或登录 heygen CLI,也不要提供其 OAuth 额度;此处的目录搜索、TTS 和虚拟人调用均通过宿主进行。当同一宿主还为你提供了其自己的 HeyGen 工具时,优先使用这些工具。当通过宿主的调用被拒绝时,按原样告知用户宿主返回的消息(该消息会指明解决方法,例如在应用设置中添加或替换密钥),然后停止;除非用户要求,否则不要切换到其他提供商。

首次运行(没有 HEYGEN_API_BASE)时,当你将要使用 HeyGen 媒体(目录搜索、TTS、虚拟人视频)时:安装并登录 heygen CLI(免费使用路径),然后用 npx hyperframes media-use resolve --doctor 进行验证。设置和提供商:references/setup-providers.md。

宿主应用内的音乐和音效:当你所处的应用为你提供了其自有的音乐或音效工具时,使用这些工具。如果没有 HEYGEN_API_BASE,resolve --type bgm 和 --type sfx 会通过 heygen CLI 搜索 HeyGen 目录;如果没有 CLI,则会失败并显示相应信息(sfx 仍会从其捆绑库中提供答案)。

如果没有 HEYGEN_API_BASE,在生成旁白或虚拟人视频之前,请告知用户:通过 OAuth 登录 heygen CLI (heygen auth login --oauth) 可获得 TTS 旁白和虚拟人视频的免费额度,而使用 API 密钥则会消耗 API 信用额度。

Resolve —— 核心动词

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

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

类型一行意图描述
bgm背景音乐(通过 heygen CLI 搜索 HeyGen 目录,超过 1 万首曲目)
sfx音效(包含 19 个文件的捆绑库 + 通过 heygen CLI 搜索的目录)
image照片、背景图(HeyGen 资产搜索,超过 7.5 万个矢量图)
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 旁白(音频引擎)
Emoji 或一个被样式化为图标的 <div>解析真实的 icon
看起来是占位符、很小或看起来被放大的图像更好的 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
安装 + 认证、提供商表、内存阶梯、--local-only、--providerreferences/setup-providers.md
记住的偏好 + 冻结的配方(用户记忆)references/memory.md
所有权矩阵、使用统计、遥测、隐私(维护者面向)references/meta.md

Individual skills in this repo

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

Alemoterani/auto-edit-hyperframes

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

Alemoterani/auto-edit-hyperframes

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

Alemoterani/auto-edit-hyperframes

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

Alemoterani/auto-edit-hyperframes

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

Alemoterani/auto-edit-hyperframes

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

Alemoterani/auto-edit-hyperframes

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

Alemoterani/auto-edit-hyperframes

Leaves sweep through the frame and part to reveal the headline. HyperFrames block, 1920×1080, 12s, 11 variables.

Alemoterani/auto-edit-hyperframes

A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline. HyperFrames block, 1920×1080, 8s, 18 variables.

Alemoterani/auto-edit-hyperframes

A chain of bevelled cuboids rides a travelling wave as a content carousel. HyperFrames block, 1920×1080, 6.666666666666667s, 40 variables.

Alemoterani/auto-edit-hyperframes

An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades. HyperFrames block, 1920×1080, 22.5s, 216 variables.

Alemoterani/auto-edit-hyperframes

Glass shards fly in through fog and tile themselves into the headline. HyperFrames block, 1920×1080, 12.16s, 19 variables.

Alemoterani/auto-edit-hyperframes

A single feature card orbits a dot sphere on approved Blender camera motion. HyperFrames block, 1920×1080, 10s, 4 variables.

Alemoterani/auto-edit-hyperframes

A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase. HyperFrames block, 1920×1080, 8s, 9 variables.

Alemoterani/auto-edit-hyperframes

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet `anchor` rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Alemoterani/auto-edit-hyperframes

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

Alemoterani/auto-edit-hyperframes

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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`.

Alemoterani/auto-edit-hyperframes

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, clean, 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.

相关技能