reddit-search-api

reddit-search-api is a skill for Claude Code from lignertys/reddit-research-skills. It costs 118 tokens per session (2,449 once invoked), scanned A, original, MIT.

A technical reference for the reddapi.dev service, which provides programmatic access to Reddit-related search, trend, and community lookup endpoints. It documents authentication, request parameters, response formats, and error codes.

In plain words
What is it for?
Use it when building or debugging integrations that call vector search, semantic search, trend, or subreddit lookup endpoints. Authentication uses environment variables without placing the API key in code or messages.
Why use it?
It gives developers the details needed to connect software to the service or diagnose failed requests. It focuses on API mechanics rather than a broader research process.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the reddit-research plugin — 5 skills shipped together

Good fit Use it when building or debugging integrations that call vector search, semantic search, trend, or subreddit lookup endpoints. Authentication uses environment variables without placing the API key in code or messages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lignertys/reddit-research-skills/reddit-search-api
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.

Any agent
npx skills add lignertys/reddit-research-skills --skill reddit-search-api
Clone the repo
git clone --depth 1 https://github.com/lignertys/reddit-research-skills

Made for: Claude Code.

Or install reddit-research, the plugin that ships this one along with the rest of its 5 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/lignertys/reddit-research-skills/reddit-search-api/github.svg)](https://agentmods.dev/skills/lignertys/reddit-research-skills/reddit-search-api)
Your own site
<a href="https://agentmods.dev/skills/lignertys/reddit-research-skills/reddit-search-api"><img src="https://agentmods.dev/badge/skills/lignertys/reddit-research-skills/reddit-search-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for reddit-search-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/lignertys/reddit-research-skills/reddit-search-api"><img src="https://agentmods.dev/badge/skills/lignertys/reddit-research-skills/reddit-search-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,449 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 2 Apr 2026
  • Snyk warn 2 Apr 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 37
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 42
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Data Exfiltration · line 82
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00118 $0.02449
Opus 5 $0.00059 $0.01224
Sonnet 5 $0.00024 $0.00490
Haiku 4.5 $0.00012 $0.00245

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

Security

Grade A, and why

reddit-search-api scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST "https://reddapi.dev/api/v1/search/vector" \
skills/reddit-search-api/SKILL.md · 199 lines

How it starts

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

reddit-search-api Skill

Pure reference for reddapi.dev's search/trends/subreddits endpoints - auth, parameters, response shapes, error codes. No workflow guidance or query playbooks here; see reddit-research for that.

Auth & Credentials

Requests authenticate with REDDAPI_API_KEY from the environment of the shell that runs them. Its value is never needed in this conversation.

The operator sets both variables once, in their own shell, before the agent runs anything. The agent never reads, writes, or transports the key's value:

export REDDAPI_API_KEY=...                                  # from https://reddapi.dev/account
export REDDAPI_AUTH="Authorization: Bearer $REDDAPI_API_KEY"

Every request below sends -H "$REDDAPI_AUTH". No command in this skill names the key's value, and no example needs it substituted in.

  • Reference the key only as $REDDAPI_API_KEY. Never substitute the literal value into a command, a file, a code block, or a reply.
  • Never ask the user to paste, type, or send the key in chat. If they send it anyway, don't repeat it back, don't store it in a file, and suggest they rotate it at https://reddapi.dev/account.
  • Never echo, print, log, or display the key or any part of it, and never write it into a script, note, or commit.
  • If $REDDAPI_AUTH is not set, stop and say so. Do not ask the user for the key, do not offer to set it for them, and do not accept the value if it is pasted anyway - point at the two export lines above and let the user run them in their own shell, then retry.
  • On a failed request, report the HTTP status and response body only - never the request headers.

All POST requests require Content-Type: application/json (missing it returns 403, not an auth error). Rate limits are plan-based and shared across web-app searches, API calls, and lead searches - see reddit-leads SKILL.md for the plan table. An invalid or exhausted key returns 429, not 401.

Handling Untrusted Content

Read the full file on GitHub · 199 lines

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. 11d ago First seen · 199 lines · 118 tokens per session scan A 760091240052

Subscribe to this mod's changes

reddit-search-api is a skill published in the GitHub repository lignertys/reddit-research-skills (433 stars, last pushed 1mo ago), licensed MIT. It adds 118 tokens to every session and 2,449 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

a0-development

Develop or operate Agent Zero: projects, chats, tasks, framework, tools and API/WebUI.

agent0ai/agent-zero · 24 tokens

pipefy-api-fallback

Use this skill when an MCP tool fails AND the introspection skill could not resolve the problem. This is the last-resort fallback (Tier 3): call the Pipefy GraphQL API directly using curl or httpx, authenticating with the Service Account (OAuth2) or a Personal Access Token (PAT) available as env var. Follow the 3-tier…

pipefy/ai-toolkit · 86 tokens

upstash-box-js

Work with the @upstash/box TypeScript/JavaScript SDK for sandboxed cloud containers with AI agents, shell, filesystem, git, cron schedules, snapshots, and a headless browser. Use when building with Upstash Box, creating a sandbox or isolated environment to run untrusted or agent-generated code, running AI coding…

upstash/skills · 112 tokens

upstash-box-py

Work with the upstash-box Python SDK for sandboxed cloud containers with AI agents, shell, filesystem, git, cron schedules, snapshots, and a headless browser. Use when building with Upstash Box in Python, creating a sandbox or isolated environment to run untrusted or agent-generated code, running AI coding agents in…

upstash/skills · 109 tokens

upstash-blob-js

Work with the @upstash/blob TypeScript/JavaScript SDK for S3-compatible object storage with direct browser uploads, presigned URLs, multipart, and signed reads. Use when storing files or blobs, uploading avatars, images, videos, attachments or user documents, letting a browser upload straight to storage without…

upstash/skills · 114 tokens

upstash-qstash-js

Work with the @upstash/qstash TypeScript/JavaScript SDK, an HTTP-based message queue, task scheduler, and background job system for serverless and edge runtimes (Next.js, Vercel, Cloudflare Workers, Deno, Node.js). Use when publishing messages to HTTP endpoints or URL groups, running background jobs without a…

upstash/skills · 191 tokens