Agent skill

Reddit

by redf0x1 in redf0x1/camofox-browser

Reddit automation with CamoFox CLI — login, browse, post, comment, reply with anti-detection.

MITAuto-check passedProductivity & Automation

Install Reddit

skills CLI
$ npx skills add redf0x1/camofox-browser --skill reddit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install redf0x1/camofox-browser reddit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/redf0x1/camofox-browser.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/reddit .claude/skills/reddit && rm -rf skills-src

Use ~/.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/

Facts

Skill name
reddit
GitHub stars
411
Token cost
~1.5k tokens
SKILL.md length
635 words
Files
2 (incl. references)
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Reddit automation with CamoFox CLI — login, browse, post, comment, reply with anti-detection.

  • Works in 12 steps: Prerequisites → Authentication → Browse Feed → …
  • The user needs to automate Reddit interactions
  • SKILL.md covers 1. Prerequisites, 2. Authentication, 3. Browse Feed and 4. Browse Subreddit, plus 10 more sections
  • Calls npm

What it does

Reddit is an agent skill from redf0x1/camofox-browser. 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.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/workflow-reference.md`).

It sits in Productivity & Automation, covering Browser automation. It works with Reddit. The repository describes itself as: Anti-detection browser server for AI agents — REST API wrapping Camoufox engine with OpenClaw plugin support. The licence is MIT.

When your agent uses it

  • The user needs to automate Reddit interactions
  • Post to subreddits
  • Comment on threads
  • Browse Reddit programmatically

Example prompts

  • “reddit”
  • “post to reddit”
  • “reddit comment”
  • “/reddit”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Bash(camofox:*)

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Prerequisites
  2. Authentication
  3. Browse Feed
  4. Browse Subreddit
  5. Comment on Post (Old Reddit)
  6. Create Post (New Reddit)
  7. Reply to Comment (Old Reddit)
  8. Upvote / Downvote
  9. Session Management
  10. Rate Limiting
  11. Anti-Detection
  12. Platform Selection

What it can do on your machine

Read from SKILL.md and the folder at commit 4f23dcf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(camofox:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • reddit.com
    • old.reddit.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Reddit loads about 1.5k tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 95 tokens; SKILL.md has 635 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from redf0x1/camofox-browser at commit 4f23dcf, republished under its MIT licence (© redf0x1). 635 words, ~1,539 tokens.

Download SKILL.mdSave it as .claude/skills/reddit/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
reddit
description
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.
allowed-tools
Bash(camofox:*)

Reddit Automation Skill

Automate Reddit using CamoFox CLI anti-detection browser. All workflows verified on 2026-03-04 with zero CAPTCHAs triggered across 50+ operations.

1. Prerequisites

  • CamoFox browser running: camofox server status
  • A saved Reddit session (see Section 2)
  • Install: npm install -g camofox-browser

2. Authentication

Reddit 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"

3. Browse Feed

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]

4. Browse Subreddit

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.

5. Comment on Post (Old Reddit)

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.

6. Create Post (New Reddit)

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]

7. Reply to Comment (Old Reddit)

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]

8. Upvote / Downvote

camofox snapshot [tabId]
camofox click [eN] [tabId]

Vote buttons appear as arrow icon refs in the snapshot.

9. Session Management

camofox session save "reddit-session" --user reddit
camofox session load "reddit-session" --user reddit
camofox session list
camofox session delete "reddit-session"

10. Rate Limiting

  • Wait 2+ minutes between comments/replies
  • Wait 10+ minutes between posts for new/low-karma accounts
  • Add delays: camofox wait networkidle [tabId] --timeout 3000
  • Higher karma accounts have relaxed limits
Show full SKILL.md (143 more words)Show less

11. Anti-Detection

  • CamoFox anti-detection fully effective on Reddit (0 CAPTCHAs in 50+ operations)
  • Reddit serves ads to CamoFox = treats as real user
  • Use consistent userId ("reddit") across sessions
  • Do NOT clear cookies between actions
  • No special proxy or fingerprint settings needed

12. Platform Selection

ActionPlatformReason
LoginManual onlyreCAPTCHA Enterprise
Commentold.reddit.comPlain HTML forms
Replyold.reddit.comPlain HTML forms
Create Postwww.reddit.comNo visible CAPTCHA
BrowseEitherBoth work
VoteEitherBoth work

13. Troubleshooting

IssueCauseFix
Login CAPTCHAreCAPTCHA EnterpriseUse saved sessions
Post CAPTCHA on old RedditreCAPTCHA v2Use new Reddit
Comment 500 errortype on old RedditUse eval with textarea.value
Text doubledLexical editor bugUse eval for input
Rate limitedRapid actionsWait 2+ minutes
SPA link failsReddit SPAUse camofox navigate
Session expiredCookies expiredRe-login and save

14. Complete Example

#!/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

© redf0x1, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/reddit of redf0x1/camofox-browser.

  • SKILL.md
  • references/workflow-reference.md

Open the folder on GitHubat commit 4f23dcf

Compare with similar skills

Reddit 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.

Reddit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Reddit this skillredf0x1/camofox-browser411—~1.5kAutomated safety check: PassMIT
Reddit Browser AutomationMassLab-SII/open-agent-skills133—~1.6kAutomated safety check: PassApache-2.0
Reddit JSON Fetcherykdojo/claude-code-tips10k—~1.4kAutomated safety check: PassCustom licence
bb-browser Site Commands for OpenClawepiral/bb-browser6.2k—~1kAutomated safety check: PassMIT
Reddit Comment Automationrokpiy/auto-commenter585—~2.1kAutomated safety check: PassMIT
Bright Data MCPbrightdata/skills2641 repos~3.7kAutomated safety check: PassMIT

Similar skills

  • Reddit Browser Automation

    MassLab-SII/open-agent-skills

    This skill provides tools and techniques for Postmill/Reddit-like forum automation.

    133 GitHub stars~1.6k tokensUpdated 9 mo ago
    Productivity & AutomationAuto-check passed
  • 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.

    10k GitHub stars~1.4k tokensUpdated 13 days ago
    Productivity & AutomationAuto-check passed
  • Runs structured data commands against sites such as Twitter, Reddit, GitHub, YouTube and Zhihu through OpenClaw's browser, reusing your existing login state.

    6.2k GitHub stars~1k tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed
  • Reddit Comment Automation

    rokpiy/auto-commenter

    Drafts, reviews, posts, and tracks Reddit comments for chosen subreddits end to end, using Playwright MCP to read and interact with the live page.

    585 GitHub stars~2.1k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed
  • Bright Data MCP

    brightdata/skills

    Bright Data MCP handles ALL web data operations. An agent skill from brightdata/skills.

    264 GitHub starsUsed in 1 repo~3.7k tokens
    Productivity & AutomationAuto-check passed
  • Website Browsing Skills Index

    browsing-skills/browsing-skills

    Umbrella skill for a library of website-specific browsing skills. Use when the user's request targets one of these specific websites: <!-- DOMAINS:START…

    116 GitHub stars~1.6k tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed

More from redf0x1/camofox-browser

  • Camofox Browser

    redf0x1/camofox-browser

    Anti-detection browser automation for AI agents. An agent skill from redf0x1/camofox-browser.

    411 GitHub stars~4.6k tokensUpdated 16 days ago
    Auto-check passed
  • Camofox CLI

    redf0x1/camofox-browser

    CamoFox CLI — 50 commands for anti-detection browser automation from the terminal.

    411 GitHub stars~1.3k tokensUpdated 16 days ago
    Auto-check passed
  • Dogfood

    redf0x1/camofox-browser

    QA testing workflow for CamoFox Browser — systematic testing with console capture, error detection, and Playwright tracing.

    411 GitHub stars~1.2k tokensUpdated 16 days ago
    Auto-check passed
  • Gemini Image

    redf0x1/camofox-browser

    Automate image generation on Google Gemini (gemini.google.com) using CamoFox CLI.

    411 GitHub stars~1.6k tokensUpdated 16 days ago
    Auto-check passed

Works with

Questions about Reddit

What does Reddit do?

Reddit automation with CamoFox CLI — login, browse, post, comment, reply with anti-detection. Reddit is an agent skill from redf0x1/camofox-browser. Reddit automation with CamoFox CLI — login, browse, post, comment, reply with anti-detection.

When should I use Reddit?

Reddit fits situations like: the user needs to automate Reddit interactions; post to subreddits; comment on threads; browse Reddit programmatically.

How do I install Reddit in Claude Code?

Run `npx skills add redf0x1/camofox-browser --skill reddit -a claude-code`. Or copy the skill folder (skills/reddit in redf0x1/camofox-browser) into .claude/skills/reddit in your project. Claude Code loads it when a task matches its description.

How do I install Reddit in Codex?

Run `npx skills add redf0x1/camofox-browser --skill reddit -a codex`. Or copy the skill folder (skills/reddit in redf0x1/camofox-browser) into .agents/skills/reddit in your project. Codex loads it when a task matches its description.

Can I use Reddit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add redf0x1/camofox-browser --skill reddit -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, .gemini/skills/reddit, .github/skills/reddit and .opencode/skills/reddit in your project.

What does Reddit need to run?

Going by SKILL.md and its folder, Reddit needs the command-line tools its instructions call (npm). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Bash(camofox:*).

Does Reddit access the network?

SKILL.md names 2 domains. As links in the text: reddit.com and old.reddit.com. This is read from the text; nothing was executed.

Is Reddit safe to install?

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.

What licence does Reddit use?

Reddit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Reddit use?

About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 491 tokens, read only when the agent opens those files.

What are the alternatives to Reddit?

Skills that share tags, products or a category with Reddit: Reddit Browser Automation (MassLab-SII/open-agent-skills, 133 stars), Reddit JSON Fetcher (ykdojo/claude-code-tips, 10k stars), bb-browser Site Commands for OpenClaw (epiral/bb-browser, 6.2k stars) and Reddit Comment Automation (rokpiy/auto-commenter, 585 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Reddit?

redf0x1 (a GitHub user) maintains it in redf0x1/camofox-browser, which has 411 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 22, 2026.

Source: redf0x1/camofox-browser on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.