010-cli-commands

010-cli-commands is a cursor rule for Cursor from redf0x1/camofox-browser. It costs 15 tokens per session (1,209 once invoked), scanned A, original, MIT.

A reference for the Camofox command-line tool, which lets you control browser tabs from a terminal. It lists commands for opening pages, navigating, clicking, typing, taking screenshots, and inspecting page content.

In plain words
What is it for?
Use it when writing scripts or manually controlling Camofox from a terminal, including browser navigation, page interaction, screenshots, and content inspection.
Why use it?
It gives developers a source-verified list of available commands and options, so they do not have to guess the syntax or search through the code.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/redf0x1/camofox-browser/010-cli-commands
Clone the repo
git clone --depth 1 https://github.com/redf0x1/camofox-browser

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 010-cli-commands

README.md
[![agentmods](https://agentmods.dev/badge/rules/redf0x1/camofox-browser/010-cli-commands.svg)](https://agentmods.dev/rules/redf0x1/camofox-browser/010-cli-commands)
Your own site
<a href="https://agentmods.dev/rules/redf0x1/camofox-browser/010-cli-commands"><img src="https://agentmods.dev/badge/rules/redf0x1/camofox-browser/010-cli-commands.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,209 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00015 $0.01209
Opus 5 $0.00008 $0.00605
Sonnet 5 $0.00003 $0.00242
Haiku 4.5 $0.00002 $0.00121

Measured 4d ago against content hash 3bd34e65dd1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

010-cli-commands scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/010-cli-commands.mdc · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLI Command Reference (Source-Verified)

Global options:

--user <user>                    # default user id (overrides CAMOFOX_CLI_USER)
--port <port>                    # server port (overrides CAMOFOX_PORT)
--format <format>                # json|text|plain
--local                          # reserved for v2
-V, --version                    # CLI version
-h, --help                       # help

Core

camofox open <url> [--user <user>] [--viewport <WxH>] [--geo <preset>]              # create tab
camofox close [tabId] [--user <user>]                                                 # close tab
camofox snapshot [tabId] [--user <user>]                                              # accessibility snapshot
camofox click <ref> [tabId] [--user <user>]                                           # click element
camofox type <ref> <text> [tabId] [--user <user>]                                     # type text
camofox navigate <url> [tabId] [--user <user>]                                        # navigate tab
camofox screenshot [tabId] [--path <file>|--output <file>] [--full-page] [--user <user>]  # screenshot
camofox go-back [tabId] [--user <user>]                                               # history back
camofox go-forward [tabId] [--user <user>]                                            # history forward

Interaction

camofox fill <assignments> [tabId] [--user <user>]                                    # [e1]="x" [e2]="y"
camofox scroll [direction] [tabId] [--amount <N>] [--user <user>]                     # up|down|left|right
camofox select <ref> <value> [tabId] [--user <user>]                                  # select option
camofox hover <ref> [tabId] [--user <user>]                                           # hover
camofox press <key> [tabId] [--user <user>]                                           # key press
camofox drag <fromRef> <toRef> [tabId] [--user <user>]                                # drag/drop

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 101 lines · 15 tokens per session scan A 3bd34e65dd1d

Subscribe to this mod's changes

010-cli-commands is a cursor rule published in the GitHub repository redf0x1/camofox-browser (381 stars, last pushed 21d ago), licensed MIT. It adds 15 tokens to every session and 1,209 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.