grab
Download and archive content from URLs (tweets, X articles, Reddit, YouTube). Saves media, text, transcripts, and AI summaries into organized folders.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- grab
- tags
- [ "download", "media", "twitter", "youtube", "reddit", "transcript", "archive" ]
- when
- User shares a URL and wants to download/save/grab it, or asks to download a tweet video, YouTube video, Reddit post, or any media from a URL
- examples
- [ "grab this https://x.com/...", "download this tweet", "save this video", "grab https://youtube.com/...", "grab this reddit post" ]
- homepage
- https://github.com/jamesalmeida/grab
- metadata
- { "openclaw": { "emoji": "?", "install": [ { "id": "yt-dlp", "bins": [ "yt-dlp" ], "kind": "brew", "label": "Install yt-dlp (brew)", "formula": "yt-dlp" }, { "id": "ffmpeg", "bins": [ "ffmpeg" ], "kind": "brew", "label": "Install ffmpeg (brew)", "formula": "ffmpeg" }, { "id": "openai-whisper", "bins": [ "whisper" ], "kind": "brew", "label": "Install Whisper (brew)", "formula": "openai-whisper" } ], "requires": { "bins": [ "yt-dlp", "ffmpeg", "whisper" ] } } }
- description
- Download and archive content from URLs (tweets, X articles, Reddit, YouTube). Saves media, text, transcripts, and AI summaries into organized folders.
02 资源文件 6
- 参考文档_meta.json266 B
- 参考文档README.md4.1 KB
- 脚本scripts/lib/helpers.sh7.3 KB
- 脚本scripts/lib/reddit.sh8.3 KB
- 脚本scripts/lib/tweet.sh7.9 KB
- 脚本scripts/lib/youtube.sh3.6 KB
03 SKILL.md 正文
grab ?
Download and archive content from URLs into organized folders.
Setup
Dependencies
brew install yt-dlp ffmpeg openai-whisper
Save Location
On first run, grab asks where to save files (default: ~/Dropbox/ClawdBox/).
Config stored in ~/.config/grab/config. Reconfigure anytime with grab --config.
Transcription (Local Whisper)
Transcription runs locally via Whisper (turbo model) — no API key or network calls needed.
AI Summaries & Smart Titles (Optional)
Set OPENAI_API_KEY to enable:
- AI-generated summaries of content
- Smart descriptive folder names (from transcript/image analysis)
Without it, everything still works — you just won't get summaries or auto-renamed folders.
What It Does
Tweets (x.com / twitter.com)
tweet.txt— tweet text, author, date, engagement statsvideo.mp4— attached video (if any)image_01.jpg, etc. — attached images (if any)transcript.txt— auto-transcribed from video (if video)summary.txt— AI summary of video (if video)- Folder named by content description
X Articles
article.txt— full article text with title, author, datesummary.txt— AI summary of article- Agent handles via OpenClaw browser snapshot
- Script exits with code 2 and
ARTICLE_DETECTED:<id>:<url>when it detects an article
post.txt— title, author, subreddit, score, date, body textcomments.txt— top comments with authors and scoresimage_01.jpg, etc. — attached images or gallery (if any)video.mp4— attached video (if any)transcript.txt— auto-transcribed from video (if video)summary.txt— AI summary of post + discussion- If Reddit JSON API is blocked (exit code 3), agent uses OpenClaw browser
YouTube
video.mp4— the videodescription.txt— video descriptionthumbnail.jpg— video thumbnailtranscript.txt— transcribed audiosummary.txt— AI summary
Output
Downloads are organized by type:
<save_dir>/
XPosts/
2026-02-03_embrace-change-you-can-shape-your-life/
tweet.txt, video.mp4, transcript.txt, summary.txt
XArticles/
2026-01-20_the-arctic-smokescreen/
article.txt, summary.txt
Youtube/
2026-02-03_how-to-build-an-ai-agent/
video.mp4, description.txt, thumbnail.jpg, transcript.txt, summary.txt
Reddit/
2026-02-03_maybe-maybe-maybe/
post.txt, comments.txt, video.mp4, summary.txt
Usage
grab <url> # Download and archive a URL
grab --config # Reconfigure save directory
grab --help # Show help
Requirements
brew install yt-dlp ffmpeg openai-whisper
Transcription uses local Whisper — no API key needed.
OPENAI_API_KEY env var optional — enables AI summaries and smart folder titles.
Without it, media downloads and transcription still work.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.