shadow-video
Skill1 starsChanged 7 days agoMITView on GitHub
Use when making narrated tutorials, app demos, GUI recordings, Remotion motion videos, or TTS/ffmpeg MP4 and SRT output.
- Reads credentials
In this repository59 other files it gives its agents.
- shadow-visual-refinementSkill
- antislop-codeSkill
- antislop-copywritingSkill
- antislop-humanSkill
- antislop-layoutmobileSkill
- antislopSkill
- antislop-uiSkill
- context7Skill
- handoffSkill
- modern-web-guidanceSkill
- shadow-accessibilitySkill
- shadow-ai-engSkill
- shadow-analyticsSkill
- shadow-apiSkill
- shadow-architectSkill
- shadow-authSkill
- shadow-bootstrapSkill
- shadow-browserSkill
- shadow-cacheSkill
- shadow-compatSkill
- shadow-concurrencySkill
- shadow-dataSkill
- shadow-dbSkill
- shadow-debugSkill
- shadow-designSkill
- shadow-discoverySkill
- shadow-docSkill
- shadow-domainSkill
- shadow-eaSkill
- shadow-emailSkill
- shadow-evalSkill
- shadow-finopsSkill
- shadow-gitSkill
- shadow-grcSkill
- shadow-handoverSkill
- shadow-illustrationSkill
- shadow-integrateSkill
- shadow-maintainSkill
- shadow-mobileSkill
- shadow-modernizeSkill
- shadow-monarchSkill
- shadow-observeSkill
- shadow-opsSkill
- shadow-perfSkill
- shadow-planSkill
- shadow-pmoSkill
- shadow-presalesSkill
- shadow-privacySkill
- shadow-qualitySkill
- shadow-realtimeSkill
- shadow-refactorSkill
- shadow-releaseSkill
- shadow-resilienceSkill
- shadow-searchSkill
- shadow-secSkill
- shadow-seoSkill
- shadow-supplychainSkill
- shadow-testSkill
- shadow-uatSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Never skip E2E before recording: a failed recording costs minutes and TTS quota.
- Very specific: line 70
Never leave video-env.cjs or browser processes lingering after a video task finishes, and never kill servers belonging to other projects.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Shadow Video
Engine and method for narrated tutorial videos and GUI E2E click-throughs of web apps. One scene file
drives both: npm run e2e proves every selector in a visible or headless browser; npm run build:video records
the same steps with a human-like cursor, Indonesian TTS narration and subtitles. Proven on two production
projects (government logistics, university research portal).
Fixed pipeline (same on every agent host)
app source ─► tools/build-NN.py ─► tutorial/NN-*.md (script, reviewed by the Monarch)
(traced labels) └► scenes/NN-*.json (same narration, Playwright actions)
scenes ─► validate ─► e2e (GUI proof) ─► tts ─► record ─► merge ─► verify ─► final| Step | Command | Gate (stop if it fails) |
| Scaffold | node <skill>/scripts/scaffold.mjs <project> | refuses to overwrite an existing video-pipeline/ |
| Readiness | npm ci, npm run doctor, npm run typecheck, npm run selftest -- --e2e | every line OK except items the task does not need |
| Research | npm run snapshot -- <ROLE> <route> [steps] + read app source | every label/selector cites file:line |
| Script | python tools/build-NN.py | narration lint passes; Monarch approves the .md |
| Proof | npm run validate, npm run e2e -- <id> [--headed] [--shots] [--trace] | E2E PASS; report in output/e2e/<id>/ |
| Preview | npm run build:video -- <id> on ONE short module | Monarch approves cursor pace and A/V sync |
| Produce | npm run build:video -- <id> per module, in dependency order | npm run verify -- <id> PASS + frames viewed |
| Package | npm run final | title cards, thumbnails, per-module and combined MP4 + SRT + YouTube chapters |
Never skip E2E before recording: a failed recording costs minutes and TTS quota; a failed E2E costs seconds.
Reference Guide
Load only what the task needs:
| Task | Read |
| Choosing non-tutorial video modes (Remotion/Canvas motion, mobile capture, docs GIF/WebM, multi-language/LUFS audio) | Multi-mode video workflows |
| New project or engine refresh | Host capabilities, template README.md |
| Writing or reviewing narration | Narration style |
| Writing scenes, choosing selectors | Scene authoring |
| Environment, accounts, captcha, demo data, TTS licence | Recording environment |
| Using scenes as GUI E2E tests | GUI E2E |
| A run failed or looks wrong | Troubleshooting |
| UI changed after videos exist | UI change sync |
| Validating this skill itself | Evaluations |
Non-negotiables
- The app source is the source of truth. Labels, routes, field order, validation and messages come from code
(cite
file:line) orsnapshotoutput, never from old manuals or guesses. Where the requested flow differs from the code, script what the code does and record the difference underCATATAN PRODUKSI. - Never production.
BASE_URLpoints to local or staging with a test database;BLOCKED_HOSTSmust hold the production host. Recording creates real data: only on disposable data, prefixedDemo –. - Secrets stay out of video, logs and chat. Credentials only as
{{PREFIX_EMAIL}}placeholders from.env; usemaskText,capture,fetchMail,openUrlso tokens, passwords and inboxes never show..env,auth/,cache/are git-ignored and never copied into this skill or shared. - One source for script and scenes.
tools/build-NN.pywrites both files; never hand-edit narration in one. - Engine stays generic. Project specifics live in
video.config.json,.env,scenes/,tutorial/,tools/build-*.py. Changesrc/only for a new engine feature, explain it first, then port it back totemplates/video-pipeline/so every project gets it. - Execution approval. Scaffolding into a repo, recording against staging, TTS spend, and deleting demo data
are actions the Monarch authorises per project (Shadow Monarch L2/L3). Read-only research and
e2eon local pages are in scope once the task is approved. - Mandatory Recording Stack Teardown. Whenever a recording or E2E run starts
tools/video-env.cjs(frontend + backend), headedchrome-cdp.ts/ Playwright browsers, or ephemeral recording DB containers, track their PIDs/containers and stop ONLY those task-owned resources infinally/ immediately afterverify&finalcomplete (shadow-monarch/scripts/resource_cleanup.py). Never leavevideo-env.cjsor browser processes lingering after a video task finishes, and never kill servers belonging to other projects.
Reporting
Report per module with separate evidence lines, using PASS | FAIL | NOT_RUN | BLOCKED:
e2e (report path), verify (codec, canvas, fps, audio, duration, SRT, narration current), visual review
(which frames or segments were actually watched), and demo data left on staging. A passing verify proves the
file is well-formed; it does not prove the video is good. Say "Not measured" for anything not watched.
Related skills
Shadow Browser owns ad-hoc browser checks and 375px layout audits. Shadow Test owns unit/integration suites.
Shadow Doc owns written manuals (.docx), which can embed thumbnails from output/. Shadow Monarch defines
scope and execution permissions.
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.

