Skip to content
deaglepc· @DeaglePc · X·· 11 d agoFeaturedAI score76

DeaglePC open-sources six AI video Agent Skills to build a self-evolving video-production loop

Editorial summary

DeaglePC open-sourced six AI video Agent Skills covering topic selection, code rendering, independent review, multi-platform publishing, and data retrospectives. A single sentence can trigger the video-production process. The author says the workflow completed 78 short-video projects over the past six weeks, with end-to-end production taking about 30 minutes per video, and released the source code on GitHub.

Why it matters

The article breaks video topic selection, code production, independent review, publishing, and data retrospectives into reusable Skills, showing how rules can continuously iterate based on real data.

Read original text
English translation

Over the past 6 weeks (October 10 to November 22, 2026), I did not use Sora, Runway, or Kling to generate a single video. Instead, I had AI hand-write code—Canvas2D, Three.js, FDTD electromagnetic-wave simulation, an algorithmic oil painting with 65,000 strokes, a split paper-puppet theater, and a fixed three-panel hand-drawn whiteboard—and ran it locally to produce 78 short-video projects, more than 60 of which have already been publicly posted on Xiaohongshu, WeChat Channels, Douyin, and YouTube.

Once the pipeline was working,the complete end-to-end production of a single video took only about 30 minutes, and the compute consumed just 3%–5% of the weekly quota of a $20 Claude subscription; the changes in the latest full retrospective (November 4) were very direct: follower growth over the past 30 days rose month over month +825%(over the past 7 days, follower growth exceeded 99% of comparable creators), views +271%, and bookmarks +216%; after fully shifting toward “clearly explained knowledge and whiteboards,” the median views per Xiaohongshu post rose from the low point by 4.8x, while saves per thousand views rose from 14.6 to 46.6(historical whiteboard content reached as high as 56.9).

What supports this output is not a collection of scattered scripts, butSix sets of core video Agent Skills for the Self-Evolving LOOP(topic selection, orchestration, full-code production, multi-platform publishing, data retrospectives, plus a specialized stroke-by-stroke drawing engine). Today I open-sourced all of them together with the character skeleton library, local music engine, and one-click installation script:ai-video-workflow-skills and ArtInMotion(if you are in a hurry, you can scroll straight to the end, copy the one-click installation prompt, and give it to Claude Code / Codex / Antigravity; it can be installed and running in 3 minutes).

View the original video on X

The core design of this Agent Skills system isdual-track parallelism + automatic evolution:

  1. Fully automatic self-evolving LOOP (becoming more stable with each run): ① topic selection → ② production → ③ independent video review → ④ return for repair (up to 2 rounds; otherwise stop publication) → ⑤ multi-platform publishing → ⑥ data retrospective → ⑦ write rules back into the Skill and personal Wiki. This is not mechanical daily posting: every failure and every data retrospective automatically turns its lesson into a hard rule for the next run.
  2. Human “one-sentence video” express lane: while fully automatic topic selection runs in the background, many of the strongest pieces among these 78 projects did not use automatic topic selection. When I come across good news, an article, or an idea, I simply send it one sentence (for example, “Make an episode clearly explaining the Wei-Jin and Northern and Southern Dynasties,” “Make a popular-science episode related to the Riemann Hypothesis news,” or “Calculate where your home Wi-Fi signal goes”), and it enters the same production, independent review-and-return, and multi-platform publishing pipeline. “Wei-Jin and Northern and Southern Dynasties,” “Your Home Wi-Fi,” “GTA6,” “The Riemann Hypothesis,” and “Tesla FSD v15” were all produced by specifying the topic in one sentence.

The Skill division across the seven stages of the full loop (click the repository to view the corresponding source code):

  • ① Topic selection (daily-topics + judge.md): scan trending lists across the entire pool, verify them against two authoritative sources, and have a fresh-context sub-agent independently filter topics across six dimensions and create a prediction ledger (zero topics passing on a given day is allowed).
  • ② Production (daily-produce + topic-video + hunzi-whiteboard / ArtInMotion): deduplicate fixed aspect ratios and styles, render animations entirely in code, add MiniMax voice-over plus mgaudio paragraph music, and produce the finished video, four cover aspect ratios, Xiaohongshu 3:4 image-and-text cards, and platform-specific copy in one pass.
  • ③ Review (rubric.md + first3s.png + ebur128 + Whisper ASR): an independent sub-agent samples frames second by second and scores them, checks the first three seconds on a 270px phone screen for problems, detects volume and color issues, and checks the final-video voice transcription.
  • ④ Return for repair (build/review_vN/): automatically back up the current code and finished video, then perform surgical re-rendering according to a timecode and pixel checklist. If it still fails after two rounds, it raises a red light and blocks publication.
  • ⑤ Multi-platform publishing (publish-video: ego-lite real browser + serve_files.py + official YouTube API): sequentially inject through a real browser on the three domestic platforms to avoid risk controls; on YouTube, use the official API to upload privately for review, then make it public and archive it on the NAS.
  • ⑥ Data retrospective (video-data-review): directly retrieve deep backend metrics after 48 full hours, isolate differences in platform statistical definitions, sync to Google Drive, and reconcile the prediction ledger.
  • ⑦ Consolidation and evolution (rewrite SKILL.md + personal llm-wiki): turn pitfalls directly into dated hard rules written back into the Skill; compile multi-machine chat logs into Obsidian every night and feed new topics back into the topic pool.

1. Topic selection: take scoring authority away from the AI that writes the topics (daily-topics + judge.md)

I hit two major pitfalls in mid-October.

The first was on October 17. I forcibly repositioned the account as “hardcore programming explanations,” hard-coding it to capture only technology/AI vertical trends. The result was 8 consecutive posts in one week: a PHP government-website vulnerability, Kimi K3.1 open weights, an outage in Google's europe-west2 availability zone, and running Ollama offline. The backend data fell straight into a hole: the median exposure per Xiaohongshu postplunged 76%, Douyin's 2-second bounce rate soared to 47%–67%, and “Kimi's New Model”was watched for only 3 seconds per person(estimated degree of completion: 3.8%).

