camofox-browser copilot-instructions.md

camofox-browser copilot-instructions.md is an instructions file for GitHub Copilot from redf0x1/camofox-browser. It costs 1,198 tokens per session, scanned A, original, MIT.

Project instructions for using CamoFox Browser, a browser-automation server that lets AI agents open pages, inspect them, and interact with visible elements.

In plain words
What is it for?
Opening tabs, navigating pages, inspecting page structure, clicking and filling forms, managing sessions, and running CamoFox CLI commands.
Why use it?
It gives the agent a consistent snapshot-first workflow, so actions use current page information instead of fragile selectors or outdated references.

Instructions file for GitHub Copilot

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 instructions/redf0x1/camofox-browser/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/redf0x1/camofox-browser

Made for: GitHub Copilot.

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 camofox-browser copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/redf0x1/camofox-browser/copilot-instructions.svg)](https://agentmods.dev/instructions/redf0x1/camofox-browser/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/redf0x1/camofox-browser/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/redf0x1/camofox-browser/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,198 This file is loaded in full into every session.
When invoked 1,198 The same file — it is already loaded in full.
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.01198 $0.01198
Opus 5 $0.00599 $0.00599
Sonnet 5 $0.00240 $0.00240
Haiku 4.5 $0.00120 $0.00120

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

Security

Grade A, and why

camofox-browser copilot-instructions.md 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 5d 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.

.github/copilot-instructions.md · 93 lines

How it starts

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

CamoFox Browser — GitHub Copilot Instructions

What CamoFox Is

CamoFox Browser is an anti-detection browser automation server for AI agents. It wraps Camoufox (a Firefox fork with engine-level fingerprint spoofing) behind a TypeScript Express REST API and a camofox CLI. It is designed for agent workflows where deterministic element interaction, persistent user profiles, and structured output matter more than raw browser scripting.

Core Workflow (Snapshot-First)

  1. Create/open a tab (open or POST /tabs)
  2. Capture snapshot (snapshot or GET /tabs/:tabId/snapshot)
  3. Choose refs from snapshot (e1, e2, ...)
  4. Interact (click, type, fill, press, scroll, etc.)
  5. Re-snapshot after major DOM changes/navigation
  6. Repeat until done, then close tab/session

Always prefer ref-driven interaction over brittle selectors.

Most-Used CLI Commands

# Lifecycle / navigation
camofox open <url> [--user <id>] [--viewport 1280x720] [--geo <preset>]
camofox navigate <url> [tabId] [--user <id>]
camofox go-back [tabId] [--user <id>]
camofox go-forward [tabId] [--user <id>]
camofox close [tabId] [--user <id>]

# Snapshot + inspection
camofox snapshot [tabId] [--user <id>]
camofox screenshot [tabId] [--output file] [--full-page]
camofox annotate [tabId] [--output file]
camofox get-url [tabId] [--user <id>]
camofox get-text [tabId] [--selector <css>] [--user <id>]
camofox get-links [tabId] [--user <id>]
camofox get-tabs [--user <id>]

# Interaction
camofox click <ref> [tabId] [--user <id>]
camofox type <ref> <text> [tabId] [--user <id>]
camofox fill '[e1]="user" [e2]="pass"' [tabId] [--user <id>]
camofox press <key> [tabId] [--user <id>]
camofox scroll [down|up|left|right] [tabId] [--amount 500]
camofox select <ref> <value> [tabId]
camofox hover <ref> [tabId]
camofox drag <fromRef> <toRef> [tabId]

# Utility
camofox wait <condition> [tabId] [--timeout 10000]
camofox eval "document.title" [tabId]
camofox search "query" [tabId] --engine google
camofox run <script-file> [--continue-on-error]

# Session / auth / server
camofox session save <name> [tabId]
camofox session load <name> [tabId]
camofox auth save <profile>
camofox auth load <profile> --inject --username-ref eX --password-ref eY
camofox server status

Read the full file on GitHub · 93 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. 5d ago First seen · 93 lines · 1,198 tokens per session scan A e4d56402b2df

Subscribe to this mod's changes

camofox-browser copilot-instructions.md is an instructions file published in the GitHub repository redf0x1/camofox-browser (382 stars, last pushed 23d ago), licensed MIT. It adds 1,198 tokens to every session, about $0.0060 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.