skills/reddit/SKILL.md
Reddit automation with CamoFox CLI — login, browse, post, comment, reply with anti-detection. Use when the user needs to automate Reddit interactions, post to subreddits, comment on threads, or browse Reddit programmatically. Triggers include "reddit", "post to reddit", "reddit comment", "reddit automation", or any request to interact with Reddit via browser automation.
npx skillsauth add redf0x1/camofox-browser redditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Automate Reddit using CamoFox CLI anti-detection browser. All workflows verified on 2026-03-04 with zero CAPTCHAs triggered across 50+ operations.
camofox server statusnpm install -g camofox-browserReddit login uses reCAPTCHA Enterprise — automated credential entry is blocked. Use session-based auth:
First time — login manually in CamoFox, then save:
camofox session save "reddit-session" --user reddit
Subsequent times — restore saved session:
camofox open https://www.reddit.com --user reddit
camofox session load "reddit-session" --user reddit
camofox navigate https://www.reddit.com [tabId]
camofox snapshot [tabId]
Verify: username visible in snapshot confirms login.
Store credentials for reference:
camofox auth save reddit-main --url https://www.reddit.com --notes "Reddit account"
camofox open https://www.reddit.com --user reddit
camofox session load "reddit-session" --user reddit
camofox navigate https://www.reddit.com [tabId]
camofox snapshot [tabId]
camofox scroll down [tabId] --amount 500
camofox snapshot [tabId]
camofox get-links [tabId]
camofox navigate https://old.reddit.com/r/test [tabId]
camofox snapshot [tabId]
camofox click [eN] [tabId]
camofox snapshot [tabId]
Old Reddit has simpler HTML structure — easier to parse post listings.
IMPORTANT: Use eval to fill textarea — standard type causes 500 errors on old Reddit.
camofox navigate https://old.reddit.com/r/test/comments/POST_ID/ [tabId]
camofox snapshot [tabId]
camofox eval "const ta = document.querySelector('.usertext-edit textarea'); ta.value = 'Your comment'; ta.dispatchEvent(new Event('input', {bubbles: true})); ta.dispatchEvent(new Event('change', {bubbles: true}));" [tabId]
camofox snapshot [tabId]
camofox click [eN] [tabId]
camofox snapshot [tabId]
Why eval? Reddit's old textarea causes Internal Server Error when filled via browser automation type. Setting textarea.value via JavaScript works reliably.
IMPORTANT: Use www.reddit.com — old Reddit has visible reCAPTCHA that blocks posting.
camofox navigate "https://www.reddit.com/r/test/submit?type=TEXT" [tabId]
camofox snapshot [tabId]
camofox type [eN] "Your Post Title" [tabId]
camofox snapshot [tabId]
camofox type [eN] "Post content with markdown." [tabId]
camofox snapshot [tabId]
camofox click [eN] [tabId]
camofox wait navigation [tabId] --timeout 5000
camofox snapshot [tabId]
camofox navigate https://old.reddit.com/r/test/comments/POST_ID/ [tabId]
camofox snapshot [tabId]
camofox click [eN] [tabId]
camofox snapshot [tabId]
camofox eval "const tas = document.querySelectorAll('.usertext-edit textarea'); const rb = Array.from(tas).find(t => t.offsetParent !== null && t.value === ''); if (rb) { rb.value = 'Your reply'; rb.dispatchEvent(new Event('input', {bubbles: true})); rb.dispatchEvent(new Event('change', {bubbles: true})); }" [tabId]
camofox snapshot [tabId]
camofox click [eN] [tabId]
camofox snapshot [tabId]
camofox snapshot [tabId]
camofox click [eN] [tabId]
Vote buttons appear as arrow icon refs in the snapshot.
camofox session save "reddit-session" --user reddit
camofox session load "reddit-session" --user reddit
camofox session list
camofox session delete "reddit-session"
camofox wait networkidle [tabId] --timeout 3000| Action | Platform | Reason | |--------|----------|--------| | Login | Manual only | reCAPTCHA Enterprise | | Comment | old.reddit.com | Plain HTML forms | | Reply | old.reddit.com | Plain HTML forms | | Create Post | www.reddit.com | No visible CAPTCHA | | Browse | Either | Both work | | Vote | Either | Both work |
| Issue | Cause | Fix | |-------|-------|-----| | Login CAPTCHA | reCAPTCHA Enterprise | Use saved sessions | | Post CAPTCHA on old Reddit | reCAPTCHA v2 | Use new Reddit | | Comment 500 error | type on old Reddit | Use eval with textarea.value | | Text doubled | Lexical editor bug | Use eval for input | | Rate limited | Rapid actions | Wait 2+ minutes | | SPA link fails | Reddit SPA | Use camofox navigate | | Session expired | Cookies expired | Re-login and save |
#!/bin/bash
USER="reddit"
SESSION="reddit-session"
TAB=$(camofox open https://www.reddit.com --user $USER --format json | jq -r '.tabId')
camofox session load $SESSION --user $USER
camofox navigate https://old.reddit.com/r/test $TAB
camofox snapshot $TAB
camofox eval "const ta = document.querySelector('.usertext-edit textarea'); ta.value = 'Automated via CamoFox CLI'; ta.dispatchEvent(new Event('input', {bubbles: true})); ta.dispatchEvent(new Event('change', {bubbles: true}));" $TAB
camofox session save $SESSION --user $USER
camofox close --user $USER
tools
Anti-detection browser automation for AI agents. Use when the user needs stealth web browsing, undetectable scraping, fingerprint spoofing, proxy rotation, or privacy-focused browser automation. Triggers include "stealth scrape", "anti-detection", "bypass fingerprinting", "camofox", "camoufox", "undetectable browser", "bot evasion", or any browser task requiring evasion of bot detection systems.
tools
Automate image generation on Google Gemini (gemini.google.com) using CamoFox CLI. Use when the user asks to "generate image", "create image with Gemini", "AI image generation", "tạo hình ảnh", or needs automated Gemini workflows.
development
QA testing workflow for CamoFox Browser — systematic testing with console capture, error detection, and Playwright tracing. Use when the user needs to test a web application, perform QA validation, do exploratory testing, or verify web app behavior. Triggers include "test this website", "QA", "dogfood", "exploratory testing", "find bugs", or any request to systematically test a web application.
tools
CamoFox CLI — 50 commands for anti-detection browser automation from the terminal. Use when the user needs CLI reference for camofox commands, terminal-based browser control, or a quick lookup of command syntax. Triggers include "camofox command", "CLI reference", "terminal browser", or any request for camofox command-line usage.