Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add alphabravo-oss/guild/plugin install e2eWrote 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/alphabravo-oss/guild/audit)<a href="https://agentmods.dev/commands/alphabravo-oss/guild/audit"><img src="https://agentmods.dev/badge/commands/alphabravo-oss/guild/audit/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/alphabravo-oss/guild/audit"><img src="https://agentmods.dev/badge/commands/alphabravo-oss/guild/audit.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.00017 | $0.01038 |
| Opus 5.5 | $0.00007 | $0.00415 |
| Sonnet 5.5 | $0.00003 | $0.00208 |
| Haiku 4.5 | $0.00002 | $0.00104 |
Grade A, and why
audit 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The user wants you to run the test suite and triage failures. Optional --fix flag in $ARGUMENTS means propose patches (do not auto-apply).
Preflight
playwright.config.tsexists.- Read
${CLAUDE_PLUGIN_ROOT}/skills/diagnose/SKILL.md(or invoke the diagnose skill) — it has the trace-reading methodology and failure taxonomy.
Run the suite
npx playwright test --reporter=json
Capture stdout to a temp file (the JSON is large). Parse it. Don't pipe directly into Read — it'll be unwieldy. Write to /tmp/e2e-audit-$$.json then read.
If all tests pass: report counts and exit. No triage needed.
Triage each failure
For each failed test, gather:
- Failure message — from the JSON
errors[]array - Stack — first frame in user code (skip Playwright internals)
- Trace — at
test-results/<test-folder>/trace.zip. Get its summary via:
Or, if the trace structure makes that unwieldy, invoke MCP and open the HTML report:unzip -p test-results/<folder>/trace.zip trace.trace | head -200
and usenpx playwright show-reportbrowser_navigateto the failed test's page in the report. - Screenshot —
test-results/<folder>/test-failed-1.pngif present
Classify by root cause
Use this taxonomy (mirrored from the diagnose skill — keep them in sync):
| Class | Signature | Fix direction |
|---|---|---|
| SELECTOR_DRIFT | "locator resolved to N elements" or "not found" + DOM snapshot in trace shows the element with different text/role | Re-snapshot, update locator. Prefer getByRole/getByLabel over text matches when DOM is volatile. |
| TIMING | "Timeout exceeded" but element does eventually appear in later snapshot | Replace brittle wait with expect(locator).toBeVisible({ timeout }). Increase timeout only after confirming the load is legitimately slow. |
| ASSERTION_MISMATCH | Assertion failed but page rendered normally | Either the test's expectation is wrong (product changed intentionally) or the product regressed. Surface both possibilities — don't auto-decide. |
| CONSOLE_ERROR | Test caught a console.error that wasn't there before |
Real product bug. Capture the error text and stack frame from the page. Don't suppress in the test. |
| NETWORK_FAIL | Failed request in trace network panel | Check if the failing endpoint is the test's target or incidental. Mock incidental ones, fix or flag the target. |
| STATE_POLLUTION | Passes alone, fails in suite. Trace shows unexpected initial state. | A prior test left state. Add fixture cleanup or isolate via test.use({ storageState }). |
| FLAKY | Passes on retry. Trace shows non-deterministic ordering. | Identify the race (animation, debounce, async render). Wait for the stable state explicitly, don't sleep. |
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.
- 3mo ago First seen · 93 lines · 17 tokens per session scan A 93150e006d25
audit is a command published in the GitHub repository alphabravo-oss/guild (3 stars, last pushed 12d ago), licensed MIT. It adds 17 tokens to every session and 1,038 once invoked, about $0.0001 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-08-31.
audit compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| auditalphabravo-oss/guild | Command | 3 | 12d ago | MIT | A | 17 | Claude Code |
| playwright-test-healmicrosoft/playwright | Command | 101k | today | Apache-2.0 | A | 2 | GitHub Copilot |
| webapp-testinghamr0/agentic-toolkit | Command | 23 | 4d ago | Apache-2.0 | A | 35 | Claude Code |
| verify-prdesplega-ai/qa-use | Command | 30 | 2mo ago | MIT | A | 0 | Claude Code |
| ui-snapshot.templateevan043/claude-cli-advanced-starter-pack | Command | 62 | 4mo ago | MIT | A | 0 | Claude Code |
| test-rundesplega-ai/qa-use | Command | 30 | 2mo ago | MIT | A | 0 | Claude Code |
| laravel-playwrightjpcaparas/superpowers-laravel | Command | 157 | 5mo ago | MIT | A | 20 | Claude Code |