reddit-add-sub

reddit-add-sub is a command for Claude Code from agamjn/rising. It costs 62 tokens per session (1,524 once invoked), scanned A, original, MIT.

A command that finds new Reddit communities based on a goal, audience, or use case. Reddit is an online discussion platform organized into topic-specific communities called subreddits.

In plain words
What is it for?
Use it to discover communities for audiences such as indie game developers or AI music creators, then prepare them for later Reddit research and posting.
Why use it?
It helps when an existing community list has become repetitive or no longer reaches the right audience. It checks candidates, lets you choose among them, and adds the approved ones to your list.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the rising plugin — 1 skill, 5 commands, 5 agents shipped together

Good fit Use it to discover communities for audiences such as indie game developers or AI music creators, then prepare them for later Reddit research and posting.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/agamjn/rising/reddit-add-sub
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.

Clone the repo
git clone --depth 1 https://github.com/agamjn/rising

Made for: Claude Code.

Or install rising, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 5 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/agamjn/rising/reddit-add-sub.svg)](https://agentmods.dev/commands/agamjn/rising/reddit-add-sub)
Your own site
<a href="https://agentmods.dev/commands/agamjn/rising/reddit-add-sub"><img src="https://agentmods.dev/badge/commands/agamjn/rising/reddit-add-sub.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,524 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.
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.00062 $0.01524
Opus 5 $0.00031 $0.00762
Sonnet 5 $0.00012 $0.00305
Haiku 4.5 $0.00006 $0.00152

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

Security

Grade A, and why

reddit-add-sub 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 7d 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 -sS --fail-with-body -A "$UA" --connect-timeout 10 --max-time 30 \
commands/reddit-add-sub.md · 125 lines

How it starts

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

You help the user expand their subreddit list. The common trigger: their existing posting subs have gone stale (same 7-8 subs, running out of fresh angles), or they've discovered a new use case / audience segment and want subs that match it. Your job is to research NEW candidates from the angle they give, validate them, let them curate interactively, and append the approved ones.

Pre-flight check

Confirm the CWD is set up. Require subreddits.md, product.md, goal.md, and .rising/config.json. If any are missing, stop: "This folder isn't set up. Run /reddit-setup first."

Read $ARGUMENTS for the angle/goal/feedback. If empty, ask the user:

"What angle, audience, or use case do you want new subreddits for? A few ways founders use this:

  • a new use case you've discovered ('people using us for X')
  • an audience segment ('indie game devs', 'AI music creators')
  • a complaint about the current list ('my vibecoding subs are tapped out, find adjacent communities') Give me the angle and i'll go research fresh subs."

Wait for their answer before continuing.

Step 1 — Load context and the existing list

Read product.md and goal.md for grounding. Read subreddits.md and extract the names of every sub already listed (both posting and non-posting sections). This is your exclude list, never propose a sub that's already there.

Internalize the user's angle from $ARGUMENTS. Everything you propose should serve that specific angle, not just the generic product.

Step 2 — Generate candidates

Two sources, combine them:

  1. Brainstorm subs that fit the angle. Think about where this specific audience or use case actually hangs out, plus adjacent and competitor communities.
  2. Search Reddit for subs you might not know. Derive 3-5 keywords from the angle and run these in parallel (single message, multiple Bash calls):
USERNAME=$(jq -r .reddit_username .rising/config.json)
UA="script:com.github.agamjn.rising:v0.1.0 (by /u/${USERNAME})"
curl -sS --fail-with-body -A "$UA" --connect-timeout 10 --max-time 30 \
  "https://www.reddit.com/subreddits/search.json?q=<keyword>&limit=25" \
  -o ".rising/cache/sub-search-<keyword>.json"

Read the full file on GitHub · 125 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. 7d ago First seen · 125 lines · 62 tokens per session scan A bfa2f125ebac

Subscribe to this mod's changes

reddit-add-sub is a command published in the GitHub repository agamjn/rising (17 stars, last pushed 3mo ago), licensed MIT. It adds 62 tokens to every session and 1,524 once invoked, about $0.0003 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.