GuruDevvv/my-claude-skills / mine/video-by-code
video-by-code
VerifiedMake a short video for Reels, Shorts or Telegram with no editing app and no paid service: the agent writes the script, draws every frame in code on a browser canvas (SaaS-style explainers, interface mock-ups, typed-out commands, diagrams) or cuts a dramatic piece out of existing footage with ffmpeg filters and text overlays, synthesises the music and sound in code, and renders an MP4 with three check-ins on the way. Use when asked for an explainer, promo, motion video, a cut-down from a video, or «сделай ролик», «ролик кодом», «видео в стиле SaaS», «нарезка из видео», «мультик-объяснялка». Not for illustrated or hand-drawn styles (cut paper, ink, pixel art) — that is the `animate` skill — and not for editing a talking-head take (that is `reels-console`).
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 3.1 KB |
| SKILL.md | skill md | 14.8 KB |
| assets/example.mp4 | binary | 1.8 MB |
| templates/canvas/audio.js | script | 6.0 KB |
| templates/canvas/index.html | other | 1.2 KB |
| templates/canvas/render.mjs | script | 5.2 KB |
| templates/canvas/scenes.js | script | 9.1 KB |
| templates/cutdown/cut.py | script | 9.1 KB |
| templates/cutdown/plan.example.json | config | 463 B |
templates/canvas/index.html
View on GitHub<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Шрифты. Нужен интернет при рендере; без него браузер возьмёт системный sans-serif. -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=JetBrains+Mono:wght@500&display=block">
<style>
html, body { margin: 0; background: #07080d; }
canvas { display: block; width: 360px; height: 640px; } /* в окне — уменьшено, кадр рисуется в полном размере */
</style>
</head>
<body>
<canvas id="c" width="1080" height="1920"></canvas>
<script src="scenes.js"></script>
<script src="audio.js"></script>
<script>
// Живой просмотр: откройте index.html в браузере — ролик проигрывается в окне.
// При рендере render.mjs сам вызывает window.renderFrame(t) кадр за кадром.
if (!navigator.webdriver) {
const t0 = performance.now();
const loop = () => {
const t = ((performance.now() - t0) / 1000) % TIMELINE.duration;
renderFrame(t);
requestAnimationFrame(loop);
};
window.fontsReady.then(loop);
}
</script>
</body>
</html>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |