browser_scripts

browser_scripts is a skill for Claude Code, Codex from tubecreate/tubecli. It costs 0 tokens per session (1,043 once invoked), scanned A, original, MIT.

A visual editor and manager for browser-automation scripts. Browser automation means directing a web browser to visit pages, click controls, enter text, and collect information.

In plain words
What is it for?
Use it to navigate websites, click and fill forms, wait for page changes, extract text, take screenshots, download files, branch on conditions, repeat steps, and press keys.
Why use it?
It turns multi-step browser tasks into reusable scripts and lets you inspect execution history and live logs.

Skill for Claude CodeCodex

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/tubecreate/tubecli/browser_scripts
Any agent
npx skills add tubecreate/tubecli --skill browser_scripts
Clone the repo
git clone --depth 1 https://github.com/tubecreate/tubecli

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_scripts

README.md
[![agentmods](https://agentmods.dev/badge/skills/tubecreate/tubecli/browser_scripts.svg)](https://agentmods.dev/skills/tubecreate/tubecli/browser_scripts)
Your own site
<a href="https://agentmods.dev/skills/tubecreate/tubecli/browser_scripts"><img src="https://agentmods.dev/badge/skills/tubecreate/tubecli/browser_scripts.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,043 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.00000 $0.01043
Opus 5 $0.00000 $0.00522
Sonnet 5 $0.00000 $0.00209
Haiku 4.5 $0.00000 $0.00104

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

Security

Grade A, and why

browser_scripts 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 12 executable files (__init__.py, db/__init__.py, db/database.py, …), 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.

tubecli/extensions/browser_scripts/SKILL.md · 118 lines

How it starts

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

Script Studio

Visual browser automation script editor & manager for TubeCLI.

Features

  • Create and manage browser automation scripts
  • Visual step editor with drag-drop reordering
  • Element picker with live browser preview
  • Variable interpolation ({{variable_name}})
  • Functions — reusable scripts callable from other scripts
  • Execution history and real-time logging
  • Import/Export scripts as JSON

Storage

Scripts are stored as individual JSON files in scripts/ directory. Each file = one script.

Step Types

  • navigate: Go to a URL
  • click: Click an element by CSS selector
  • type: Enter text into an input field
  • wait: Wait for element to appear
  • wait_hidden: Wait for element to disappear
  • sleep: Pause for N milliseconds
  • evaluate: Run JavaScript code in page context
  • extract: Get text/attribute from element, save to variable
  • screenshot: Capture page screenshot
  • download: Wait for and save downloads
  • condition: If/else branching
  • loop: Repeat steps N times
  • keyboard: Press keyboard keys (Enter, Tab, etc.)
  • scroll: Scroll page up/down
  • hover: Hover over element
  • mouse_move: Move mouse to coordinates
  • ai_generate: Use AI to generate text, save to variable
  • call_function: Call a reusable function (see below)

Functions

Functions are scripts marked with is_function: true. They define inputs and outputs, and can be called from any script via the call_function step.

Available Functions

gmail_login_with_2fa — Google/Gmail Login

Đăng nhập Google/Gmail với email, password và tự xử lý 2FA.

Inputs:

Name Type Required Description
email string Gmail/Google email
password string Account password
totp_secret string TOTP 2FA secret (base32)

Outputs:

Name Type Description
login_status string "success" or "failed"

Read the full file on GitHub · 118 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 · 118 lines · 0 tokens per session scan A 7f28a6d46522

Subscribe to this mod's changes

browser_scripts is a skill published in the GitHub repository tubecreate/tubecli (167 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,043 tokens. 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.