reddit-skill

Search and read Reddit posts, comments, and subreddits via the Reddit OAuth2 API.

25|1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/openslow/reddit-skill --skill reddit-skill-openslow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reddit-skill
Source: https://github.com/openslow/reddit-skill
Command: npx skills add https://github.com/openslow/reddit-skill --skill reddit-skill-openslow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve? Accessing Reddit content programmatically requires handling OAuth2 authentication, rate limits, and nested comment structures. This Skill lets you search discussions, browse subreddits, and read full posts with comment trees directly through natural language requests, returning structured Markdown ready for analysis. ## Core Features & Use Cases - Search Posts: Search across all of Reddit or within a specific subreddit, with sort (relevance, hot, new, top, comments) and time range filters. - Browse Subreddits: List posts by category (hot, new, top, rising, controversial) and view subreddit metadata like subscribers and descriptions. - Read Posts & Comments: Read full post content with nested comment trees, supporting standard URLs, /s/ share links, and raw post IDs. - Use Case: Ask "What does Reddit think about Cursor vs Claude Code?" and get a summarized digest of relevant threads, scores, and community opinions. ## Quick Start Set the REDDIT_CLIENT_ID and REDDIT_CLIENT_SECRET environment variables, then ask the assistant to search Reddit for discussions about a topic you care about.

Frequently Asked Questions about reddit-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search Reddit posts from the command line?

Run the reddit_reader.py script with the search subcommand, passing a query plus optional --subreddit, --sort, --time, and --limit flags. It authenticates via OAuth2 client credentials and prints results as structured Markdown.

How do I read a Reddit post with its comments in Python?

Use the read subcommand with a post ID, full Reddit URL, or /s/ share link. The script calls the /comments/{post_id} endpoint and formats the post body plus the nested comment tree with configurable sort, limit, and depth.

What Reddit API credentials do I need for OAuth2 access?

Create a script-type app at reddit.com/prefs/apps to get a client_id and client_secret, then set them as REDDIT_CLIENT_ID and REDDIT_CLIENT_SECRET environment variables. The script exchanges them for a bearer token via client_credentials grant.

Can this tool post or comment on Reddit?

No, it is strictly read-only. It supports searching posts, listing subreddit content, reading threads and comments, and viewing subreddit info, but cannot submit posts, comment, or vote.

What are the Reddit API rate limits for authenticated requests?

OAuth-authenticated requests are limited to 100 per minute, versus 10 per minute unauthenticated. The script tracks X-Ratelimit-Remaining headers, pauses when low, and retries after the reset window on HTTP 429 responses.

Why does Reddit search return fewer results than expected?

Reddit caps search pagination at roughly 1000 items, and results exclude private subreddits and deleted content. Narrowing with --subreddit, --time, or more specific queries often surfaces more relevant posts.