browser-workflow-skill-builder

browser-workflow-skill-builder is a skill for Claude Code, Codex from openonion/connectonion. It costs 61 tokens per session (7,028 once invoked), scanned A, original, Apache-2.0.

A guide for building browser automation skills for logged-in websites such as LinkedIn, YouTube, Stripe, or X. It uses saved page context, page-code analysis, selectors, and screenshots to check that actions affect the intended item.

In plain words
What is it for?
Use it to read pages, select the correct record, prepare content, enter text, upload files, or submit and publish information through a browser.
Why use it?
It provides a repeatable way to automate changing web pages without putting website-specific code into the shared browser tool.

Skill for Claude CodeCodex

About the project

ConnectOnion is an open-source, template-first toolkit for building, debugging, deploying, and operating AI agents. Developers use its command-line tools and Python runtime to create agents, add tools, connect services, deploy them, and make them callable by other agents, while the catalogue entries are related agents, skills, and instructions.

openonion/connectonion · 1,481 stars · on GitHub

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/openonion/connectonion/browser-workflow-skill-builder
Any agent
npx skills add openonion/connectonion --skill browser-workflow-skill-builder
Clone the repo
git clone --depth 1 https://github.com/openonion/connectonion

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 browser-workflow-skill-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/openonion/connectonion/browser-workflow-skill-builder.svg)](https://agentmods.dev/skills/openonion/connectonion/browser-workflow-skill-builder)
Your own site
<a href="https://agentmods.dev/skills/openonion/connectonion/browser-workflow-skill-builder"><img src="https://agentmods.dev/badge/skills/openonion/connectonion/browser-workflow-skill-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,028 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.00061 $0.07028
Opus 5 $0.00030 $0.03514
Sonnet 5 $0.00012 $0.01406
Haiku 4.5 $0.00006 $0.00703

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

Security

Grade A, and why

browser-workflow-skill-builder 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/extract-items-template.js, scripts/verify-item-template.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

connectonion/useful_skills/browser-workflow-skill-builder/SKILL.md · 620 lines

How it starts

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

Browser Workflow Skill Builder

Create or improve browser automation skills for logged-in web apps. Use this when building skills that read a page, choose the correct item, generate or prepare content, click/type/upload, or submit/post/publish.

The core pattern is: save context -> analyze DOM/CSS -> write skill-local JS extraction -> verify same item by hash -> click/type with generic browser tools -> screenshot/context verify.

Designing the command surface of a co <thing> CLI and its SKILL.md, rather than a browser workflow on top of one? That is the sibling skill cli-skill-design.

Architecture Rule

Do not add site-specific Python to the core browser tool.

Use generic browser primitives — run each as co browser <function>, positional args in order, options as --flag=value:

co browser save_page_context <name>
co browser take_screenshot
co browser run_page_script <script_path> '<args_json>'
co browser run_frame_script <script_path> '<args_json>' --frame_url_contains=<substring> --frame_name=<name>
co browser click_element_by_selector <selector> --index=<n> --text='<visible text>'
co browser type_text_by_selector <selector> '<text>' --index=<n>
co browser click_element_near_selector <anchor_selector> <target_selector> --target_text='<text>' --container_selector=<selector>
co browser upload_file_by_selector <selector> <file_path> --frame_name=<name>
co browser upload_file_after_click_by_selector <click_selector> <file_path> --text='<button text>' --frame_name=<name>

Put site-specific selectors and DOM logic in the target skill:

.co/skills/<target-skill>/
  SKILL.md
  scripts/
    extract-<items>.js
    verify-<item>.js

run_page_script(...) runs JS in the main document of the current browser page, so it shares the same browser context, login cookies, current tab, and DOM state.

run_frame_script(...) runs the same page-function script across matching frames and returns per-frame results. Use it when elements.json shows the target element has a non-main frame, when the UI is rendered through iframe/frame-like surfaces, or when main-document selectors cannot see a visible modal/composer.

Read the full file on GitHub · 620 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 620 lines · 61 tokens per session scan A d6ef52e54e35

Subscribe to this mod's changes

browser-workflow-skill-builder is a skill published in the GitHub repository openonion/connectonion (1,481 stars, last pushed today), licensed Apache-2.0. It adds 61 tokens to every session and 7,028 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a…

Intelligent-Internet/ii-agent · 108 tokens

firecrawl

Search the web and scrape pages into clean markdown with the Firecrawl API — query-based discovery, single-URL extraction including public PDFs, driven by curl with a vault-stored API key.

Prism-Shadow/penguin-harness · 41 tokens

penguin-harness-manual-test

Use when standing PenguinHarness up to try a change by hand — launching the Web App, the desktop shell, the landing page or the docs site to click through it, screenshot it, or reproduce a report. Covers the four dev entry points and their ports, which data root each writes to, and the four ways a healthy setup looks…

Prism-Shadow/penguin-harness · 77 tokens

p5.js

Production pipeline for interactive and generative visual art using p5.js. Creates browser-based sketches, generative art, data visualizations, interactive experiences, 3D scenes, audio-reactive visuals, and motion graphics — exported as HTML, PNG, GIF, MP4, or SVG. Covers: 2D/3D rendering, noise and particle systems…

agentic-in/elephant-agent · 152 tokens

Web Read

Keeps direct URL reading and text extraction available when a specific page matters more than search results.

agentic-in/elephant-agent · 22 tokens

Web Search

Keeps lightweight public-web discovery available for prompts, scheduled jobs, and follow-up research.

agentic-in/elephant-agent · 21 tokens