phy041/claude-skill-reddit
Overview
This skill automates Reddit account cultivation for indie developers by controlling a real Chrome browser via AppleScript on macOS. It inspects account status, finds rising posts, drafts natural comments, and posts directly — behaving like a human browser to avoid bot detection. It prioritizes safe pacing, subreddit-specific tone, and session summaries with direct comment links.
How this skill works
The skill runs AppleScript (or JXA) to execute JavaScript inside the active Chrome tab, using the browser’s logged-in cookies and same-origin requests to interact with Reddit endpoints like /api/me.json and /r/{sub}/rising.json. When Chrome windows are not visible due to multi-profile issues, the skill falls back to System Events keyboard automation to paste and run JS in the DevTools console. Responses are returned by writing results into document.title or reading window titles, and the skill extracts modhashes and comment IDs from POST responses to produce links.
When to use it
- Build early karma and visibility for indie launches
- Maintain a low-detection presence while engaging target subreddits
- Quickly scan rising posts for timely commenting opportunities
- Draft and post many short, high-value comments with safe pacing
- Generate a session summary of all posted comments with links
Best practices
- Run only on macOS with Chrome and "Allow JavaScript from Apple Events" enabled
- Keep comments 2–4 sentences, unique, and non-promotional
- Respect subreddit culture and avoid links or emojis unless allowed
- Observe rate limits: 2+ seconds between API calls, 4+ seconds between posts, session and daily caps
- Always run detection first to choose the correct execution method (direct JS vs. keyboard automation)
Example use cases
- Scan r/SideProject and r/indiehackers for rising posts and add helpful early comments
- Confirm login and total karma before attempting moderated subs
- Draft context-aware replies to questions with 2–4 sentence insights
- Post up to the session limit and export a summary table with direct comment links for tracking
- Fallback to keyboard automation when multiple Chrome profiles hide windows
FAQ
By executing real JavaScript in a logged-in Chrome instance, requests originate from a real browser session and cookies, making them indistinguishable from human browsing; still follow rate limits and subreddit rules.
What platforms are supported?
macOS only — AppleScript and System Events are required, and Chrome must have developer event permissions enabled.
How do I get comment links after posting?
The skill extracts the comment ID from the POST response and combines subreddit, post ID, and comment ID into a direct URL for each posted comment.