Communitygithub.com

Alemoterani/auto-edit-hyperframes

Agente Media OS para projetos HyperFrames. Resolva BGM, SFX, imagem, ícone, logotipo, voz, correção de cor ou LUT em um arquivo local congelado ou bloco pronto para colar + registro em ledger (um verbo: `resolve`); gere via modelos TTS / música / imagem quando o catálogo não tiver; produza narração, transcrição, legendas e remoção de fundo através de um motor de áudio compartilhado; opere na mídia (cortar / reenquadrar / transformar) e reutilize ativos entre projetos.

O que é auto-edit-hyperframes?

Este skill transforma o HyperFrames em um sistema operacional completo para mídia, centralizando todas as operações relacionadas a áudio, vídeo e imagem em um único comando: `resolve`. Ele permite localizar, gerar e reutilizar ativos de mídia, como música de fundo, efeitos sonoros, imagens, ícones, logotipos, narrações e LUTs, mantendo um registro de ledger para rastreamento. A ferramenta integra-se com o HeyGen para acesso a catálogos e geração de fala, mas também oferece suporte a caminhos locais e ao CLI do HeyGen quando a variável de ambiente `HEYGEN_API_BASE` não está definida. O skill lida com feedback vago sobre mídia, transformando frases como "está escuro" ou "parece retrô" em intenções concretas de tratamento de mídia, como correção de cor, aplicação de predefinições ou efeitos em tempo real. Além de resolver e gerar, ele opera sobre a mídia existente com operações de corte, reenquadramento e transformação, e gerencia preferências e receitas congeladas através de uma memória persistente.

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

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Instalação de plugins: Antes de comandos de configuração ou atualização, siga as regras de execução de plugins quando este skill estiver dentro de um plugin HyperFrames. Instalações independentes mantêm as instruções de atualização abaixo.

uso-de-mídia

O sistema operacional de mídia para HyperFrames: resolver · gerar · operar · lembrar — cada tipo de mídia, um skill, zero ruído de contexto.

Apenas quando HEYGEN_API_BASE estiver definida no seu ambiente (um aplicativo host a definiu e paga pelo HeyGen com sua própria chave): a mídia HeyGen já está paga. Não peça à pessoa para instalar ou fazer login no CLI heygen e não ofereça sua permissão OAuth; as chamadas de pesquisa de catálogo, TTS e avatar aqui passam pelo host. Quando esse mesmo host também fornecer suas próprias ferramentas HeyGen, use-as primeiro. Quando uma chamada através do host for recusada, diga à pessoa a mensagem do host conforme escrita (ela nomeia a correção, como adicionar ou substituir a chave nas Configurações do aplicativo) e pare; não mude para outro provedor a menos que eles peçam.

Na primeira execução, caso contrário (sem HEYGEN_API_BASE), quando você for usar mídia HeyGen (pesquisa de catálogo, TTS, vídeo de avatar): instale e faça login no CLI heygen (o caminho de uso gratuito), depois verifique com npx hyperframes media-use resolve --doctor. Configuração e provedores: references/setup-providers.md.

Música e efeitos sonoros dentro de um aplicativo host: quando o aplicativo em que você executa fornecer suas próprias ferramentas de música ou efeitos sonoros, use-as. Sem HEYGEN_API_BASE, resolve --type bgm e --type sfx pesquisam o catálogo HeyGen através do CLI heygen; sem ele, falham e informam (sfx ainda responde de sua biblioteca incluída).

Sem HEYGEN_API_BASE, antes de gerar uma narração ou um vídeo de avatar, informe à pessoa: fazer login no CLI heygen com OAuth (heygen auth login --oauth) concede uma permissão gratuita para narração TTS e vídeos de avatar, enquanto uma chave de API cobra créditos de API.

Resolver — o único verbo

npx hyperframes media-use resolve --type <tipo> --intent "<descrição>" --project <diretório>

Retorna uma linha: resolved <id> → <caminho> (<tipo>, <metadados>). Todo o ruído de pesquisa permanece no disco.

TipoIntenção de uma linha
bgmmúsica de fundo (catálogo HeyGen via CLI heygen, 10 mil+ faixas)
sfxefeitos sonoros (biblioteca incluída de 19 arquivos + catálogo via CLI heygen)
imagefotos, planos de fundo (pesquisa de ativos HeyGen, 75 mil+ vetores)
iconícones, símbolos (transparentes)
logomarcas oficiais (theSVG → avatar do GitHub → favicon; nunca redesenhado)
voicenarração TTS (caminho de uso gratuito HeyGen; Kokoro local opcional)
gradecandidato de correção medido; polimento/estilização ampla segue Tratamentos de Mídia
lutarquivo .cube reutilizável validado fornecido pelo usuário ou explicitamente escolhido

