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.
Use the reddit skill to search Reddit for "AI agent" and retrieve up to 20 matching posts.
Required inputs
Python 3 available; the skill's scripts run from its installed skill directory.
No API key is required.
The sample search topic is AI agent; replace it with your own topic if desired.
Suggested template by Skill Leaderboard, grounded in the linked source. Task evidence ↗
SKILL.md
name: redditdescription: 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.
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