reddit-setup

A one-time setup wizard for a Reddit content workflow. Reddit is an online discussion site organised into topic-based communities called subreddits.

In plain words
What is it for?
It helps create product and goal files, study a user's previous writing, find relevant subreddits, save their posting rules, and group earlier posts by performance.
Why use it?
It gathers the product details, goals, account information, writing style, target communities, community rules, and past-post results needed to prepare the workflow.

Command

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 commands/agamjn/rising/reddit-setup
Clone the repo
git clone --depth 1 https://github.com/agamjn/rising
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,217 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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 $0.00044 $0.02217
Opus 5 $0.00022 $0.01108
Sonnet 5 $0.00009 $0.00443
Haiku 4.5 $0.00004 $0.00222

Measured yesterday against content hash 90d71968c900, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

reddit-setup 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 yesterday.

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.

# Step 5 — Pull post history (Bash + curl)
commands/reddit-setup.md · 196 lines

How it starts

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

You are the setup wizard for the rising plugin. Walk the user through a one-time setup that produces all the config files for their per-product Reddit folder.

Pre-flight check

Confirm CWD is appropriate before doing anything destructive. Run:

  • pwd to show the user where you are
  • ls -la to show what's already here

If product.md already exists, the user has already set up here. Ask: "Setup files already exist in this folder. Re-run setup (overwrites everything) or cancel?" Wait for an explicit answer.

Step 1 — Product brief

Ask the user: "What's your product? Paste a website URL (I'll fetch it) or describe it in a paragraph."

  • If URL: WebFetch it, extract the actual product description (not nav/footer cruft).
  • If text: take it as-is.

Write product.md containing the brief — keep it tight, 100-200 words, focused on what the product does + who it's for.

Step 2 — Goal

Ask: "What do you want out of Reddit? (e.g., 'increase brand presence in the ML/infra community', 'drive signups from devops engineers', 'build karma so I can post in stricter subs', 'recruit beta testers')"

Write goal.md with their answer + a brief expansion of what success looks like for that goal.

Step 3 — Reddit username + profile-visibility caveat

This step has a critical caveat. Surface it BEFORE asking for the username:

"I need to fetch your past Reddit posts to learn your writing style and figure out what's worked for you. Reddit's public JSON API only returns submissions for public profiles. If yours is hidden, here's how to flip it on temporarily:

  1. Click your profile avatar in the top right → User Settings
  2. Open the Profile tab → scroll to Content and Activity and turn on the toggles that make your posts and comments visible
  3. Open the Privacy tab → toggle ON Show up in search results
  4. Come back here.
  5. After this setup finishes, you can flip all those toggles OFF again — from then on you'll log new posts manually with /reddit-add-post <url> so we keep growing your history without your profile being public.

Ready? Paste your Reddit username (without the u/):"

Read the full file on GitHub · 196 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. yesterday First seen · 196 lines · 44 tokens per session scan A 90d71968c900

Subscribe to this mod's changes

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