Search and retrieve content from Reddit. Get posts, comments, subreddit info, and user profiles via the public JSON API.
npxskills add resciencelab/opc-skills--skill redditLoading…
Search and retrieve content from Reddit. Get posts, comments, subreddit info, and user profiles via the public JSON API.
npxskills add resciencelab/opc-skills--skill redditLoading…
Get posts, comments, subreddit info, and user profiles from Reddit via the public JSON API.
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
All commands run from the skill directory.
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
python3 scripts/get_subreddit.py ClaudeAI
python3 scripts/get_post.py abc123 # Get post by ID
python3 scripts/get_post.py abc123 --comments 50 # With more comments
python3 scripts/get_user.py spez
python3 scripts/get_user.py spez --posts 10 # Include recent posts
| Sort | Description | Time Options |
|---|---|---|
hot | Trending posts (default) | - |
new | Latest posts | - |
top | Highest voted | hour, day, week, month, year, all |
rising | Gaining traction | - |
controversial | Mixed votes | hour, day, week, month, year, all |
.json to any Reddit URLCreate or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).