automation-browser-api-workflows

automation-browser-api-workflows is a skill for Claude Code, Codex from davidtoby/agent-skills. It costs 82 tokens per session (438 once invoked), scanned A, original, MIT.

A general workflow for automating websites, desktop applications, interactive command-line programs, cameras, and tool servers. It covers both browser interactions and replacing fragile screen-based steps with direct APIs when possible.

In plain words
What is it for?
Use it to automate browser tasks, inspect website network requests, learn private APIs, control macOS interfaces, operate interactive terminals, or call MCP tools.
Why use it?
It makes repeated automation more reliable by identifying the underlying interface and verifying each action’s result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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 skills/davidtoby/agent-skills/automation-browser-api-workflows
Any agent
npx skills add davidtoby/agent-skills --skill automation-browser-api-workflows
Clone the repo
git clone --depth 1 https://github.com/davidtoby/agent-skills

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 automation-browser-api-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidtoby/agent-skills/automation-browser-api-workflows.svg)](https://agentmods.dev/skills/davidtoby/agent-skills/automation-browser-api-workflows)
Your own site
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/automation-browser-api-workflows"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/automation-browser-api-workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.1 $0.00082 $0.00438
Opus 5 $0.00041 $0.00219
Sonnet 5 $0.00016 $0.00088
Haiku 4.5 $0.00008 $0.00044

Measured 2d ago against content hash 43d87098c0d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

automation-browser-api-workflows 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 2d 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.

Record traffic, identify auth/session headers, replay with curl, minimize payloads, and document stable endpoints plus failure codes.
skills/curated/automation-browser-api-workflows/SKILL.md · 47 lines

What it actually says

Automation, Browser, and API Workflows

Use this umbrella when the task is to operate an external interface repeatedly or replace brittle UI actions with a more reliable API/tool path.

Core workflow

  1. Identify the interface: browser page, native macOS UI, interactive terminal app, MCP server, RTSP/ONVIF camera, or HTTP API.
  2. Prefer structured APIs/CLIs over visual clicking when available.
  3. If starting from browser automation, capture state, network traffic, and request/response shapes so the workflow can be converted to direct calls.
  4. Keep credentials out of logs and references; store only redacted examples.
  5. Build deterministic probes/scripts for repeated actions and verify outputs after each side effect.

Labeled playbooks

Browser automation

Use snapshots/selectors/click/type flows for one-off navigation. For repeated work, graduate to direct HTTP or a specialized CLI.

API learner

Record traffic, identify auth/session headers, replay with curl, minimize payloads, and document stable endpoints plus failure codes.

macOS UI automation

Use screenshot/element capture tools for apps that lack APIs. Verify focus and target window before sending keystrokes.

tmux and interactive CLI control

For long-lived or REPL-like tools, send keystrokes and scrape panes instead of running non-PTY commands that will hang.

MCP tool calling

List servers/tools, inspect schemas, then call with JSON arguments. Generate typed wrappers only after schemas are stable.

Camera capture

Probe stream URLs and capture short frames/clips with ffmpeg-compatible tools; avoid assuming camera availability.

Reference files

Exact CLI commands and session-specific endpoint notes are stored in references/from-*.md.

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. 2d ago First seen · 47 lines · 82 tokens per session scan A 43d87098c0d5

Subscribe to this mod's changes

automation-browser-api-workflows is a skill published in the GitHub repository davidtoby/agent-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 82 tokens to every session and 438 once invoked, about $0.0004 per session on Opus 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-09-03.

Related

Other skills, from other repositories

web-skills-protocol

Auto-discover and use Web Skills Protocol (WSP) skills when interacting with websites. Use this skill whenever the user asks you to interact with, use, or perform actions on a website or web service — such as searching a site, placing an order, deploying an app, or calling a web API. Before scraping HTML or guessing…

0xtresser/Web-Skills-Protocol · 141 tokens

dingtalk_channel_connect

Use a headed browser to automatically complete DingTalk channel integration for QwenPaw. Applicable when the user mentions DingTalk, developer console, Client ID, Client Secret, bot, Stream mode, binding or configuring a channel. Supports pausing when a login page is detected and resuming after the user logs in.

agentscope-ai/QwenPaw · 69 tokens

browser_cdp

Use this skill when the user explicitly wants to connect to a running Chrome browser, scan local CDP ports, specify a cdpport, or share a single browser across multiple agents/tools. By default browser opens no debugging port; pass an explicit cdpport only when the user wants another local tool to attach.

agentscope-ai/QwenPaw · 70 tokens

browser_cdp

当用户明确希望连接到已运行的 Chrome 浏览器、扫描本地 CDP 端口、显式指定 cdpport,或让多个 agent / 工具共享同一个浏览器时,使用本 skill。browser 默认不开放调试端口;仅当用户明确希望其他本地工具附加时才显式传入 cdpport。.

agentscope-ai/QwenPaw · 85 tokens

browser_visible

当用户需要控制 browser 的浏览器启动方式时,使用本 skill。browser 默认由 Playwright 直接管理、不开放调试端口(需让其他本地工具附加时显式传 cdpport);headed 控制是否显示窗口,privatemode 保留用于兼容、不再改变默认行为,browserargs 传入额外的 Chromium 启动参数,executablepath 指定自定义浏览器可执行文件路径。.

agentscope-ai/QwenPaw · 108 tokens

browser_visible

Use this skill when the user needs to control the browser launch mode for browser. By default browser is managed by Playwright and opens no debugging port (pass an explicit cdpport to let another local tool attach); headed controls whether the window is visible, and privatemode is kept for backward compatibility and…

agentscope-ai/QwenPaw · 75 tokens