Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

ascii-videoASCII 视频

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

216

周安装

9

GitHub Stars

124,785

下载量

72
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ascii-video(ASCII 视频)
来源仓库:https://github.com/nousresearch/hermes-agent
仓库路径:skills/ascii-video
安装命令:
npx skills add https://github.com/nousresearch/hermes-agent --skill ascii-video
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/nousresearch/hermes-agent --skill ascii-video

简介

ascii-video 用于将视频或音频转换为 ASCII 动画输出,支持 MP4、GIF 或图像序列格式。

  • 它适用于复古风格可视化、音乐频谱展示或技术演示,可处理视频到字符画的实时转换。
  • 内置生产流水线,涵盖音频反应式动画与生成式 ASCII 艺术,支持多种输入源。
  • 涉及人物肖像或商业发布内容时,需提前确认版权授权与内容合规性。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

ASCII Video Production Pipeline

When to use

Use when users request: ASCII video, text art video, terminal-style video, character art animation, retro text visualization, audio visualizer in ASCII, converting video to ASCII art, matrix-style effects, or any animated ASCII output.

What's inside

Production pipeline for ASCII art video — any format. Converts video/audio/images/generative input into colored ASCII character video output (MP4, GIF, image sequence). Covers: video-to-ASCII conversion, audio-reactive music visualizers, generative ASCII art animations, hybrid video+audio reactive, text/lyrics overlays, real-time terminal rendering.

Creative Standard

This is visual art. ASCII characters are the medium; cinema is the standard.

Before writing a single line of code, articulate the creative concept. What is the mood? What visual story does this tell? What makes THIS project different from every other ASCII video? The user's prompt is a starting point — interpret it with creative ambition, not literal transcription.

First-render excellence is non-negotiable. The output must be visually striking without requiring revision rounds. If something looks generic, flat, or like "AI-generated ASCII art," it is wrong — rethink the creative concept before shipping.

Go beyond the reference vocabulary. The effect catalogs, shader presets, and palette libraries in the references are a starting vocabulary. For every project, combine, modify, and invent new patterns. The catalog is a palette of paints — you write the painting.

Be proactively creative. Extend the skill's vocabulary when the project calls for it. If the references don't have what the vision demands, build it. Include at least one visual moment the user didn't ask for but will appreciate — a transition, an effect, a color choice that elevates the whole piece.

Cohesive aesthetic over technical correctness. All scenes in a video must feel connected by a unifying visual language — shared color temperature, related character palettes, consistent motion vocabulary. A technically correct video where every scene uses a random different effect is an aesthetic failure.

Dense, layered, considered. Every frame should reward viewing. Never flat black backgrounds. Always multi-grid composition. Always per-scene variation. Always intentional color.

Modes

ModeInputOutputReference
Video-to-ASCIIVideo fileASCII recreation of source footagereferences/inputs.md § Video Sampling
Audio-reactiveAudio fileGenerative visuals driven by audio featuresreferences/inputs.md § Audio Analysis
GenerativeNone (or seed params)Procedural ASCII animationreferences/effects.md
HybridVideo + audioASCII video with audio-reactive overlaysBoth input refs
Lyrics/textAudio + text/SRTTimed text with visual effectsreferences/inputs.md § Text/Lyrics
TTS narrationText quotes + TTS APINarrated testimonial/quote video with typed textreferences/inputs.md § TTS Integration

Stack

Single self-contained Python script per project. No GPU required.

LayerToolPurpose
CorePython 3.10+, NumPyMath, array ops, vectorized effects
SignalSciPyFFT, peak detection (audio modes)
ImagingPillow (PIL)Font rasterization, frame decoding, image I/O
Video I/Offmpeg (CLI)Decode input, encode output, mux audio
Parallelconcurrent.futuresN workers for batch/clip rendering
TTSElevenLabs API (optional)Generate narration clips
OptionalOpenCVVideo frame sampling, edge detection

Pipeline Architecture

Every mode follows the same 6-stage pipeline:

INPUT → ANALYZE → SCENE_FN → TONEMAP → SHADE → ENCODE
  1. INPUT — Load/decode source material (video frames, audio samples, images, or nothing)
  2. ANALYZE — Extract per-frame features (audio bands, video luminance/edges, motion vectors)
  3. SCENE_FN — Scene function renders to pixel canvas (uint8 H,W,3). Composes multiple character grids via _render_vf() + pixel blend modes. See references/composition.md
  4. TONEMAP — Percentile-based adaptive brightness normalization. See references/composition.md § Adaptive Tonemap
  5. SHADE — Post-processing via ShaderChain + FeedbackBuffer. See references/shaders.md
  6. ENCODE — Pipe raw RGB frames to ffmpeg for H.264/GIF encoding

Creative Direction

