Stillwright
Your agent says "tests pass". Stillwright makes it prove it. A step is done only when its check ran and passed on the files as they are right now, with a receipt in the log, and any step can be undone. For Claude Code, Codex, Gemini CLI, Cursor, OpenCode and any agent that reads Agent Skills.
See it work
A plan step with a command as its check. The agent cannot write "pass" by hand; it has to run the check, and the receipt records what ran, the exit code and a hash of the working tree:
$ sw run freeze latest tests
frozen: tests; any change fails the step's check until frozen again
$ sw run log latest step=1 result=pass
step 1 has a command check; a pass written by hand is not evidence.
Run `sw run check latest 1`, then `sw run done latest 1`.
$ sw run check latest 1
step 1: check failed (exit 1); output in ~/.stillwright/runs/20261029-031220-discount-floor/checks/1-2026-10-29031220.log
(the agent fixes pricing.py)
$ sw run check latest 1
step 1: check passed (exit 0, 0.1s, tree 64c2003852c2); `sw run done` when the step's work is complete
$ sw run done latest 1
step 1: done, certified (`python3 -m unittest -q tests.test_pricing` exit 0 on tree 64c2003852c2)
(something goes wrong later)
$ sw run rewind latest 1
step 1: files restored from snapshot 8bcbaf39015a (0 newer files removed);
the state before is kept at refs/sw/20261029-031220-discount-floor/before-rewind-2026-10-29031220
Real output from v0.2, unedited except for the home folder. If the agent edits a test after
sw run freeze, the check fails as tampered. If files change after the check, sw run done
refuses the stale receipt. The rewind keeps the state it replaced, so nothing is lost.
What it does
- Proof, not claims. Every step of a plan has a check written before the work. A command
check is run by
sw, with a receipt; anything else is judged by a fresh reviewer that never saw the worker's reasoning. - Undo. Every certified step leaves a git snapshot (untracked files included) under
refs/sw/;sw run rewindbrings it back. - Vetted tools. Thousands of skills and MCP servers, some malicious. Stillwright picks by evidence, reads the code before trusting it, asks you once, and pins it by hash so it cannot change silently.
- Quiet. One inbox with four card types (ask, review, notify, idea). Silence is the default, and the agent's final message is at most five lines.
- Goals, not prompts. It keeps a goal queue, plans each goal into checkable steps, routes steps to the cheapest model that a command can verify, and measures the dollars.
- Hooks the plugin brings along. In Claude Code the plugin ships three hooks: the gate
before every shell command (
sw gate: ask or block before a destructive one), the brief after every context compaction (sw run brief), and a Stop hook (sw run stop) that refuses to end a turn, once, while the open run has a$-checked step with no certified receipt. The model gets the step and the exact commands back instead of the user getting "done". A step logged as failed, a card waiting on you, or the host already continuing because of the hook lets the turn end; a plan edited after work started costs one nudge and is dated in the log; a machine withoutswis never blocked.
Measured
Four baseline pilots (120 scored runs, Claude Sonnet 5.5, plain Claude Code, hidden tests the
agent could not see): zero cheats; on one-symptom tickets the agent fixed the ticket, passed the
visible test and left a documented second defect in the same file in 5 of 30 runs, naming it in
2. The 0.2 skill measured against that baseline on the same ten tasks: 1.85x the cost per
verified pass (interval 1.74 to 2.08) and one pass fewer (24 against 25), because its receipt
certified the same visible test and the reviewer never ran. 0.3 is the answer to that
measurement: three sw calls per small task, a shorter skill, and a code step that sw will not
certify without a reviewer's verdict, logged after the check and naming every changed file. Its own
number comes from the same tasks and is published either way. Notes, data and every run's
verdict: docs/evals.md (the 2026-11 pilot notes are listed there) and the
Hugging Face dataset.
The gate itself is tested: 252 black-box tests drive the binary on Linux, macOS and Windows in CI, including the ways two independent reviews found to get past it before release.
Install
One line for most agents:
npx plugins add HamzaIlyas/stillwright # as a plugin: Claude Code, Cursor, Codex, Copilot CLI, VS Code, Grok Build, Kimi Code
npx skills add HamzaIlyas/stillwright # as skills: 75+ agents, including all of the above
Or the agent's own way:
| Agent | Command |
|---|---|
| Claude Code | claude plugin marketplace add HamzaIlyas/stillwright then claude plugin install stillwright@stillwright |
| Codex | codex plugin marketplace add HamzaIlyas/stillwright, then install Stillwright from /plugins |
| Gemini CLI | gemini extensions install https://github.com/HamzaIlyas/stillwright |
| Cursor | loads the root plugin.json (Agent Plugins standard); marketplace listing pending |
| OpenCode, or any Agent Skills agent | npx skills add HamzaIlyas/stillwright |
| Hermes Agent | git clone --depth 1 https://github.com/HamzaIlyas/stillwright /tmp/stillwright && mkdir -p ~/.hermes/skills/stillwright && cp -R /tmp/stillwright/skills/. ~/.hermes/skills/stillwright/ |
For a whole team: run sw init in the repository and commit the two files it writes
(.claude/settings.json, .github/copilot/settings.json). It writes the same three hooks
the plugin ships, for hosts and setups that do not load plugin hooks; with the plugin
installed, a hook written by sw init runs a second time, which is harmless.
The skills need the sw binary (a single file, no runtime). Any of these installs it:
pip install stillwright # any OS with Python
brew install HamzaIlyas/tap/stillwright # macOS / Linux with Homebrew
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/HamzaIlyas/stillwright/releases/latest/download/stillwright-installer.sh | sh # Linux / macOS
powershell -ExecutionPolicy Bypass -c "irm https://github.com/HamzaIlyas/stillwright/releases/latest/download/stillwright-installer.ps1 | iex" # Windows
cargo install --git https://github.com/HamzaIlyas/stillwright --locked # from source
Use
New here? The quickstart takes ten minutes, and CI runs every command in it. Also: troubleshooting, Windows notes, coming from OpenClaw or Hermes, a real example run, and a press kit.
Tell your agent a goal, or just say "stillwright". The first time, it asks a few short questions to get to know you. After that:
sw status what's going on, in a few lines
sw inbox list the only things that need you
sw goal add "..." give it more work
sw run status the current plan, step by step, with what is proven
sw run cost dollars a run spent, by model
To keep it working while you're away, schedule one loop per hour, for example
claude -p "Use the stillwright skill: run one loop, then stop." from cron. Unattended runs
never push, deploy, publish or install anything new; those wait in your inbox.
What's inside
| Skill | Does |
|---|---|
stillwright |
the loop: pick goal → plan → get tools → execute → verify → report |
sw-onboard |
learns who you are and what you want, in three short rounds at most |
sw-scout |
finds, vets, trials and pins the best existing tool for a job |
sw-forge |
builds and tests a new skill when nothing good exists |
sw-verify |
independent, default-fail proof for every step |
sw-radar |
spots what matters to you (updates, risks, new tools) as rare idea cards |
sw-deep-search |
research that ends in verified, sourced answers |
sw-context-diet |
keeps long sessions lean and cheap |
sw-launch |
pitch, README, posts and launch plan for what you build |
All state is plain files in ~/.stillwright (profile, goals, inbox, notes, pinned tools, run
logs, receipts). Nothing leaves your machine except what your agent already sends. sw is a
single Rust binary.
Why these rules
Each one answers a failure that was measured or reported, not a hunch:
- Agents mark work done without testing it, and judges that read the agent's prose cannot tell: Anthropic's notes on long-running harnesses; arXiv 2607.14890 (evidence-gated loops cut hidden failures from 31 to 2 per 1,800). Hence receipts, and a reviewer that is a gate.
- Agents weaken tests to make them pass and pipe test output so failures exit 0
(anthropics/claude-code #319). Hence
frozen check files and
pipefail. - Undo of agent edits is the most-requested feature no host ships (openai/codex #9203). Hence snapshots and rewind.
- Agents rarely ask at the right moment and fill gaps with wrong assumptions: HiL-Bench. Hence the typed inbox, silence by default.
- Hundreds of malicious skills were found on a public registry in early 2026 (341 of 2,857): Snyk, Unit 42. Hence vetting, approval and hash-pinning before any third-party tool runs.
- Agent success falls as tasks get longer: METR time horizons. Hence small, checkable steps.
Cost is measured, not assumed: the harness, the price table and the cache linter are in docs/cost.md. Known limits are listed in the CHANGELOG.
Who runs it
One person, Hamza Ilyas. Questions and ideas: Discussions. Bugs: issues, read daily.
MIT.
Metadata
Release files for stillwright 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stillwright-0.3.1.tar.gz | 74.3 kB | With provenance | Details for stillwright-0.3.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| stillwright-0.3.1-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for stillwright-0.3.1-py3-none-win_amd64.whl |
| stillwright-0.3.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for stillwright-0.3.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
| stillwright-0.3.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for stillwright-0.3.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
| stillwright-0.3.1-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for stillwright-0.3.1-py3-none-macosx_11_0_arm64.whl |
| stillwright-0.3.1-py3-none-macosx_10_12_x86_64.whl | Python 3 | none | macOS 10.12+ x86-64 | Details for stillwright-0.3.1-py3-none-macosx_10_12_x86_64.whl |
Total release size: 4.5 MB
Release files / stillwright-0.3.1.tar.gz
| Download URL | stillwright-0.3.1.tar.gz |
|---|---|
| Size | 74.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
935ae7c1e16a0193f9151d11d61d1bcc1499604e9ca55072b4617e0578af1947
|
|
BLAKE2b-256 checksum How to use checksums |
afbe9d1987b721d6cab290a2e1a835e4a7a3af2bd5589cd5ccfecfadf8b68938
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / stillwright-0.3.1-py3-none-win_amd64.whl
| Download URL | stillwright-0.3.1-py3-none-win_amd64.whl |
|---|---|
| Size | 926.1 kB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b159bf47e6be27a80974b9fc7520ab2bfd89b7651cceec0a41140c3841b5a92a
|
|
BLAKE2b-256 checksum How to use checksums |
34910fa30dceb1425df6c8fedaaf4b1eabcaa2cbe517093a954583de07818b68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / stillwright-0.3.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | stillwright-0.3.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 909.3 kB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
135bde7461d2faa90a06801a8abc88a0aca45908937f495ce2f786b88f66ec66
|
|
BLAKE2b-256 checksum How to use checksums |
fac09f9c81582063c0164ee117660a95c382be321acd56e2f876c54b8f1272f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / stillwright-0.3.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | stillwright-0.3.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 861.4 kB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
d23185e824113ab39dcb6f44afa8e257f52cc04256110751fdc2ba6237b0fa93
|
|
BLAKE2b-256 checksum How to use checksums |
c3647d110d6094054dfc812865a156e629d23a99cb355d4f84bee1b9b5db8e39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / stillwright-0.3.1-py3-none-macosx_11_0_arm64.whl
| Download URL | stillwright-0.3.1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 834.1 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5ece54ebe18204c117e53ff99663eace57a540fa7072eb1531accb84e600c2e4
|
|
BLAKE2b-256 checksum How to use checksums |
c5fffed66c3aa94ecccbc5e9862efc15ffa6bc02fdf2c8d5e09c5bc2ac7cc7ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / stillwright-0.3.1-py3-none-macosx_10_12_x86_64.whl
| Download URL | stillwright-0.3.1-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 884.8 kB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
77d289c5811f2364dc266d3cd8b32bd328a5f355c7dfc6848f1d825940c75bb2
|
|
BLAKE2b-256 checksum How to use checksums |
0cd3227c7ec6bd39f1be2b65d5b418f7daed40130eb0327a000c3178329af426
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logSecurity for stillwright 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for stillwright-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.