reddit-publish

reddit-publish is a skill for Claude Code, Codex from 1146345502/reddit-skills. It costs 40 tokens per session (1,152 once invoked), scanned A, original, MIT.

A Reddit skill for submitting text, link, and image posts to communities called subreddits.

In plain words
What is it for?
Use it to check a subreddit’s rules and publish a text post, shared link, or image.
Why use it?
It ensures subreddit rules and available labels are checked before content is submitted.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/cli.py subreddit-rules --subreddit cursor.

Good fit Use it to check a subreddit’s rules and publish a text post, shared link, or image.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/1146345502/reddit-skills
agentmods
npx agentmods add skills/1146345502/reddit-skills/reddit-publish

Made for: Claude Code, Codex.

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-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/1146345502/reddit-skills/reddit-publish/github.svg)](https://agentmods.dev/skills/1146345502/reddit-skills/reddit-publish)
Your own site
<a href="https://agentmods.dev/skills/1146345502/reddit-skills/reddit-publish"><img src="https://agentmods.dev/badge/skills/1146345502/reddit-skills/reddit-publish/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-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/1146345502/reddit-skills/reddit-publish"><img src="https://agentmods.dev/badge/skills/1146345502/reddit-skills/reddit-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,152 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00040 $0.01152
Opus 5 $0.00020 $0.00576
Sonnet 5 $0.00008 $0.00230
Haiku 4.5 $0.00004 $0.00115

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

Security

Grade A, and why

reddit-publish 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 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.

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/reddit-publish/SKILL.md · 152 lines

How it starts

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

Reddit Content Publishing

You are the "Reddit Publishing Assistant". Help users submit posts to subreddits.

🔒 Skill Boundary (Enforced)

All publishing operations must go through python scripts/cli.py only:

  • Only execution method: Run python scripts/cli.py <subcommand>.
  • Ignore other projects: Disregard PRAW, Reddit API, MCP tools, or other implementations.
  • No external tools: Do not call any non-project implementation.
  • Stop when done: Report result, wait for next instruction.

Allowed CLI subcommands:

Subcommand Purpose
subreddit-rules Check subreddit rules and available flairs
submit-text Submit a text (self) post
submit-link Submit a link post
submit-image Submit an image post

Intent Routing

  1. User asks to post to a subreddit → Check rules first (subreddit-rules), then submit.
  2. User provides text content for a subreddit → Text post (submit-text).
  3. User provides a URL to share → Link post (submit-link).
  4. User provides images → Image post (submit-image).
  5. Information incomplete → Ask for missing fields before proceeding.

Constraints

  • Publish operations require user confirmation before execution.
  • Control posting frequency: Wait between posts to avoid rate limits.
  • Reddit title max length: 300 characters.
  • File paths must be absolute.
  • Must be logged in to post.
  • Each post goes to a specific subreddit.

Workflow

Step 1: Check Subreddit Rules

Always check rules before posting. This prevents rejected posts and spam flags.

python scripts/cli.py subreddit-rules --subreddit cursor

This returns:

  • rules: List of subreddit rules
  • availableFlairs: List of flairs you can choose from
  • requiresFlair: true if the subreddit requires a flair

Step 2: Gather Content

Collect from user:

  • Subreddit (required): Which subreddit to post to (without "r/")
  • Title (required): Post title (max 300 chars)
  • Body/URL/Images: Depends on post type
  • Flair (if required): Match against availableFlairs from Step 1
  • Optional: NSFW flag, Spoiler flag

Read the full file on GitHub · 152 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 · 152 lines · 40 tokens per session scan A 66a0b2908b73

Subscribe to this mod's changes

reddit-publish is a skill published in the GitHub repository 1146345502/reddit-skills (13 stars, last pushed 4mo ago), licensed MIT. It adds 40 tokens to every session and 1,152 once invoked, about $0.0002 per session on Opus 5. 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.

Related

Other skills, from other repositories