Aesthetic Dimensions

DimensionOptionsReference
Character paletteDensity ramps, block elements, symbols, scripts (katakana, Greek, runes, braille), project-specificarchitecture.md § Palettes
Color strategyHSV, OKLAB/OKLCH, discrete RGB palettes, auto-generated harmony, monochrome, temperaturearchitecture.md § Color System
Background textureSine fields, fBM noise, domain warp, voronoi, reaction-diffusion, cellular automata, videoeffects.md
Primary effectsRings, spirals, tunnel, vortex, waves, interference, aurora, fire, SDFs, strange attractorseffects.md
ParticlesSparks, snow, rain, bubbles, runes, orbits, flocking boids, flow-field followers, trailseffects.md § Particles
Shader moodRetro CRT, clean modern, glitch art, cinematic, dreamy, industrial, psychedelicshaders.md
Grid densityxs(8px) through xxl(40px), mixed per layerarchitecture.md § Grid System
Coordinate spaceCartesian, polar, tiled, rotated, fisheye, Möbius, domain-warpedeffects.md § Transforms
FeedbackZoom tunnel, rainbow trails, ghostly echo, rotating mandala, color evolutioncomposition.md § Feedback
MaskingCircle, ring, gradient, text stencil, animated iris/wipe/dissolvecomposition.md § Masking
TransitionsCrossfade, wipe, dissolve, glitch cut, iris, mask-based revealshaders.md § Transitions

Per-Section Variation

Never use the same config for the entire video. For each section/scene:

  • Different background effect (or compose 2-3)
  • Different character palette (match the mood)
  • Different color strategy (or at minimum a different hue)
  • Vary shader intensity (more bloom during peaks, more grain during quiet)
  • Different particle types if particles are active

Project-Specific Invention

For every project, invent at least one of:

  • A custom character palette matching the theme
  • A custom background effect (combine/modify existing building blocks)
  • A custom color palette (discrete RGB set matching the brand/mood)
  • A custom particle character set
  • A novel scene transition or visual moment

Don't just pick from the catalog. The catalog is vocabulary — you write the poem.

Workflow

Step 1: Creative Vision

Before any code, articulate the creative concept:

  • Mood/atmosphere: What should the viewer feel? Energetic, meditative, chaotic, elegant, ominous?
  • Visual story: What happens over the duration? Build tension? Transform? Dissolve?
  • Color world: Warm/cool? Monochrome? Neon? Earth tones? What's the dominant hue?
  • Character texture: Dense data? Sparse stars? Organic dots? Geometric blocks?
  • What makes THIS different: What's the one thing that makes this project unique?
  • Emotional arc: How do scenes progress? Open with energy, build to climax, resolve?

Map the user's prompt to aesthetic choices. A "chill lo-fi visualizer" demands different everything from a "glitch cyberpunk data stream."

Step 2: Technical Design

  • Mode — which of the 6 modes above
  • Resolution — landscape 1920x1080 (default), portrait 1080x1920, square 1080x1080 @ 24fps
  • Hardware detection — auto-detect cores/RAM, set quality profile. See references/optimization.md
  • Sections — map timestamps to scene functions, each with its own effect/palette/color/shader config
  • Output format — MP4 (default), GIF (640x360 @ 15fps), PNG sequence

Step 3: Build the Script

Single Python file. Components (with references):

  1. Hardware detection + quality profilereferences/optimization.md
  2. Input loader — mode-dependent; references/inputs.md
  3. Feature analyzer — audio FFT, video luminance, or synthetic
  4. Grid + renderer — multi-density grids with bitmap cache; references/architecture.md
  5. Character palettes — multiple per project; references/architecture.md § Palettes
  6. Color system — HSV + discrete RGB + harmony generation; references/architecture.md § Color
  7. Scene functions — each returns canvas (uint8 H,W,3); references/scenes.md
  8. Tonemap — adaptive brightness normalization; references/composition.md
  9. Shader pipelineShaderChain + FeedbackBuffer; references/shaders.md
  10. Scene table + dispatcher — time → scene function + config; references/scenes.md
  11. Parallel encoder — N-worker clip rendering with ffmpeg pipes
  12. Main — orchestrate full pipeline

Step 4: Quality Verification

  • Test frames first: render single frames at key timestamps before full render
  • Brightness check: canvas.mean() > 8 for all ASCII content. If dark, lower gamma
  • Visual coherence: do all scenes feel like they belong to the same video?
  • Creative vision check: does the output match the concept from Step 1? If it looks generic, go back

Critical Implementation Notes

Brightness — Use tonemap(), Not Linear Multipliers

This is the #1 visual issue. ASCII on black is inherently dark. **Never use canvas * N multipliers** — they clip highlights. Use adaptive tonemap:

def tonemap(canvas, gamma=0.75):
    f = canvas.astype(np.float32)
    lo, hi = np.percentile(f[::4, ::4], [1, 99.5])
    if hi - lo < 10: hi = lo + 10
    f = np.clip((f - lo) / (hi - lo), 0, 1) ** gamma
    return (f * 255).astype(np.uint8)

Pipeline: scene_fn() → tonemap() → FeedbackBuffer → ShaderChain → ffmpeg

Per-scene gamma: default 0.75, solarize 0.55, posterize 0.50, bright scenes 0.85. Use screen blend (not overlay) for dark layers.

Font Cell Height

macOS Pillow: textbbox() returns wrong height. Use font.getmetrics(): cell_height = ascent + descent. See references/troubleshooting.md.

ffmpeg Pipe Deadlock

Never stderr=subprocess.PIPE with long-running ffmpeg — buffer fills at 64KB and deadlocks. Redirect to file. See references/troubleshooting.md.

Font Compatibility

Not all Unicode chars render in all fonts. Validate palettes at init — render each char, check for blank output. See references/troubleshooting.md.

Per-Clip Architecture

For segmented videos (quotes, scenes, chapters), render each as a separate clip file for parallel rendering and selective re-rendering. See references/scenes.md.

Performance Targets

ComponentBudget
Feature extraction1-5ms
Effect function2-15ms
Character render80-150ms (bottleneck)
Shader pipeline5-25ms
Total~100-200ms/frame

References

FileContents
references/architecture.mdGrid system, resolution presets, font selection, character palettes (20+), color system (HSV + OKLAB + discrete RGB + harmony generation), _render_vf() helper, GridLayer class
references/composition.mdPixel blend modes (20 modes), blend_canvas(), multi-grid composition, adaptive tonemap(), FeedbackBuffer, PixelBlendStack, masking/stencil system
references/effects.mdEffect building blocks: value field generators, hue fields, noise/fBM/domain warp, voronoi, reaction-diffusion, cellular automata, SDFs, strange attractors, particle systems, coordinate transforms, temporal coherence
references/shaders.mdShaderChain, _apply_shader_step() dispatch, 38 shader catalog, audio-reactive scaling, transitions, tint presets, output format encoding, terminal rendering
references/scenes.mdScene protocol, Renderer class, SCENES table, render_clip(), beat-synced cutting, parallel rendering, design patterns (layer hierarchy, directional arcs, visual metaphors, compositional techniques), complete scene examples at every complexity level, scene design checklist
references/inputs.mdAudio analysis (FFT, bands, beats), video sampling, image conversion, text/lyrics, TTS integration (ElevenLabs, voice assignment, audio mixing)
references/optimization.mdHardware detection, quality profiles, vectorized patterns, parallel rendering, memory management, performance budgets
references/troubleshooting.mdNumPy broadcasting traps, blend mode pitfalls, multiprocessing/pickling, brightness diagnostics, ffmpeg issues, font problems, common mistakes

Creative Divergence (use only when user requests experimental/creative/unique output)

If the user asks for creative, experimental, surprising, or unconventional output, select the strategy that best fits and reason through its steps BEFORE generating code.

  • Forced Connections — when the user wants cross-domain inspiration ("make it look organic," "industrial aesthetic")
  • Conceptual Blending — when the user names two things to combine ("ocean meets music," "space + calligraphy")
  • Oblique Strategies — when the user is maximally open ("surprise me," "something I've never seen")

Forced Connections

  1. Pick a domain unrelated to the visual goal (weather systems, microbiology, architecture, fluid dynamics, textile weaving)
  2. List its core visual/structural elements (erosion → gradual reveal; mitosis → splitting duplication; weaving → interlocking patterns)
  3. Map those elements onto ASCII characters and animation patterns
  4. Synthesize — what does "erosion" or "crystallization" look like in a character grid?

Conceptual Blending

  1. Name two distinct visual/conceptual spaces (e.g., ocean waves + sheet music)
  2. Map correspondences (crests = high notes, troughs = rests, foam = staccato)
  3. Blend selectively — keep the most interesting mappings, discard forced ones
  4. Develop emergent properties that exist only in the blend

Oblique Strategies

  1. Draw one: "Honor thy error as a hidden intention" / "Use an old idea" / "What would your closest friend do?" / "Emphasize the flaws" / "Turn it upside down" / "Only a part, not the whole" / "Reverse"
  2. Interpret the directive against the current ASCII animation challenge
  3. Apply the lateral insight to the visual design before writing code

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.52%
按下载量换算27

Claude

29.14%
按下载量换算21

Cursor

19%
按下载量换算14

Gemini CLI

8.92%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/nousresearch/hermes-agent --skill ascii-video 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills