agentleFS
descriptincdescriptinc/skills/ascii-video/SKILL.md

ascii-video

Skill14 starsChanged 6 months agoMITView on GitHub

Generate colored ASCII art video using a Python renderer and finish in Descript. Choose from 5 templates (music visualizer, intro bumper, social clip, lyric video, product launch), customize the creative brief, render locally, then import to Descript for captions, music, voiceover, and export. Use this skill when creating ASCII art videos, retro-style video content, text-art animations, or stylized video effects.

  • Installs packages

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use teams-meeting-pipeline, competitor-news-monitor and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • john-data-chenSkill

    teams-meeting-pipeline

    Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.

    Also in 6 projects that use this

  • aivrarSkill

    competitor-news-monitor

    Watch named companies for material news; cited digests.

    Also in 4 projects that use this

  • aivrarSkill

    document-to-action-items

    Extract cited obligations, deadlines, tasks from documents.

    Also in 4 projects that use this

  • kevinnftSkill

    node-inspect-debugger

    Debug Node.js via --inspect + Chrome DevTools Protocol CLI.

    Also in 5 projects that use this

  • kevinnftSkill

    python-debugpy

    Debug Python: pdb REPL + debugpy remote (DAP).

    Also in 5 projects that use this

  • indranilbanerjeeSkill

    xurl

    A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.

    Also in 6 projects that use this

  • +4 more from aivrar
  • +1 more from kevinnft

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 13 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After rendering, the video is imported into Descript for post-production: captions, music, voiceover, and export.

    line 18
  2. Distinctive:

    Start by asking: "Before we begin, do you already have Python 3, ffmpeg, and the required Python packages (numpy, pillow, scipy) installed?

    line 30
  3. Distinctive:

    If setup is needed, guide per OS:

    line 32
  4. Distinctive:

    Ask the template-specific questions from the reference file, plus these universal questions:

    line 63
  5. Very specific:

    Write a single-file Python renderer based on the creative brief and the template's rendering spec.

    line 71
  6. Distinctive:

    Font rasterization: Use Pillow to render each ASCII character once at the target font size, cache as numpy arrays.

    line 79
  7. Distinctive:

    Audio analysis (for audio-reactive modes): Use scipy FFT to extract 6 frequency bands per frame.

    line 85
  8. Distinctive:

    Video sampling (for video-to-ASCII modes): Use ffmpeg subprocess to decode input video frames.

    line 87
  9. Distinctive:

    Run the script. Confirm:

    line 111
  10. Distinctive:

    If the render fails, debug common issues: ffmpeg not found, font not available, numpy broadcasting errors, ffmpeg pipe deadlock.

    line 118
  11. Distinctive:

    Ask the user to watch the rendered video and confirm they're happy with it before proceeding.

    line 120
  12. Distinctive:

    Ask: "Do you want to manually upload your media to Descript, or import via the API?"

    line 124
  13. Very specific:

    Call import_media with the public URL to create a new project or add to an existing one

    line 134
  14. Distinctive:

    If the template involves source audio (music visualizer, lyric video, product launch), that file also needs a public URL — import it …

    line 135
  15. Very specific:

    Run the opinionated finishing workflow defined in the template's reference file.

    line 142
  16. Very specific:

    After each agent call, poll get_job until job_state is "stopped" and check result.status for "success" or "error".

    line 144
  17. Distinctive:

    Claude can't see video: All quality judgments about the rendered video require the user to watch it.

    line 155
  18. Very specific:

    Jobs are async: After every Descript API call, poll with get_job until the job state is stopped.

    line 156

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ASCII Video — Generate ASCII Art Video and Finish in Descript

A coding agent writes a bespoke Python renderer that outputs colored ASCII art as real MP4 video. You pick a template (music visualizer, intro bumper, social clip, lyric video, product launch), answer a few creative questions, and the agent generates the video from scratch. Then you import it into Descript for finishing.

For Descript API setup (auth, job polling, limitations), read ../references/descript-api.md.

Instructions for the AI

Guide a creator through generating an ASCII art video and finishing it in Descript. The workflow has two phases: video generation (Steps 1-5) and Descript post-production (Steps 6-7).

The video generation step involves writing a single-file Python renderer from scratch. The renderer uses NumPy + Pillow + ffmpeg to render colored ASCII characters as actual video frames. No pre-built templates or binaries.

After rendering, the video is imported into Descript for post-production: captions, music, voiceover, and export.

After every prompt_project_agent or import_media call: Poll get_job until job_state is "stopped" and check result.status before proceeding. See ../references/descript-api.md for details.


The workflow

Work through these steps in order.

Step 1: Environment setup

Start by asking: "Before we begin, do you already have Python 3, ffmpeg, and the required Python packages (numpy, pillow, scipy) installed? If yes, we can skip setup. If not, I'll walk you through it."

If setup is needed, guide per OS:

  • macOS: brew install ffmpeg then pip install numpy pillow scipy
  • Linux: sudo apt install ffmpeg then pip install numpy pillow scipy
  • Windows: Download ffmpeg from ffmpeg.org, add to PATH, then pip install numpy pillow scipy

Verify everything works:

python3 -c "import numpy, PIL, scipy; print('Ready')"
ffmpeg -version

Both commands should succeed before moving on.

Step 2: Pick a template

Present the five templates:

TemplateDescriptionInput
Music VisualizerAudio-reactive ASCII visuals synced to a trackAudio file
Intro BumperShort (5-15s) branded ASCII animationNone or logo image
Social ClipPortrait/square ASCII video for TikTok/IG/ShortsOptional source video
Lyric VideoASCII visuals synced to lyrics with karaoke-style textAudio + lyrics/SRT
Product LaunchProduct update/marketing video with ASCII aestheticOptional footage + script

