camoufox-cli▌
bin-huang/camoufox-cli · updated Jun 10, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
camoufox-cli is built on Camoufox (anti-detect Firefox) with C++-level fingerprint spoofing:
Anti-Detect Browser Automation with camoufox-cli
What Makes This Different
camoufox-cli is built on Camoufox (anti-detect Firefox) with C++-level fingerprint spoofing:
navigator.webdriver=false- Real browser plugins, randomized canvas/WebGL/audio fingerprints
- Real Firefox UA string -- passes bot detection on sites that block Chromium automation
Use camoufox-cli instead of agent-browser when the target site has bot detection.
Core Workflow
Every browser automation follows this pattern:
- Navigate:
camoufox-cli open <url> - Snapshot:
camoufox-cli snapshot -i(get element refs like@e1,@e2) - Interact: Use refs to click, fill, select
- Re-snapshot: After navigation or DOM changes, get fresh refs
- Close:
camoufox-cli close(close the browser when the entire task is fully complete; keep it open if the user may have follow-up instructions)
camoufox-cli open https://example.com/form
camoufox-cli snapshot -i
# Output: - textbox "Email" [ref=e1]
# - textbox "Password" [ref=e2]
# - button "Submit" [ref=e3]
camoufox-cli fill @e1 "[email protected]"
camoufox-cli fill @e2 "password123"
camoufox-cli click @e3
camoufox-cli snapshot -i # Check result
Command Chaining
Commands can be chained with && in a single shell invocation. The browser persists between commands via a background daemon, so chaining is safe and more efficient than separate calls.
# Chain open + snapshot in one call
camoufox-cli open https://example.com && camoufox-cli snapshot -i
# Chain multiple interactions
camoufox-cli fill @e1 "[email protected]" && camoufox-cli fill @e2 "password123" && camoufox-cli click @e3
# Navigate and capture
camoufox-cli open https://example.com && camoufox-cli screenshot page.png
When to chain: Use && when you don't need to read the output of an intermediate command before proceeding (e.g., open + screenshot). Run commands separately when you need to parse the output first (e.g., snapshot to discover refs, then interact using those refs).
Essential Commands
# Navigation
camoufox-cli open <url> # Navigate to URL (starts daemon if needed)
camoufox-cli back # Go back
camoufox-cli forward # Go forward
camoufox-cli reload # Reload page
camoufox-cli url # Print current URL
camoufox-cli title # Print page title
camoufox-cli close # Close browser and stop daemon
camoufox-cli close --all # Close all sessions
# Snapshot
camoufox-cli snapshot # Full aria tree of page
camoufox-cli snapshot -i # Interactive elements only (recommended)
camoufox-cli snapshot -s "#selector" # Scope to CSS selector
# Interaction (use @refs from snapshot)
camoufox-cli click @e1 # Click element
camoufox-cli fill @e1 "text" # Clear + type into input
camoufox-cli type @e1 "text" # Type without clearing (append)
camoufox-cli select @e1 "option" # Select dropdown option
camoufox-cli check @e1 # Toggle checkbox
camoufox-cli hover @e1 # Hover over element
camoufox-cli press Enter # Press keyboard key
camoufox-cli press "Control+a" # Key combination
# Data Extraction
camoufox-cli text @e1 # Get text content of element
camoufox-cli text body # Get all page text (CSS selector)
camoufox-cli eval "document.title" # Execute JavaScript
# Capture
camoufox-cli screenshot # Screenshot as JSON {"base64": "..."}
camoufox-cli screenshot page.png # Screenshot to file
camoufox-cli screenshot --full p.png # Full page screenshot
camoufox-cli pdf output.pdf # Save page as PDF
# Scroll & Wait
camoufox-cli scroll down # Scroll down 500px
camoufox-cli scroll up # Scroll up 500px
camoufox-cli scroll down 1000 # Scroll down 1000px
camoufox-cli wait @e1 # Wait for element to appear
camoufox-cli wait 2000 # Wait milliseconds
camoufox-cli wait --url "*/dashboard" # Wait for URL pattern
# Tabs
camoufox-cli tabs # List open tabs
camoufox-cli switch 2 # Switch to tab by index
camoufox-cli close-tab # Close current tab
# Cookies & State
camoufox-cli cookies # Dump cookies as JSON
camoufox-cli cookies import file.json # Import cookies
camoufox-cli cookies export file.json # Export cookies
# Sessions
camoufox-cli sessions # List active sessions
camoufox-cli --session work open <url> # Use named session
camoufox-cli close --all # Close all sessions
# Setup
camoufox-cli install # Download Camoufox browser
camoufox-cli install --with-deps # Download browser + system libs (Linux)
Common Patterns
Form Submission
camoufox-cli open https://example.com/signup
camoufox-cli snapshot -i
camoufox-cli fill @e1 "Jane Doe"
camoufox-cli fill @e2 "[email protected]"
camoufox-cli select @e3 "California"
camoufox-cli check @e4
camoufox-cli click @e5
camoufox-cli snapshot -i # Verify submission result
Data Extraction
camoufox-cli open https://example.com/products
camoufox-cli snapshot -i
camoufox-cli text @e5 # Get specific element text
camoufox-cli eval "document.title" # Get page title via JS
camoufox-cli screenshot results.png # Visual capture
Cookie Management (Persist Login)
# Login and export cookies
camoufox-cli open https://app.example.com/login
camoufox-cli snapshot -i
camoufox-cli fill @e1 "user"
camoufox-cli fill @e2 "pass"
camoufox-cli click @e3
camoufox-cli cookies export auth.json
# Restore in future session
camoufox-cli open https://app.example.com
camoufox-cli cookies import auth.json
camoufox-cli reload
Multiple Tabs
camoufox-cli open https://site-a.com
camoufox-cli eval "window.open('https://site-b.com')"
camoufox-cli tabs # List tabs
camoufox-cli switch 1 # Switch to second tab
camoufox-cli snapshot -i
Parallel Sessions
camoufox-cli --session s1 open https://site-a.com
camoufox-cli --session s2 open https://site-b.com
camoufox-cli sessions # List both
camoufox-cli --session s1 snapshot -i
camoufox-cli --session s2 snapshot -i
Visual Browser (Debugging)
camoufox-cli --headed open https://example.com
camoufox-cli snapshot -i
camoufox-cli screenshot debug.png
Session Management and Cleanup
When running multiple agents or automations concurrently, always use named sessions to avoid conflicts:
camoufox-cli --session agent1 open https://site-a.com
camoufox-cli --session agent2 open https://site-b.com
camoufox-cli sessions # Check active sessions
Always close your browser session when done to avoid leaked processes:
camoufox-cli close # Close default session
camoufox-cli --session agent1 close # Close specific session
camoufox-cli close --all # Close all sessions
If a previous session was not closed properly, the daemon may still be running. Use camoufox-cli close to clean it up before starting new work.
Timeouts and Slow Pages
Some pages take time to fully load, especially those with dynamic content or heavy JavaScript. Use explicit waits before taking a snapshot:
# Wait for a specific element to appear
camoufox-cli wait @e1
camoufox-cli snapshot -i
# Wait for a URL pattern (useful after redirects)
camoufox-cli wait --url "*/dashboard"
camoufox-cli snapshot -i
# Wait a fixed duration as a last resort
camoufox-cli wait 3000
camoufox-cli snapshot -i
When dealing with slow pages, always wait before snapshotting. If you snapshot too early, elements may be missing from the output.
Ref Lifecycle (Important)
Refs (@e1, @e2, etc.) are temporary identifiers assigned by sequential numbering during each snapshot. They are invalidated when the page changes.
Always re-snapshot after:
- Clicking links or buttons that navigate
- Form submissions
- Dynamic content loading (dropdowns, modals, lazy-loaded content)
- Scrolling that triggers new content
# CORRECT: re-snapshot after navigation
camoufox-cli click @e5 # Navigates to new page
camoufox-cli snapshot -i # MUST re-snapshot
camoufox-cli click @e1 # Use new refs
# CORRECT: re-snapshot after dynamic changes
camoufox-cli click @e1 # Opens dropdown
camoufox-cli snapshot -i # See dropdown items
camoufox-cli click @e7 # Select item
# WRONG: using refs without snapshot
camoufox-cli open https://example.com
camoufox-cli click @e1 # Ref doesn't exist yet!
# WRONG: using old refs after navigation
camoufox-cli click @e5 # Navigates away
camoufox-cli click @e3 # STALE REF - wrong element!
Always take a fresh snapshot before interacting with elements after navigation or page changes.
Troubleshooting
"Ref @eN not found"
The ref was invalidated. Re-snapshot to get fresh refs:
camoufox-cli snapshot -i
Element Not Visible in Snapshot
# Scroll down to reveal element
camoufox-cli scroll down 1000
camoufox-cli snapshot -i
# Or wait for dynamic content
camoufox-cli wait 2000
camoufox-cli snapshot -i
Too Many Elements in Snapshot
# Scope to a specific container
camoufox-cli snapshot -s "#main-content"
camoufox-cli snapshot -i -s "form.login"
How to use camoufox-cli on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add camoufox-cli
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches camoufox-cli from GitHub repository bin-huang/camoufox-cli and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate camoufox-cli. Access the skill through slash commands (e.g., /camoufox-cli) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.7★★★★★47 reviews- ★★★★★Aarav Huang· Dec 20, 2024
camoufox-cli fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Naina Brown· Dec 8, 2024
We added camoufox-cli from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Pratham Ware· Dec 4, 2024
camoufox-cli has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Naina Khanna· Nov 27, 2024
camoufox-cli fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Aanya Bhatia· Nov 11, 2024
We added camoufox-cli from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Aanya Gill· Oct 18, 2024
Registry listing for camoufox-cli matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Meera Sharma· Oct 2, 2024
Solid pick for teams standardizing on skills: camoufox-cli is focused, and the summary matches what you get after install.
- ★★★★★Yash Thakker· Sep 25, 2024
Solid pick for teams standardizing on skills: camoufox-cli is focused, and the summary matches what you get after install.
- ★★★★★Daniel Ramirez· Sep 25, 2024
Useful defaults in camoufox-cli — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Jin Singh· Sep 9, 2024
camoufox-cli is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 47