Agent skill · Backend & API

reddit

Search and retrieve content from Reddit. Get posts, comments, subreddit info, and user profiles via the public JSON API. Use when user mentions Reddit, a subreddit, or r/ links.

ReScienceLabgithub.com/ReScienceLabGitHub ↗
claude-codeships scriptsApache-2.0
Install
npx skills add ReScienceLab/opc-skills --skill reddit --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 9
SKILL.md size: 2 KB
Bundled scripts: yes
Path: skills/reddit/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,192
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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**: ```bash cd <skill_directory> python3 scripts/get_posts.py python --limit 3 ``` ## Commands All commands run from the skill directory. ### Subreddit Posts ```bash 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 ```bash 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 ```bash python3 scripts/get_subreddit.py python python3 scripts/get_subreddit.py ClaudeAI ``` ### Post & Comments ```bash python3 scripts/get_post.py abc123 # Get post by ID python3 scripts/get_post.py abc123 --comments 50 # With more comments ``` ### User Profile ```bash python3 scripts/get_user.py spez pyt

What's inside
Steps it walks through
  1. Prerequisites
  2. Commands
  3. Subreddit Posts
  4. Search Posts
  5. Subreddit Info
  6. Post & Comments
  7. User Profile
  8. Sort Options
  9. API Info
Ships with 8 files
  • .claude-plugin/plugin.json
  • scripts/credential.py
  • scripts/get_post.py
  • scripts/get_posts.py
  • scripts/get_subreddit.py
  • scripts/get_user.py
  • scripts/reddit_api.py
  • scripts/search_posts.py
Commands it runs
cd <skill_directory>
python3 scripts/get_posts.py python --limit 3
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
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
python3 scripts/get_subreddit.py python
More from opc-skills
All skills →
About this skill
What does the reddit skill do?

Search and retrieve content from Reddit. Get posts, comments, subreddit info, and user profiles via the public JSON API. Use when user mentions Reddit, a subreddit, or r/ links.

How do I install it?

Run `npx skills add ReScienceLab/opc-skills --skill reddit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ReScienceLab/opc-skills, a repository with 1,192 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going