--- name: camofox-cli description: 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. allowed-tools: Bash(camofox:*) --- ## 1. Overview This skill documents the full verified CamoFox CLI surface (50 commands), grouped by category. - Use `--format json` for machine-readable output - Most commands auto-resolve the active tab when `[tabId]` is omitted - Keep `--user ` stable across a workflow for consistent session state ## 2. Core Commands (5) ```bash camofox open [--user ] [--viewport ] [--geo ] camofox close [tabId] [--user ] camofox snapshot [tabId] [--user ] camofox click [tabId] [--user ] camofox type [tabId] [--user ] ``` ## 3. Navigation Commands (4) ```bash camofox navigate [tabId] [--user ] camofox screenshot [tabId] [--path ] [--output ] [--full-page] [--user ] camofox go-back [tabId] [--user ] camofox go-forward [tabId] [--user ] ``` ## 4. Content Commands (7) ```bash camofox get-text [tabId] [--selector ] [--user ] camofox get-url [tabId] [--user ] camofox get-links [tabId] [--user ] camofox get-tabs [--user ] camofox eval [tabId] [--user ] camofox wait [tabId] [--timeout ] [--user ] camofox search [tabId] [--engine ] [--user ] ``` Search engines: `google`, `youtube`, `amazon`, `bing`, `reddit`, `duckduckgo`, `github`, `stackoverflow`. ## 5. Interaction Commands (6) ```bash camofox fill '' [tabId] [--user ] camofox scroll [direction] [tabId] [--amount ] [--user ] camofox select [tabId] [--user ] camofox hover [tabId] [--user ] camofox press [tabId] [--user ] camofox drag [tabId] [--user ] ``` Assignment format for `fill`: ```text [e1]="value1" [e2]="value2" ``` ## 6. Console & Error Capture (2) ```bash camofox console [tabId] [--user ] [--type ] [--limit ] [--clear] camofox errors [tabId] [--user ] [--limit ] [--clear] ``` ## 7. Tracing Commands (5) ```bash camofox trace start [--user ] [--screenshots] [--snapshots] camofox trace stop [--user ] [--output ] camofox trace chunk-start [--user ] camofox trace chunk-stop [--user ] [--output ] camofox trace status [--user ] ``` ## 8. Session Commands (4) ```bash camofox session save [tabId] [--user ] camofox session load [tabId] [--user ] camofox session list [--format ] camofox session delete [--force] ``` ## 9. Download/Cookie Commands (4) ```bash camofox cookie export [tabId] [--path ] [--user ] camofox cookie import [tabId] [--user ] camofox download [url] [--path ] [--user ] camofox downloads [--user ] [--format ] ``` ## 10. Auth Commands (5) ```bash camofox auth save [--url ] [--notes ] camofox auth load [--inject [tabId]] [--username-ref ] [--password-ref ] [--user ] camofox auth list [--format ] camofox auth delete camofox auth change-password ``` ## 11. Server Commands (3) ```bash camofox server start [--port ] [--background] [--idle-timeout ] camofox server stop camofox server status [--format ] ``` ## 12. Advanced Commands (4) ```bash camofox annotate [tabId] [--user ] [--output ] [--format ] camofox health [--format ] camofox version [--format ] camofox info [--format ] ``` ## 13. Pipeline Command (1) ```bash camofox run [--continue-on-error] ``` `run` executes sequential CLI command scripts (file path or `-` for stdin). It does not execute JavaScript/TypeScript source files. ## 14. Global Options ```bash --user --port --format # json|text|plain --local # reserved for v2 -V, --version -h, --help ``` ## 15. Full Command Index (50) 1. `open` 2. `close` 3. `snapshot` 4. `click` 5. `type` 6. `navigate` 7. `screenshot` 8. `go-back` 9. `go-forward` 10. `get-text` 11. `get-url` 12. `get-links` 13. `get-tabs` 14. `eval` 15. `wait` 16. `search` 17. `fill` 18. `scroll` 19. `select` 20. `hover` 21. `press` 22. `drag` 23. `console` 24. `errors` 25. `trace start` 26. `trace stop` 27. `trace chunk-start` 28. `trace chunk-stop` 29. `trace status` 30. `session save` 31. `session load` 32. `session list` 33. `session delete` 34. `cookie export` 35. `cookie import` 36. `download` 37. `downloads` 38. `auth save` 39. `auth load` 40. `auth list` 41. `auth delete` 42. `auth change-password` 43. `server start` 44. `server stop` 45. `server status` 46. `annotate` 47. `health` 48. `version` 49. `info` 50. `run`