Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
resciencelab avatar

Reddit

  • 3k installs
  • 1.2k repo stars
  • Updated July 27, 2026
  • resciencelab/opc-skills

reddit is an agent skill that retrieves Reddit posts, comments, subreddit metadata, and user profiles via the public JSON API without API keys.

About

reddit is an agent skill that fetches Reddit content through the public JSON API by appending .json to URLs, requiring no API key or OAuth setup. Scripts under the skill directory support subreddit posts with hot, new, top, rising, and controversial sorts plus hour through all time filters, keyword search with optional subreddit scope, subreddit metadata lookup, individual post and comment retrieval, and user profiles with recent posts. Example commands run python3 scripts/get_posts.py, search_posts.py, get_subreddit.py, get_post.py, and get_user.py with limit, sort, and time parameters from the skill directory root. Rate limit guidance cites one hundred requests per minute on the public endpoints. A quick check verifies setup by fetching a few python subreddit posts before broader use. Developers reach for it when users mention Reddit, subreddits, r/ links, or need programmatic research into community posts, comment threads, and profile activity.

  • Uses Reddit public JSON API with no authentication or API key required.
  • Provides scripts for subreddit posts, search, subreddit info, posts with comments, and user profiles.
  • Supports hot, new, top, rising, and controversial sorts with hour through all time filters.
  • Documents rate limit of one hundred requests per minute and .json URL trick.
  • Includes quick-check command to validate script execution from the skill directory.

Reddit by the numbers

  • 3,036 all-time installs (skills.sh)
  • +46 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #148 of 2,742 Automation & Workflows skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

reddit capabilities & compatibility

Capabilities
subreddit post retrieval · keyword search with subreddit filter · post and comment lookup · user profile and recent posts fetch
Use cases
web scraping · research · web search
npx skills add https://github.com/resciencelab/opc-skills --skill reddit

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3k
repo stars1.2k
Security audit2 / 3 scanners passed
Last updatedJuly 27, 2026
Repositoryresciencelab/opc-skills

How can I programmatically fetch Reddit posts, comments, and subreddit data without setting up OAuth credentials?

Retrieve Reddit posts, comments, subreddit info, and user profiles via the public JSON API without authentication.

Who is it for?

Developers researching Reddit communities who need CLI scripts for posts, search, and profile lookups without auth setup.

Skip if: Skip when the task requires authenticated Reddit posting, moderation actions, or private subreddit access.

When should I use this skill?

User mentions Reddit, a subreddit, r/ links, or asks to fetch posts, comments, or user profiles from Reddit.

What you get

Structured Reddit post, comment, subreddit, or user data from the bundled Python scripts using public JSON endpoints.

  • Subreddit post JSON
  • Comment threads
  • User profile snapshots

By the numbers

  • Bundles 5 Python CLI scripts for Reddit read operations
  • Documents 5 sort modes and 100 requests/minute rate limit
  • Skill version 1.0.0 under MIT license

Files

SKILL.mdMarkdownGitHub ↗

Reddit Skill

Get posts, comments, subreddit info, and user profiles from Reddit via the public JSON API.

Prerequisites

No API key required! Reddit's public JSON API works without authentication.

Quick Check:

cd <skill_directory>
python3 scripts/get_posts.py python --limit 3

Commands

All commands run from the skill directory.

Subreddit Posts

python3 scripts/get_posts.py python --limit 20           # Hot posts (default)
python3 scripts/get_posts.py python --sort new --limit 20
python3 scripts/get_posts.py python --sort top --time week
python3 scripts/get_posts.py python --sort top --time all --limit 10

Search Posts

python3 scripts/search_posts.py "AI agent" --limit 20
python3 scripts/search_posts.py "MCP server" --subreddit ClaudeAI --limit 10
python3 scripts/search_posts.py "async python" --sort top --time year

Subreddit Info

python3 scripts/get_subreddit.py python
python3 scripts/get_subreddit.py ClaudeAI

Post & Comments

python3 scripts/get_post.py abc123                       # Get post by ID
python3 scripts/get_post.py abc123 --comments 50         # With more comments

User Profile

python3 scripts/get_user.py spez
python3 scripts/get_user.py spez --posts 10              # Include recent posts

Sort Options

SortDescriptionTime Options
hotTrending posts (default)-
newLatest posts-
topHighest votedhour, day, week, month, year, all
risingGaining traction-
controversialMixed voteshour, day, week, month, year, all

API Info

  • Method: Public JSON API (no auth needed)
  • Trick: Append .json to any Reddit URL
  • Rate Limit: 100 requests/minute
  • Docs: https://www.reddit.com/dev/api

Related skills

How it compares

Use reddit for keyless read-only Reddit JSON pulls; use official Reddit API skills when OAuth write scopes or higher authenticated quotas are required.

FAQ

Is an API key required?

No. The skill uses Reddit public JSON API endpoints without authentication.

What content can be retrieved?

Subreddit posts, search results, subreddit info, individual posts with comments, and user profiles with optional recent posts.

What rate limit applies?

About one hundred requests per minute on the public JSON API.

Is Reddit safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.