chrome-automation

chrome-automation is a skill for Claude Code from aAAaqwq/AGI-Super-Team. It costs 34 tokens per session (2,931 once invoked), scanned A, original, MIT.

A browser-automation toolkit for controlling Chrome to visit pages, interact with forms, collect data, run tests, and create screenshots or PDFs.

In plain words
What is it for?
Use it for web scraping, form submission, page screenshots, PDF generation, performance checks, and end-to-end tests—tests that cover a complete user flow.
Why use it?
It removes repetitive manual browser work and supports testing flows that depend on a real web page and its user interface.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the agi-super-team plugin — 194 skills, 1 agent shipped together

Good fit Use it for web scraping, form submission, page screenshots, PDF generation, performance checks, and end-to-end tests—tests that cover a complete user flow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aaaaqwq/agi-super-team/chrome-automation
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 aAAaqwq/AGI-Super-Team --skill chrome-automation
Clone the repo
git clone --depth 1 https://github.com/aAAaqwq/AGI-Super-Team

Made for: Claude Code.

Or install agi-super-team, the plugin that ships this one along with the rest of its 194 skills, 1 agent.

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 chrome-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/chrome-automation/github.svg)](https://agentmods.dev/skills/aaaaqwq/agi-super-team/chrome-automation)
Your own site
<a href="https://agentmods.dev/skills/aaaaqwq/agi-super-team/chrome-automation"><img src="https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/chrome-automation/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 chrome-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaaaqwq/agi-super-team/chrome-automation"><img src="https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/chrome-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,931 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 pass 7 Sept 2026
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.00034 $0.02931
Opus 5 $0.00017 $0.01465
Sonnet 5 $0.00007 $0.00586
Haiku 4.5 $0.00003 $0.00293

Measured 6d ago against content hash 5c8ca8cd5809, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

chrome-automation 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 6d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

const { execSync } = require('child_process');
skills/chrome-automation/SKILL.md · 500 lines

How it starts

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

Chrome 浏览器自动化

功能说明

此技能专门用于 Chrome 浏览器自动化,包括:

  • 网页自动化操作
  • E2E 测试
  • 网页截图和 PDF 生成
  • 表单自动填充
  • 动态网页数据抓取
  • 性能测试和监控

⚠️ 资源清理原则(强制)

所有涉及浏览器的 cron 任务完成后,必须自动关闭 Chrome 进程!

# 任务结束时必须执行
pkill -f chrome
pkill -f chromium

或在 JavaScript/TypeScript 中:

// 显式关闭浏览器
await browser.close();

// 脚本结束时强制清理
const { execSync } = require('child_process');
execSync('pkill -f chrome');

原因: 避免内存泄漏和资源占用,防止 Gateway CPU 100% 过载

使用场景

  • "自动化登录网站并抓取数据"
  • "批量截取网页截图"
  • "自动化测试购物流程"
  • "监控网站性能指标"
  • "自动填写表单并提交"
  • "生成网页 PDF 报告"

技术栈

自动化工具

  • Puppeteer:Chrome DevTools Protocol
  • Playwright:跨浏览器自动化
  • Selenium:经典自动化框架
  • Cypress:现代 E2E 测试框架

辅助工具

  • puppeteer-extra:Puppeteer 插件系统
  • puppeteer-stealth:反检测插件
  • chrome-launcher:Chrome 启动器

核心功能

1. 页面导航

import puppeteer from 'puppeteer';

const browser = await puppeteer.launch({
  headless: false,  // 显示浏览器
  slowMo: 50        // 减慢操作速度
});

const page = await browser.newPage();

// 导航到页面
await page.goto('https://example.com', {
  waitUntil: 'networkidle2'  // 等待网络空闲
});

// 前进后退
await page.goBack();
await page.goForward();
await page.reload();

await browser.close();

2. 元素操作

// 点击元素
await page.click('#submit-button');

// 输入文本
await page.type('#username', '[email protected]');
await page.type('#password', 'password123');

// 选择下拉框
await page.select('#country', 'CN');

// 上传文件
const fileInput = await page.$('input[type="file"]');
await fileInput.uploadFile('/path/to/file.pdf');

// 等待元素
await page.waitForSelector('.result', { timeout: 5000 });

// 获取元素文本
const text = await page.$eval('.title', el => el.textContent);

// 获取多个元素
const items = await page.$$eval('.item', elements =>
  elements.map(el => el.textContent)
);

3. 表单自动化

async function fillForm(page: Page) {
  // 填写文本输入框
  await page.type('#name', '张三');
  await page.type('#email', '[email protected]');
  await page.type('#phone', '13800138000');

  // 选择单选按钮
  await page.click('input[name="gender"][value="male"]');

  // 选择复选框
  await page.click('#agree-terms');
  await page.click('#subscribe-newsletter');

  // 选择下拉框
  await page.select('#city', 'beijing');

  // 填写日期
  await page.type('#birthday', '1990-01-01');

  // 填写文本域
  await page.type('#message', '这是一条测试消息');

  // 提交表单
  await page.click('button[type="submit"]');

  // 等待提交完成
  await page.waitForNavigation();
}

Read the full file on GitHub · 500 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. 6d ago First seen · 500 lines · 34 tokens per session scan A 5c8ca8cd5809

Subscribe to this mod's changes

chrome-automation is a skill published in the GitHub repository aAAaqwq/AGI-Super-Team (91 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 2,931 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

browser-check

Drive a real browser and come back with a MEASUREMENT rather than an impression - console errors and >=400 responses as counts, computed styles as JSON when appearance is disputed. Use when work touches UI, when a review must verify one, or when fidelity-gate asks for its measurement.

jjanczur/tyran · 58 tokens

qa

QA testing skill with real browser automation. Use when asked to "test this site", "QA this page", "check for visual bugs", "verify the deploy", or when Hydra needs browser validation for UI changes. Requires the browse binary.

blueberrycongee/termcanvas · 50 tokens

e2e-testing

Playwright E2E testing patterns, Page Object Model, configuration, CI/CD integration, artifact management, and flaky test strategies. Use when writing Playwright tests, structuring page objects, or fixing flaky E2E runs in CI.

affaan-m/ECC · 53 tokens

webapp-testing

Start/reuse a local app, wait for readiness, inspect rendered state/console/network, act from observed selectors, and verify with evidence.

Hmbown/CodeWhale · 32 tokens

qa

Browser-based QA verification. Launches a real browser, navigates the app, clicks buttons, fills forms, and tests user flows. Works as a standalone skill or as a phase end condition in campaigns. Requires Playwright (optional dependency, graceful skip if not installed).

SethGammon/Citadel · 56 tokens

memstack-development-webapp-testing

Use when the user says 'write browser tests', 'test this page', 'playwright test', 'e2e test', 'end to end test', 'browser test', 'test the UI', or needs Playwright-based browser testing for a web application. Do NOT use for unit tests, API tests, or non-browser testing.

cwinvestments/memstack · 75 tokens