audiogram
БесплатноЗапускает вложенные скриптыНе проверенThis skill should be used to turn podcast or voice audio into a social-media video (MP4) with a waveform per voice and optional word-by-word captions…
от glebis★ 417 звёзд на GitHubОб этом скилле
audiogram
Podcast audio → MP4 with one waveform lane per voice (scrolling bars: spoken part in full colour, what's coming
as a faint preview, the speaking voice glows), speaker names, reaction chips (“mm-hm”), word-by-word captions,
title, and either a progress bar or an overview strip (--overview on: the whole clip as a mini waveform per
voice with a playhead — viewers see where the next speaker comes in and can scrub straight to it).
Everything is kept inside the platform-safe area by default. H.264 + AAC 48 kHz, +faststart — uploads as-is to Instagram, TikTok, YouTube, LinkedIn, Telegram.
CLI: python3 ~/.claude/skills/audiogram/scripts/audiogram.py <command> (below: ag).
Needs ffmpeg/ffprobe, Python numpy, Pillow; requests + GROQ_API_KEY only for --timing whisper
(key from env, then SOPS ~/.claude/skills/secrets.enc.yaml; never print it).
1. Source
- podcast-briefing episode folder (has
manifest.json+stems/) → one lane per voice, names from the voices (daniel→ Daniel; ElevenLabs IDs → "Voice A" — pass--names A=Ivan,B=Alisa), title fromscript.md, captions timed from the script (free, offline, exact spelling). Folder made before stems existed → audiogram runspodcast.py remix DIRitself (no TTS calls, same pack and settings, writesstems/; it re-encodesepisode.mp3with the same mix). - any audio file → one lane; captions need
--timing whisper(Groq, costs a little) or--captions off.
2. Look first, then encode
- Pick format with the user if unclear:
9x16(Reels/TikTok/Shorts, default),1x1(feed),16x9(YouTube, LinkedIn). Theme:night(default, dark),paper(light, no glow),ocean(deep blue). ag still SRC -o /tmp/f.png --at 14 --guides [--format … --theme … --overview on]— render one frame and Read the PNG (pick a moment where both voices or a reaction are on screen).--guidestints what platform UI covers; nothing should sit in the red. Cheap; iterate here, not on full renders.ag render SRC -o OUT.mp4 [--format 9x16] [--theme night] [--title T] [--eyebrow E] [--footer "@handle"]. Renders in parallel chunks (~20 s for a 70 s vertical video on an M-series Mac).- Social clip of a longer episode:
--start 23 --end 53(progress bar and timer count the clip; audio fades at the cut points). Keep Reels/Shorts clips under 60–90 s; start on a line that makes sense on its own.
Safe area (--safe on, default)
9x16 keeps 220 px top / 480 px bottom / 140 px right (+ the same on the left, so centred text stays centred) of
1080×1920 clear — the union of Instagram Reels and TikTok overlays (account row, caption + audio row, nav bar,
like/comment/share rail); YouTube Shorts fits inside. 1x1 and 16x9 keep a ~6 % margin (feed crops, LinkedIn/X
players). The bottom ~quarter of a vertical video is left as plain background on purpose — the platform's
caption and buttons go there. --safe off only for places with no overlays (a website embed, a presentation).
3. Captions
--timing script(default for episodes): words spread over each clip by length, pauses after punctuation — usually within ~0.3 s.--timing whisper: Groq Whisper word timestamps; for episodes the script's words are aligned onto them (spelling stays the script's). Cached as.<name>.whisper.jsonnext to the output.--captions offgives the lanes the whole middle of the frame.ag words SRCprints the caption timing as JSON (debug a word that lands late).- Pages are ≤6 words / ≤30 chars, break on sentence end, pauses and speaker change; the current word is in the speaker's colour, upcoming words dim. Overlapping turns: the most recently started line wins.
4. Deliver
Save to ~/Downloads/<name>.mp4 unless the user names a place. Give the full path and offer open OUT.mp4. Don't upload anywhere without asking.
Design notes (scripts/render.py)
Bars: 55 ms of audio per bar, mirrored rounded capsules, drawn at 2× and box-reduced (antialiased without cairo).
Levels: RMS in dB against one shared reference (98th percentile of all voices), −30 dB floor, curve 1.8 — so a
quieter voice also looks quieter and speech rhythm stays visible. Lane ends fade out. Text colours are pre-blended
against the background gradient (no full-frame alpha compositing per frame). Fonts: Inter variable if installed,
else Avenir Next / Helvetica Neue / DejaVu; --font PATH overrides (needs Cyrillic etc. for non-Latin captions).
Установить audiogram в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadВложенные файлы
FAQ
Что делает скилл audiogram?
This skill should be used to turn podcast or voice audio into a social-media video (MP4) with a waveform per voice and optional word-by-word captions — vertical 9:16 for Reels / TikTok / Shorts, square 1:1, or 16:9. Works best on podcast-briefing episode folders (one lane per speaker from the per-voice stems, captions timed from the script); any audio file also works as a single lane, with captions from Groq Whisper. Triggers on "make a video from this podcast", "audiogram", "waveform video", "turn this episode into a Reel / TikTok / Short", "add captions to this audio for Instagram", or "cut a clip of the episode for social".
Как установить скилл audiogram?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл audiogram запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic