reddit-hand-skill

A reference skill for managing Reddit through its API, the interface software uses to read and interact with Reddit. It covers authentication, posts, comments, communities, engagement, and moderation.

In plain words
What is it for?
Use it to fetch subreddit posts, read comments, search, publish, comment, plan community engagement, or handle moderation tasks.
Why use it?
It explains the API requests and access steps needed to work with Reddit without guessing at its rules or endpoints.

Skill for Claude CodeCodex

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/librefang/librefang-registry/reddit
Any agent
npx skills add librefang/librefang-registry --skill reddit
Clone the repo
git clone --depth 1 https://github.com/librefang/librefang-registry

Made for: Claude Code, Codex.

Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,590 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00025 $0.10590
Opus 5 $0.00013 $0.05295
Sonnet 5 $0.00005 $0.02118
Haiku 4.5 $0.00003 $0.01059

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

Security

Grade A, and why

reddit-hand-skill 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 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.

Makes network callslowCapability

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

curl -s -X POST "https://www.reddit.com/api/v1/access_token" \
Origin

This is a copy

100% identical to reddit-hand-skill — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

hands/reddit/SKILL.md · 1,088 lines

How it starts

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

Reddit Management Expert Knowledge

Reddit API Reference

Authentication (OAuth2 Script App)

Reddit API requires OAuth2 authentication for all endpoints.

Step 1: Get access token (app-only / client_credentials):

curl -s -X POST "https://www.reddit.com/api/v1/access_token" \
  -u "$REDDIT_CLIENT_ID:$REDDIT_CLIENT_SECRET" \
  -d "grant_type=client_credentials" \
  -A "LibreFang Reddit Hand/1.0"

Response: {"access_token": "...", "token_type": "bearer", "expires_in": 86400, "scope": "*"}

Note: client_credentials provides app-only access. Most read endpoints (listing posts, fetching comments, searching) work normally. Posting and commenting use the app's identity. For full user-level actions (e.g., voting, managing subscriptions), the more complex OAuth2 authorization code flow is required.

All subsequent requests must include:

Authorization: Bearer $ACCESS_TOKEN
User-Agent: LibreFang Reddit Hand/1.0

Core Endpoints

Get subreddit posts (hot):

curl -s -H "Authorization: Bearer $ACCESS_TOKEN" \
  -A "LibreFang Reddit Hand/1.0" \
  "https://oauth.reddit.com/r/SUBREDDIT/hot?limit=25"

Get subreddit posts (new):

curl -s -H "Authorization: Bearer $ACCESS_TOKEN" \
  -A "LibreFang Reddit Hand/1.0" \
  "https://oauth.reddit.com/r/SUBREDDIT/new?limit=25"

Get subreddit posts (rising):

curl -s -H "Authorization: Bearer $ACCESS_TOKEN" \
  -A "LibreFang Reddit Hand/1.0" \
  "https://oauth.reddit.com/r/SUBREDDIT/rising?limit=25"

Submit a new post (self/text):

curl -s -X POST -H "Authorization: Bearer $ACCESS_TOKEN" \
  -A "LibreFang Reddit Hand/1.0" \
  -d "sr=SUBREDDIT&kind=self&title=TITLE&text=BODY" \
  "https://oauth.reddit.com/api/submit"

Submit a link post:

curl -s -X POST -H "Authorization: Bearer $ACCESS_TOKEN" \
  -A "LibreFang Reddit Hand/1.0" \
  -d "sr=SUBREDDIT&kind=link&title=TITLE&url=URL" \
  "https://oauth.reddit.com/api/submit"

Post a comment:

curl -s -X POST -H "Authorization: Bearer $ACCESS_TOKEN" \
  -A "LibreFang Reddit Hand/1.0" \
  -d "thing_id=FULLNAME&text=COMMENT_TEXT" \
  "https://oauth.reddit.com/api/comment"

Note: thing_id is the fullname of the parent (e.g., t3_abc123 for a post, t1_def456 for a comment).

Read the full file on GitHub · 1,088 lines

Files

What ships with it

2 files 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 · 1,088 lines · 25 tokens per session scan A abd03b831350

Subscribe to this mod's changes

reddit-hand-skill is a skill published in the GitHub repository librefang/librefang-registry (11 stars, last pushed 8d ago), licensed MIT. It adds 25 tokens to every session and 10,590 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to reddit-hand-skill, differing in 0 lines, and is treated as a copy.