Reddit JSON Fetcher
ykdojo/claude-code-tips
Fetches Reddit posts, threads and search results as JSON through a browser session, using a DuckDuckGo redirect to get past Reddit's automated-access block.
Drafts, reviews, posts, and tracks Reddit comments for chosen subreddits end to end, using Playwright MCP to read and interact with the live page.
$ npx skills add rokpiy/auto-commenter --skill reddit-commenter -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rokpiy/auto-commenter reddit-commenter --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/rokpiy/auto-commenter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/reddit-commenter .claude/skills/reddit-commenter && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "reddit-commenter" agent skill from https://github.com/rokpiy/auto-commenter/tree/main/.claude/skills/reddit-commenter into .claude/skills/reddit-commenter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reddit-commenter", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/rokpiy/auto-commenter/tree/main/.claude/skills/reddit-commenterType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add rokpiy/auto-commenter --skill reddit-commenter -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rokpiy/auto-commenter reddit-commenter --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rokpiy/auto-commenter.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/reddit-commenter .agents/skills/reddit-commenter && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "reddit-commenter" agent skill from https://github.com/rokpiy/auto-commenter/tree/main/.claude/skills/reddit-commenter into .agents/skills/reddit-commenter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reddit-commenter", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rokpiy/auto-commenter --skill reddit-commenter -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rokpiy/auto-commenter reddit-commenter --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rokpiy/auto-commenter.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/reddit-commenter .cursor/skills/reddit-commenter && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "reddit-commenter" agent skill from https://github.com/rokpiy/auto-commenter/tree/main/.claude/skills/reddit-commenter into .cursor/skills/reddit-commenter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reddit-commenter", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/rokpiy/auto-commenter.git --path .claude/skills/reddit-commenter--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add rokpiy/auto-commenter --skill reddit-commenter -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rokpiy/auto-commenter reddit-commenter --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rokpiy/auto-commenter.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/reddit-commenter .gemini/skills/reddit-commenter && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "reddit-commenter" agent skill from https://github.com/rokpiy/auto-commenter/tree/main/.claude/skills/reddit-commenter into .gemini/skills/reddit-commenter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reddit-commenter", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install rokpiy/auto-commenter reddit-commenterInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add rokpiy/auto-commenter --skill reddit-commenter -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rokpiy/auto-commenter.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/reddit-commenter .github/skills/reddit-commenter && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "reddit-commenter" agent skill from https://github.com/rokpiy/auto-commenter/tree/main/.claude/skills/reddit-commenter into .github/skills/reddit-commenter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reddit-commenter", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rokpiy/auto-commenter --skill reddit-commenter -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rokpiy/auto-commenter reddit-commenter --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rokpiy/auto-commenter.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/reddit-commenter .opencode/skills/reddit-commenter && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "reddit-commenter" agent skill from https://github.com/rokpiy/auto-commenter/tree/main/.claude/skills/reddit-commenter into .opencode/skills/reddit-commenter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reddit-commenter", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
reddit-commenterDrafts, reviews, posts, and tracks Reddit comments for chosen subreddits end to end, using Playwright MCP to read and interact with the live page.
This skill uses only navigate, snapshot, click, type, and wait-for actions from Playwright MCP, navigating straight to URLs rather than clicking through the UI and reading the accessibility-tree snapshot instead of screenshots, both to save tokens and avoid stray clicks.
Each run checks a daily tracking file to select a subreddit, analyzes a post and its existing comments before drafting anything, then runs the draft through a personalization checklist of sixteen items, with particular weight on personal experience, matching the post's actual question, and verifying site-specific details, before posting and recording the result in the tracking file.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e7fdda1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
reddit.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Reddit Comment Automation loads about 2.1k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 351 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from rokpiy/auto-commenter at commit e7fdda1, republished under its MIT licence (© rokpiy). 351 words, ~2,108 tokens.
.claude/skills/reddit-commenter/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Reddit Comment Automation - From Exploration to Posting and Tracking
This skill uses Playwright MCP to interact with Reddit.
| MCP Tool | Purpose |
|---|---|
browser_navigate | Navigate to Reddit pages |
browser_snapshot | Capture page structure (accessibility tree) |
browser_click | Click elements (comment box, buttons, etc.) |
browser_type | Input text (comment content) |
browser_wait_for | Wait for page loading |
browser_navigate rather than clicking elements (prevents click errors, saves tokens)browser_take_screenshot. Always use only browser_snapshot for page verification (accessibility tree is sufficient and doesn't save files)1. Check today's date file in tracking/reddit/ folder
→ File name: YYYY-MM-DD.md (e.g., 2026-01-12.md)
→ If file doesn't exist, create new one referencing template.md
2. Check activity status table by subreddit:
- How many comments posted in each subreddit today
- Check subreddits under daily limit (3)
- Check last comment time (minimum 5-10 minute intervals)
3. Select next subreddit for commenting:
- Prioritize subreddits with no activity today or under limit
- Prioritize subreddits with oldest last activity time
4. Check subreddit specifics in resources/subreddits.md:
- Core community rules
- Community nature
- Good topics to answer
→ Reflect this information when selecting posts1. Access Reddit with Playwright MCP
→ browser_navigate("https://www.reddit.com/r/{selected_subreddit}/new/")
or
→ browser_navigate("https://www.reddit.com/r/{selected_subreddit}/rising/")
2. Page snapshot
→ browser_snapshot()
3. Criteria for selecting posts to comment on:
• Posts where you can share insights or provide feedback
• ⚠️ CRITICAL: Posts you haven't commented on today
- Check activity log in tracking/reddit/today's-date.md file
- Extract list of post URLs from today's comments
- Verify selected post URL is NOT in that list
- Absolutely NO duplicate comments on same post
• OK even if not related to your service/field
• Relevance to "good topics to answer" from Step 1
• Avoid posts with already hundreds of comments
4. Secure URL of selected post
→ Check and record post link in snapshot
→ Navigate directly to this URL in next Step⚠️ CRITICAL: Must perform this step before writing comment
0. Navigate directly to post
→ browser_navigate(post URL secured in Step 2)
→ Navigate directly to URL, don't click on post (prevents click errors)
→ browser_snapshot()
1. Read post content accurately:
- Understand what OP is actually asking
- Don't react only to keywords—understand full context
- Distinguish between hypothetical questions and actual problem complaints
2. Understand OP's intent:
- Seeking specific help? (problem solving)
- Seeking opinions/discussion? (hypothetical scenario)
- Information sharing? (experience story)
3. Analyze existing comments:
- Check how others interpreted
- Understand how community is receiving this post
- Check tone and answering style
4. Decide comment direction:
- Is this post worth answering?
- From what angle should I answer?
- Can I naturally answer in my style?
5. ⚠️ CRITICAL: Determine if site/link verification needed:
- Did OP provide website/app link?
- Are there expressions like "feedback requested", "honest feedback", "looking for feedback"?
- Is feedback requested on UX, design, performance that requires actual verification?
→ If YES:
• Visit actual site with browser_navigate(provided link)
• Check UI/UX with browser_snapshot()
• Write feedback based ONLY on what you actually saw
• Absolutely NO speculative feedback on things you didn't see
→ If NO:
• Can answer from post content alone
• General advice or experience sharing
⚠️ Proceed to Step 4 only after clearly verifying analysis results1. Draft comment based on Step 3 analysis results:
- Answer matching OP's actual question
- Practically helpful content
- Match subreddit tone
- Focus on 1-2 points (don't try to explain everything)1. Check resources/personalization_reddit.md file
→ Sequentially check 16 personalization checklist items based on actual comment style
→ Especially important: #4 personal experience, #13 experience pattern, #15 question intent understanding, #16 site verification
2. Check style patterns:
• Which pattern (1-8) is it closest to?
• Does it capture that pattern's characteristics well?
• Does it look like you wrote it?
3. Review process:
• All items PASS → Proceed to Step 6
• Any violation → Revise comment and re-review from Step 5 beginning
Detailed personalization guide: See resources/personalization_reddit.md
1. Click comment input box
→ Check comment input element after browser_snapshot()
→ browser_click(comment box ref)
2. Input comment content
→ browser_type(reviewed comment)
3. Click post button
→ browser_click(post button ref)
4. Secure comment URL
→ Copy comment permalink after posting⚠️ CRITICAL: Judge accurately by referring to Step 3 analysis again
→ Refer to "Lead Selection Criteria" in leads/reddit.md
→ Classify as lead only users with actual problems (not hypothetical questions)
When lead discovered, update leads/reddit.md:
- Username, subreddit, post URL
- Post summary, selection reason, relevanceUpdate tracking/reddit/[today's-date].md file:
1. Activity status table by subreddit:
- Increment comment count for that subreddit by +1
- Update last comment time
2. Add to activity log:
### [HH:MM] r/subreddit
- **Post**: [Title](URL)
- **Topic Summary**: One-line summary of post content
- **Comment Link**: [Comment URL]
- **Comment Content**:Full comment written
3. When potential customer discovered:
- Update 'leads/reddit.md' when potential customer discovered| File | Reference Timing |
|---|---|
resources/subreddits.md | Step 1 (subreddit selection) |
resources/personalization_reddit.md | Step 5 (review) |
resources/product.md | Step 7 (potential customer judgment) |
leads/reddit.md | Step 7 (lead criteria check) |
→ Reference only at relevant Step, don't read in advance
© rokpiy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files in .claude/skills/reddit-commenter of rokpiy/auto-commenter.
Open the folder on GitHubat commit e7fdda1
Reddit Comment Automation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Reddit Comment Automation this skillrokpiy/auto-commenter | 585 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Reddit JSON Fetcherykdojo/claude-code-tips | 10k | — | ~1.4k | Automated safety check: Pass | Custom licence | |
| Zerotoken OpenclawAMOS144/ZeroToken | 455 | 1 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Invisible Playwright MCP Setupfeder-cr/invisible_playwright_mcp | 2.7k | — | ~309 | Automated safety check: Notes | MIT | |
| Open Supermarketsabracadabra50/open-supermarkets | 117 | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Browser AgentOyadotAI/oya-browser | 349 | — | ~2k | Automated safety check: Pass | Custom licence |
ykdojo/claude-code-tips
Fetches Reddit posts, threads and search results as JSON through a browser session, using a DuckDuckGo redirect to get past Reddit's automated-access block.
AMOS144/ZeroToken
A skill your agent uses when using ZeroToken MCP via OpenClaw for browser automation, trajectory recording and low-token replay, especially for recurring or scheduled browser tasks.
feder-cr/invisible_playwright_mcp
What the invisible_playwright_mcp browser server needs on this machine - the patched Firefox it drives, which the server downloads on its own the first time…
abracadabra50/open-supermarkets
Searches, compares and fills baskets across supermarkets in several countries, with delivery slots, checkout and nutrition data, as a CLI, MCP server or skill.
OyadotAI/oya-browser
Control a real browser via Oya Browser MCP tools. An agent skill from OyadotAI/oya-browser.
OyadotAI/oya-browser
Drive real Chrome browsers through Oya Browser. An agent skill from OyadotAI/oya-browser.
Works with
Categories
Drafts, reviews, posts, and tracks Reddit comments for chosen subreddits end to end, using Playwright MCP to read and interact with the live page. This skill uses only navigate, snapshot, click, type, and wait-for actions from Playwright MCP, navigating straight to URLs rather than clicking through the UI and reading the accessibility-tree snapshot instead of screenshots, both to save tokens and avoid stray clicks.
Reddit Comment Automation fits situations like: drafting a comment for a specific Reddit post; reviewing a drafted comment against a personalization checklist before posting; tracking which subreddits and posts have already been commented on.
Run `npx skills add rokpiy/auto-commenter --skill reddit-commenter -a claude-code`. Or copy the skill folder (.claude/skills/reddit-commenter in rokpiy/auto-commenter) into .claude/skills/reddit-commenter in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rokpiy/auto-commenter --skill reddit-commenter -a codex`. Or copy the skill folder (.claude/skills/reddit-commenter in rokpiy/auto-commenter) into .agents/skills/reddit-commenter in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rokpiy/auto-commenter --skill reddit-commenter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reddit-commenter, .gemini/skills/reddit-commenter, .github/skills/reddit-commenter and .opencode/skills/reddit-commenter in your project.
SKILL.md names no scripts, command-line tools or credentials: Reddit Comment Automation is instructions for the agent only. Our summary lists: Playwright MCP.
SKILL.md names 1 domain. In commands or code: reddit.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Reddit Comment Automation is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Reddit Comment Automation: Reddit JSON Fetcher (ykdojo/claude-code-tips, 10k stars), Zerotoken Openclaw (AMOS144/ZeroToken, 455 stars), Invisible Playwright MCP Setup (feder-cr/invisible_playwright_mcp, 2.7k stars) and Open Supermarkets (abracadabra50/open-supermarkets, 117 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rokpiy (a GitHub user) maintains it in rokpiy/auto-commenter, which has 585 GitHub stars. The repository was last updated on March 15, 2026.
Source: rokpiy/auto-commenter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.