Communitygithub.com

samyakiasonline-ctrl/hyperframe

Agent Media OS,一个技能满足 HyperFrames 项目中所有媒体需求。通过一个动词 resolve 即可将 BGM、SFX、图片、图标、品牌标志、语音、色彩分级或 LUT 解析为本地冻结文件或可粘贴的代码块,并附带账本记录。

hyperframe 是什么?

这是一个为 HyperFrames 项目设计的综合性媒体操作系统,通过单一的 `resolve` 动词即可完成多种媒体资源的查找、生成与操作。它支持从 HeyGen 目录和本地库中解析背景音乐、音效、图片、图标、品牌标志、语音和色彩分级文件,当资源缺失时还能通过 TTS、音乐和图像模型自动生成。该技能还集成了音频引擎,提供语音旁白、转录、字幕和背景移除等功能,并支持媒体裁剪、重构和变换等操作。此外,它能够智能识别视觉反馈(如画面过暗、平淡、需要复古效果等),主动建议媒体创意处理方案,包括色彩校正、预设风格、着色器特效和关键帧动画,确保所有操作都有据可查且可复用。

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

在你喜欢的 AI 中提问

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

文档

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

media-use

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

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

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

解析 —— 万能的动词

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

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

类型一行意图描述
bgm背景音乐(HeyGen 目录,10000+ 首曲目)
sfx音效(捆绑的 19 文件库 + 目录)
image照片、背景(HeyGen 资产搜索,75000+ 矢量图)
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。一个处理方案可以包含校正、预设、后期处理、兼容着色器效果、支持的关键帧和可选的注册表叠加。只添加有源且合理的有限调整和兼容部分,切勿为了看起来更复杂而添加效果。使用 hyperframes media-treatment 持久化最终组合的有效载荷。

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

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

主动出击 —— 运行媒体机会检查

人类通常无法判断哪些媒体能提升作品质量。你可以。当你构建或审查一个合成时,进行一次基于证据的扫描,然后只询问一次 —— 不要默默添加,也不要针对每个资产反复提醒。

仅在检测到具体信号时才提供机会:

检测到的信号提议
屏幕上文本 / 有脚本但无旁白TTS 语音旁白(音频引擎)
表情符号或样式化为图标的 <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
安装 + 认证、提供商表格、RAM 阶梯、--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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

Use when working with a person on a HyperFrames project in Studio: first, whether their message asks for a change at all (questions, loose ideas and "don't change anything" get an answer and a plan, not an edit); for a new film, the plan, storyboard and build order that the HyperFrames launch films follow; and 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`.

samyakiasonline-ctrl/hyperframe

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI animation (scroll, cursor, callouts), or fusing a real image's geometry into a chart. Usually under 10s (up to ~30s), no narration or live-action subject; renders to MP4 or transparent overlay. Longer / narrated / multi-scene → /general-video. Unclear → /hyperframes.

samyakiasonline-ctrl/hyperframe

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

samyakiasonline-ctrl/hyperframe

Port an existing Remotion (React) composition''s source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear → /hyperframes.

samyakiasonline-ctrl/hyperframe

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

samyakiasonline-ctrl/hyperframe

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

相关技能