Reddit Publish skill for Claude

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.

Reddit Publish SKILL.md

The full skill file from 1146345502/reddit-skills (MIT).

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:

SubcommandPurpose
subreddit-rulesCheck subreddit rules and available flairs
submit-textSubmit a text (self) post
submit-linkSubmit a link post
submit-imageSubmit 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

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 spoiler

Parameters

ParameterDescription
--subredditTarget subreddit name (required)
--title-filePath to title text file (required)
--body-filePath to body text file (text posts)
--urlLink URL (link posts)
--imagesImage file paths or URLs (image posts)
--flairPost flair text, matched by substring
--nsfwMark as NSFW
--spoilerMark 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-rules and use exact text.
  • Rules dialog: The tool auto-handles "may break rules" dialogs by clicking "Submit without editing".

How to install Reddit Publish

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit 1146345502/reddit-skills/skills/reddit-publish#main ~/.claude/skills/reddit-publish

Codex

npx degit 1146345502/reddit-skills/skills/reddit-publish#main ~/.codex/skills/reddit-publish

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Reddit Publish skill do?

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.

+How do I install Reddit Publish in Claude Code?

Copy the skill folder into ~/.claude/skills/reddit-publish, for example with "npx degit 1146345502/reddit-skills/skills/reddit-publish#main ~/.claude/skills/reddit-publish". Claude Code loads it automatically and uses it when a task matches.

+Does Reddit Publish work with ChatGPT or Codex?

Yes. Reddit Publish uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/reddit-publish. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Reddit Publish free?

Reddit Publish is published on GitHub by 1146345502 under the MIT license, which allows free use.

Related marketing skills

  1. Marketing Skills

    Use when looking for which of the 44 marketing skills fits a task. Lists them by pod and routes to one; does no marketing work itself.

    alirezarezvani/claude-skills★ 30k
  2. Image

    When the user wants to create, generate, edit, or optimize marketing images, or asks which approach to take (generate, design, or…

    coreyhaines31/marketingskills★ 61k
  3. Agent Reach

    只读读取各平台内容:搜索、读帖、看评论、取字幕、查行情和职位。 Use when 用户提到或贴出链接:小红书/xiaohongshu、B站/bilibili、Twitter/X、Reddit、…

    Panniantong/Agent-Reach★ 113k
  4. Reddit Skills

    Reddit automation skill collection. Supports authentication, content publishing, search & discovery, social interactions, and compound…

    1146345502/reddit-skills★ 16
  5. Ads

    When the user wants to plan, run, or fix paid ads on Google, Meta, and LinkedIn, or asks a judgement call on them: are ads worth it, which…

    coreyhaines31/marketingskills★ 61k
  6. Interview

    Use when someone has an agent idea to scope before launch ('help me scope an agent').

    alirezarezvani/claude-skills★ 30k
  7. Copywriting

    When the user wants to write or rewrite page copy (homepage, landing, pricing, feature), or asks which headline, promise, or message to…

    coreyhaines31/marketingskills★ 61k
  8. Social

    When the user wants organic social content for LinkedIn, X, Instagram, TikTok, or Facebook, or asks what to post, which format to favor, or…

    coreyhaines31/marketingskills★ 61k
  9. Landing

    Use when asked for a premium single-file HTML landing page with 3D CSS, GSAP scroll effects and parallax.

    alirezarezvani/claude-skills★ 30k

See all marketing skills →

More skills from 1146345502

  1. Reddit Auth

    Reddit authentication management skill. Check login status, log out. Triggered when user asks to check Reddit login status or log out.

    1146345502/reddit-skills★ 16
  2. Reddit Content Ops

    Reddit compound content operations skill. Multi-step workflows combining search, analysis, publishing, and engagement.

    1146345502/reddit-skills★ 16

All skills by 1146345502 →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.