surf

surf is a skill for Claude Code, Codex from nicobailon/surf-cli. It costs 60 tokens per session (9,955 once invoked), scanned A, original, MIT.

A command-line tool for controlling Chrome, including inspecting pages and interacting with websites.

In plain words
What is it for?
Use it to automate browser tests, fill in forms, inspect pages, capture screenshots, stream developer tools, or ask AI services questions.
Why use it?
It removes the need to perform browser testing and debugging actions manually, while also supporting screenshots and simulated network or CPU conditions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to automate browser tests, fill in forms, inspect pages, capture screenshots, stream developer tools, or ask AI services questions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nicobailon/surf-cli/surf
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.

Any agent
npx skills add nicobailon/surf-cli --skill surf
Clone the repo
git clone --depth 1 https://github.com/nicobailon/surf-cli

Made for: Claude Code, Codex.

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 surf

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicobailon/surf-cli/surf/github.svg)](https://agentmods.dev/skills/nicobailon/surf-cli/surf)
Your own site
<a href="https://agentmods.dev/skills/nicobailon/surf-cli/surf"><img src="https://agentmods.dev/badge/skills/nicobailon/surf-cli/surf/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for surf

Your own site · 80×15
<a href="https://agentmods.dev/skills/nicobailon/surf-cli/surf"><img src="https://agentmods.dev/badge/skills/nicobailon/surf-cli/surf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,955 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 25
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Excessive Agency · line 94
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • high Excessive Agency · line 143
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • high Excessive Agency · line 179
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • high Excessive Agency · line 190
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • high YARA Match · line 287
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
How audits are shown
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.1 $0.00060 $0.09955
Opus 5.5 $0.00024 $0.03982
Sonnet 5.5 $0.00012 $0.01991
Haiku 4.5 $0.00006 $0.00996

Measured 11d ago against content hash 3e395aadbf90, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

surf scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

surf network.curl --id "req-123" # Generate curl command
skills/surf/SKILL.md · 874 lines

How it starts

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

Surf Browser Automation

Control Chrome browser via CLI or Unix socket.

Ordinary socket-backed CLI commands report top-level host tool-response errors on stderr with a supplied [code] on the first line and exit 1. --json additionally writes {error:{code,message,details?}} on stdout (missing code becomes "error"). --soft-fail instead keeps the original stderr warning, empty stdout and exit 0, even with --json. This does not cover local validation, transport/parser failures or compound-command errors: do not assume every failure produces JSON. Connection failures remain stderr-only and exit 1, including with --soft-fail.

Native Host / Socket Notes

For WSL2 with Windows Chrome, run surf install <extension-id> inside WSL2. Surf detects WSL2 and writes the Windows-side native messaging manifest plus a wrapper that launches the WSL host. Use surf install <extension-id> --target linux only for Linux browsers running inside WSLg.

On macOS, Chrome reads the native messaging manifest at ~/Library/Application Support/Google/Chrome/NativeMessagingHosts/surf.browser.host.json. If native messaging fails, confirm that file exists, its allowed_origins extension ID matches chrome://extensions, then rerun surf install <extension-id>, restart Chrome, and reload the extension. Open Surf's service-worker console from chrome://extensions; in Details > Extension options, enable Debug Mode, reproduce the failure, then disable it when finished.

If a command reports Socket connect failed, run surf doctor first, then check the Attempted socket: line. Default sockets are /tmp/surf.sock on macOS/Linux/WSL2 and //./pipe/surf on Windows. If SURF_SOCKET is set, the browser-launched host and the shell running surf must use the same value.

For opt-in POSIX group sharing, install with surf install <extension-id> --socket-mode 660 --socket-group <group>. The default remains 0600; mode 660 grants every member of that group full Surf authority, so use a dedicated narrow group. Re-run surf install without those flags to clear the wrapper settings. Remote Surf credentials remain the revocable per-client alternative.

Read the full file on GitHub · 874 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. 11d ago Changed · +8 lines 3e395aadbf90
  2. 12d ago Changed · +9 lines da5cffbf7a77
  3. 18d ago Changed · +3 lines 9bdcad72522d
  4. 20d ago Changed · +6 lines 540c0d52a329
  5. 25d ago Changed · +3 lines b790b92a9839
  6. 26d ago Changed · +48 lines 345aafbc16d0
  7. 27d ago Changed · +26 lines fba7b70e2580
  8. 28d ago Changed e5e4f1b1833e
  9. 1mo ago Changed · +18 lines bc44d3785665
  10. 1mo ago First seen · 753 lines · 60 tokens per session scan A 7c5f14d4a585

Subscribe to this mod's changes

surf is a skill published in the GitHub repository nicobailon/surf-cli (638 stars, last pushed 6d ago), licensed MIT. It adds 60 tokens to every session and 9,955 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

opencli-autofix

Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.

jackwener/OpenCLI · 61 tokens

acrawl-mcp

Drive the acrawl MCP server for browser automation, web scraping, and live DevTools inspection — navigating pages, clicking, filling forms, extracting structured data, and auditing network traffic, console errors, cookies, storage, performance, accessibility, and code coverage. Use this whenever a task touches acrawl…

Mingye-Lu/AgenticCrawler · 200 tokens

debug-failed-action

When your last vsact returned an unexpected result (NOTFOUND, no visible state change, suspected silent failure), run this skill with the action's pre-token. Pulls console errors, network failures, and current performance into one report.

frane/vibesurfer · 54 tokens

core

Core chrome-use usage guide. Read this before running any chrome-use commands. Covers the snapshot-and-ref workflow, navigating pages, interacting with elements (click, fill, type, select), extracting text and data, taking screenshots, managing tabs, handling forms and auth, waiting for content, running multiple…

leeguooooo/chrome-use · 112 tokens

slack

Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include "check my Slack", "what channels have unreads", "send a message to", "search Slack…

leeguooooo/chrome-use · 88 tokens

electron

Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using chrome-use via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include…

leeguooooo/chrome-use · 112 tokens