Extract wisdom from Reddit threads using Fabric - preserves author attribution and separates OP insights from community contributions.
- Fabric CLI installed (
fabric-aicommand available) curlandjq(standard CLI tools)- Claude API key configured in Fabric
mkdir -p ~/.config/fabric/patterns/extract_reddit_wisdom
curl -sL https://gist.githubusercontent.com/ScottD3v/RAW_URL/extract_reddit_wisdom.md \
-o ~/.config/fabric/patterns/extract_reddit_wisdom/system.mdOr manually copy extract_reddit_wisdom.md to ~/.config/fabric/patterns/extract_reddit_wisdom/system.md
Append the contents of reddit-wisdom-functions.sh to your ~/.zshrc:
cat reddit-wisdom-functions.sh >> ~/.zshrc
source ~/.zshrcget-reddit-wisdom "https://www.reddit.com/r/ClaudeAI/comments/xyz/interesting_thread/"The function:
- Fetches the Reddit thread as JSON
- Extracts OP content and top comments (score >= 3)
- Pipes through Fabric's
extract_reddit_wisdompattern - Outputs structured wisdom with author attribution
- SUMMARY - What the thread is about
- IDEAS/INSIGHTS - Key points from OP
- QUOTES - Memorable quotes with attribution
- COMMUNITY ADDITIONS - Valuable insights from comments
- COMMUNITY COUNTERPOINTS - Corrections or disagreements
- ONE-SENTENCE TAKEAWAY - Core value of the thread
get-reddit-wisdom "https://reddit.com/..." > wisdom-note.md