AGENT SKILL
video-and-media-tools
Work with video and media content: YouTube transcripts, ASCII video conversion, and GIF search.
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 5
- Forks
- 4
01 前言 Front Matter
- name
- video-and-media-tools
- author
- Hermes Agent
- license
- MIT
- version
- 1.0.0
- metadata
- { "hermes": { "tags": [ "video", "youtube", "ascii", "gif", "media", "transcript" ], "related_skills": [ "audio-and-music-generation" ] } }
- platforms
- [ "linux", "macos", "windows" ]
- description
- Work with video and media content: YouTube transcripts, ASCII video conversion, and GIF search.
03 SKILL.md 正文
Video and Media Tools
YouTube Content
Extract transcripts, summarize videos, and convert them to threads or blog posts.
Transcript Extraction
# Via yt-dlp (most reliable)
yt-dlp --skip-download --write-sub --sub-langs en --convert-subs srt "https://youtube.com/watch?v=..."
# Via youtube-transcript-api (Python)
from youtube_transcript_api import YouTubeTranscriptApi
transcript = YouTubeTranscriptApi.get_transcript("VIDEO_ID")
Summarize
- Extract transcript
- Chunk into ~4000-token segments
- Summarize each chunk
- Synthesize into a single summary with key points and timestamps
Convert to Blog Post
- Summarize transcript
- Restructure as narrative prose with headings
- Add inline quotes and timestamps
- Generate a title and meta description
Convert to Twitter/X Thread
- Extract 5–10 key points
- Write each as a standalone tweet (≤280 chars)
- Add thread numbering and hooks
ASCII Video
Convert video/audio files to colored ASCII MP4 or GIF.
Setup
pip install ascii-video
Convert to ASCII MP4
ascii-video convert input.mp4 --output ascii.mp4 --cols 120 --fps 24
Convert to ASCII GIF
ascii-video convert input.mp4 --output ascii.gif --cols 80 --fps 12 --duration 10
Options
| Flag | Description |
|---|---|
--cols |
Number of ASCII columns |
--fps |
Output frame rate |
--duration |
Max duration in seconds |
--color |
Enable ANSI color |
Use Cases
- Terminal demos
- Retro-style social media content
- Lightweight video previews
GIF Search
Search and download GIFs from Tenor.
Search
curl -s "https://g.tenor.com/v1/search?q=excited+cat&key=$TENOR_API_KEY&limit=10" | jq '.results[].media[0].gif.url'
Download
curl -s -L -o reaction.gif "<gif-url>"
Use Cases
- Slack/Discord reactions
- Documentation illustrations
- Social media content
Pitfalls
- Tenor API requires an API key (free tier available)
- GIFs can be large; prefer MP4/WebP when possible
- Always respect copyright and content policies
04 同仓库更多 Skills
blocked-page-recovery
Use when a fetch fails: 403/429, paywall, WAF, bot wall.
★ 5
writing-plans
Use when creating or updating executable software plans. Keep plans as local files unless the user explicitly asks to register them in Doct.
★ 5
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
★ 5
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.
★ 5
spike
Throwaway experiments to validate an idea before build.
★ 5
simplify-code
Parallel 3-agent cleanup of recent code changes.
★ 5