feedgrab-setup
Skill622 starsChanged 7 months agoMITView on GitHub
Install and configure feedgrab — the universal content grabber. Use when user needs to set up feedgrab, configure API keys, login to platforms, or diagnose issues.
- Reads credentials
- Installs packages
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
When /feedgrab reports "feedgrab not found"
- Very specific: line 97
Tip: If you have Chrome running with remote debugging enabled, set CHROME_CDP_LOGIN=true in .env to extract cookies from your existing …
- Very specific: line 120
If the output .md file is generated successfully, setup is complete!
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
feedgrab Setup Guide
Install feedgrab, configure API keys, login to platforms, and verify everything works.
Trigger
/feedgrab-setup- "Install feedgrab"
- "配置 feedgrab"
- When
/feedgrabreports "feedgrab not found"
Step 1: Check Python Environment
python3 --version 2>/dev/null || python --version 2>/dev/null
pip3 --version 2>/dev/null || pip --version 2>/dev/nullRequires Python ≥ 3.10. If not available, tell user to install Python first.
Step 2: Install feedgrab
pip install feedgrab[all]This installs the full package with all optional dependencies (browser, stealth, Twitter, WeChat, Xiaohongshu, Feishu, Telegram).
For a minimal install:
pip install feedgrab # Core only (Jina fallback)
pip install feedgrab[browser] # + Playwright
pip install feedgrab[twitter] # + Twitter GraphQL
pip install feedgrab[stealth] # + Anti-detection (patchright, curl_cffi)After installation, verify:
feedgrab --helpStep 3: Interactive Setup
feedgrab setupThis runs a 5-step interactive wizard:
- Output directory — where to save fetched content (default:
./output/) - Jina API — free, no key needed
- YouTube API Key — optional, for YouTube search
- GitHub Token — optional, for higher rate limits
- Creates
.envfile with your configuration
Step 4: Platform Login (as needed)
For platforms requiring cookies/session:
# Twitter/X — opens browser for login
feedgrab login twitter
# Xiaohongshu — opens browser for login
feedgrab login xhs
# WeChat MP backend — opens browser for login (session valid ~4 days)
feedgrab login wechat
# Feishu — opens browser for login
feedgrab login feishu
# Reddit — opens browser for login if Cloudflare/private content needs it
feedgrab login reddit
# LinuxDo / Discourse — opens browser for login
feedgrab login linuxdo
# IDCFlare / Discourse — opens browser for login
feedgrab login idcflare
# KDocs (金山文档) — opens browser for login
feedgrab login kdocs
# Zhihu (知乎) — opens browser for login
feedgrab login zhihu
# FlowUs (息流) — opens browser for login
feedgrab login flowusTip: If you have Chrome running with remote debugging enabled, set CHROME_CDP_LOGIN=true in .env to extract cookies from your existing browser session without re-login.
Step 5: Verify Installation
# Full diagnostic
feedgrab doctor
# Platform-specific diagnostic
feedgrab doctor x # Twitter/X
feedgrab doctor xhs # Xiaohongshu
feedgrab doctor mpweixin # WeChat
feedgrab doctor feishu # Feishu
feedgrab doctor reddit # RedditStep 6: Test
# Test with a simple URL (no login needed)
feedgrab https://github.com/iBigQiang/feedgrabIf the output .md file is generated successfully, setup is complete!
Advanced Configuration (.env)
Key environment variables (all optional):
# Output
OUTPUT_DIR=./output
# Proxy (optional)
FEEDGRAB_PROXY_ENABLED=false
FEEDGRAB_PROXY_URL=
FEEDGRAB_NO_PROXY=127.0.0.1,localhost
# Twitter
X_BOOKMARKS_ENABLED=true
X_USER_TWEETS_ENABLED=true
X_LIST_TWEETS_ENABLED=true
X_DOWNLOAD_MEDIA=true
X_SEARCH_LANG=zh
X_SEARCH_SORT=live
# Xiaohongshu
XHS_USER_NOTES_ENABLED=true
XHS_SEARCH_ENABLED=true
XHS_DOWNLOAD_MEDIA=true
XHS_FETCH_COMMENTS=true
XHS_PINIA_ENABLED=true
# WeChat
MPWEIXIN_DOWNLOAD_MEDIA=true
MPWEIXIN_FETCH_COMMENTS=true
# YouTube
YOUTUBE_API_KEY=your_key_here
YTDLP_COOKIES_BROWSER=chrome
# GitHub
GITHUB_TOKEN=your_token_here
# Feishu
FEISHU_APP_ID=your_app_id
FEISHU_APP_SECRET=your_secret
FEISHU_DOWNLOAD_IMAGES=true
FEISHU_CDP_ENABLED=false
# FlowUs
FLOWUS_CDP_ENABLED=true
FLOWUS_DOWNLOAD_IMAGES=false # false=signed online URLs, true=local attachments
# LinuxDo / Discourse
LINUXDO_CDP_ENABLED=true
LINUXDO_PAGE_LOAD_TIMEOUT=15000
LINUXDO_REPLY_MODE=author
# IDCFlare / Discourse
IDCFLARE_CDP_ENABLED=true
IDCFLARE_PAGE_LOAD_TIMEOUT=15000
IDCFLARE_REPLY_MODE=author
# Reddit
REDDIT_CDP_ENABLED=true
REDDIT_REPLY_MODE=top # top/tree/all
REDDIT_SEARCH_ENABLED=true
REDDIT_SEARCH_SORT=relevance
REDDIT_SEARCH_TIME_RANGE=all
# KDocs (金山文档)
KDOCS_CDP_ENABLED=false
KDOCS_DOWNLOAD_IMAGES=false
# Youdao Note (有道云笔记)
YOUDAO_DOWNLOAD_IMAGES=false
# Zhihu (知乎)
ZHIHU_CDP_ENABLED=false
# Bilibili subtitles / transcription
BILIBILI_SUBTITLE_LANG=zh-CN
BILIBILI_SUBTITLE_WHISPER=false
# Xiaoyuzhou / Ximalaya podcasts (require GROQ_API_KEY for transcription)
XIAOYUZHOU_WHISPER=true
XIMALAYA_WHISPER=true
GROQ_API_KEY=your_groq_key
# Paywall bypass (300+ news sites)
PAYWALL_ENABLED=true
PAYWALL_USE_AMP=true
PAYWALL_USE_ARCHIVE=true
PAYWALL_USE_GOOGLE_CACHE=true
# Stealth / CDP Cookie extraction
CHROME_CDP_LOGIN=true
CHROME_CDP_PORT=9222See .env.example in the feedgrab repo for the full list.
Troubleshooting
| Issue | Solution |
pip install fails | Try pip install --user feedgrab[all] or use a virtualenv |
| Playwright not working | Run playwright install chromium |
| patchright not working | Run patchright install chromium |
| Cookie expired | Re-run feedgrab login <platform> |
| Windows encoding errors | feedgrab auto-fixes UTF-8, but ensure Python ≥ 3.10 |
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
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.

