reddit-api

reddit-api is a skill for Claude Code, Codex from CraftOS-dev/CraftBot. It costs 56 tokens per session (1,094 once invoked), scanned A, original, MIT.

A search tool for Reddit posts, comments, users, and communities across a large indexed collection of Reddit content.

In plain words
What is it for?
Use it to research topics, find expert discussions, discover subreddits, inspect user activity, and analyze engagement.
Why use it?
It avoids the need for Reddit API credentials and makes it easier to find discussions and relevant communities by topic.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/craftos-dev/craftbot/reddit-api
Any agent
npx skills add CraftOS-dev/CraftBot --skill reddit-api
Clone the repo
git clone --depth 1 https://github.com/CraftOS-dev/CraftBot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reddit-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/craftos-dev/craftbot/reddit-api.svg)](https://agentmods.dev/skills/craftos-dev/craftbot/reddit-api)
Your own site
<a href="https://agentmods.dev/skills/craftos-dev/craftbot/reddit-api"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/reddit-api.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,094 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.01094
Opus 5 $0.00028 $0.00547
Sonnet 5 $0.00011 $0.00219
Haiku 4.5 $0.00006 $0.00109

Measured 2d ago against content hash b67a5aa791f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

reddit-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/reddit-api/SKILL.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Search 100M+ Reddit posts and comments without a Reddit API key.

Find discussions, discover subreddits, look up users, and export results — all through Xpoz MCP. No Reddit API credentials needed, no rate limit headaches, no OAuth setup with Reddit.


⚡ Setup

👉 Follow xpoz-setup — handles auth automatically. User just clicks "Authorize" once.


Setup

Run xpoz-setup skill. Verify: mcporter call xpoz.checkAccessKeyStatus

Tool What It Does
getRedditPostsByKeywords Search posts by topic
getRedditCommentsByKeywords Search comments (where deep expertise lives)
getRedditUsersByKeywords Find users discussing a topic
getRedditSubredditsByKeywords Discover relevant communities
getRedditPostsByAuthor Get a user's post history
getRedditUser Look up a specific profile
searchRedditUsers Find users by name

Quick Examples

Search Posts

mcporter call xpoz.getRedditPostsByKeywords \
  query="self hosting AND docker" \
  startDate=2026-01-01 \
  limit=100

# Always poll for results:
mcporter call xpoz.checkOperationStatus operationId=op_abc123

Search Comments

Comments often contain the deepest expertise — practitioners sharing real experience:

mcporter call xpoz.getRedditCommentsByKeywords \
  query="kubernetes networking troubleshoot" \
  fields='["id","text","authorUsername","subredditName","score","createdAtDate"]'

Find Subreddits

mcporter call xpoz.getRedditSubredditsByKeywords \
  query="machine learning" \
  limit=30

Look Up a User

mcporter call xpoz.getRedditUser \
  identifier=spez \
  identifierType=username

Boolean Queries

  • AND, OR, NOT (uppercase)
  • "exact phrase" for precise matching
  • () for grouping
mcporter call xpoz.getRedditPostsByKeywords \
  query="(python OR rust) AND \"web scraping\" NOT selenium"

Read the full file on GitHub · 150 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 150 lines · 56 tokens per session scan A b67a5aa791f2

Subscribe to this mod's changes

reddit-api is a skill published in the GitHub repository CraftOS-dev/CraftBot (378 stars, last pushed 2d ago), licensed MIT. It adds 56 tokens to every session and 1,094 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

reddit-api

Reddit Search: search posts, comments, users, and subreddits across Xpoz's indexed Reddit archive. Find discussions, track topics, discover communities, and analyze engagement. No Reddit API key needed; works through Xpoz MCP with natural language queries.

XPOZpublic/xpoz-clawhub-skills · 55 tokens

reddit-api

A Reddit API alternative on fetcher.sh — pay-per-call in USDC via x402, or prepaid credits with a Bearer key, no OAuth app registration. Use when the user wants to search Reddit posts across every subreddit by keyword and sort by top, hot, new, or most-discussed, search subreddits or users by keyword, fetch a…

fetcher-sh/fetcher-skills · 150 tokens

social-intelligence

Social Intelligence — AI-powered social media research across Twitter, Instagram, and Reddit. Billions of posts indexed. Find experts, generate leads, monitor brands, analyze sentiment, discover influencers, and export data. The complete social intelligence toolkit for AI agents via MCP.

XPOZpublic/xpoz-clawhub-skills · 56 tokens

xpoz-social-search

Search Twitter, Instagram, and Reddit posts in real time. Find social media mentions, track hashtags, discover influencers, and analyze engagement, with billions of posts indexed. Social listening, brand monitoring, and competitor research made easy for AI agents.

XPOZpublic/xpoz-clawhub-skills · 53 tokens

startup-marketing-playbook

Marketing playbook for bootstrapped startups with zero budget. Covers organic-only channels including SEO, community building, social media, and word-of-mouth tactics that cost nothing but time. Follow @WeiYipei on X.

Gingiris-1031/gingiris-skills · 51 tokens

reddit-post-writer

Write Reddit posts and comments that recommend affiliate products without getting banned or flagged as spam. Subreddit-native content that adds value first. Use this skill when the user asks about Reddit posts for affiliate marketing, writing Reddit comments that mention products, how to promote affiliate links on…

Affitor/affiliate-skills · 133 tokens