TraeSkill: Skill for Claude Code

.trae/Skills/04_Tester_BrowserAutomation/SKILL.md

Browser Automation Expert is a skill for Claude Code, Codex from boshi-xixixi/TraeSkill. It costs 82 tokens per session (633 once invoked), scanned A, original, MIT.

A guide for controlling web browsers with Puppeteer, Playwright, or Python scripts. Browser automation means making software navigate pages, click, type, take screenshots, or collect data instead of doing those steps manually.

In plain words
What is it for?
Use it to automate multi-step web tasks, scrape page data, run UI checks, simulate clicks and form input, and capture screenshots for diagnosis.
Why use it?
It removes repetitive browser work and provides a way to test interfaces or inspect failures with screenshots and page results.

Skill for Claude CodeCodex

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

This is boshi-xixixi/TraeSkill's own configuration. It tells Claude Code and Codex how to work on TraeSkill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything TraeSkill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to boshi-xixixi/TraeSkill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/boshi-xixixi/TraeSkill/main/.trae/Skills/04_Tester_BrowserAutomation/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill

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 Automation Expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/04_tester_browserautomation/github.svg)](https://agentmods.dev/skills/boshi-xixixi/traeskill/04_tester_browserautomation)
Your own site
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/04_tester_browserautomation"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/04_tester_browserautomation/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 Browser Automation Expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/04_tester_browserautomation"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/04_tester_browserautomation.svg" alt="Reviewed on agentmods" width="80" 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 633 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.00082 $0.00633
Opus 5.5 $0.00033 $0.00253
Sonnet 5.5 $0.00016 $0.00127
Haiku 4.5 $0.00008 $0.00063

Measured 8d ago against content hash 53479a784bf3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Browser Automation Expert 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 8d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (examples/console_logging.py, examples/element_discovery.py, examples/static_html_automation.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.

.trae/Skills/04_Tester_BrowserAutomation/SKILL.md · 49 lines

What it actually says

Browser Automation Expert

Description: 浏览器自动化与网页测试专家。支持基于 MCP 工具(Puppeteer/Playwright)的实时交互,以及基于 Python 脚本的复杂自动化流实现。

Details:

Browser Automation 指南

你是一个浏览器自动化专家。你擅长操控浏览器来执行重复性的网页任务、抓取数据或进行 UI 自动化测试。

策略:优先使用 MCP 工具

在执行任何操作前,优先检查 MCP 工具:

  1. Puppeteer/Playwright MCP: 检查工具列表中是否包含 puppeteer_navigate, playwright_navigate 等。
  2. 优势: 无需编写和运行本地脚本,实时反馈,环境零配置。
  3. 适用场景: 简单的网页截图、内容抓取、单页面交互。

进阶:Python 自动化脚本

如果任务涉及复杂的逻辑(如:多级页面跳转、复杂的验证码处理、大规模并行采集),请使用本地 Python 脚本。

  • 框架: Playwright (推荐) 或 Selenium。
  • 参考示例: 查看 examples/ 目录下的脚本模式。
  • 环境: 确保在脚本中正确处理浏览器驱动的初始化。

核心能力与工作流

1. 网页截图与视觉检查

Workflow: 优先调用 puppeteer_screenshot 或 playwright_screenshot。

2. 动态内容抓取 (Scraping)

Workflow:

  1. 使用 navigate 打开网页。
  2. 使用 evaluate 执行 JavaScript 提取数据。
  3. 将结果整理为 Markdown 表格或 JSON。

3. UI 自动化测试

Workflow:

  1. 编写断言检查页面元素是否存在。
  2. 模拟用户点击、输入。
  3. 截图记录测试过程。

交互原则

  1. 环境探测: 首次运行自动化任务时,先列出你打算使用的 MCP 工具或脚本库。
  2. 异常处理: 网页加载超时或元素未找到时,应尝试截图以辅助诊断。
  3. 隐私保护: 避免在脚本或工具调用中泄露敏感的个人凭据。
Files

What ships with it

7 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. 8d ago First seen · 49 lines · 82 tokens per session scan A 53479a784bf3

Subscribe to this mod's changes

Browser Automation Expert is a skill published in the GitHub repository boshi-xixixi/TraeSkill (288 stars, last pushed 9d ago), licensed MIT. It adds 82 tokens to every session and 633 once invoked, about $0.0003 per session on Opus 5.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-11-22.

Related

Browser Automation Expert compared with skills from other repositories

Browser Automation Expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Browser Automation Expertboshi-xixixi/TraeSkillSkill2889d agoMITA82Claude Code, Codex
browser-pilotRune-kit/runeSkill962d agoMITB52Claude Code
azure-playwright-workspacesMicrosoftDocs/Agent-SkillsSkill82421d agoCC-BY-4.0A110Claude Code
playwright-debugsentimony/skillsSkill8todayMITB33Claude Code
web-testNikolay-Shirokov/cc-1c-skillsSkill839yesterdayMITA44Claude Code
actionbook-web-testactionbook/actionbookSkill1.6k1mo agoApache-2.0A71Claude Code
t-flutter-demo-run-alltimzaak/web-dev-skillsSkill107yesterdayApache-2.0A20Claude Code