computer-use-and-browser-agents

computer-use-and-browser-agents is a skill for Claude Code, Codex from jnPiyush/AgentX. It costs 68 tokens per session (1,166 once invoked), scanned A, original, Apache-2.0.

Guidance for building agents that control web browsers or desktop applications through screenshots and actions. It covers browser automation, safety controls, isolated test environments, recovery from failures, and testing approaches.

In plain words
What is it for?
Use it for logged-in web workflows, multi-step forms, allowed web scraping, browser or desktop testing, internal automation, and web research agents.
Why use it?
It helps when an application has no usable API and an agent must interact with its visible interface. It also addresses risks such as exposed credentials, unsafe actions, and agents getting stuck.

Skill for Claude CodeCodex

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

Good fit Use it for logged-in web workflows, multi-step forms, allowed web scraping, browser or desktop testing, internal automation, and web research agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jnpiyush/agentx/computer-use-and-browser-agents
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 jnPiyush/AgentX --skill computer-use-and-browser-agents
Clone the repo
git clone --depth 1 https://github.com/jnPiyush/AgentX

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 computer-use-and-browser-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/jnpiyush/agentx/computer-use-and-browser-agents.svg)](https://agentmods.dev/skills/jnpiyush/agentx/computer-use-and-browser-agents)
Your own site
<a href="https://agentmods.dev/skills/jnpiyush/agentx/computer-use-and-browser-agents"><img src="https://agentmods.dev/badge/skills/jnpiyush/agentx/computer-use-and-browser-agents.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,166 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00068 $0.01166
Opus 5 $0.00034 $0.00583
Sonnet 5 $0.00014 $0.00233
Haiku 4.5 $0.00007 $0.00117

Measured 7d ago against content hash 4fabb6d6eb77, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

computer-use-and-browser-agents 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 7d 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/skills/ai-systems/computer-use-and-browser-agents/SKILL.md · 147 lines

How it starts

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

Computer Use and Browser Agents

Purpose: Drive a browser or desktop reliably from an LLM, without leaking credentials, taking unsafe actions, or stalling on unfamiliar UI.


When to Use This Skill

  • Automating workflows in apps that have no API
  • Web scraping behind login, multi-step forms, captchas (where allowed)
  • QA / test automation by LLM
  • Internal RPA replacements
  • Research agents that browse the open web

When NOT to Use

  • A stable API exists -> use it; computer-use is slow, costly, brittle
  • High-frequency / sub-second tasks -> too slow
  • Strict legal / ToS constraints on automation

Approach Spectrum

[Screenshot + LLM]         <----- visual grounding ----->        [DOM + LLM]
  Anthropic Computer Use                                            browser-use
  OpenAI CUA / Operator                                             Playwright + LLM
  Most desktop agents                                               Most web-only agents

Visual approach: works on any UI but expensive (vision tokens, latency). DOM approach: cheaper and more reliable on web; fails on canvas/PDF/video.

Hybrid is common: DOM where possible, screenshot fallback for non-DOM regions.


Tool Surface

Typical action set:

Action Args
screenshot (returns image)
click x, y or selector
type text
key key combo (Ctrl+L, Tab, Enter)
scroll direction, amount
navigate url
wait ms or until-condition
read_page (returns DOM-text or accessibility tree)

Anthropic Computer Use exposes computer, text_editor, bash. OpenAI CUA exposes computer. browser-use exposes a richer DOM-aware set.


Sandboxing (Required)

Never run computer-use against your own session, machine, or production browser profile.

Sandbox Use
E2B, Browserbase, Scrapybara, Hyperbrowser Managed sandboxed browsers/desktops
Docker container with Chrome + Xvfb Self-hosted, ephemeral
Dedicated VM Strongest isolation
Ephemeral browser profile Per-task, deleted after

Read the full file on GitHub · 147 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. 7d ago First seen · 147 lines · 68 tokens per session scan A 4fabb6d6eb77

Subscribe to this mod's changes

computer-use-and-browser-agents is a skill published in the GitHub repository jnPiyush/AgentX (15 stars, last pushed yesterday), licensed Apache-2.0. It adds 68 tokens to every session and 1,166 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

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens