Sandbox
@PHY041/claude-skill-reddit

Claude Code skills for Reddit automation

This repository provides Claude Code skills that automate Reddit work through AppleScript in Chrome. The skills cover comment drafting, posting, subreddit research, and creator deployment, using the user's logged-in browser session.

42 stars5 forksPythonUpdated 2mo ago
Who it's for

Builders who use Claude Code and want Reddit automation in a real Chrome browser.

What it delivers

You can automate Reddit posting, commenting, and subreddit research from Claude Code without leaving your logged-in browser.

What it does

Reddit cultivation

Finds rising posts, checks account status, drafts value-first comments, and posts them with rate limiting.

Reddit posting

Submits text or link posts, handles modhash/CSRF protection, and applies flair when needed.

Subreddit deep research

Crawls subreddit rules and audience signals for pre-campaign planning and brand fit analysis.

Creator deployment

Turns a creator roster and subreddit fit into a two-layer deployment matrix and persona cards.

Chrome-based automation

Uses AppleScript to send JavaScript to the active Chrome tab and read results back through `document.title`.

How to get it

  1. 1Run
    npx skills add PHY041/claude-skill-reddit
  2. 2Once installed, just tell Claude Code
    /reddit-cultivate
  3. 3→ Checks your karma, scans rising posts in target subreddits, drafts thoughtful…
    Post to r/SideProject about my new open source tool

README

Claude Skill: Reddit Automation (AppleScript)

Grow your Reddit presence on autopilot — using AppleScript to control your real Chrome browser. Undetectable by Reddit's anti-bot systems.

What's Inside

SkillDescription
reddit-cultivateFind rising posts, draft value-first comments, build karma automatically
reddit-postSubmit text/link posts to any subreddit with flair support
subreddit-deep-researchPre-campaign community due-diligence for any brand: six-dimension subreddit universe, high-upvote-logic analysis, rules crawl, and a two-gate (sub-rules + FTC disclosure) brand/link policy matrix
reddit-creator-deployTurn a KOL roster + subreddit fit into a KOL/KOC two-layer deployment matrix + persona cards (disclosed-creator compliance baked in)

Why AppleScript?

Every other automation tool gets detected:

ToolProblem
Playwright/Selenium/PuppeteerSets navigator.webdriver=true — instantly detected
Reddit API + OAuthRate limited, requires app registration
curlIP blocked after a few requests
AppleScript + ChromeControls your real browser. Cookies, fingerprint, everything — indistinguishable from you clicking around.

Install

npx skills add PHY041/claude-skill-reddit

Or manually copy the .claude/skills/ directories into your project.

Requirements

  • macOS (AppleScript is macOS-only)
  • Google Chrome with "Allow JavaScript from Apple Events" enabled:
    • Chrome → View → Developer → Allow JavaScript from Apple Events
    • Restart Chrome after enabling
  • Logged into Reddit in Chrome

Usage

Once installed, just tell Claude Code:

/reddit-cultivate

→ Checks your karma, scans rising posts in target subreddits, drafts thoughtful comments, posts them, and gives you a summary table with links.

Post to r/SideProject about my new open source tool

→ Drafts and submits a Reddit post using the reddit-post skill.

How It Works

  1. AppleScript sends JavaScript to Chrome's active tab
  2. Same-origin fetch hits Reddit's internal API (/api/me.json, /api/comment, /api/submit)
  3. Cookies included automatically — you're already logged in
  4. Results read back via the document.title trick

The document.title Trick

Since AppleScript can't directly read async JS results, we write them to document.title and read it back:

# Execute async JS
osascript -e 'tell application "Google Chrome" to tell active tab of first window to execute javascript "fetch(...).then(d=>{document.title=JSON.stringify(d)})"'
sleep 2
# Read result
osascript -e 'tell application "Google Chrome" to return title of active tab of first window'

Features

reddit-cultivate

  • Account status check (username, karma)
  • Scans rising posts across multiple subreddits in parallel
  • Drafts natural, value-first comments (no self-promotion)
  • Posts with rate limiting (4s between comments)
  • Outputs summary table with direct links to every comment

reddit-post

  • Submit text posts or link posts
  • Automatic modhash handling (CSRF protection)
  • Flair detection and application
  • Spam filter avoidance guidelines
  • Best posting times and templates

License

MIT

Files in the repo

Repository payload2 top-level entries
  • .claude
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k
ayghri/
i-have-adhd

A skill to stop your coding agent from burying the answer. ADHD-friendly output.

38k
mvanhorn/
last30days-skill

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

62k
Nanako0129/
sepia

De-AI writing skill for any Agent Skills-compatible agent (77+ via the Skills CLI), with native plugins for Claude Code, Codex, Grok Build, and Antigravity. Narrative-architecture repair for fiction, venue-matched rules for professional prose. Based on StoryScope (arXiv:2604.03136).

2.5k
Imbad0202/
academic-research-skills

Academic Research Skills for Claude Code: research → write → review → revise → finalize

48k