Even more absurdly, on October 23 Messi received the Princess of Asturias Award for Sports in Oviedo. Messi had been the most reliable star topic on my WeChat Channels account, but he did not appear at all in the topic daily report on the 24th. Looking through the logs, I found that the AI had filtered out all sports news at the entrance as “not a technology vertical.”

The second was on October 31. I had the topic-selection AI choose topics and score them itself. It selected “The Imperial Examination Grading Process” and gave itself 23 points (passing). After reading it, I immediately asked: What kind of garbage topic is this? Checking revealed what it had done: there was a viral Douyin post about “tricks for cheating in the imperial examination,” but its topic was “the grading process.” It forcibly counted someone else’s popularity toward its own score for the same topic, simply giving a pass to fill the day’s quota of two tasks.

After these two times, I completely changed daily-topics.

How to run it after making changes

  1. No vertical pre-filter at the entrance: go through the top 20 items on Weibo, Douyin, and Baidu, while also scanning Reuters, AP, HN, and 36Kr. The daily report's rejected list must include the day's five hottest items and the reasons for rejection, so it is immediately clear whether a major topic was missed. Historically high-performing figures such as Messi, Cristiano Ronaldo, and Elon Musk get their own radar, along with advance scans of awards ceremonies and press conferences over the next three days.
  2. Hard verification of sources and risk control: at least two independent authoritative sourcesmust cross-confirm a claim. Single-source claims and promotional accounts are directly marked “unverified” and eliminated. Handle them at three levels (🟢 directly produce / 🟡 explain principles and common knowledge only, without sensationalizing casualties or guessing motives / 🔴 do not touch current politics or privacy). When making “Has AI Proved the Riemann Hypothesis?” on November 21, promotional accounts across the internet were shouting “the century-old conjecture is over.” The process forced AI through three verification steps: first read the author's original PDF (alpo.ge/remark.pdf) to check the claim, then check the verification record for the 175,187 modules run by Andrew Sutherland in the Lean 4 community (confirming reliance on only three standard axioms), and finally capture the original page on the Clay Mathematics Institute website, which still listed it as Unsolved. The framing of the entire video immediately became clear:The paper has been submitted; it is still being graded。
  3. Create a new sub-agent with a completely fresh context as the judge (judge.md): the topic-selection AI submits only 10+ bare candidate cards (what to discuss, an opening sentence of ≤15 characters, large text in frame 0 of ≤14 characters, what the audience will gain, and a code-animation plan),Do not write recommendation rationales or self-scores.。
    ; specifically open a completely new-context sub-agent to score them (it cannot see the dialogue history from the earlier topic search, so it has no baggage and will not go easy on itself), with its role fixed as:a 25-year-old ordinary person who does not code, works in Shanghai, and lies in bed scrolling on their phone at 10 p.m.。
    The judge scores six items (public relevance, existing awareness, viral content from the same angle, the swipe-away test, emotional/curiosity hook, and comparison with its own data), and must write her genuine reaction within one second and one pre-mortem (“If nobody watches this, the most likely reason is ____”)。
    . The passing line is a total score of ≥21, with public relevance, the swipe-away test, and the hook all ≥3.Failing by default is normal; having zero items cross the line that day is perfectly acceptable, and topics rejected by the judges must not be brought back by oneself.

Afterward, I used this table to rescore the eight programming questions that had previously failed:the highest score was 19; the entire group failed. Meanwhile, “Why does phone positioning require four satellites?” easily scored 23. Every passing topic is recorded in topics/predictions.md, and after 48 hours the real data is entered for reconciliation. If the judge is overly optimistic three times in a row, the standards are tightened.

The core prompt for the “independent sub-agent topic-selection judge” actually in use (excerpted from judge.md)

You are a short-video topic-selection judge. Independently determine which of the following bare candidates are worth producing (do not listen to any recommendation rationale from the topic selector).
Read first: topics/vibe_cases.md, topics/predictions.md, the latest data retrospective report, and the most recent 30 lines of topics/history.md.

Imagine one specific person: 25 years old, does not code, works in Shanghai, and lies in bed scrolling on a phone at 10 p.m.
For each candidate, assume she has encountered the “large text in frame 0 + first opening sentence,” and write her genuine reaction within one second.

Score six items (1–5 points each; evidence is required for every item):
1. Public relevance: Has she genuinely encountered this in her life? Forcing it into a “you” angle does not count.
2. Existing awareness: Has she heard of this person, product, or event?
3. Viral content from the same angle: both the explanation and the angle must be the same; borrowing the popularity of “imperial-examination cheating” to score “the grading process” gets ≤2 points.
4. Swipe-away test: if the viewer must first understand terminology or background to follow it, give ≤2 points.
5. Emotional or curiosity hook: Is there a question within 3 seconds that viewers feel they must know the answer to? Instruction-manual-style content gets ≤2 points.
6. Internal benchmark: compare against the performance of historical videos of the same type.

Hard rule: fail by default! A total score of ≥21 is required, and items 1, 4, and 5 must all be ≥3 to pass; zero passing topics is a normal result, so do not fill the quota.
Every item must include one “pre-mortem” sentence: If nobody watches this, the most likely reason is ____.

The complete source code is at skills/daily-topics/(including SKILL.md and judge.md). I also set a hard boundary for it:it may only read and write to the topics/ directory(Evergreen pool, deduplication table, viral-case library, prediction ledger, and daily reports), never touch projects/, to prevent starting rendering after selecting a bad topic.

https://x.com/DeaglePc/status/2124497531669451140/video/1

II. Production: Why not use design templates, but instead render everything with code (daily-produce + topic-video)

Early production encountered four especially painful pitfalls.

The first pitfall was the template look. At first, to save effort, I had AI invoke various general-purpose frontend UI and video-design Skills. Every resulting video was filled with deep-purple gradients, glowing rounded cards, and rows of tiny icons—the audience could smell the mass-produced AI flavor in the first second of scrolling. On October 19, I issued a strict command: during production, do not read any general design Skill that teaches PPT, charts, or UI, anddo not open any code or visuals from previous projects under projects/. Design every question from scratch.

