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.
git clone --depth 1 https://github.com/maysunAI/T00-zhWrote 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/commands/maysunai/t00-zh/t00-playwright-test)<a href="https://agentmods.dev/commands/maysunai/t00-zh/t00-playwright-test"><img src="https://agentmods.dev/badge/commands/maysunai/t00-zh/t00-playwright-test/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/commands/maysunai/t00-zh/t00-playwright-test"><img src="https://agentmods.dev/badge/commands/maysunai/t00-zh/t00-playwright-test.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.00046 | $0.00603 |
| Opus 5 | $0.00023 | $0.00302 |
| Sonnet 5 | $0.00009 | $0.00121 |
| Haiku 4.5 | $0.00005 | $0.00060 |
Grade A, and why
t00-playwright-test 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 10d 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.
What it actually says
使用 Playwright MCP 在真实浏览器中测试本地 Web App。
使用方式
/t00-playwright-test → 测试当前项目默认 URL
/t00-playwright-test http://localhost:5175 → 指定 URL
/t00-playwright-test login → 只测试登录流程
/t00-playwright-test $ARGUMENTS → 测试指定功能
执行步骤
1. 确认 App 已启动
检查 $ARGUMENTS 指定的 URL(默认 http://localhost:5175)是否可访问。
若不可访问,提示用户先运行 npm run dev。
2. 核心流程测试(Golden Path)
按以下顺序测试:
- 页面加载 — 导航到 URL,等待 DOMContentLoaded
- 截图 — 保存当前页面截图,记录初始状态
- 基础功能 — 根据 $ARGUMENTS 决定测试范围:
login→ 测试登录/注册流程chat→ 测试 AI 对话发送接收memo→ 测试备忘录创建/编辑/删除- 无参数 → 顺序测试以上所有
- 边缘案例 — 空输入、超长输入、网络断开后行为
3. 报告格式
测试报告(时间:YYYY-MM-DD HH:MM)
URL:[测试地址]
✅ 通过 | ⚠️ 警告 | ❌ 失败
[功能名]
状态:✅ / ❌
截图:[路径]
问题:[如有]
总结:X 项通过,Y 项失败
失败原因:[列表]
建议修复:[列表]
PJ90 专用测试流程
1. http://localhost:5175 → 检查是否显示 ApiKeyPage 或 ChatPage
2. 设置 API Key → 验证进入 ChatPage
3. 发送一条消息 → 验证 AI 回复
4. 切换到 Memo Tab → 验证标签切换
5. 添加一条备忘 → 验证保存和显示
注意
- Playwright MCP 需已安装:
claude mcp add playwright npx @playwright/mcp@latest --scope user - 截图保存到当前目录的
test-screenshots/下 - 测试失败时不自动修复,只报告问题,等用户决策
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.
- 10d ago First seen · 69 lines · 46 tokens per session scan A a9182c532a6f
t00-playwright-test is a command published in the GitHub repository maysunAI/T00-zh (2 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 603 once invoked, about $0.0002 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-31.
Other commands, from other repositories
cpp-test
Enforce TDD workflow for C++. Write GoogleTest tests first, then implement. Verify coverage with gcov/lcov.
expect
Diff-aware AI browser testing — reads the git diff, maps changes to affected pages via the route map, generates a targeted test plan, and executes it via agent-browser (Rust daemon + CDP, ARIA-tree-first) with pass/fail reporting. Use when testing UI changes, verifying PRs before merge, or running regression checks on…
web-checklist
A checklist command for testing a website after a Git merge. It records checklist items in a file so progress can be viewed and individual checks can be marked complete.
ui-aqa-flow-selector-implementation
Phase 5 Selector Implementation of ui-aqa-flow.
plan-validate
2-layer plan validation: instant structural checks + trigger-based specialist agents. Auto-fixes issues using ADRs and first principles. Every issue must be resolved before execution.
plan-eng-review
Engineering architecture gate — lock architecture, diagrams, edge cases, and test matrix before writing implementation code.