Skip to main content

Stillwright

CI Release License

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.

sw status, a run two steps in, one review card answered, two goals

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 rewind brings 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 without sw is 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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stillwright 0.3.0
File Size Uploaded Provenance Actions
stillwright-0.3.0.tar.gz 74.3 kB With provenance Details for stillwright-0.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for stillwright 0.3.0
File Actions
stillwright-0.3.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for stillwright-0.3.0-py3-none-win_amd64.whl
stillwright-0.3.0-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.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
stillwright-0.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for stillwright-0.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
stillwright-0.3.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for stillwright-0.3.0-py3-none-macosx_11_0_arm64.whl
stillwright-0.3.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for stillwright-0.3.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 4.5 MB

Release files / stillwright-0.3.0.tar.gz

Download URL stillwright-0.3.0.tar.gz
Size 74.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9d4403f833847c5187805045e87b376b4546db950d57ff83019e0a6d8c3281fd
BLAKE2b-256 checksum
How to use checksums
2559490614a6be20bd4f2cdb1b8c078d68ce09f675b4490691fa7fd4497e82d5
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 log

Release files / stillwright-0.3.0-py3-none-win_amd64.whl

Download URL stillwright-0.3.0-py3-none-win_amd64.whl
Size 926.2 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e39bdda26c88d0b14bac18d701e0b981b7bd793a9f5850bf723579e025ff01ab
BLAKE2b-256 checksum
How to use checksums
2829b4ce2417f814bb70211f3a9665bb0f97db955c92b86a1b42952a9687a81e
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 log

Release files / stillwright-0.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL stillwright-0.3.0-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
dbefc9c3e308f12acb07c439a6b1991ee13a499703a227096a1804a5471e06d1
BLAKE2b-256 checksum
How to use checksums
7a44b2420ef234fe85c8a201c739ac14185cb3751eb0ad1cae3452b41e33daca
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 log

Release files / stillwright-0.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL stillwright-0.3.0-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
247e3a42c89533bfdeed71408eed75492ed0249bc9ca36b9e6255e1b35ca7c2e
BLAKE2b-256 checksum
How to use checksums
1c64d957d3698a13130e274aefe332d834a15572fdf02df23d8f4e3c6a62989f
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 log

Release files / stillwright-0.3.0-py3-none-macosx_11_0_arm64.whl

Download URL stillwright-0.3.0-py3-none-macosx_11_0_arm64.whl
Size 830.1 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ba275436f8e7bc0da3a32af8c7c715874eeb68be7a7aa82e3ad4a2b06f94b152
BLAKE2b-256 checksum
How to use checksums
83cda8bc7b7d82b0d98c586e016bbc9a66e639fa4573bb11f7fa8aa602903853
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 log

Release files / stillwright-0.3.0-py3-none-macosx_10_12_x86_64.whl

Download URL stillwright-0.3.0-py3-none-macosx_10_12_x86_64.whl
Size 884.7 kB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
b3e8742959cb90b1d8bb3ff7b2c45acb8564174ac3ec216bbe3b057947173b69
BLAKE2b-256 checksum
How to use checksums
005375da6b9de089cf6240619932ac3384204e341d41c2f3495adfc6095bcbd5
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 log

Security for stillwright 0.3.0

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.

Select from 6 files

Attestation for stillwright-0.3.0.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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page