reddit-publish
Skill4 starsChanged 8 months agoMITView on GitHub
Reddit content publishing skill. Submit text posts, link posts, and image posts to subreddits. Triggered when user asks to post, submit, or share content on Reddit.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- 1146345502/reddit-skillsword for word, first seen Apr 6, 2026
Other versions1 project uses a version of this.
Word for word · 1
- 1146345502/reddit-skills★ 15100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- reddit-skillsSkill
- reddit-authSkill
- reddit-content-opsSkill
- reddit-exploreSkill
- reddit-interactSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Only execution method: Run python scripts/cli.py <subcommand>.
- Distinctive: line 28
No external tools: Do not call any non-project implementation.
- Distinctive: line 52
Publish operations require user confirmation: before execution.
- Distinctive: line 53
Control posting frequency: Wait between posts to avoid rate limits.
- Distinctive: line 56
Must be logged in to post.
- Distinctive: line 89
Write title (and body if applicable) to temp files, then execute:
- Distinctive: line 145
Subreddit not found: Verify subreddit name.
- Very specific: line 150
Flair not found: Check available flairs via subreddit-rules and use exact text.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- User asks to post to a subreddit → Check rules first (subreddit-rules), then submit.
- User provides text content for a subreddit → Text post (submit-text).
- User provides a URL to share → Link post (submit-link).
- User provides images → Image post (submit-image).
- 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 cursorThis returns:
- rules: List of subreddit rules
- availableFlairs: List of flairs you can choose from
- requiresFlair:
trueif 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
availableFlairsfrom Step 1 - Optional: NSFW flag, Spoiler flag
Step 3: User Confirmation
Present the complete post (including selected flair) to the user and get explicit confirmation.
Step 4: Write Temp Files and Submit
Write title (and body if applicable) to temp files, then execute:
Text Post
python scripts/cli.py submit-text \
--subreddit cursor \
--title-file /tmp/reddit_title.txt \
--body-file /tmp/reddit_body.txt \
--flair "Resources"Link Post
python scripts/cli.py submit-link \
--subreddit programming \
--title-file /tmp/reddit_title.txt \
--url "https://example.com/article" \
--flair "Project"Image Post
python scripts/cli.py submit-image \
--subreddit pics \
--title-file /tmp/reddit_title.txt \
--images "/abs/path/image1.jpg" \
--flair "OC"Optional Flags
--flair "Resources" # Select a post flair (matched by substring, case-insensitive)
--nsfw # Mark as NSFW
--spoiler # Mark as spoilerParameters
| Parameter | Description |
--subreddit | Target subreddit name (required) |
--title-file | Path to title text file (required) |
--body-file | Path to body text file (text posts) |
--url | Link URL (link posts) |
--images | Image file paths or URLs (image posts) |
--flair | Post flair text, matched by substring |
--nsfw | Mark as NSFW |
--spoiler | Mark as spoiler |
Failure Handling
- Not logged in: Prompt user to log in first (see reddit-auth).
- Subreddit not found: Verify subreddit name.
- Rate limited: Reddit limits posting frequency. Wait and retry.
- Title too long: Shorten title to under 300 characters.
- No images: Cannot submit image post without images.
- Submit button not found: Page structure may have changed.
- Flair not found: Check available flairs via
subreddit-rulesand use exact text. - Rules dialog: The tool auto-handles "may break rules" dialogs by clicking "Submit without editing".
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

