Agent skill

Reddit

by ReScienceLab in ReScienceLab/opc-skills

Search and retrieve content from Reddit. An agent skill from ReScienceLab/opc-skills.

Apache-2.0Auto-check passed

Install Reddit

skills CLI
$ npx skills add ReScienceLab/opc-skills --skill reddit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ReScienceLab/opc-skills reddit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ReScienceLab/opc-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/reddit .claude/skills/reddit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
reddit
GitHub stars
1.8k
Token cost
~516 tokens
SKILL.md length
105 words
Files
9 (incl. scripts)
Skills in repo
9
Repo updated
First seen
Licence
Apache-2.0

At a glance

Search and retrieve content from Reddit. An agent skill from ReScienceLab/opc-skills.

  • User mentions Reddit
  • SKILL.md covers Prerequisites, Commands, Sort Options and API Info
  • Runs Python scripts from its folder; calls python3

What it does

Reddit is an agent skill from ReScienceLab/opc-skills. 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.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts (for example `.claude-plugin/plugin.json`, `scripts/credential.py` and `scripts/get_post.py`).

It works with Reddit. The repository describes itself as: Agent Skills for Solopreneurs. The licence is Apache-2.0.

When your agent uses it

  • User mentions Reddit

Example prompts

  • “/reddit”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 8295f4a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 7 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • reddit.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Reddit loads about 516 tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 105 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~516

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ReScienceLab/opc-skills at commit 8295f4a, republished under its Apache-2.0 licence (© ReScienceLab). 105 words, ~516 tokens.

Download SKILL.mdSave it as .claude/skills/reddit/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
reddit
description
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:

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
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

© ReScienceLab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (scripts) in skills/reddit of ReScienceLab/opc-skills.

  • SKILL.md
  • .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

Open the folder on GitHubat commit 8295f4a

Compare with similar skills

Reddit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Reddit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Reddit this skillReScienceLab/opc-skills1.8k—~516Automated safety check: PassApache-2.0
Agent ReachPanniantong/Agent-Reach93k—~1.4kAutomated safety check: PassMIT
Customer ResearchNexus-JPF/note-companion8695 repos~3.2kAutomated safety check: PassMIT
Scrapecreators APIScrapeCreators/social-media-research-skills3.3k1 repos~4kAutomated safety check: NotesMIT
Last30days CnJesseovo/last30days-skill-cn1.9k—~2.4kAutomated safety check: NotesMIT
Reddit JSON Fetcherykdojo/claude-code-tips10k—~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Agent Reach

    Panniantong/Agent-Reach

    Routes web research and platform lookups across 16 sites, including Twitter, Reddit, YouTube, Bilibili, Xiaohongshu and GitHub, through one command-line tool.

    93k GitHub stars~1.4k tokensUpdated 21 days ago
    Productivity & AutomationAuto-check passed
  • Customer Research

    Nexus-JPF/note-companion

    When the user wants to conduct, analyze, or synthesize customer research.

    869 GitHub starsUsed in 5 repos~3.2k tokens
    Marketing & SEOAuto-check passed
  • Scrapecreators API

    ScrapeCreators/social-media-research-skills

    Scrape and extract public data from 27+ social media platforms using the ScrapeCreators REST API.

    3.3k GitHub starsUsed in 1 repo~4k tokens
    Backend & APIsAuto-check: notes
  • Last30days Cn

    Jesseovo/last30days-skill-cn

    Research what Chinese internet users actually said in the last 30 days across Weibo, Xiaohongshu (RED), Bilibili, Zhihu, Douyin, WeChat public accounts, Baidu and Toutiao: engagement-weighted…

    1.9k GitHub stars~2.4k tokensUpdated today
    Productivity & AutomationAuto-check: notes
  • Reddit JSON Fetcher

    ykdojo/claude-code-tips

    Fetches Reddit posts, threads and search results as JSON through a browser session, using a DuckDuckGo redirect to get past Reddit's automated-access block.

    10k GitHub stars~1.4k tokensUpdated 12 days ago
    Productivity & AutomationAuto-check passed
  • Runs structured data commands against sites such as Twitter, Reddit, GitHub, YouTube and Zhihu through OpenClaw's browser, reusing your existing login state.

    6.2k GitHub stars~1k tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed

More from ReScienceLab/opc-skills

All 9 skills in this repo
  • SEO Geo

    ReScienceLab/opc-skills

    SEO & GEO (Generative Engine Optimization) for websites. An agent skill from ReScienceLab/opc-skills.

    1.8k GitHub starsUsed in 4 repos~2.1k tokens
    Auto-check passed
  • Nanobanana

    ReScienceLab/opc-skills

    Generate and edit images using Google Gemini 3 Pro Image (Nano Banana Pro).

    1.8k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Banner Creator

    ReScienceLab/opc-skills

    Create banners using AI image generation. An agent skill from ReScienceLab/opc-skills.

    1.8k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Logo Creator

    ReScienceLab/opc-skills

    Create logos using AI image generation. An agent skill from ReScienceLab/opc-skills.

    1.8k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Producthunt

    ReScienceLab/opc-skills

    Search and retrieve content from Product Hunt. An agent skill from ReScienceLab/opc-skills.

    1.8k GitHub stars~467 tokensUpdated yesterday
    Auto-check passed
  • Twitter

    ReScienceLab/opc-skills

    Search and retrieve content from Twitter/X. An agent skill from ReScienceLab/opc-skills.

    1.8k GitHub stars~702 tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Reddit

What does Reddit do?

Search and retrieve content from Reddit. An agent skill from ReScienceLab/opc-skills. Reddit is an agent skill from ReScienceLab/opc-skills. Search and retrieve content from Reddit.

When should I use Reddit?

Reddit fits situations like: user mentions Reddit.

How do I install Reddit in Claude Code?

Run `npx skills add ReScienceLab/opc-skills --skill reddit -a claude-code`. Or copy the skill folder (skills/reddit in ReScienceLab/opc-skills) into .claude/skills/reddit in your project. Claude Code loads it when a task matches its description.

How do I install Reddit in Codex?

Run `npx skills add ReScienceLab/opc-skills --skill reddit -a codex`. Or copy the skill folder (skills/reddit in ReScienceLab/opc-skills) into .agents/skills/reddit in your project. Codex loads it when a task matches its description.

Can I use Reddit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ReScienceLab/opc-skills --skill reddit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reddit, .gemini/skills/reddit, .github/skills/reddit and .opencode/skills/reddit in your project.

What does Reddit need to run?

Going by SKILL.md and its folder, Reddit needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Reddit access the network?

SKILL.md names 1 domain. As links in the text: reddit.com. This is read from the text; nothing was executed.

Is Reddit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Reddit use?

Reddit is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Reddit use?

About 516 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Reddit?

Skills that share tags, products or a category with Reddit: Agent Reach (Panniantong/Agent-Reach, 93k stars), Customer Research (Nexus-JPF/note-companion, 869 stars), Scrapecreators API (ScrapeCreators/social-media-research-skills, 3.3k stars) and Last30days Cn (Jesseovo/last30days-skill-cn, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Reddit?

ReScienceLab (a GitHub organization) maintains it in ReScienceLab/opc-skills, which has 1,843 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 6, 2026.

Source: ReScienceLab/opc-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.