[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75WCQ3ANE1JTPBAF75D1B7Z":3,"skill-same:01M75WCQ3ANE1JTPBAF75D1B7Z":109},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M75WCQ3ANE1JTPBAF75D1B7Z","media-processing",null,"Process multimedia files with FFmpeg (video\u002Faudio encoding, conversion, streaming, filtering, hardware acceleration), ImageMagick (image manipulation, format conversion, batch processing, effects, composition), and vhs (headless terminal recording for CLI\u002FTUI screenshots, GIFs, and MP4 demos, plus tmux-driven and asciinema capture of live sessions). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing\u002Fcropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS\u002FDASH), generating thumbnails, batch processing images, creating composite images, capturing reproducible terminal\u002FTUI\u002FCLI screenshots or demos, recording a CLI command flow or live tmux session (vhs `.tape`, tmux capture-pane, asciinema), or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.","stevengonsalvez\u002Fainb-toolkit","stevengonsalvez","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9320602?v=4","01M75W59QRYZYANWY3XG8CJB1P","Steven Gonsalvez","01M75W59RD5YW1RT67BDV0EAZF",1,"MIT","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: media-processing\ndescription: Process multimedia files with FFmpeg (video\u002Faudio encoding, conversion, streaming, filtering, hardware acceleration), ImageMagick (image manipulation, format conversion, batch processing, effects, composition), and vhs (headless terminal recording for CLI\u002FTUI screenshots, GIFs, and MP4 demos, plus tmux-driven and asciinema capture of live sessions). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing\u002Fcropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS\u002FDASH), generating thumbnails, batch processing images, creating composite images, capturing reproducible terminal\u002FTUI\u002FCLI screenshots or demos, recording a CLI command flow or live tmux session (vhs `.tape`, tmux capture-pane, asciinema), or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.\nlicense: MIT\n---\n\n# Media Processing Skill\n\nProcess video, audio, and images using FFmpeg and ImageMagick command-line tools for conversion, optimization, streaming, and manipulation tasks.\n\n## When to Use This Skill\n\nUse when:\n- Converting media formats (video, audio, images)\n- Encoding video with codecs (H.264, H.265, VP9, AV1)\n- Processing images (resize, crop, effects, watermarks)\n- Extracting audio from video\n- Creating streaming manifests (HLS\u002FDASH)\n- Generating thumbnails and previews\n- Batch processing media files\n- Optimizing file sizes and quality\n- Applying filters and effects\n- Creating composite images or videos\n- Capturing reproducible terminal \u002F TUI screenshots, GIFs, or demo MP4s for docs \u002F README assets\n\n## Tool Selection Guide\n\n### FFmpeg: Video\u002FAudio Processing\nUse FFmpeg for:\n- Video encoding, conversion, transcoding\n- Audio extraction, conversion, mixing\n- Live streaming (RTMP, HLS, DASH)\n- Video filters (scale, crop, rotate, overlay)\n- Hardware-accelerated encoding\n- Media file inspection (ffprobe)\n- Frame extraction, concatenation\n- Codec selection and optimization\n\n### ImageMagick: Image Processing\nUse ImageMagick for:\n- Image format conversion (PNG, JPEG, WebP, GIF)\n- Resizing, cropping, transformations\n- Batch image processing (mogrify)\n- Visual effects (blur, sharpen, sepia)\n- Text overlays and watermarks\n- Image composition and montages\n- Color adjustments, filters\n- Thumbnail generation\n\n### vhs: Terminal \u002F TUI Recording\nUse vhs for:\n- Reproducible terminal screenshots (PNG) for docs \u002F README\n- Animated GIFs \u002F MP4s \u002F WebMs of TUI flows\n- Headless capture (no real terminal, no display server — CI-friendly)\n- Scripted keystroke sequences (Type \u002F Tab \u002F Enter \u002F Escape \u002F Ctrl+c \u002F Sleep)\n- Theme-pinned, dimension-pinned output that's identical across machines\n- **Not** for: generic screen capture, recording arbitrary GUI apps, or anything outside a PTY\n\n### Decision Matrix\n\n| Task | Tool | Why |\n|------|------|-----|\n| Video encoding | FFmpeg | Native video codec support |\n| Audio extraction | FFmpeg | Direct stream manipulation |\n| Image resize | ImageMagick | Optimized for still images |\n| Batch images | ImageMagick | mogrify for in-place edits |\n| Video thumbnails | FFmpeg | Frame extraction built-in |\n| GIF creation | FFmpeg or ImageMagick | FFmpeg for video source, ImageMagick for images |\n| Streaming | FFmpeg | Live streaming protocols |\n| Image effects | ImageMagick | Rich filter library |\n| TUI screenshot \u002F GIF | vhs | Scripted PTY capture, theme-pinned, byte-deterministic |\n| Demo video of a CLI flow | vhs | `.tape` file as source of truth — re-runnable, diffable |\n\n## Installation\n\n### macOS\n```bash\nbrew install ffmpeg imagemagick vhs\n```\n\n### Ubuntu\u002FDebian\n```bash\nsudo apt-get install ffmpeg imagemagick\n# vhs — install via Go or release tarball, no apt package on most distros\ngo install github.com\u002Fcharmbracelet\u002Fvhs@latest\n# or download from https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fvhs\u002Freleases\n```\n\n### Windows\n```bash\n# Using winget\nwinget install ffmpeg\nwinget install ImageMagick.ImageMagick\n\n# Or download binaries\n# FFmpeg: https:\u002F\u002Fffmpeg.org\u002Fdownload.html\n# ImageMagick: https:\u002F\u002Fimagemagick.org\u002Fscript\u002Fdownload.php\n# vhs:        https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fvhs\u002Freleases\n```\n\n### Verify Installation\n```bash\nffmpeg -version\nffprobe -version\nmagick -version\n# or\nconvert -version\nvhs --version       # only if you'll be capturing terminal output\n```\n\n## Quick Start Examples\n\n### Video Conversion\n```bash\n# Convert format (copy streams, fast)\nffmpeg -i input.mkv -c copy output.mp4\n\n# Re-encode with H.264\nffmpeg -i input.avi -c:v libx264 -crf 22 -c:a aac output.mp4\n\n# Resize video to 720p\nffmpeg -i input.mp4 -vf scale=-1:720 -c:a copy output.mp4\n```\n\n### Audio Extraction\n```bash\n# Extract audio (no re-encoding)\nffmpeg -i video.mp4 -vn -c:a copy audio.m4a\n\n# Convert to MP3\nffmpeg -i video.mp4 -vn -q:a 0 audio.mp3\n```\n\n### Image Processing\n```bash\n# Convert format\nmagick input.png output.jpg\n\n# Resize maintaining aspect ratio\nmagick input.jpg -resize 800x600 output.jpg\n\n# Create square thumbnail\nmagick input.jpg -resize 200x200^ -gravity center -extent 200x200 thumb.jpg\n```\n\n### Batch Image Resize\n```bash\n# Resize all JPEGs to 800px width\nmogrify -resize 800x -quality 85 *.jpg\n\n# Output to separate directory\nmogrify -path .\u002Foutput -resize 800x600 *.jpg\n```\n\n### Video Thumbnail\n```bash\n# Extract frame at 5 seconds\nffmpeg -ss 00:00:05 -i video.mp4 -vframes 1 -vf scale=320:-1 thumb.jpg\n```\n\n### HLS Streaming\n```bash\n# Generate HLS playlist\nffmpeg -i input.mp4 \\\n  -c:v libx264 -preset fast -crf 22 -g 48 \\\n  -c:a aac -b:a 128k \\\n  -f hls -hls_time 6 -hls_playlist_type vod \\\n  playlist.m3u8\n```\n\n### Image Watermark\n```bash\n# Add watermark to corner\nmagick input.jpg watermark.png -gravity southeast \\\n  -geometry +10+10 -composite output.jpg\n```\n\n## Common Workflows\n\n### Optimize Video for Web\n```bash\n# H.264 with good compression\nffmpeg -i input.mp4 \\\n  -c:v libx264 -preset slow -crf 23 \\\n  -c:a aac -b:a 128k \\\n  -movflags +faststart \\\n  output.mp4\n```\n\n### Create Responsive Images\n```bash\n# Generate multiple sizes\nfor size in 320 640 1024 1920; do\n  magick input.jpg -resize ${size}x -quality 85 \"output-${size}w.jpg\"\ndone\n```\n\n### Extract Video Segment\n```bash\n# From 1:30 to 3:00 (re-encode for precision)\nffmpeg -i input.mp4 -ss 00:01:30 -to 00:03:00 \\\n  -c:v libx264 -c:a aac output.mp4\n```\n\n### Batch Image Optimization\n```bash\n# Convert PNG to optimized JPEG\nmogrify -path .\u002Foptimized -format jpg -quality 85 -strip *.png\n```\n\n### Video GIF Creation\n```bash\n# High quality GIF with palette\nffmpeg -i input.mp4 -vf \"fps=15,scale=640:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse\" output.gif\n```\n\n### Image Blur Effect\n```bash\n# Gaussian blur\nmagick input.jpg -gaussian-blur 0x8 output.jpg\n```\n\n### Incident Evidence Composite\n\nSide-by-side composite with a title bar — useful for pasting into PRs or incident\nreports when you have a screenshot plus a chart\u002Fsecond screenshot to compare.\n\n```bash\n# Resize both panels to matching height, append horizontally, add title strip\nmagick screenshot.png  -resize 'x800' -background '#111' -gravity center -extent '450x800' panel_a.png\nmagick chart.png       -resize 'x800' -background '#fff' -gravity center -extent '1450x800' panel_b.png\nmagick panel_a.png panel_b.png +append \\\n  -background '#111' -splice 0x40 \\\n  -gravity north -pointsize 22 -fill white \\\n  -annotate +0+8 'Incident · URL · device · timestamp' \\\n  composite.png\n```\n\n### Slideshow MP4 from PNG Glob\n\nTurn a directory of PNGs into a short mp4 (great for evidence clips when you don't\nhave a real video source — e.g. rrweb\u002Fsession-replay data).\n\n```bash\n# 2 seconds per frame, H.264-compatible output\nffmpeg -y -loglevel error \\\n  -framerate 1\u002F2 -pattern_type glob -i 'frames\u002F*.png' \\\n  -vf \"scale=trunc(iw\u002F2)*2:trunc(ih\u002F2)*2,format=yuv420p,fps=30\" \\\n  -c:v libx264 -preset veryfast -crf 22 slideshow.mp4\n```\n\n**Non-obvious bits:**\n- `scale=trunc(iw\u002F2)*2:trunc(ih\u002F2)*2` — H.264 requires **even dimensions**; skip this and the encoder fails silently on odd-width PNGs.\n- `format=yuv420p` — without it, players like QuickTime refuse to open.\n- `fps=30` keeps the output cadence smooth even when the input is 1\u002F2 fps.\n\n## Terminal Recording with vhs\n\n[vhs](https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fvhs) (Charm) records a scripted terminal session inside its own virtual PTY and emits a PNG, GIF, MP4, or WebM. No real terminal, no display server, no screen-recording fragility — the `.tape` file is the source of truth, and re-running it yields the same output every time (modulo what the recorded command itself produces).\n\n**Use vhs for:** TUI screenshots in your README\u002Fdocs, animated demo GIFs of a CLI flow, regression-style snapshots.\n\n**Don't use vhs for:** generic screen capture, GUI app recording, anything where the output isn't text-in-a-terminal.\n\n> **Recording a CLI command flow, a TUI without the cold-paint loader, or driving\u002Fasserting a live binary via tmux (or asciinema for a genuinely interactive session)?** Read [`references\u002Fterminal-recording.md`](references\u002Fterminal-recording.md) — `.tape` recipes for CLI and TUI (`Hide`\u002F`Show`), the tmux `send-keys`\u002F`capture-pane` driver, asciinema, and the field-tested traps (quoted `Output` paths, `send-keys` needs a separate `Enter`, env-isolation, mtime gaps). The minimal recipes below are a quick start.\n\n### Minimal `.tape` — single screenshot\n\n```tape\n# home.tape\nOutput home.png\n\nSet Theme \"Catppuccin Mocha\"\nSet FontSize 16\nSet Width 1600\nSet Height 900\nSet Padding 20\nSet Shell bash\n\nType \".\u002Ftarget\u002Fdebug\u002Fmyapp tui\"\nEnter\n\n# vhs Sleep is wall-clock — under-sleeping captures a loading state silently.\n# Give a generous margin for cold-start scans (workspace, cache, network).\nSleep 30s\n\nScreenshot home.png\n\nCtrl+c\nSleep 200ms\n```\n\nRun it:\n\n```bash\nvhs home.tape       # writes home.png\n```\n\n### Animated GIF — keystroke flow\n\n```tape\n# demo.tape\nOutput demo.gif\n\nSet Theme \"Catppuccin Mocha\"\nSet FontSize 16\nSet Width 1600\nSet Height 900\nSet Padding 20\n\nType \".\u002Fmyapp\"\nEnter\nSleep 2s\n\n# Navigate the TUI — single nav keys take NO Enter.\nType \"j\"\nSleep 500ms\nType \"j\"\nSleep 500ms\nTab\nSleep 1s\n\n# Enter as a separate token only when committing a shell line.\nType \"q\"\nSleep 500ms\n```\n\n### Real `$HOME` vs seeded fixture\n\nTwo legitimate modes — pick one per tape and document which:\n\n```tape\n# Mode A: real $HOME — authentic state, point-in-time snapshot of your machine\n# (good for personal-doc screenshots, README hero shots)\nEnv AINB_DISABLE_PLUGINS \"1\"\nType \"exec .\u002Ftarget\u002Fdebug\u002Fmyapp tui\"\nEnter\nSleep 75s        # cold scan on a populated $HOME can take ~30-60s\n\n# Mode B: seeded fixture — reproducible across machines, CI-friendly\n# (good for tutorials, regression baselines)\nEnv HOME \"\u002Ftmp\u002Fmyapp-screenshot-home\"\nType \".\u002Fscripts\u002Fseed-and-run.sh\"\nEnter\nSleep 8s         # tiny seeded dataset, fast settle\n```\n\n### Pitfalls (load-bearing)\n\n- **`Sleep` is real wall-clock.** Under-sleeping silently captures a loading screen. When your binary does a heavy cold scan, time it once in a real tmux session and add ~30% margin to your sleep budget.\n- **`Type` does not press Enter.** Append `Enter` as a separate directive only when committing a shell line. Single-char TUI nav keys (`j`, `q`, `i`, etc.) take NO Enter.\n- **Theme names must match vhs's bundled list exactly** and stay quoted: `Set Theme \"Catppuccin Mocha\"`, not `Set Theme catppuccin-mocha`.\n- **`Width` \u002F `Height` are pixels, not cells.** `FontSize` drives effective columns × rows; a 1600×900 frame at FontSize 16 yields roughly 160 cols × 35 rows on most fonts.\n- **`exec` your binary** to avoid leaving the wrapping shell prompt in the recording. `Type \"exec .\u002Fbin\"` instead of `Type \".\u002Fbin\"` makes the shell get replaced by your process.\n- **`Env HOME ...` does NOT inherit `~\u002F.config` etc.** If you point at a fresh dir, seed it first; if you point at the real `$HOME`, accept that the screenshot is per-contributor.\n- **First-time `vhs` install on macOS** pulls `ttyd` + `ffmpeg` as dependencies — be patient on the first `brew install vhs`.\n\n### Combine with the existing skill\n\nvhs is just an output node — once you have a `.png` \u002F `.gif` \u002F `.mp4`, the rest of this skill kicks in:\n\n```bash\n# 1. Record the TUI to a GIF.\nvhs demo.tape                                          # → demo.gif\n\n# 2. Convert to MP4 for a README that doesn't auto-play GIFs.\nffmpeg -i demo.gif -movflags +faststart -pix_fmt yuv420p demo.mp4\n\n# 3. Take a still frame for a thumbnail.\nffmpeg -i demo.mp4 -ss 00:00:02 -vframes 1 thumb.png\n\n# 4. Side-by-side with a \"before\" screenshot using the Incident Composite recipe.\nmagick before.png demo-thumb.png +append composite.png\n```\n\n## Advanced Techniques\n\n### Multi-Pass Video Encoding\n```bash\n# Pass 1 (analysis)\nffmpeg -y -i input.mkv -c:v libx264 -b:v 2600k -pass 1 -an -f null \u002Fdev\u002Fnull\n\n# Pass 2 (encoding)\nffmpeg -i input.mkv -c:v libx264 -b:v 2600k -pass 2 -c:a aac output.mp4\n```\n\n### Hardware-Accelerated Encoding\n```bash\n# NVIDIA NVENC\nffmpeg -hwaccel cuda -i input.mp4 -c:v h264_nvenc -preset fast -crf 22 output.mp4\n\n# Intel QuickSync\nffmpeg -hwaccel qsv -c:v h264_qsv -i input.mp4 -c:v h264_qsv output.mp4\n```\n\n### Complex Image Pipeline\n```bash\n# Resize, crop, border, adjust\nmagick input.jpg \\\n  -resize 1000x1000^ \\\n  -gravity center \\\n  -crop 1000x1000+0+0 +repage \\\n  -bordercolor black -border 5x5 \\\n  -brightness-contrast 5x10 \\\n  -quality 90 \\\n  output.jpg\n```\n\n### Video Filter Chains\n```bash\n# Scale, denoise, watermark\nffmpeg -i video.mp4 -i logo.png \\\n  -filter_complex \"[0:v]scale=1280:720,hqdn3d[v];[v][1:v]overlay=10:10\" \\\n  -c:a copy output.mp4\n```\n\n### Animated GIF from Images\n```bash\n# Create with delay\nmagick -delay 100 -loop 0 frame*.png animated.gif\n\n# Optimize size\nmagick animated.gif -fuzz 5% -layers Optimize optimized.gif\n```\n\n## Media Analysis\n\n### Inspect Video Properties\n```bash\n# Detailed JSON output\nffprobe -v quiet -print_format json -show_format -show_streams input.mp4\n\n# Get resolution\nffprobe -v error -select_streams v:0 \\\n  -show_entries stream=width,height \\\n  -of csv=s=x:p=0 input.mp4\n```\n\n### Image Information\n```bash\n# Basic info\nidentify image.jpg\n\n# Detailed format\nidentify -verbose image.jpg\n\n# Custom format\nidentify -format \"%f: %wx%h %b\\n\" image.jpg\n```\n\n## Performance Tips\n\n1. **Use CRF for quality control** - Better than bitrate for video\n2. **Copy streams when possible** - Avoid re-encoding with `-c copy`\n3. **Hardware acceleration** - GPU encoding 5-10x faster\n4. **Appropriate presets** - Balance speed vs compression\n5. **Batch with mogrify** - In-place image processing\n6. **Strip metadata** - Reduce file size with `-strip`\n7. **Progressive JPEG** - Better web loading with `-interlace Plane`\n8. **Limit memory** - Prevent crashes on large batches\n9. **Test on samples** - Verify settings before batch\n10. **Parallel processing** - Use GNU Parallel for multiple files\n\n## Reference Documentation\n\nDetailed guides in `references\u002F`:\n\n- **ffmpeg-encoding.md** - Video\u002Faudio codecs, quality optimization, hardware acceleration\n- **ffmpeg-streaming.md** - HLS\u002FDASH, live streaming, adaptive bitrate\n- **ffmpeg-filters.md** - Video\u002Faudio filters, complex filtergraphs\n- **imagemagick-editing.md** - Format conversion, effects, transformations\n- **imagemagick-batch.md** - Batch processing, mogrify, parallel operations\n- **format-compatibility.md** - Format support, codec recommendations\n\nFor vhs `.tape` syntax beyond the patterns above, see the upstream reference: https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fvhs#vhs-command-reference\n\n## Common Parameters\n\n### FFmpeg Video\n- `-c:v` - Video codec (libx264, libx265, libvpx-vp9)\n- `-crf` - Quality (0-51, lower=better, 23=default)\n- `-preset` - Speed\u002Fcompression (ultrafast to veryslow)\n- `-b:v` - Video bitrate (e.g., 2M, 2500k)\n- `-vf` - Video filters\n\n### FFmpeg Audio\n- `-c:a` - Audio codec (aac, mp3, opus)\n- `-b:a` - Audio bitrate (e.g., 128k, 192k)\n- `-ar` - Sample rate (44100, 48000)\n\n### ImageMagick Geometry\n- `800x600` - Fit within (maintains aspect)\n- `800x600!` - Force exact size\n- `800x600^` - Fill (may crop)\n- `800x` - Width only\n- `x600` - Height only\n- `50%` - Scale percentage\n\n## Troubleshooting\n\n**FFmpeg \"Unknown encoder\"**\n```bash\n# Check available encoders\nffmpeg -encoders | grep h264\n\n# Install codec libraries\nsudo apt-get install libx264-dev libx265-dev\n```\n\n**ImageMagick \"not authorized\"**\n```bash\n# Edit policy file\nsudo nano \u002Fetc\u002FImageMagick-7\u002Fpolicy.xml\n# Change \u003Cpolicy domain=\"coder\" rights=\"none\" pattern=\"PDF\" \u002F>\n# to \u003Cpolicy domain=\"coder\" rights=\"read|write\" pattern=\"PDF\" \u002F>\n```\n\n**Memory errors**\n```bash\n# Limit memory usage\nffmpeg -threads 4 input.mp4 output.mp4\nmagick -limit memory 2GB -limit map 4GB input.jpg output.jpg\n```\n\n## Related Skills\n\n- **PostHog \u002F rrweb session replays** — if the \"video\" source is actually a\n  PostHog session recording (or any rrweb event stream), don't reach for ffmpeg\n  first. rrweb replays are event logs, not pixel streams; `rrvideo` npm packages\n  are broken (`@rrweb\u002Frrvideo` is 404, unscoped `rrvideo@0.2.1` silently\n  produces nothing). See the `posthog-replay-analysis` skill for the decode\n  recipe — you can extract network timelines, DOM snapshots, and console logs\n  directly from the rrweb events, then render them into a chart + mp4 slideshow\n  using the patterns above (*Incident Evidence Composite* and *Slideshow MP4*).\n\n## Resources\n\n- FFmpeg: https:\u002F\u002Fffmpeg.org\u002Fdocumentation.html\n- FFmpeg Wiki: https:\u002F\u002Ftrac.ffmpeg.org\u002F\n- ImageMagick: https:\u002F\u002Fimagemagick.org\u002F\n- ImageMagick Usage: https:\u002F\u002Fimagemagick.org\u002FUsage\u002F\n","# Media Processing Skill\n\nProcess video, audio, and images using FFmpeg and ImageMagick command-line tools for conversion, optimization, streaming, and manipulation tasks.\n\n## When to Use This Skill\n\nUse when:\n- Converting media formats (video, audio, images)\n- Encoding video with codecs (H.264, H.265, VP9, AV1)\n- Processing images (resize, crop, effects, watermarks)\n- Extracting audio from video\n- Creating streaming manifests (HLS\u002FDASH)\n- Generating thumbnails and previews\n- Batch processing media files\n- Optimizing file sizes and quality\n- Applying filters and effects\n- Creating composite images or videos\n- Capturing reproducible terminal \u002F TUI screenshots, GIFs, or demo MP4s for docs \u002F README assets\n\n## Tool Selection Guide\n\n### FFmpeg: Video\u002FAudio Processing\nUse FFmpeg for:\n- Video encoding, conversion, transcoding\n- Audio extraction, conversion, mixing\n- Live streaming (RTMP, HLS, DASH)\n- Video filters (scale, crop, rotate, overlay)\n- Hardware-accelerated encoding\n- Media file inspection (ffprobe)\n- Frame extraction, concatenation\n- Codec selection and optimization\n\n### ImageMagick: Image Processing\nUse ImageMagick for:\n- Image format conversion (PNG, JPEG, WebP, GIF)\n- Resizing, cropping, transformations\n- Batch image processing (mogrify)\n- Visual effects (blur, sharpen, sepia)\n- Text overlays and watermarks\n- Image composition and montages\n- Color adjustments, filters\n- Thumbnail generation\n\n### vhs: Terminal \u002F TUI Recording\nUse vhs for:\n- Reproducible terminal screenshots (PNG) for docs \u002F README\n- Animated GIFs \u002F MP4s \u002F WebMs of TUI flows\n- Headless capture (no real terminal, no display server — CI-friendly)\n- Scripted keystroke sequences (Type \u002F Tab \u002F Enter \u002F Escape \u002F Ctrl+c \u002F Sleep)\n- Theme-pinned, dimension-pinned output that's identical across machines\n- **Not** for: generic screen capture, recording arbitrary GUI apps, or anything outside a PTY\n\n### Decision Matrix\n\n| Task | Tool | Why |\n|------|------|-----|\n| Video encoding | FFmpeg | Native video codec support |\n| Audio extraction | FFmpeg | Direct stream manipulation |\n| Image resize | ImageMagick | Optimized for still images |\n| Batch images | ImageMagick | mogrify for in-place edits |\n| Video thumbnails | FFmpeg | Frame extraction built-in |\n| GIF creation | FFmpeg or ImageMagick | FFmpeg for video source, ImageMagick for images |\n| Streaming | FFmpeg | Live streaming protocols |\n| Image effects | ImageMagick | Rich filter library |\n| TUI screenshot \u002F GIF | vhs | Scripted PTY capture, theme-pinned, byte-deterministic |\n| Demo video of a CLI flow | vhs | `.tape` file as source of truth — re-runnable, diffable |\n\n## Installation\n\n### macOS\n```bash\nbrew install ffmpeg imagemagick vhs\n```\n\n### Ubuntu\u002FDebian\n```bash\nsudo apt-get install ffmpeg imagemagick\n# vhs — install via Go or release tarball, no apt package on most distros\ngo install github.com\u002Fcharmbracelet\u002Fvhs@latest\n# or download from https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fvhs\u002Freleases\n```\n\n### Windows\n```bash\n# Using winget\nwinget install ffmpeg\nwinget install ImageMagick.ImageMagick\n\n# Or download binaries\n# FFmpeg: https:\u002F\u002Fffmpeg.org\u002Fdownload.html\n# ImageMagick: https:\u002F\u002Fimagemagick.org\u002Fscript\u002Fdownload.php\n# vhs:        https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fvhs\u002Freleases\n```\n\n### Verify Installation\n```bash\nffmpeg -version\nffprobe -version\nmagick -version\n# or\nconvert -version\nvhs --version       # only if you'll be capturing terminal output\n```\n\n## Quick Start Examples\n\n### Video Conversion\n```bash\n# Convert format (copy streams, fast)\nffmpeg -i input.mkv -c copy output.mp4\n\n# Re-encode with H.264\nffmpeg -i input.avi -c:v libx264 -crf 22 -c:a aac output.mp4\n\n# Resize video to 720p\nffmpeg -i input.mp4 -vf scale=-1:720 -c:a copy output.mp4\n```\n\n### Audio Extraction\n```bash\n# Extract audio (no re-encoding)\nffmpeg -i video.mp4 -vn -c:a copy audio.m4a\n\n# Convert to MP3\nffmpeg -i video.mp4 -vn -q:a 0 audio.mp3\n```\n\n### Image Processing\n```bash\n# Convert format\nmagick input.png output.jpg\n\n# Resize maintaining aspect ratio\nmagick input.jpg -resize 800x600 output.jpg\n\n# Create square thumbnail\nmagick input.jpg -resize 200x200^ -gravity center -extent 200x200 thumb.jpg\n```\n\n### Batch Image Resize\n```bash\n# Resize all JPEGs to 800px width\nmogrify -resize 800x -quality 85 *.jpg\n\n# Output to separate directory\nmogrify -path .\u002Foutput -resize 800x600 *.jpg\n```\n\n### Video Thumbnail\n```bash\n# Extract frame at 5 seconds\nffmpeg -ss 00:00:05 -i video.mp4 -vframes 1 -vf scale=320:-1 thumb.jpg\n```\n\n### HLS Streaming\n```bash\n# Generate HLS playlist\nffmpeg -i input.mp4 \\\n  -c:v libx264 -preset fast -crf 22 -g 48 \\\n  -c:a aac -b:a 128k \\\n  -f hls -hls_time 6 -hls_playlist_type vod \\\n  playlist.m3u8\n```\n\n### Image Watermark\n```bash\n# Add watermark to corner\nmagick input.jpg watermark.png -gravity southeast \\\n  -geometry +10+10 -composite output.jpg\n```\n\n## Common Workflows\n\n### Optimize Video for Web\n```bash\n# H.264 with good compression\nffmpeg -i input.mp4 \\\n  -c:v libx264 -preset slow -crf 23 \\\n  -c:a aac -b:a 128k \\\n  -movflags +faststart \\\n  output.mp4\n```\n\n### Create Responsive Images\n```bash\n# Generate multiple sizes\nfor size in 320 640 1024 1920; do\n  magick input.jpg -resize ${size}x -quality 85 \"output-${size}w.jpg\"\ndone\n```\n\n### Extract Video Segment\n```bash\n# From 1:30 to 3:00 (re-encode for precision)\nffmpeg -i input.mp4 -ss 00:01:30 -to 00:03:00 \\\n  -c:v libx264 -c:a aac output.mp4\n```\n\n### Batch Image Optimization\n```bash\n# Convert PNG to optimized JPEG\nmogrify -path .\u002Foptimized -format jpg -quality 85 -strip *.png\n```\n\n### Video GIF Creation\n```bash\n# High quality GIF with palette\nffmpeg -i input.mp4 -vf \"fps=15,scale=640:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse\" output.gif\n```\n\n### Image Blur Effect\n```bash\n# Gaussian blur\nmagick input.jpg -gaussian-blur 0x8 output.jpg\n```\n\n### Incident Evidence Composite\n\nSide-by-side composite with a title bar — useful for pasting into PRs or incident\nreports when you have a screenshot plus a chart\u002Fsecond screenshot to compare.\n\n```bash\n# Resize both panels to matching height, append horizontally, add title strip\nmagick screenshot.png  -resize 'x800' -background '#111' -gravity center -extent '450x800' panel_a.png\nmagick chart.png       -resize 'x800' -background '#fff' -gravity center -extent '1450x800' panel_b.png\nmagick panel_a.png panel_b.png +append \\\n  -background '#111' -splice 0x40 \\\n  -gravity north -pointsize 22 -fill white \\\n  -annotate +0+8 'Incident · URL · device · timestamp' \\\n  composite.png\n```\n\n### Slideshow MP4 from PNG Glob\n\nTurn a directory of PNGs into a short mp4 (great for evidence clips when you don't\nhave a real video source — e.g. rrweb\u002Fsession-replay data).\n\n```bash\n# 2 seconds per frame, H.264-compatible output\nffmpeg -y -loglevel error \\\n  -framerate 1\u002F2 -pattern_type glob -i 'frames\u002F*.png' \\\n  -vf \"scale=trunc(iw\u002F2)*2:trunc(ih\u002F2)*2,format=yuv420p,fps=30\" \\\n  -c:v libx264 -preset veryfast -crf 22 slideshow.mp4\n```\n\n**Non-obvious bits:**\n- `scale=trunc(iw\u002F2)*2:trunc(ih\u002F2)*2` — H.264 requires **even dimensions**; skip this and the encoder fails silently on odd-width PNGs.\n- `format=yuv420p` — without it, players like QuickTime refuse to open.\n- `fps=30` keeps the output cadence smooth even when the input is 1\u002F2 fps.\n\n## Terminal Recording with vhs\n\n[vhs](https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fvhs) (Charm) records a scripted terminal session inside its own virtual PTY and emits a PNG, GIF, MP4, or WebM. No real terminal, no display server, no screen-recording fragility — the `.tape` file is the source of truth, and re-running it yields the same output every time (modulo what the recorded command itself produces).\n\n**Use vhs for:** TUI screenshots in your README\u002Fdocs, animated demo GIFs of a CLI flow, regression-style snapshots.\n\n**Don't use vhs for:** generic screen capture, GUI app recording, anything where the output isn't text-in-a-terminal.\n\n> **Recording a CLI command flow, a TUI without the cold-paint loader, or driving\u002Fasserting a live binary via tmux (or asciinema for a genuinely interactive session)?** Read [`references\u002Fterminal-recording.md`](references\u002Fterminal-recording.md) — `.tape` recipes for CLI and TUI (`Hide`\u002F`Show`), the tmux `send-keys`\u002F`capture-pane` driver, asciinema, and the field-tested traps (quoted `Output` paths, `send-keys` needs a separate `Enter`, env-isolation, mtime gaps). The minimal recipes below are a quick start.\n\n### Minimal `.tape` — single screenshot\n\n```tape\n# home.tape\nOutput home.png\n\nSet Theme \"Catppuccin Mocha\"\nSet FontSize 16\nSet Width 1600\nSet Height 900\nSet Padding 20\nSet Shell bash\n\nType \".\u002Ftarget\u002Fdebug\u002Fmyapp tui\"\nEnter\n\n# vhs Sleep is wall-clock — under-sleeping captures a loading state silently.\n# Give a generous margin for cold-start scans (workspace, cache, network).\nSleep 30s\n\nScreenshot home.png\n\nCtrl+c\nSleep 200ms\n```\n\nRun it:\n\n```bash\nvhs home.tape       # writes home.png\n```\n\n### Animated GIF — keystroke flow\n\n```tape\n# demo.tape\nOutput demo.gif\n\nSet Theme \"Catppuccin Mocha\"\nSet FontSize 16\nSet Width 1600\nSet Height 900\nSet Padding 20\n\nType \".\u002Fmyapp\"\nEnter\nSleep 2s\n\n# Navigate the TUI — single nav keys take NO Enter.\nType \"j\"\nSleep 500ms\nType \"j\"\nSleep 500ms\nTab\nSleep 1s\n\n# Enter as a separate token only when committing a shell line.\nType \"q\"\nSleep 500ms\n```\n\n### Real `$HOME` vs seeded fixture\n\nTwo legitimate modes — pick one per tape and document which:\n\n```tape\n# Mode A: real $HOME — authentic state, point-in-time snapshot of your machine\n# (good for personal-doc screenshots, README hero shots)\nEnv AINB_DISABLE_PLUGINS \"1\"\nType \"exec .\u002Ftarget\u002Fdebug\u002Fmyapp tui\"\nEnter\nSleep 75s        # cold scan on a populated $HOME can take ~30-60s\n\n# Mode B: seeded fixture — reproducible across machines, CI-friendly\n# (good for tutorials, regression baselines)\nEnv HOME \"\u002Ftmp\u002Fmyapp-screenshot-home\"\nType \".\u002Fscripts\u002Fseed-and-run.sh\"\nEnter\nSleep 8s         # tiny seeded dataset, fast settle\n```\n\n### Pitfalls (load-bearing)\n\n- **`Sleep` is real wall-clock.** Under-sleeping silently captures a loading screen. When your binary does a heavy cold scan, time it once in a real tmux session and add ~30% margin to your sleep budget.\n- **`Type` does not press Enter.** Append `Enter` as a separate directive only when committing a shell line. Single-char TUI nav keys (`j`, `q`, `i`, etc.) take NO Enter.\n- **Theme names must match vhs's bundled list exactly** and stay quoted: `Set Theme \"Catppuccin Mocha\"`, not `Set Theme catppuccin-mocha`.\n- **`Width` \u002F `Height` are pixels, not cells.** `FontSize` drives effective columns × rows; a 1600×900 frame at FontSize 16 yields roughly 160 cols × 35 rows on most fonts.\n- **`exec` your binary** to avoid leaving the wrapping shell prompt in the recording. `Type \"exec .\u002Fbin\"` instead of `Type \".\u002Fbin\"` makes the shell get replaced by your process.\n- **`Env HOME ...` does NOT inherit `~\u002F.config` etc.** If you point at a fresh dir, seed it first; if you point at the real `$HOME`, accept that the screenshot is per-contributor.\n- **First-time `vhs` install on macOS** pulls `ttyd` + `ffmpeg` as dependencies — be patient on the first `brew install vhs`.\n\n### Combine with the existing skill\n\nvhs is just an output node — once you have a `.png` \u002F `.gif` \u002F `.mp4`, the rest of this skill kicks in:\n\n```bash\n# 1. Record the TUI to a GIF.\nvhs demo.tape                                          # → demo.gif\n\n# 2. Convert to MP4 for a README that doesn't auto-play GIFs.\nffmpeg -i demo.gif -movflags +faststart -pix_fmt yuv420p demo.mp4\n\n# 3. Take a still frame for a thumbnail.\nffmpeg -i demo.mp4 -ss 00:00:02 -vframes 1 thumb.png\n\n# 4. Side-by-side with a \"before\" screenshot using the Incident Composite recipe.\nmagick before.png demo-thumb.png +append composite.png\n```\n\n## Advanced Techniques\n\n### Multi-Pass Video Encoding\n```bash\n# Pass 1 (analysis)\nffmpeg -y -i input.mkv -c:v libx264 -b:v 2600k -pass 1 -an -f null \u002Fdev\u002Fnull\n\n# Pass 2 (encoding)\nffmpeg -i input.mkv -c:v libx264 -b:v 2600k -pass 2 -c:a aac output.mp4\n```\n\n### Hardware-Accelerated Encoding\n```bash\n# NVIDIA NVENC\nffmpeg -hwaccel cuda -i input.mp4 -c:v h264_nvenc -preset fast -crf 22 output.mp4\n\n# Intel QuickSync\nffmpeg -hwaccel qsv -c:v h264_qsv -i input.mp4 -c:v h264_qsv output.mp4\n```\n\n### Complex Image Pipeline\n```bash\n# Resize, crop, border, adjust\nmagick input.jpg \\\n  -resize 1000x1000^ \\\n  -gravity center \\\n  -crop 1000x1000+0+0 +repage \\\n  -bordercolor black -border 5x5 \\\n  -brightness-contrast 5x10 \\\n  -quality 90 \\\n  output.jpg\n```\n\n### Video Filter Chains\n```bash\n# Scale, denoise, watermark\nffmpeg -i video.mp4 -i logo.png \\\n  -filter_complex \"[0:v]scale=1280:720,hqdn3d[v];[v][1:v]overlay=10:10\" \\\n  -c:a copy output.mp4\n```\n\n### Animated GIF from Images\n```bash\n# Create with delay\nmagick -delay 100 -loop 0 frame*.png animated.gif\n\n# Optimize size\nmagick animated.gif -fuzz 5% -layers Optimize optimized.gif\n```\n\n## Media Analysis\n\n### Inspect Video Properties\n```bash\n# Detailed JSON output\nffprobe -v quiet -print_format json -show_format -show_streams input.mp4\n\n# Get resolution\nffprobe -v error -select_streams v:0 \\\n  -show_entries stream=width,height \\\n  -of csv=s=x:p=0 input.mp4\n```\n\n### Image Information\n```bash\n# Basic info\nidentify image.jpg\n\n# Detailed format\nidentify -verbose image.jpg\n\n# Custom format\nidentify -format \"%f: %wx%h %b\\n\" image.jpg\n```\n\n## Performance Tips\n\n1. **Use CRF for quality control** - Better than bitrate for video\n2. **Copy streams when possible** - Avoid re-encoding with `-c copy`\n3. **Hardware acceleration** - GPU encoding 5-10x faster\n4. **Appropriate presets** - Balance speed vs compression\n5. **Batch with mogrify** - In-place image processing\n6. **Strip metadata** - Reduce file size with `-strip`\n7. **Progressive JPEG** - Better web loading with `-interlace Plane`\n8. **Limit memory** - Prevent crashes on large batches\n9. **Test on samples** - Verify settings before batch\n10. **Parallel processing** - Use GNU Parallel for multiple files\n\n## Reference Documentation\n\nDetailed guides in `references\u002F`:\n\n- **ffmpeg-encoding.md** - Video\u002Faudio codecs, quality optimization, hardware acceleration\n- **ffmpeg-streaming.md** - HLS\u002FDASH, live streaming, adaptive bitrate\n- **ffmpeg-filters.md** - Video\u002Faudio filters, complex filtergraphs\n- **imagemagick-editing.md** - Format conversion, effects, transformations\n- **imagemagick-batch.md** - Batch processing, mogrify, parallel operations\n- **format-compatibility.md** - Format support, codec recommendations\n\nFor vhs `.tape` syntax beyond the patterns above, see the upstream reference: https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fvhs#vhs-command-reference\n\n## Common Parameters\n\n### FFmpeg Video\n- `-c:v` - Video codec (libx264, libx265, libvpx-vp9)\n- `-crf` - Quality (0-51, lower=better, 23=default)\n- `-preset` - Speed\u002Fcompression (ultrafast to veryslow)\n- `-b:v` - Video bitrate (e.g., 2M, 2500k)\n- `-vf` - Video filters\n\n### FFmpeg Audio\n- `-c:a` - Audio codec (aac, mp3, opus)\n- `-b:a` - Audio bitrate (e.g., 128k, 192k)\n- `-ar` - Sample rate (44100, 48000)\n\n### ImageMagick Geometry\n- `800x600` - Fit within (maintains aspect)\n- `800x600!` - Force exact size\n- `800x600^` - Fill (may crop)\n- `800x` - Width only\n- `x600` - Height only\n- `50%` - Scale percentage\n\n## Troubleshooting\n\n**FFmpeg \"Unknown encoder\"**\n```bash\n# Check available encoders\nffmpeg -encoders | grep h264\n\n# Install codec libraries\nsudo apt-get install libx264-dev libx265-dev\n```\n\n**ImageMagick \"not authorized\"**\n```bash\n# Edit policy file\nsudo nano \u002Fetc\u002FImageMagick-7\u002Fpolicy.xml\n# Change \u003Cpolicy domain=\"coder\" rights=\"none\" pattern=\"PDF\" \u002F>\n# to \u003Cpolicy domain=\"coder\" rights=\"read|write\" pattern=\"PDF\" \u002F>\n```\n\n**Memory errors**\n```bash\n# Limit memory usage\nffmpeg -threads 4 input.mp4 output.mp4\nmagick -limit memory 2GB -limit map 4GB input.jpg output.jpg\n```\n\n## Related Skills\n\n- **PostHog \u002F rrweb session replays** — if the \"video\" source is actually a\n  PostHog session recording (or any rrweb event stream), don't reach for ffmpeg\n  first. rrweb replays are event logs, not pixel streams; `rrvideo` npm packages\n  are broken (`@rrweb\u002Frrvideo` is 404, unscoped `rrvideo@0.2.1` silently\n  produces nothing). See the `posthog-replay-analysis` skill for the decode\n  recipe — you can extract network timelines, DOM snapshots, and console logs\n  directly from the rrweb events, then render them into a chart + mp4 slideshow\n  using the patterns above (*Incident Evidence Composite* and *Slideshow MP4*).\n\n## Resources\n\n- FFmpeg: https:\u002F\u002Fffmpeg.org\u002Fdocumentation.html\n- FFmpeg Wiki: https:\u002F\u002Ftrac.ffmpeg.org\u002F\n- ImageMagick: https:\u002F\u002Fimagemagick.org\u002F\n- ImageMagick Usage: https:\u002F\u002Fimagemagick.org\u002FUsage\u002F\n",{"name":5,"license":15,"description":7},"main","9cf32d1e636db09530158af14ba301bfa5d401e9","skills\u002Fmedia-processing","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez","stevengonsalvez.com","2026-11-12 00:50:59",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add stevengonsalvez\u002Fainb-toolkit --skill media-processing",{"tool":37,"command":38},"bunx","bunx skills add stevengonsalvez\u002Fainb-toolkit --skill media-processing",{"tool":40,"command":41},"pnpm","pnpm dlx skills add stevengonsalvez\u002Fainb-toolkit --skill media-processing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002FSKILL.md",true,[45,51,55,59,63,67,71,75,81,85,89,93,97,101,105],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fffmpeg-encoding.md","REFERENCE","参考文档",9463,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Freferences\u002Fffmpeg-encoding.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fffmpeg-filters.md",11800,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Freferences\u002Fffmpeg-filters.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fffmpeg-streaming.md",9562,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Freferences\u002Fffmpeg-streaming.md",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fformat-compatibility.md",8667,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Freferences\u002Fformat-compatibility.md",{"path":64,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fimagemagick-batch.md",12189,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Freferences\u002Fimagemagick-batch.md",{"path":68,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fimagemagick-editing.md",13182,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Freferences\u002Fimagemagick-editing.md",{"path":72,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fterminal-recording.md",4124,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Freferences\u002Fterminal-recording.md",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Fbatch_resize.py","SCRIPT","脚本",10196,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Fscripts\u002Fbatch_resize.py",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fmedia_convert.py",8439,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Fscripts\u002Fmedia_convert.py",{"path":86,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":87,"sourceHtmlUrl":88},"scripts\u002Frequirements.txt",558,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Fscripts\u002Frequirements.txt",{"path":90,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Ftests\u002Frequirements.txt",32,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Fscripts\u002Ftests\u002Frequirements.txt",{"path":94,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":95,"sourceHtmlUrl":96},"scripts\u002Ftests\u002Ftest_batch_resize.py",10952,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Fscripts\u002Ftests\u002Ftest_batch_resize.py",{"path":98,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":99,"sourceHtmlUrl":100},"scripts\u002Ftests\u002Ftest_media_convert.py",7836,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Fscripts\u002Ftests\u002Ftest_media_convert.py",{"path":102,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":103,"sourceHtmlUrl":104},"scripts\u002Ftests\u002Ftest_video_optimize.py",12131,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Fscripts\u002Ftests\u002Ftest_video_optimize.py",{"path":106,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Fvideo_optimize.py",13064,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fmedia-processing\u002Fscripts\u002Fvideo_optimize.py",[110,117,124,130,137,144],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M75WK9B8DKVJBJJ4CX2QMJMX","well-formed","Fixture skill that satisfies every mechanical rule, used to prove the conformance check passes a clean tree instead of failing everything.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fclean\u002Fwell-formed\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M75WK6ZGDXJJN8879K49QEYG","underscore-tools","Fixture skill that spells the tool allowlist key with an underscore instead of the hyphen the spec requires.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Funderscore-tools\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M75WK524MVT2H9E27ZCEA3HR","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Fno-frontmatter\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M75WJWZBMKR8R60PG3T3MCCC","long-description","Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Flong-description\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":19},"01M75WJVRH3J22WKED7E5D01S8","some-other-name","Fixture skill whose frontmatter name does not match its parent directory name.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Fdir-mismatch\u002FSKILL.md",[],[],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":19},"01M75WJTC7H5FRP6S129VBSMZC","bad_Name","Fixture skill whose name uses an underscore and a capital letter, so it violates the agentskills.io name pattern.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Fbad_Name\u002FSKILL.md",[],[]]