video_motion AGENTS.md

Repository instructions for an AI agent that turns natural-language video requests into vertical MP4 videos using HTML-based compositions and animation tools.

In plain words
What is it for?
Use them to create short 9:16 videos such as social-media ads, including the brief, HTML composition, checks, rendering, and final MP4 handoff.
Why use it?
They define the required workflow and checks so the agent can turn a brief into a rendered video in the expected format and location.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/maiscafe/video_motion/agents-md
Clone the repo
git clone --depth 1 https://github.com/maiscafe/video_motion

Made for: Codex, OpenCode.

Per session 1,296 This file is loaded in full into every session.
When invoked 1,296 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01296 $0.01296
Opus 5 $0.00648 $0.00648
Sonnet 5 $0.00259 $0.00259
Haiku 4.5 $0.00130 $0.00130

Measured 2d ago against content hash 46819e05ad37, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

video_motion AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

video_motion — instruções para o agente de IA

Público deste arquivo: Cursor, Claude Code, Copilot ou qualquer agente com acesso ao terminal.
O usuário não roda comandos. Ele descreve o vídeo; você executa tudo nesta pasta.


Missão

Transformar pedidos em linguagem natural em MP4 9:16 em renders/, usando HyperFrames + GSAP + (opcional) skills de conversão.

O usuário abre a pasta video_motion no agente e pede, por exemplo:

"Cria um anúncio 19s para Instagram: hook sobre dor X, CTA teste grátis em meusite.com"

Você: brief → composição HTML → script npm → check → render → informar caminho do MP4.


Antes de codar — skills obrigatórias

  1. Se .agents/skills/ não existir, instale (com aprovação do usuário se necessário):
npx skills add heygen-com/hyperframes
npx skills add heliocosta-dev/revenue-centric-design
  1. Leia a skill HyperFrames (/hyperframes ou .agents/skills/hyperframes/SKILL.md) antes de editar HTML.

  2. Para copy/CTA/conversão, aplique Revenue-Centric Design (Richard @richardrx + Hélio @heliotsx). Créditos: docs/CREDITOS.md.

  3. Inspiração workflow agent-first: Nett0.


Fluxo padrão (sempre seguir)

1. Entender pedido → salvar brief em briefs/{slug}.md
2. Criar/editar compositions/{slug}.html (GSAP + window.__timelines)
3. Adicionar script render:{slug} no package.json → renders/{slug}.mp4
4. npm run check (ou lint da composição)
5. npm run render:{slug}
6. Confirmar renders/{slug}.mp4 existe e reportar ao usuário

Nunca peça ao usuário para rodar npm, instalar FFmpeg ou editar HTML — você faz.


Estrutura do repo

Pasta / arquivo Uso
index.html Obrigatório — entrada HyperFrames (não apagar)
compositions/ HTML dos vídeos
renders/ Saída — todo MP4 vai aqui
briefs/ Brief do pedido (ICP, hook, CTA, duração)
docs/ Créditos, áudio, orgânico — consulte quando relevante
exemplos/ Referências e pedidos exemplo
package.json Você adiciona render:* conforme cria vídeos

Read the full file on GitHub · 140 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 140 lines · 1,296 tokens per session scan A 46819e05ad37

Subscribe to this mod's changes

video_motion AGENTS.md is an instructions file published in the GitHub repository maiscafe/video_motion (2 stars, last pushed 1mo ago), licensed MIT. It adds 1,296 tokens to every session, about $0.0065 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.