The second pitfall was stylistic laziness and the abstract-glow halo. On October 26, I made two episodes in a row. AI thought the previous score was high, so it casually reused the same cartoon girl with a headband. On the same day, I made “Leap Seconds” and “Episode Breakpoints”; 7 of the 12 frames showed Earth wrapped in a neon ring that kept glowing. I gave it 30 points immediately after watching it. The “Avoidant Attachment” episode made the previous day was full of dark backgrounds, glowing blobs, and large blocks of text; I gave it 0 points outright.

I placed frame captures from two viral videos outside the site—the Bilibili video “Tears of a Silver Medal” with 4.56 million views and “Should You Change Your Answer in the Last Minute of an Exam?” with 650,000 views—side by side for comparison. The problem was immediately obvious:We soaked the entire video in the same glowing filter, while every one of their scenes had real materials and lighting, and the actions themselves told the story.

The third pitfall was being obsessed with 90 seconds. On October 31, the first version of “The Wei, Jin, Southern and Northern Dynasties” was forcibly compressed into 71 seconds. How the Western Jin fell into chaos and how the Five Barbarians arrived were each glossed over in a single sentence, with no character relationships at all. I rejected it immediately: Hunzi-ge took four minutes to explain it; if the duration is compressed so much that the explanation itself becomes unclear, it clearly does not work.

The fourth pitfall was “Skill drift” among multiple local tools. I used Claude Code, Codex, and Antigravity at the same time. As a result, two different versions of topic-video were sitting in .claude/skills/ and .agents/skills/. Once, a sample inexplicably switched back to the old edge-tts voiceover. I only fully aligned everything after recording it in my personal Wiki.

How production works now

After the daily report confirms that production should begin, daily-produce first rechecks deduplication and topic freshness (for anything over 24 hours old, check again for reversals), then invokes topic-video to run a reproducible project under a fixed directory structure (the whole thing can be rebuilt at any time with one bash src/build.sh command):

  1. First decide the format, aspect ratio, and visual style: Make what the visuals can explain on their own 20–60-second version with no narration and music timed to the beat, make a narrated version when causal reasoning needs to be explained;
    Use 16:9 landscape for wide maps, horizontal comparisons, and 4K live-action footage; use 9:16 portrait for a single subject, lists, and whiteboards (lock the core content inside the full-screen safe area x: 140–940, y: 230–1520; fix the avatar watermark at the upper right of portrait video (820, 120) and the lower-right corner of landscape video);
    The visual style comes from a third-party open-source... Lemo-Opuscar(a library of 59 stylized code-rendering styles; all LemoLab watermarks must be removed before delivery) or create one yourself with Canvas / Three.js / a physics engine (even without installing an external style library, you can run directly with built-in code templates + hunzi-whiteboard and ArtInMotion), and check topics/style_log.md forfour-dimensional deduplication—the visual style, protagonist design, layout, and signature prop of the most recent five episodes must all be different (changing a character’s clothes does not count; overlapping materials or dominant colors must also be changed).
  2. Submit the storyboard table first; 70% of shots must contain real verbs: Before writing code, fill in Time | Subject | Action | Camera | Transition. Actions must be physical verbs such as run, fall, hand over, stamp, and slam the table; glowing and pulsing do not count. I also created a character-rig library at lib/anim/rig.js. When an action is missing, add a pose to the library, eliminating AI’s fallback of muddling through with halos.
  3. Break the 90-second dogma: For knowledge topics that require explanation, aim for 2–5 minutes, lower the speech rate to 1.0, extend pauses between sentences to 0.65s, and end on the full image with 4–5 seconds without subtitles for convenient screenshots.
  4. Voice, rendering, and complete asset output: Because I subscribe to MiniMax, I prioritize the mmx command line for voiceover (speech-2.8-hd synthesized sentence by sentence; use --pronunciation to correct polyphonic characters). When setting it up yourself, if you do not want to spend money, switching directly to the free edge-tts also works end to end. Instead of using online APIs that frequently return 410 errors for music, use the local lib/audio/bgm.py (mgaudio) to arrange music in sections according to the narration mood in src/bgm.json; when a person starts speaking, the music automatically ducks to make way (sidechain). The visuals are rendered frame by frame by Puppeteer’s headless Chrome, with quality locked at CRF 20 (clear without exploding the hard drive). After the final video is compressed, the script reuses the same visual code and produces the entire supporting asset set at once:4 independently rearranged covers: 16:9 / 4:3 / 3:4 (plus 9:16 for portrait videos), with the composition rearranged for each aspect ratio rather than mechanically cropped;
    8–10 Xiaohongshu 3:4 image-and-text cards (deliverables/xhs/): 1080×1440, from the 01_cover.png cover card and point-by-point content cards through the 09_end.png ending call-to-action card. Each card covers only one point, the top title states the conclusion, the body is no more than three lines, and the style is fully consistent with the video;
    Xiaohongshu copy and a title specifically for Video Channels (deliverables/xhs/小红书文案.md): Includes 2–3 alternative titles of ≤20 characters, a hook opening, segmented body text, an ending interaction question, information sources, and 6–10 topic hashtags, with a separate ## Video Channel section at the end listing a dedicated short title and the first sentence of the description;
    Per-platform scheduling and packaging: Automatically generate 发布时间建议.md (for the later publishing script to read directly) and <名称>_全套.zip containing all deliverables.

How much time and money does it actually take to produce one complete video?

When many people see “fully code-rendered frame by frame + two rounds of independent sub-Agent review,” their first reaction is whether it will be both slow and expensive. But when I lay out my actual daily bills, it is far cheaper than randomly trying video foundation models:

  • About 30 minutes end to end: From dropping in one sentence to define the topic, through fact-checking and scriptwriting, coding and frame-by-frame rendering, voiceover and music arrangement, independent review, and packaging all four sets of covers and image-and-text cards, the full process for one item takes roughly 30 minutes(actual human involvement is only the few minutes spent defining the topic at the beginning and glancing over the final video at the end).
  • Core model allocation: the $20/month basic Claude subscription uses only 3%–5% of the weekly quota per run: The main model is Claude Opus 5.5 (medium tier), and including production and independent review rejections, one video consumes only approximately $20 of the subscription 3%–5% of the weekly quota—in other words, even the most basic $20-per-month subscription is reliably enough to produce each week 20–30Complete video.
  • Voiceover, music, rendering, and quality checks have almost zero marginal cost: A single MiniMax speech-2.8-hd voiceover costs only a few tenths of a yuan (switching directly to edge-tts... 0 yuan); mgaudio sectional music, Puppeteer rendering, ebur128 loudness measurement, and local Whisper voice verificationall run on the local machine, with 0 API bills。
  • Editing does not hurt: Using Sora / Kling to draw cards for a 3-minute video can easily cost tens or hundreds of yuan once failed clips are included, and discovering one typo means drawing it again. In an all-code pipeline, change the text or adjust the shot, modify two lines of parameters, rerun bash src/build.sh, and rebuild in a few minutes at zero cost.

