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.
npx skills add ReScienceLab/opc-skills --skill reddit --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Prerequisites
- Commands
- Subreddit Posts
- Search Posts
- Subreddit Info
- Post & Comments
- User Profile
- Sort Options
- API Info
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
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.
