legenda
Skill4 starsChanged 6 days agoMITView on GitHub
Gera legendas automáticas (faster-whisper) e queima no vídeo no estilo reels/shorts, ou exporta SRT. Use para /legenda, "coloca legenda", "legenda dinâmica", "gera o srt".
2 other projects use a version of this.
Adopted by
Most recently taken up by
- matheusmongarde/centraltheir own version, first seen Nov 29, 2026
- andreoliveiras/skills-de-conteudotheir own version, first seen Oct 9, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- matheusmongarde/central★ 108same name
- andreoliveiras/skills-de-conteudo★ 16same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- 3dSkill
- animacaoSkill
- bancoSkill
- cameraSkill
- cena-webSkill
- checklistSkill
- corteSkill
- destaquesSkill
- editarSkill
- efeitosSkill
- ganchosSkill
- ler-telaSkill
- letteringSkill
- marcaSkill
- partituraSkill
- provaSkill
- rastrearSkill
- referenciaSkill
- tela-divididaSkill
- tela-verdeSkill
- texto-atrasSkill
- tomadaSkill
- trilhaSkill
- video-animadoSkill
- videoaulaSkill
- video-docsSkill
The file
Files
/legenda — legendas automáticas
Siga ${CLAUDE_PLUGIN_ROOT}/docs/convencoes.md (pastas, nomes de saída, loudness, privacidade). Dependências: ${CLAUDE_PLUGIN_ROOT}/scripts/doctor.sh.
Passos
- Pergunte (ou assuma o padrão entre parênteses):
- estilo: reels (2–3 palavras, grande, centro-baixo), reels-palavra (páginas de ~1,5 s com a palavra falada em destaque, estilo TikTok) ou clássico (frase, rodapé) — padrão reels se vertical, clássico se horizontal; reels-palavra quando o usuário pedir "palavra destacada", "karaokê" ou "igual TikTok";
- só SRT ou queimar no vídeo (queimar).
- Transcreva o vídeo já cortado (não o bruto, senão os tempos não batem). Pule se já existir
trabalho/<slug>/IN.transcript.jsondesse mesmo arquivo:uv run --with faster-whisper python "${CLAUDE_PLUGIN_ROOT}/scripts/transcribe.py" "IN.mp4" --lang pt --words-per-cue 3 --prompt "vocabulário" --out-dir "trabalho/<slug>" - Revise o texto antes de queimar: leia o
.srt/.words.srt, corrija nomes próprios, termos técnicos e siglas que o Whisper errou. Mostre ao usuário as correções. - Queime:
- Reels (vertical 1080x1920):
ffmpeg -i IN.mp4 -vf "subtitles=IN.words.srt:force_style='FontName=Montserrat,FontSize=22,Bold=1,PrimaryColour=&H00FFFFFF,OutlineColour=&H00000000,BorderStyle=1,Outline=3,Shadow=0,Alignment=2,MarginV=110'" -c:a copy IN_legenda.mp4 - Reels-palavra (qualquer proporção; o script lê as palavras do
transcript.json, pagina e queima pelo ffmpeg):
Gerapython3 "${CLAUDE_PLUGIN_ROOT}/scripts/legenda_palavra.py" IN.mp4 trabalho/<slug>/IN.transcript.json --font Montserrat --correcoes correcoes.json --burn IN_legenda.mp4IN.palavra.asseIN.palavra.paginas.txt(uma linha por página com os tempos: é o que você mostra ao usuário no passo 3).--correcoesé um JSON{"Paiton": "Python"}com os termos que o Whisper errou. Opções:--modo preenche(karaokê: as palavras já ditas ficam coloridas),--caixa(caixa translúcida em vez de contorno),--maiusculas,--janela 1.5,--max-palavras 5,--pos(0,68 em vertical, 0,86 em horizontal),--tamanho 0.05,--destaque #FACC15. - Clássico:
ffmpeg -i IN.mp4 -vf "subtitles=IN.srt:force_style='FontSize=20,Outline=2,MarginV=40'" -c:a copy IN_legenda.mp4 - Destaque de cor (amarelo):
PrimaryColour=&H0000FFFF. Cores ASS são&HAABBGGRR. MarginV=110comFontSize=22deixa a legenda a ~1/3 do fundo em 1080x1920 (zona segura dos apps). Para rodapé,MarginV=60.- Caixa atrás do texto:
BorderStyle=3,BackColour=&H80000000.
- Reels (vertical 1080x1920):
- Se a fonte não existir no sistema, o ffmpeg usa a padrão — avise e sugira instalar (Montserrat/Inter, OFL).
Regras
- Nunca queime sem revisar o texto (passo 3).
- Mantenha o
.srtcomo entrega extra: serve para upload nativo no YouTube.
Identidade do projeto
Havendo marca/marca.json (skill /marca), o legenda_palavra.py usa a fonte, a cor de texto, o destaque (legenda.destaque) e o espaco_largo dela sem parâmetro extra. Parâmetro explícito vence a marca; --marca CAMINHO aponta outra e --marca nao volta ao padrão do plugin.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