Final directory structure and complete output

After each topic is completed, it is saved as a self-contained project directory under projects/<YYYY-MM-DD>_<slug>/. When publishing, you only need to look at the deliverables/ folder (the video, subtitles, multi-ratio covers, Xiaohongshu image-and-text cards, platform-specific copy, scheduling recommendations, and complete archive are all there). Intermediate caches and rejected-version backups are isolated in build/, while source code and factual sources remain in src/ and source/. If you want to change text or replace the voiceover later, run bash src/build.sh once to rebuild everything from scratch:

How do I actually give instructions for “make a video from one sentence”?

Because all specifications (aspect ratio, safe area, style deduplication, first-three-second frame captures, independent review, Whisper verification, and cover copy) are already fixed in topic-video/SKILL.md, defining a topic manually does not require writing a hundreds-of-words-long Prompt. Just drop in one sentence and start:

# Case A (news + popular science):
Make a video based on the news about an Anthropic mathematician using Claude to prove the Riemann Hypothesis,
put the most compelling content in the first three seconds as the hook, and explain the Riemann Hypothesis clearly to beginners,
Verify the author’s original manuscript, the Lean community’s verification progress, and the Clay website, then review and publish according to the process.

# Case B (historical overview):
Make a video introducing the history of the game GTA, and how Rockstar Games got started and reached where it is today,
make the relationships among the key figures clear, and run two rounds of review after completion.

# Case C (hard-core simulation):
Make a portrait video titled “Most of Your Home Wi-Fi Is Being Sent Outside,” without drawing fake animation,
use Python to run a real simulation of 2.4G/5G electromagnetic waves passing through walls, and overlay the results on a 3D floor plan to explain them clearly.

9 real project cases (all taken from original delivery covers, with no secondary refinement)