Antes de resolver fresco, liste candidatos reutilizáveis com --candidates e julgue a adequação você mesmo — regras de reutilização, todas as flags, ingestão (--from) e adoção estão em references/resolve.md.

Trate feedback visual amplo como intenção de mídia

Quando um usuário pedir explicitamente para corrigir, polir, estilizar, obscurecer, enfatizar ou revelar mídia fotográfica, leia references/media-treatments.md mesmo que ele não nomeie correção de cor ou um efeito. Inspecione o <img>/<video> real, escolha uma intenção primária, então use persistência e verificação determinísticas. Use uma receita correspondente como uma semente testada opcional, ou inspecione hyperframes media-treatment --capabilities --json, então solicite uma família/efeito relevante com --capability <id> e monte um tratamento personalizado a partir de controles canônicos. Nunca carregue --all para autoria comum. Um tratamento pode compor correção, uma predefinição, finalização, efeitos de shader compatíveis, keyframes suportados e sobreposições de Registry opcionais. Adicione apenas ajustes limitados justificados pela fonte e partes compatíveis, nunca efeitos meramente para fazer o resultado parecer mais sofisticado. Persista o payload final combinado com hyperframes media-treatment.

Use um fluxo de trabalho progressivamente escalonado. Para vídeo, inspecione uma folha de contato marcada como início/meio/fim em vez de ler quadros separadamente. Aplique um candidato e inspecione uma folha posterior para correção ou polimento comum. Escalone para quadros individuais ou evidência de rascunho em movimento apenas quando o resultado for ambíguo, temporal, estilizado, baseado em LUT, sensível a HDR/LOG, privado ou crítico para a marca.

Para correção ou polimento comum, persista o JSON de predefinição/ajuste do tratamento final. Não gere um LUT .cube meramente para codificar exposição, sombras, contraste ou aquecimento. Use um LUT apenas quando o usuário fornecer um ou o tratamento selecionado possuir um explicitamente. resolve --type grade --for ... --analyze é evidência de medição, não permissão para substituir o tratamento escolhido por um LUT gerado. Não recrie efeitos suportados de vinheta, granulação, desfoque, pixelização, cor ou tratamento com sobreposições CSS/SVG; isso ignora os controles do Studio e o caminho canônico de pré-visualização/renderização do shader.

Seja proativo — execute uma passagem de oportunidade de mídia

O humano geralmente não consegue dizer qual mídia melhoraria o trabalho. Você consegue. Ao construir ou revisar uma composição, faça uma varredura fundamentada e depois pergunte uma vez — não adicione silenciosamente e não incomode por ativo.

Ofereça uma oportunidade apenas quando um sinal concreto estiver presente:

Sinal detectadoOfereça
Texto na tela / um roteiro sem narraçãoNarração TTS (motor de áudio)
Emoji ou <div> estilizado como íconeResolver icons reais
Imagem que é placeholder, miniatura ou parece ampliadauma image melhor (e/ou ampliação — veja references/operations.md)
Cortes de cena / transições sem somsfx de transição
Uma parte de ~10s sem base musicalbgm
Filmagem que parece sub/sobre-exposta ou com dominante de coruma correção corretiva (inspecione com hyperframes media-treatment --selector '#hero' --analyze --json)
Mídia fotográfica que parece visualmente plana ou fora do temauma predefinição específica e apropriada à fonte ou tratamento personalizado, com o destino pretendido nomeado
Uma entrada/revelação significativa de mídia que parece estáticauma animação de tratamento compatível com busca; preserve a cor a menos que o pedido também justifique uma predefinição

Regras que mantêm isso como ajuda, não como incômodo: fundamentado, não genérico (sem sinal → sem sugestão); opinativo + concreto (proponha a correção específica com padrões escolhidos — o humano aprova tudo / algo / nada); uma vez por projeto (um pedido consolidado; respeite "deixe como está"); superfície, nunca mude silenciosamente (correções de cor especialmente: proponha e pré-visualize — uma "correção" de mundo cinza arruína um pôr do sol intencional ou um visual neon).

Onde consultar — leia apenas o arquivo que sua tarefa precisa

TarefaLeia
resolver / reutilizar / adotar / ingerir, flags, cascata, inventárioreferences/resolve.md
correção de cor, LUTs, correção inteligente (--for), comparação de correçãoreferences/grading.md
narração / TTS, música, SFX, legendas, transcrição (motor de áudio)references/audio.md
cortar / reenquadrar / transformar mídia existente, difusão de erro exata, HEVCreferences/operations.md
tratamentos criativos conscientes da fonte, efeitos em tempo real, sobreposições, revelaçõesreferences/media-treatments.md
instalação + autenticação, tabela de provedores, escadas de RAM, --local-only, --providerreferences/setup-providers.md
preferências lembradas + receitas congeladas (memória do usuário)references/memory.md
matriz de propriedade, estatísticas de uso, telemetria, privacidade (para mantenedores)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.

Habilidades Relacionadas