Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By smykla-skalskiv1.0.18MITIn 1 marketplace
Runs a branch against the real product in isolated state and reruns each failure before counting it. Unit tests alone never earn a PASS, and failures that never reproduce are dropped.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Adversarial manual testing. It answers one question - does this change work for a user? - by running it:
Unit tests, lint, and build output are supporting evidence only; a PASS backed by them alone is rejected.
Build output is reused from ${XDG_CACHE_HOME:-$HOME/.cache}/sai/adversarial-test/builds/<repository>/<revision>/. The tester checks for 20 GB free before a build, runs it as one blocking command and never polls it more often than once per minute.
Output leads with Test Verdict: PASS, Test Verdict: PASS (partial), Test Verdict: FAIL, Test Verdict: BLOCKED or Test Verdict: FAILED, so callers such as ship-it can gate on the first line.
| Verdict | Meaning |
|---|---|
PASS | Every criterion passed on the real surface |
PASS (partial) | Nothing failed, and at least one criterion is UNTESTED because the environment could not exercise it: a sandbox without network or a package registry, a missing or fake tool, a toolchain that does not build there, a hook false positive, an unreachable UI pane, a stop directive. The next line lists each untested criterion with its blocker. Callers treat it as passing and carry that list into the PR |
FAIL | At least one reproduction survived the rerun |
BLOCKED | A product precondition that only a human can supply is missing (credentials, hardware, an approval, data). The next line names the exact human action |
FAILED | The gate could not run because the base ref does not resolve. A gate failure, never a pass; the next line names the ref |
A resolved base with an empty diff reports PASS with a second line No test performed: empty diff, nothing to test.
A UI change (web page, desktop or webview pane) needs a screenshot of the changed surface at a content viewport of at least 2560x1440. Screenshots land in the evidence directory ${XDG_DATA_HOME:-$HOME/.local/share}/sai/adversarial-test/<run>/, which outlives the run; the report lists each path with its image pixels and a runtime client/content-area measurement. Image pixels, launch flags and outer-window bounds alone do not prove viewport size.
For code correctness review, use adversarial-review.
The plugin is a portable Agent Plugin with one Agent Skill, so the same package works in Claude Code, Codex, Copilot CLI and opencode.
Claude Code (Copilot CLI is the same with copilot in place of claude):
claude plugin marketplace add smykla-skalski/sai
claude plugin install adversarial-test@sai
Codex:
codex plugin marketplace add smykla-skalski/sai
codex plugin add adversarial-test@sai
opencode, or any agent that reads Agent Skills, loads skills/adversarial-test/ directly:
ln -s /path/to/sai/plugins/adversarial-test/skills/adversarial-test ~/.config/opencode/skills/adversarial-test
Optional named opencode subagent: create ~/.config/opencode/agents/test-adversary.md with frontmatter description and mode: subagent, followed by the body of skills/adversarial-test/references/test-adversary.md. Leave bash allowed - the tester must run the product.
Local checkout: claude --plugin-dir /path/to/sai/plugins/adversarial-test/
In Claude Code and Copilot CLI use /adversarial-test, in Codex $adversarial-test, or ask in plain words ("adversarially test this branch").
/adversarial-test # working tree vs merge-base with origin/<default>
/adversarial-test --base origin/release-1.4
/adversarial-test https://github.com/owner/repo/pull/123 # runs from a temp worktree if HEAD differs
/adversarial-test --context <issue-file|text> # acceptance criteria for the tester
| Agent | Subagent |
|---|---|
| Claude Code | Named agent adversarial-test:test-adversary from agents/; general-purpose with the mandate prepended as fallback |
| Copilot CLI | Same named agent adversarial-test:test-adversary; general-purpose fallback |
| Codex | One spawn_agent call with the mandate prepended, closed after the pass |
| opencode | subagent tool (task on opencode 1) with an installed test-adversary agent or the built-in general subagent |
Every agent falls back to an inline pass when subagents are unavailable or twice decline a runnable surface. Only one subagent runs at a time.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub smykla-skalski/sai --plugin adversarial-testPlugins from other owners that cover similar ground