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/zhukunpenglinyutong/ai-maxWrote 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/zhukunpenglinyutong/ai-max/e2e)<a href="https://agentmods.dev/commands/zhukunpenglinyutong/ai-max/e2e"><img src="https://agentmods.dev/badge/commands/zhukunpenglinyutong/ai-max/e2e/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/zhukunpenglinyutong/ai-max/e2e"><img src="https://agentmods.dev/badge/commands/zhukunpenglinyutong/ai-max/e2e.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.00034 | $0.02766 |
| Opus 5 | $0.00017 | $0.01383 |
| Sonnet 5 | $0.00007 | $0.00553 |
| Haiku 4.5 | $0.00003 | $0.00277 |
Grade A, and why
e2e 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.
This is a copy
89% identical to e2e — 226 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.
How it starts
The opening of the file, as written. The whole thing — 364 lines — stays where its author put it; the contents beside it link to each section on GitHub.
E2E 命令
此命令调用 e2e-runner 代理来使用 Playwright 生成、维护和执行端到端测试。
此命令的功能
- 生成测试流程 - 为用户操作流程创建 Playwright 测试
- 运行 E2E 测试 - 跨浏览器执行测试
- 捕获测试产物 - 失败时捕获截图、视频、追踪记录
- 上传结果 - HTML 报告和 JUnit XML
- 识别不稳定测试 - 隔离不稳定的测试
何时使用
在以下情况使用 /aimax:e2e:
- 测试关键用户流程(登录、交易、支付)
- 验证多步骤流程的端到端工作
- 测试 UI 交互和导航
- 验证前后端之间的集成
- 准备生产环境部署
工作原理
e2e-runner 代理将:
- 分析用户流程并识别测试场景
- 生成 Playwright 测试,使用页面对象模型(Page Object Model)模式
- 跨多个浏览器运行测试(Chrome、Firefox、Safari)
- 捕获失败,包括截图、视频和追踪记录
- 生成报告,包含结果和测试产物
- 识别不稳定测试并推荐修复方案
使用示例
用户:/aimax:e2e 测试市场搜索和查看流程
代理(e2e-runner):
# E2E 测试生成:市场搜索和查看流程
## 已识别的测试场景
**用户流程:** 市场搜索 → 查看结果 → 点击市场 → 查看详情
**测试覆盖:**
1. 导航到市场页面
2. 执行语义搜索
3. 验证搜索结果
4. 点击第一个结果
5. 验证市场详情页面加载
6. 验证图表渲染
## 生成的测试代码
```typescript
// tests/e2e/markets/search-and-view.spec.ts
import { test, expect } from '@playwright/test'
import { MarketsPage } from '../../pages/MarketsPage'
import { MarketDetailsPage } from '../../pages/MarketDetailsPage'
test.describe('Market Search and View Flow', () => {
test('user can search markets and view details', async ({ page }) => {
// 1. Navigate to markets page
const marketsPage = new MarketsPage(page)
await marketsPage.goto()
// Verify page loaded
await expect(page).toHaveTitle(/Markets/)
await expect(page.locator('h1')).toContainText('Markets')
// 2. Perform semantic search
await marketsPage.searchMarkets('election')
// Wait for API response
await page.waitForResponse(resp =>
resp.url().includes('/api/markets/search') && resp.status() === 200
)
// 3. Verify search results
const marketCards = marketsPage.marketCards
await expect(marketCards.first()).toBeVisible()
const resultCount = await marketCards.count()
expect(resultCount).toBeGreaterThan(0)
// Take screenshot of search results
await page.screenshot({ path: 'artifacts/search-results.png' })
// 4. Click on first result
const firstMarketTitle = await marketCards.first().textContent()
await marketCards.first().click()
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 · 364 lines · 34 tokens per session scan A 6487455bfc2d
e2e is a command published in the GitHub repository zhukunpenglinyutong/ai-max (335 stars, last pushed 7mo ago), licensed MIT. It adds 34 tokens to every session and 2,766 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to e2e, differing in 226 lines, and is treated as a copy.
Other commands, from other repositories
playwright-test-heal
Run all my tests and fix the failing ones.
paul:verify
Guide manual user acceptance testing of recently built features.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
ui-snapshot.template
This prompt was authored for Claude-style slash workflows. In Codex runtime, adapt tool calls as follows.
laravel-playwright
E2E Playwright patterns; use the laravel:e2e-playwright skill exactly as written.
qa
Smoke or browser-walk a running app. Report only. Do not implement. Do not merge.