reddit

reddit is a command for Claude Code from TheSmokeDev/taskchad-os. It costs 0 tokens per session (556 once invoked), scanned A, original, MIT.

A command for researching Reddit and preparing or publishing Reddit posts and comments through an already open Chrome browser. Reddit is a discussion platform organized into topic communities called subreddits.

In plain words
What is it for?
Use it to check browser readiness, find relevant threads, draft replies, and—with explicit approval—publish comments or self-posts.
Why use it?
It keeps research read-only by default and requires a separate exact approval phrase before a comment or post is published.

Command for Claude Code

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/thesmokedev/taskchad-os/reddit
Clone the repo
git clone --depth 1 https://github.com/TheSmokeDev/taskchad-os

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/thesmokedev/taskchad-os/reddit.svg)](https://agentmods.dev/commands/thesmokedev/taskchad-os/reddit)
Your own site
<a href="https://agentmods.dev/commands/thesmokedev/taskchad-os/reddit"><img src="https://agentmods.dev/badge/commands/thesmokedev/taskchad-os/reddit.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 556 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 $0.00000 $0.00556
Opus 5 $0.00000 $0.00278
Sonnet 5 $0.00000 $0.00111
Haiku 4.5 $0.00000 $0.00056

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

Security

Grade A, and why

reddit 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 5d 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.

.claude/commands/reddit.md · 28 lines

How it starts

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

/reddit - Reddit operator (research + approval-gated posting)

/reddit drives the visible Chrome CDP session for Reddit. It does not use the Reddit API and never launches a headless browser. It acts as whatever Reddit account is logged into the visible session.

Subcommands

  • /reddit status - browser/CDP readiness for the Reddit session.
  • /reddit research <query or r/subreddit> - read-only. Searches Reddit (or browses a subreddit) and returns the ranked threads so you can find where to help. No approval needed.
  • /reddit comment <thread_url> | <body> | <approval phrase> - drafts a reply. Blocked by default; it posts only when the FINAL pipe-delimited segment is EXACTLY post this comment to reddit now.
  • /reddit post <subreddit> | <title> | <body> | <approval phrase> - drafts a self-post. Blocked by default; it posts only when the FINAL pipe-delimited segment is EXACTLY post this to reddit now.

The approval is a separate trailing segment, not text appended to the body. A body that happens to end with the approval phrase can NEVER approve itself — the confirmation must be its own | <phrase> segment. The thread URL must be an absolute https://reddit.com URL, and the subreddit must match ^[A-Za-z0-9_]{2,21}$ (no slashes, query, or path) or the command is rejected.

The flow (draft -> approve -> post)

  1. Draft the comment or post using the reddit-post skill (value-first, no promotion, no em-dashes).
  2. Show the draft to the user. Do not post.
  3. The user posts only by re-sending the command with the approval phrase as the FINAL pipe-delimited segment (e.g. /reddit comment <url> | <body> | post this comment to reddit now).
  4. Before driving, the handler refuses if the visible Chrome is not ready (audited failed), and rejects an invalid thread URL or subreddit.
  5. Every action (blocked, posted, failed, rejected) is written to the sanitized browser audit log. No cookies, tokens, or query strings are ever logged.

Rules

  • Research first. Find a real question you can answer well before drafting anything.
  • One approval per post. Never batch, schedule, or loop posts.
  • If a captcha or rate-limit appears, STOP and tell the user.
  • This command is the generic operator. Business-specific targeting (which subreddits, which voice, what to say) lives in the consuming project's playbook, not here.

Read the full file on GitHub · 28 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. 5d ago First seen · 28 lines · 0 tokens per session scan A 1ca1b670c57a

Subscribe to this mod's changes

reddit is a command published in the GitHub repository TheSmokeDev/taskchad-os (23 stars, last pushed 12d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 556 tokens. 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-08-30.