Here are a few representative examples of how they were refined out of the pitfalls:

  • “Understanding the Wei, Jin, Southern and Northern Dynasties in One Sitting” (71-second v1 → 5-minute-17-second v6, which also spawned an open-source hunzi-whiteboard-skill) v1–v3 were rejected for being too short and having no characters; v4 drew more than 30 Q-style characters plus a golden “group-owner crown,” but the landscape whiteboard camera swung back and forth, making it impossible to remember what had been drawn earlier once the video became longer; v6 was completely changed into a 9:16 portrait format with three fixed whiteboards (a 3×4 character grid on each board, a red-ring timeline at the top, and red cracks replacing the eraser so faces would not be erased). After posting on Xiaohongshu, it achieved a 5.4% save rate and ranked first in both saves and follower growth over nearly 30 days, with average viewing time of 71 seconds (four times the account median). This visual approach was later extracted directly into an open-source Skill hunzi-whiteboard-skill。
  • “Most of Your Home Wi-Fi Is Being Sent Outside” (2.59 million-cell real FDTD physics simulation + Three.js) No style library was used. Python ran a real two-dimensional Maxwell-equation electromagnetic-wave simulation (src/sim.py): a 2.437 GHz grid of 1400×1850 (1 centimeter per cell, calculated over 12,072 steps). The dielectric parameters for concrete, brick walls, and wooden doors came from the ITU-R P.2040 standard, then were composited into a Three.js 3D cutaway floor plan. Every number in the video came from build/sim/*.json: placing the router in the corner sent 56% of the energy into the exterior wall; the master bedroom had only 1/200 of the living-room signal; moving it to the center of the living room made the signal 23 times stronger; enclosing it in a three-sided sheet-metal weak-current box reduced it by another 72%. The ending honestly stated, “Two-dimensional planar simulation; floor-reflection effects not included.”
  • “Not a Single Stroke in This Oil Painting Was Made by a Human” (65,581 algorithmic oil-painting strokes, which spawned an open-source ArtInMotion) A purely local algorithm calculated 65,581 coarse-to-fine curved brushstrokes with differentiated bristles and lighting on the pigment. Natural brushstroke sounds and a piano solo were combined into a beat-synced version with no narration or subtitles. It was later refined into an open-source Skill with 0 foundation-model usage, support for 20 visual styles, and 68 transitions ArtInMotion(oil-painting-video)。
  • The style engine was switched repeatedly within the same week: On October 31, I made the full-screen black woodblock-print version “Why Can’t the Examiner Recognize Your Exam Paper?” (original running script versus copied Song typeface), the 16-bit pixel RPG “Why Could the Boss Get 98?”, and the cool-toned investigation desk “Binance Lost 6.3 Billion in 20 Minutes.” On November 5, an 1980s CRT cel-animation female courier riding a motorcycle connected TCP/IP, TLS, and an 8-card GPU into “After You Press Enter.” On November 20, five-color halftone dots and 20 3D folded-paper skyscrapers were used for “The 30-Year Crime Dossier Behind GTA6.” On November 21, “The Riemann Hypothesis” was completely remade from a dull deep-purple journal style into a brass-riveted split-paper puppet theater (36 shots, 100% physical actions).

III. Review and rejection repair: the four hard gates forced by the October 21 repeat-loop incident

At 5:30 a.m. on October 21, my automated pipeline finished a video and published it publicly immediately. A bug in the mixing script’s index causedthe entire finished video to repeat the first narration sentence continuously from beginning to end. At the time, I only checked the intermediate voiceover files and visuals and never verified the final MP4.

Around the same week, I also hit three walls in succession: Douyin’s two-second skip rate shot up to 67%; when a 9:16 portrait video was posted to Xiaohongshu, text was cut off on the left and right on tall full-screen phones; and once, loudness and transcription both passed, but the background on phone speakers still overpowered the voice.

From then on, before any finished video is published, it must pass a “four-way parallel hard check with red-light damage control → send-back for fixes → second-round review” cycle:

What exactly to check

  1. 270px small-screen first-three-second frame capture (build/first3s.png): Combine the 0.3s, 1.5s, and 2.8s frames after shrinking them to the actual width of a mobile feed (270px). Why shrink them this far? Because a terminal or English webpage may look clear on a large screen, but shrink it to 270px and it instantly becomes a blur; one subtitle previously split in the middle of a sentence, leaving viewers with only the three characters “same day” on screen during the first 1.5 seconds. The hard rules now are: frame 0 must contain large text of ≤14 characters; the opening sentence must be ≤15 characters and finished within 2.5 seconds; the subject must occupy ≥60%; and something must move within 0.5 seconds.
  2. Independent video-review judge (rubric.md): Production AI always scores itself too generously. Hand the finished video to a sub-Agent with a completely new context. It samples one frame per second into a contact sheet, captures consecutive frames during climactic sections, places the external third-party viral reference image vibe_benchmark.png and the five most recent entries in style_log.md beside it, scores it across six dimensions on a 10-point scale plus against a 100-point benchmark, and outputs a Critical-issue list precise to timecodes and pixels.
  3. Practical checks for ear-splitting audio, color shifts, and full-screen safe areas: Use ebur128 to lock standard loudness and peak levels (-14±1 LUFS, True Peak ≤ -1.0 dBTP, preventing sudden blasts or weak audio when viewers scroll to the video); use ffprobe to lock high-definition standard color settings (yuv420p / bt709 / tv, preventing gray or shifted colors after platform upload); overlay an obstruction frame on portrait video to check the safe area; and actually listen once on a phone speaker to the densest dialogue section.
  4. Extract the audio track from the final MP4 and run Whisper ASR: Do not trust the intermediate wav. The audio must be extracted and transcribed from the final MP4, with sentence-by-sentence verification for zero omissions, zero repetitions, and zero misalignment.

Core Prompt currently used by the “independent video-review judge” (excerpted from rubric.md)

You are a senior motion-design and short-video judge. You did not make this video; politeness is useless, specificity is useful.
Finished video: <project>/deliverables/<name>.mp4 Subtitles: <name>.srt Creative plan: README.md
Look only at the files above. Do not open other projects or read any Skills.

1. Use ffmpeg to sample one frame every second and create a contact sheet; capture consecutive frames for climactic actions; enlarge 6–10 keyframes to inspect edges, aliasing, objects leaving the frame, and occlusion; use ebur128 and silencedetect to inspect audio.
2. Hard-specification checks (failure of any item is immediately Critical):
- Loudness -14±1 LUFS, True Peak ≤ -1.0 dBTP, 30 fps, BT.709 packaging;
- Check the first three seconds in build/first3s.png: frame 0 has large text of ≤14 characters, the opening sentence is ≤15 characters and finished within 2.5 seconds, and the subject occupies ≥60%;
- No title card, no end-credit page, no still image lasting more than 3 seconds, and no pure-text PPT page;
- The main subject and subtitles in the vertical video must remain within the x 140–940, y 230–1520 safe area, and the avatar watermark must not cover the text;
- Compare against the most recent five entries in topics/style_log.md; if it looks like the same film, mark it Critical immediately.
3. Score 1–10 on six dimensions (5=student assignment / 6=template / 7=solid professional / 8=high-end agency / 9=award shortlist; most first versions should score 5–7, with no inflated scores) + score 100 against vibe_benchmark.png (do not publish below 70).
4. Output 5–10 modification items. Each must clearly state: timecode | observed problem | exact fix (precise to pixels/frames/color values/copy).

How rejection repair flows (real editing records)

If any Critical issue exists, or the viral benchmark score is below 70, reject it immediately: first back up src/ and the finished video to build/review_vN/ (so a bad change can be rolled back at any time), then make the listed changes one by one, rerender, and rerun all four hard checks in round two.At most two rounds of changes are allowed; if it still fails the line in round two, turn on the red light and prohibit publication, and record the score and reasons truthfully in README.md.

Pick four real rejection records:

  • “Wei, Jin, Southern and Northern Dynasties” v4: The judge directly ruled “not recommended for publication,” catching two historical arrow misalignments (Yang Jian’s father-in-law arrow pointed to Northern Qi; the depiction of Emperor Wu of Northern Zhou Yuwen Yong destroying Northern Qi was labeled as Yuwen Tai destroying Gao Huan) plus multiple pens drawing at once → changed to single-pen scheduling, eventually evolving into v6;
  • “GTA6: 30-Year Crime Dossier”: The first round only got 5.9 points, uncovering 14 hard-subtitle and voiceover mismatches, subtitles splitting “hot coffee” into 热咖/啡, and an incorrectly attached old-TV color parameter bt470bg causing color shifts → wrote build_subtitles_ssot.py so the voiceover, SRT, and hard subtitles share the same source text, pulling it back in the second round 7.7+ points, followed by targeted cleanup of the final three local collisions;
  • “The Riemann Hypothesis” v2: Caught the risk of True Peak -0.3 dBFS clipping, a stamp covering the English body text, missing glyphs, and the first sentence missing from .srt → fixed everything and rechecked (final -14.7 LUFS / -1.7 dBTP);
  • “Tesla FSD v15”: The first-round art only gave 6.5 points, and it caught the laser contrast’s left-right orientation contradicting the executive’s original words, plus an exposed English text overlay in the original video → made targeted corrections according to the list, and the second internal review raised it to **9.18 / 10 (technical 9.8, all Critical issues cleared)** for release.

IV. Publishing after review approval: use the ego-lite real browser to evade risk controls + the YouTube API approach (publish-video)

Domestic platforms do not encourage bulk AI content publishing, and reverse-engineered interfaces and third-party matrix tools can easily trigger risk controls. Therefore, when publishing to Xiaohongshu, Video Channel, and Douyin, I insist onoperating a real browser directly: do not store account passwords, do not touch reverse-engineered interfaces, and prohibit the script from performing any deletion operations. Behavior should be as close as possible to normal manual publishing (note: the production stage has already generated Xiaohongshu copy and 8–10 image-and-text cards in deliverables/xhs/; my own Xiaohongshu account currently posts only videos, directly reusing the copy and 3:4 covers there. When I need to make Xiaohongshu image-and-text posts, I can publish this ready-made card set directly).

I mainly use ego-lite in the browser (with the ego-browser Skill). Compared with ordinary Chrome automation, it has two especially helpful features: first,it does not suddenly pop up and steal desktop focus while working in the background, so it does not interfere with other work on my computer; second,multiple Agents are isolated from one another when operating simultaneously, so they do not fight over windows or mix up tabs.

Once actually running, the three domestic platforms have three main failure points:

  1. Large-video uploads and Video Channel “background fake freezes” A 1080p finished video can easily be 20–70MB, and ordinary browser upload tools often cap out at 10MB. So I started a temporary file server that runs only locally (serve_files.py) to feed large videos, and shut it down immediately after publishing. WeChat Video Channel is especially picky: if several tabs upload concurrently, a tab switched to the background will remain frozen until it is brought back to the foreground. In the end, I changed topublishing sequentially, one item at a time, in a single foreground tab, which is much more stable.
  2. “Fake actions” when scheduling posts and filling forms The worst case was scheduled publishing on WeChat Video Channel: after the script clicked the time, the input box clearly showed 19:30, but after clicking Publish, the backend saved the default time of 14:00. Xiaohongshu was similar: directly inserting text into the box with code often dropped English letters and numbers. When entering #健康科普, the first recommendation was even an event topic, and pressing Enter automatically tied it to a marketing campaign. The solutions were very simple:do not take shortcuts by changing input boxes directly with code; simulate real mouse clicks and keyboard input for everything; after selecting a topic, wait two seconds and take a screenshot to confirm that no campaign was attached; after submitting a scheduled post, return to the content-management list and verify the displayed scheduled time, correcting it immediately if it is wrong.
  3. Cover and compliance details across the three platforms The same video has different cover requirements on different platforms: Xiaohongshu defaults to 4:3 for landscape and requires manually switching to 3:4 to upload a portrait image; Video Channel requires setting both 3:4 and 4:3 covers for landscape video and automatically pre-fills the current city, which must be actively changed to “do not show location” every time; Douyin is the most counterintuitive—its landscape-video dialog says “left landscape, right portrait,” but for portrait video,the order of the two left-right cover slots is reversed directly. All three platforms should uniformly mark the content as original (skip if the Douyin web version lacks the option), uniformly label it “AI-generated content,” write the link and status into publish.md after publishing, and archive them to the NAS at home.
  4. The separate YouTube publishing method: official API upload + change to Public For overseas platforms, there is no need to wrestle with the web frontend. I upload to YouTube directly through the official API, first setting the upload to Private, then checking the video ID to verify the title, cover, and content before changing it to Public(if scheduling is needed, set the schedule in Studio and read back the result; even if the network disconnects or it fails midway, resume directly using the existing video ID, so it will not upload twice).

V. Data review: ignore vanity view counts; three key reviews turned the data around (video-data-review)

After a new batch of videos has been live for 48 hours, I run video-data-review once. The script is strictly read-only: it extracts figures directly from the page DOM, without changing content or clicking export buttons. It penetrates Video Channel’s nested micro-frontend pages (wujie-app) to collect the completion rate, average viewing duration, and shares for individual posts over the past 30 days; it turns pages in Xiaohongshu’s data dashboard to collect impressions, click-through rate, saves, follower growth, and average viewing duration, then goes to note management to fill in the video duration.

There is a very easy-to-miss metric-definition trap here:Xiaohongshu’s backend has no official completion-rate metric at all, so you can only calculate an “estimated viewing completion” as average viewing duration ÷ video duration (rewatches can make it exceed 100%). It must never be directly compared with Video Channel’s completion rate. After the script reviews the medians and totals, it saves a Chinese report and UTF-8-SIG CSVs for both platforms under reports/YYYY-MM-DD_数据复盘/ (converting 01:03 to 1分03秒 so Google Sheets does not mistake it for 1:03 a.m.), syncs them to Google Drive, and fills the actual data back into topics/predictions.md for the judges to reconcile.

I conducted five reviews in total, but these three turning points truly corrected the direction:

  1. October 11 review (recognizing platform differences and cutting topics): Video Channel favored people, history, and sports (completion rate for “Inventing Dynamite and Establishing the Peace Prize” 59.7%, while “The Nobel Prize Money Hasn’t Been Spent” had a 29% completion rate); health and emotional topics ranked at the bottom (“Blood Pressure in Autumn and Winter” at 3.17%, “Revenge Bedtime Procrastination” at 2.93%); Xiaohongshu favored practical counterintuitive questions (“Do Overnight Vegetables Cause Cancer?” had a cover click-through rate 42.8%, while “Why Does Life Use Only the Left Hand?” had an estimated completion of 64%). Also, posting 5–7 Messi/Cristiano Ronaldo topics in succession within one or two hours caused severe internal competition for traffic. → Immediately reduced daily output from three to two; on October 15, completely stopped making health and financial reminders; wrote two sets of titles for the same video by platform; and limited the same event to no more than two posts within 24 hours.
  2. October 22 & 25 reviews (emerging from the hard-core technology slump): Only after pulling up individual-post details did I discover that programmer topics were not actually unwatched to completion (people who opened “AI Can’t Count 3 Rs” and “How Does a Website Recognize That You’re AI?” could reach 75%–82%). The real cause of death wasa click-through rate of only 3% for code-style covers and a first-two-second exit rate as high as 38%–51%, causing the platform’s test distribution to be cut off immediately. → Completely discarded tutorial-style covers, and changed AI topics to start from ordinary people’s situations (the later “Will Watching Five AIs at Once Make a Person Break Down?” raised click-through rate to 8.3% and gained 10.2 followers per thousand views), which also forced the 270px small-screen check, independent judge, and rig.js described in the previous chapter.
  3. November 4 review (validating knowledge and whiteboards that “explain things clearly”): After fully switching to clear explanations and whiteboards on October 25, efficiency per unit of traffic increased more than threefold. Although early celebrity hot-topic videos had a median click-through rate as high as 8.9%, they generated only 12.4 saves and 2.5 followers per thousand views; after the transition, knowledge/whiteboard videos without hot topics generated 46.6 saves and 9.4 followers gained(pure-history whiteboards reached 56.9), and the median views per post rose from the low point 4.8x. The estimated completion for a five-minute whiteboard was only 22%, but average viewers watched 71 seconds and casually saved and followed—showing that viewers do not reject long videos; they reject watered-down videos that fail to explain things clearly.

VI. Consolidating experience: write the rules back into the Skill, then use a personal LLM Wiki to feed questions back into it

If review reports simply lie in a folder, there is a high chance the same pitfall will be repeated next month—people forget, and AI loses its memory when it switches windows. I use two mechanisms to solidify the pitfalls I have encountered, while turning the tools refined during the process into open-source projects:

1. Rewrite every lesson directly into a dated SKILL.md

Every rework or time the data proves me wrong is not recorded in scattered memos; I open the relevant SKILL.md, change the rule, and add the date and cause. For example, (identified 10-10) change frozen tags in the Video Channel backend one at a time; (added 10-22) extract the audio track from the final MP4 and run Whisper; (changed 11-03) move the portrait avatar watermark to the upper right (820, 120); (set 11-17) prioritize MiniMax mmx. After I finish a review, I simply drop in this sentence and let AI update the rules itself:

After reading the just-generated `reports/<日期>_数据复盘/数据复盘报告.md` and this project's rejection records:
1. Fill actual impressions and views back into topics/predictions.md and calculate the prediction hit rate;
2. For the two issues with the worst data and the most painful rejection this time, directly propose which old rule should be deleted and which new hard specification should be added to the SKILL.md of daily-topics or topic-video (state today’s date and the real data basis), then show me the diff after making the changes.

Each time a patch is added, AI automatically carries that constraint into its next task, and similar mistakes are basically not repeated a second time.

2. Connect a personal Karpathy LLM Wiki and automatically turn daily troubleshooting into new topics

Outside the video repository, I built a personal knowledge base following Andrej Karpathy’s LLM Wiki approach (~/git/llm-wiki):

  • Distributed collection across multiple machines (0 tokens): Several Windows and Mac machines automatically run a Python script every night at 23:30, appending Claude Code, Codex CLI, and Antigravity conversation logs and Git commits with the hostname into raw/, then pushing them to a private GitHub repository.
  • Mac mini 7×24 single-point compilation: Never let multiple computers modify wiki/ simultaneously. Only the Mac mini that stays on at home pulls the latest raw/ every night at 23:45, compiles scattered conversations into structured wiki/playbooks/ (such as “The Complete Process from Short-Video Topic Selection to Multi-Platform Publishing and Review”) and wiki/patterns/, then pushes them back to GitHub.
  • Physically isolated synchronization to the phone: Never put a repository containing .git directly in iCloud Drive, or the index will inevitably break. After compilation, the Mac mini runs rsync --delete --exclude='.git' --exclude='.obsidian' to create a one-way mirror in iCloud Obsidian. The manual can be browsed on the phone at any time, and inspirations casually recorded in raw/inspirations/ can also be pulled back to Git one way.
  • Feeding the self-media topic pool: During overnight compilation, AI also adds technically valuable, communicable pitfalls to media/00-选题池.md (for example, “Why Does the Same Video Skill Produce Two Different Voices?”, “Why Does Text Get Cut Off Even Though Portrait Is Clearly 9:16?”, and “Why Is the Narration Still Hard to Hear When Loudness Passes?”). Selecting one can generate a master draft, which can then be rewritten into versions for Xiaohongshu, WeChat Official Accounts, Video Channel, and X.

Complete list of all Skills used by the video workflow

Below is a stage-by-stage summary of every Skill actually used across the full video pipeline, from topic selection and production through review, publishing, and retrospective consolidation (you can click into the corresponding repository and copy the work directly):

  • daily-topics (including judge.md) | Topic selection: Scan trending lists across the entire pool, verify with ≥2 sources, apply three-level risk control, and use a new independent-context sub-Agent to screen topics across six dimensions (allowing 0 topics to pass) → DeaglePC/ai-video-workflow-skills
  • daily-produce | Production scheduling: Read the topic-selection daily report, perform a second deduplication and freshness check, schedule production, and write back to the daily report and historical ledger → DeaglePC/ai-video-workflow-skills
  • topic-video (including rubric.md) | Production + independent review: Specifies aspect ratio, safe zones, storyboards with 70% real verbs, MiniMax/edge-tts voiceover, mgaudio music, four cover designs + Xiaohongshu image-and-text cards and copy; drives an independent sub-agent through two rounds of review and rejection, checks the first 3 seconds at 270 px, and verifies the final cut with Whisper → DeaglePC/ai-video-workflow-skills
  • art-in-motion (ArtInMotion) | Production (specialized visual styles): No large models; each stroke is drawn using purely local algorithms, supporting 20 visual styles and 68 transitions, producing storyboard short videos → DeaglePC/ArtInMotion
  • hunzi-whiteboard | Production (specialized visual styles): A fixed three-panel 9:16 vertical hand-drawn whiteboard engine for history/knowledge explainers (3×4 character grid, single-stroke scheduling, red-crack transitions) → DeaglePC/hunzi-whiteboard-skill
  • lemo-opuscar | Production (optional style foundation): A third-party open-source library of 59 code-rendering visual styles and a rendering pipeline, used as an extended style library (delivery specifications follow topic-video) → lemomo-ai/lemo-opuscar
  • publish-video | Multi-platform publishing: Sequentially publishes to Xiaohongshu/WeChat Channels/Douyin in the foreground using a real browser with a single tab (including large-file uploads and scheduled read-backs via serve_files.py); YouTube uses the official API to upload first, then changes the status to Public + archives to NAS → DeaglePC/ai-video-workflow-skills
  • ego-browser | Publishing / background data collection: Controls the real ego-lite browser (runs in the background without popping up or stealing focus, isolates multiple agents, and avoids domestic-platform risk controls) → bundled supporting Skill for the ego-lite browser
  • video-data-review | Data review: Read-only deep retrieval of nearly 30 days of backend data from WeChat Channels and Xiaohongshu (completion rate, 2-second exits, click-through rate, conversions per thousand views), generating a Chinese review and syncing it to Google Drive → DeaglePC/ai-video-workflow-skills
  • personal-wiki | Experience consolidation: Chat logs from multiple computers are compiled overnight by a Mac mini into an Obsidian knowledge base, consolidating troubleshooting manuals and feeding them back into the topic pool → self-built workflow (based on Karpathy's llm-wiki paradigm)

In addition, the standalone supporting tools and derivative projects extracted along the way have also been made public on GitHub:

  • Underlying common libraries(the character rig library lib/anim/rig.js + local segmented music engine lib/audio/bgm.py + one-click installation script): packaged with the main repository at DeaglePC/ai-video-workflow-skills
  • youtube-uploader(YouTube official API upload tool):DeaglePC/youtube-uploader

One-click copy: move the entire Skill set to your computer and get it running in 3 minutes

Don't want to set up the directories and prompts from scratch? Copy the complete prompt below with one click and send it directly to your Claude Code / Codex / Antigravity. It will automatically install these six open-source video Skills, check the environment, and start running:

Please deploy the open-source AI short-video end-to-end workflow in the current working directory (dual track: fully automated topic-selection LOOP + one-sentence direct-to-video generation):

1. Clone https://github.com/DeaglePC/ai-video-workflow-skills into a temporary directory and run `bash install.sh "$(pwd)"`, installing daily-topics, daily-produce, topic-video, publish-video, and video-data-review into `.claude/skills/` and `.agents/skills/` in the current directory, and initialize the `lib/` and `topics/` template ledgers.
2. Also install the sixth specialized stroke-by-stroke drawing Skill, https://github.com/DeaglePC/ArtInMotion, into `.claude/skills/` and `.agents/skills/` (if you need the 59 code-rendering style foundation, you can also install https://github.com/lemomo-ai/lemo-opuscar).
3. Check my local dependencies: `ffmpeg`, `node` (`puppeteer-core`), `python3`, `whisper`, and `edge-tts`. If my computer has MiniMax's `mmx` command-line tool configured, use `mmx` for voiceover first; if I do not have a subscription, configure the free `edge-tts` and get it running directly. For missing dependencies, give me the minimal installation command or install them for me, and remind me whether to run `bash lib/audio/tools/download_vcsl.sh` to download free CC0 local music sources.
4. First ask me: “What are your account’s vertical, target audience, and primary platform?” Based on my vertical, help me rewrite `skills/daily-topics/SKILL.md` (positioning, content mix, trending-source inputs) and `judge.md` (review-reader profile), and update the copies in `.claude/skills/` and `.agents/skills/` as well.
5. Once everything is ready, wait for my first instruction:
- Say “Run today’s topics” → use the adjusted daily-topics (full-pool trending topics + independent sub-agent topic review);
- Send a topic or link directly (for example, “Help me make a 60-second explainer video clearly explaining why phone positioning requires four satellites”) → directly trigger topic-video production + independent review and rejection + delivery of the complete asset package.

Usage reminder: Everyone’s vertical, persona, and audience are different. The open-source repository’s skills/daily-topics/ (including the positioning, content mix, and historical viral-character radar in SKILL.md, as well as the review-reader profile in judge.md) were all written for my own technology/knowledge explainer account,Adapt it to your own vertical first, then run automatic topic selection., and do not copy my configuration directly.

The four most practical lessons after six weeks

After six weeks of tinkering, the models themselves rarely held me up. The real time sink was all the surrounding engineering detail:

  1. Generation and review must be split into separate sessions: An AI writing topics will always go easy on its own work, and an AI making videos will always give itself high scores; start a new independent context containing only the bare information and finished video, and it is better to have zero pieces pass that day than to publish anything that fails the second round.
  2. Regularly use deep backend data to prove yourself wrong: The 90-second rule nearly ruined long whiteboard videos, and niche-category filtering missed Messi; views alone do not reveal where the problem is, but the 2-second exit rate and conversions per thousand views make the problem obvious.
  3. Translate every failure into a machine-executable checklist item: 270-pixel small-screen frame extraction, running Whisper on the final MP4, four-dimensional style logs, single-tab foreground injection, and scheduled list read-backs—all are foolproofing measures bought with rework.
  4. Conversations that disappear after the chat cannot accumulate anything: Continuously rewrite the rules into SKILL.md and compile troubleshooting lessons into a personal llm-wiki; only then does a new task genuinely benefit from accumulated knowledge.

Everyday tool and model combination

I mainly handle the entire workflow in Claude Code、Antigravity and Codex Run them together across the three tools:

  • Topic selection and video production: In practical testing, the best results came from Claude Opus 5.5 (medium reasoning level) and Gemini Neon, whose finished creative structures, code animations, and long scripts were noticeably better, while each item used only 3%–5% of the weekly allowance of a $20 Claude subscription.
  • Image generation and illustration assistance: Whenever production requires an illustration, cover, or flowchart, simply have Claude or Gemini call the local Codex Use image-generation assistance (several of the core covers and architecture diagrams in this article were made this way).
  • Multi-platform publishing: At the publishing stage, scripts and rule-based gates do most of the work; which tool or model is used does not matter.

The complete scripts and Skills are all at DeaglePC/ai-video-workflow-skills and are continuously updated, so feel free to take and use them directly.

This video LOOP solves “how to make videos reliably.” What continuously feeds it good topics every day is what I run on a Mac mini at home: a zero-token system that automatically compiles the AI conversation logs from multiple computers into Obsidian. personal Karpathy LLM Wiki system—I am currently redacting and splitting the compilation and automatic topic-mining scripts into the next open-source Skill; I will publish it directly once organized. If you want to be among the first to use it, you can click Bookmark + Follow, so you do not lose it while scrolling.

Source: deaglepc · x.com