artemnovitckii/claude-animation-skills / skills/stick-figure
stick-figure
VerifiedMakes a code-animated stick-figure explainer reel (9:16, 30 to 45 s) from a question or topic. A bright cartoon world with thick outlines, stick people with big white heads and faces, constant camera motion, whip transitions, 1 to 2 word captions, a playful underscore and cartoon sound effects, all generated in code and timed to the voiceover word by word. Use when the user runs /stick-figure or asks for a stick-figure, stickman or cartoon "what if" explainer.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.0 KB |
| engine/make.shexecutable | script | 3.0 KB |
| engine/template/audio.py | script | 12.4 KB |
| engine/template/audio/vo_kokoro.wav | binary | 1.7 MB |
| engine/template/audio/words_ref.json | config | 6.3 KB |
| engine/template/captions.json | config | 22 B |
| engine/template/script.json | config | 682 B |
| engine/template/web/chars.js | script | 14.8 KB |
| engine/template/web/env.js | script | 18.7 KB |
| engine/template/web/fonts/Lora-Variable.ttf | binary | 207.2 KB |
| engine/template/web/fonts/OFL-lora.txt | markdown | 4.3 KB |
| engine/template/web/fonts/OFL-poppins.txt | markdown | 4.3 KB |
| engine/template/web/fonts/Poppins-Bold.ttf | binary | 152.3 KB |
| engine/template/web/index.html | other | 531 B |
| engine/template/web/lib.js | script | 6.0 KB |
| engine/template/web/main.js | script | 4.9 KB |
| engine/template/web/shots.js | script | 29.4 KB |
| engine/template/web/warp.js | script | 18 B |
| engine/template/web/words.js | script | 6.0 KB |
| engine/tools/align.py | script | 3.8 KB |
| engine/tools/render.js | script | 3.4 KB |
| engine/tools/tts_elevenlabs.py | script | 2.1 KB |
| engine/tools/tts_kokoro.py | script | 2.3 KB |
engine/tools/tts_elevenlabs.py
View on GitHub"""Generate the voiceover for the reel in the current folder with the ElevenLabs API.
Run from a reel folder: python3 <engine>/tools/tts_elevenlabs.py audio/vo_el.mp3
Needs ELEVENLABS_API_KEY in the environment (or in a .env file in the reel folder).
Optional: ELEVEN_VOICE_ID (default: Jeremy - Casual Guy Next Door), ELEVEN_MODEL, ELEVEN_STABILITY, ELEVEN_STYLE.
One take per run (about 1 credit per character on v2/v3/v4 models, about half on eleven_flash_v2_5).
"""
import json, os, sys, urllib.request, urllib.error
env_file = os.path.join(os.getcwd(), '.env')
if os.path.exists(env_file):
for line in open(env_file):
if '=' in line and not line.strip().startswith('#'):
k, v = line.strip().split('=', 1); os.environ.setdefault(k.strip(), v.strip().strip('"').strip("'"))
key = os.environ.get('ELEVENLABS_API_KEY')
if not key:
sys.exit('Set ELEVENLABS_API_KEY (export it, or put ELEVENLABS_API_KEY=... in a .env file in the reel folder)')
voice = os.environ.get('ELEVEN_VOICE_ID', '5gaEGrWSk4v20HMfIhgC')
model = os.environ.get('ELEVEN_MODEL', 'eleven_multilingual_v2')
out = sys.argv[1] if len(sys.argv) > 1 else 'audio/vo_el.mp3'
text = ' '.join(json.load(open('script.json')))
body = json.dumps({
'text': text,
'model_id': model,
'voice_settings': {
'stability': float(os.environ.get('ELEVEN_STABILITY', 0.45)),
'similarity_boost': 0.75,
'style': float(os.environ.get('ELEVEN_STYLE', 0.3)),
'use_speaker_boost': True,
},
}).encode()
req = urllib.request.Request(
f'https://api.elevenlabs.io/v1/text-to-speech/{voice}?output_format=mp3_44100_128',
data=body, headers={'xi-api-key': key, 'Content-Type': 'application/json', 'Accept': 'audio/mpeg'})
try:
with urllib.request.urlopen(req, timeout=180) as r:
os.makedirs(os.path.dirname(out) or '.', exist_ok=True)
open(out, 'wb').write(r.read())
except urllib.error.HTTPError as e:
sys.exit(f'ElevenLabs error {e.code}: {e.read().decode(errors="replace")[:500]}')
print(f'wrote {out} ({len(text)} characters, model {model}, voice {voice})')
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |