PH
PHY041/claude-skill-reddit
Claude Code skills for Reddit automation (AppleScript + Chrome). Build karma, post to subreddits — undetectable by anti-bot systems.
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
| Skill | Description |
|---|---|
reddit-cultivate |
Find rising posts, draft value-first comments, build karma automatically |
reddit-post |
Submit text/link posts to any subreddit with flair support |
Why AppleScript?
Every other automation tool gets detected:
| Tool | Problem |
|---|---|
| Playwright/Selenium/Puppeteer | Sets navigator.webdriver=true — instantly detected |
| Reddit API + OAuth | Rate limited, requires app registration |
| curl | IP blocked after a few requests |
| AppleScript + Chrome | Controls your real browser. Cookies, fingerprint, everything — indistinguishable from you clicking around. |
Install
npx skills add PHY041/claude-skill-redditOr 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
- AppleScript sends JavaScript to Chrome's active tab
- Same-origin fetch hits Reddit's internal API (
/api/me.json,/api/comment,/api/submit) - Cookies included automatically — you're already logged in
- Results read back via the
document.titletrick
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
On this page
Contributors
Created February 9, 2026
Updated March 7, 2026