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.
npx skills add pieable/dragon-ball-agent --skill playwrightgit clone --depth 1 https://github.com/pieable/dragon-ball-agentWrote 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.
[](https://agentmods.dev/skills/pieable/dragon-ball-agent/playwright)<a href="https://agentmods.dev/skills/pieable/dragon-ball-agent/playwright"><img src="https://agentmods.dev/badge/skills/pieable/dragon-ball-agent/playwright/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.
<a href="https://agentmods.dev/skills/pieable/dragon-ball-agent/playwright"><img src="https://agentmods.dev/badge/skills/pieable/dragon-ball-agent/playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.00667 |
| Opus 5.5 | $0.00030 | $0.00267 |
| Sonnet 5.5 | $0.00015 | $0.00133 |
| Haiku 4.5 | $0.00008 | $0.00067 |
Grade A, and why
playwright 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 yesterday.
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.
This is a copy
100% identical to playwright — 122 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
Playwright CLI
用 playwright-cli 驱动真实浏览器。优先用捆绑脚本,它通过 npx --package @playwright/cli playwright-cli 运行。仓库已有全局安装约定时沿用。只有用户明确要求测试文件时才转用 @playwright/test。
准备
先确认 npx 可用:
command -v npx >/dev/null 2>&1
若缺少 npx,暂停并请用户安装 Node.js/npm。把以下命令原样交给用户,以便安装并核验 CLI。
# Verify Node/npm are installed
node --version
npm --version
# If missing, install Node.js/npm, then:
npm install -g @playwright/cli@latest
playwright-cli --help
每个会话设置一次 wrapper 路径。用户级 Skill 默认在 $CODEX_HOME/skills,CODEX_HOME 未设置时为 ~/.codex。
export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export PWCLI="$CODEX_HOME/skills/playwright/scripts/playwright_cli.sh"
"$PWCLI" --help
全局安装是可选项。如用户选择全局安装,使用 npm install -g @playwright/cli@latest 后以 playwright-cli --help 核验。
操作循环
打开页面后先取 snapshot,只用最新快照中的元素引用操作。导航、显著 DOM 变化或切换标签页后重新取快照。引用过期或命令提示找不到元素时也重新读取。
"$PWCLI" open https://example.com
"$PWCLI" snapshot
"$PWCLI" click e3
"$PWCLI" snapshot
表单、会话和调试流程见工作流。标签页操作见 CLI 标签页命令。完整命令见CLI 参考。
操作约定
引用 e12 这类元素 ID 前必须有新快照。没有新快照时使用占位引用并说明原因。不要用 run-code 绕过快照引用。优先用明确的 CLI 命令,确有需要时才用 eval 或 run-code。需要观察视觉结果时用 --headed。
截图、PDF 或追踪等产物存放在仓库的 output/playwright/ 下,避免新建顶层产物目录。需要隔离多个项目或流程时使用命名 session。
What ships with it
8 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.
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.
- yesterday Changed · -90 lines · +31 tokens per session b58eda678064
- 15d ago First seen · 148 lines · 45 tokens per session scan A c52cc95125b7
playwright is a skill published in the GitHub repository pieable/dragon-ball-agent (11 stars, last pushed 2d ago), licensed MIT. It adds 76 tokens to every session and 667 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to playwright, differing in 122 lines, and is treated as a copy.
playwright compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| playwrightpieable/dragon-ball-agent | Skill | 11 | 2d ago | MIT | A | 76 | Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 5d ago | MIT | A | 52 | Claude Code, Codex |
| azure-messaging-webpubsub-javamicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 43 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.4k | 3d ago | MIT | A | 68 | Claude Code, Codex |
| open-design-browsercompozy/compozy | Skill | 2.9k | today | MIT | A | 56 | Claude Code, Codex |
| browser_cdpmateaix/mateclaw | Skill | 1.2k | 3d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| southwestborski/travel-hacking-toolkit | Skill | 1.1k | 7d ago | MIT | A | 40 | Claude Code |