Once the user picks a template, read the corresponding reference file from references/ for template-specific details.

Step 3: Creative brief

Ask the template-specific questions from the reference file, plus these universal questions:

  • Target resolution: Landscape (1920x1080), portrait (1080x1920), square (1080x1080), or custom?
  • Target duration?
  • Color preferences or brand colors?

Step 4: Generate the Python script

Write a single-file Python renderer based on the creative brief and the template's rendering spec. Save it as a .py file the user can run directly.

Rendering guidance

This section gives the agent enough to write a working renderer without external dependencies beyond numpy, pillow, scipy, and ffmpeg.

Architecture: Single Python file. Core loop: for each frame, build a pixel canvas (uint8 numpy array H x W x 3), composite colored ASCII characters onto it using pre-rasterized font bitmaps, pipe raw RGB frames to ffmpeg via subprocess.

Font rasterization: Use Pillow to render each ASCII character once at the target font size, cache as numpy arrays. Common monospace fonts: "Menlo" (macOS), "Consolas" (Windows), "DejaVu Sans Mono" (Linux). Fall back through the list until one loads.

Character palettes: Density ramps (light to dark): .:-=+*#%@. Block elements: ░▒▓█. Braille patterns for high-density fields. Pick palette based on mood and template.

Color: Map source data (audio FFT bands, video luminance, procedural math) to RGB values. For perceptual color, use OKLAB/OKLCH color space conversions.

Audio analysis (for audio-reactive modes): Use scipy FFT to extract 6 frequency bands per frame. Detect beats via peak detection on RMS energy. Map spectral centroid to color temperature.

Video sampling (for video-to-ASCII modes): Use ffmpeg subprocess to decode input video frames. Sample luminance to select characters. Optionally apply edge detection for sharper ASCII mapping.

Tonemap: ASCII on black backgrounds is inherently dark. Use adaptive percentile-based tonemapping (np.percentile on the canvas, then rescale) to ensure the output isn't muddy.

Shaders: Composable post-processing effects applied per-frame: bloom (gaussian blur + additive blend), chromatic aberration, scanlines, vignette, color grading. Chain multiple shaders.

ffmpeg output: Pipe raw RGB frames to ffmpeg via subprocess.Popen:

ffmpeg -f rawvideo -pix_fmt rgb24 -s WxH -r FPS -i pipe: -c:v libx264 -pix_fmt yuv420p output.mp4

For GIF output: add -vf "fps=15,scale=640:-1".

Common pitfalls:

  1. macOS font height can be wrong — measure actual rendered height, not reported height.
  2. ffmpeg pipe deadlock — if you don't read stderr, the pipe can deadlock. Use communicate() or a separate thread for stderr.
  3. NumPy broadcasting errors are the #1 crash — always verify array shapes before operations.

For deeper reference material on effects, shaders, and advanced techniques, see the NousResearch ASCII Video skill.

Step 5: Render and verify

Run the script. Confirm:

  • Output file exists
  • Duration matches expectation: ffprobe -v error -show_entries format=duration -of csv=p=0 output.mp4
  • Resolution matches spec: ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=p=0 output.mp4
  • File size is reasonable — not 0 bytes, not absurdly large

If the render fails, debug common issues: ffmpeg not found, font not available, numpy broadcasting errors, ffmpeg pipe deadlock.

Ask the user to watch the rendered video and confirm they're happy with it before proceeding. For video-to-ASCII conversions, render a short preview (5s) first so the user can approve the look before committing to the full render.

Step 6: Import to Descript

Ask: "Do you want to manually upload your media to Descript, or import via the API?"

If manual:

Tell the user to drag and drop the rendered video (and any source audio files) into their Descript project via the desktop app. Ask for the project link once done (looks like https://web.descript.com/<project-id>).

If API:

Guide the user to upload the rendered MP4 to their cloud storage service of choice (Dropbox, Google Drive, S3, etc.) and get a publicly accessible URL. Then:

  1. Call import_media with the public URL to create a new project or add to an existing one
  2. If the template involves source audio (music visualizer, lyric video, product launch), that file also needs a public URL — import it alongside the video
  3. Poll get_job until complete

Note: The Descript API does not currently support local file upload — media must be at a publicly accessible URL. This limitation is expected to change. See docs.descriptapi.com for the latest capabilities.

Step 7: Descript finishing

Run the opinionated finishing workflow defined in the template's reference file. Use prompt_project_agent for each operation.

After each agent call, poll get_job until job_state is "stopped" and check result.status for "success" or "error".

Note any steps that require manual attention in the Descript desktop app (the reference file will specify these).


Key principles

  • One file, one render. The Python script is self-contained — no external dependencies beyond numpy, pillow, scipy, and ffmpeg.
  • Fresh script every time. The agent writes the renderer from scratch based on the creative brief, not from a template.
  • Show before you cut. For video-to-ASCII conversions, render a short preview (5s) first so the user can approve the look before committing to the full render.
  • Claude can't see video. All quality judgments about the rendered video require the user to watch it. The agent verifies technical specs (duration, resolution, file size) but not visual quality.
  • Jobs are async. After every Descript API call, poll with get_job until the job state is stopped. Check result.status for success or error.

Limitations

  • Claude cannot see or preview video. The user must watch renders to judge visual quality.
  • See ../references/descript-api.md for full API limitations and workarounds.

Source

Video generation approach based on the ASCII Video skill from NousResearch/hermes-agent.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.