Camoufox Cookie Injection: Browse Reddit as Yourself While Your Agent Does the Work

Regular browser automation hits a wall with Reddit — instant CAPTCHA, fingerprint detection, login blocks. One OpenClaw community member spent 3 hours debugging and finally cracked it.
What Doesn't Work
- Plain Playwright — Instant CAPTCHA wall
- document.cookie injection — httpOnly cookies can't be set from JavaScript
- Login through Camoufox — Reddit flags the login flow itself
The Solution
The trick: log in manually once in a real browser, extract cookies from Firefox's SQLite database, then inject them at the Playwright level (not JS level) using context.addCookies().
Step 1: Log in manually once via VNC into your VPS, Firefox, Reddit
Step 2: Extract cookies from cookies.sqlite in Firefox profile
Step 3: Patch Camoufox server to add a /cookies endpoint that calls session.context.addCookies()
Step 4: Navigate to reddit.com — fully logged in, no CAPTCHA, no bot detection
Why It Matters
- Reddit's API is increasingly locked down
- Regular automation gets blocked instantly
- Works for Reddit, Twitter, LinkedIn — anywhere you need a real session
- Your agent can browse and interact as you while you're AFK
The whole setup runs in Docker on a $10/month VPS.
Source: r/openclaw community
📖 Read the full source: r/openclaw
👀 See Also

DeepSeek-V4-Flash W4A16+FP8 with MTP Self-Speculation: 85 tok/s on 2x RTX PRO 6000 Max-Q
DeepSeek-V4-Flash quantized to W4A16+FP8 achieves 85.52 tok/s at 524k context on 2× RTX PRO 6000 Max-Q using a patched vLLM with retrofitted MTP head, up from 52.85 tok/s baseline.

OpenClaw Memory Plugin Testing Results and Recommended Stack
A Reddit user tested every OpenClaw memory plugin and found the default markdown setup causes token bloat and instruction compression. The recommended setup combines Obsidian for human-readable notes, QMD for token-free searching, and SQLite for structured data.

OpenClaw CLI Performance Triage Checklist
A Reddit user shares a six-step checklist to diagnose slow OpenClaw CLI commands, including commands to measure latency, monitor system resources, check gateway logs, and isolate configuration issues.

Structuring Claude Code Agents with CLAUDE.md and .claude/ Directory Patterns
A developer shares their approach to running multiple AI agents using Claude Code, with each agent having its own directory containing a CLAUDE.md file and a .claude/ directory with rules and skills. The key insight is separating always-on context from on-demand workflows to optimize token usage and response quality.