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

Three small tasks (code, writing, research), each done by a fresh Claude Sonnet agent with and without the Stillwright skills, graded by scripts and a read-only judge. Both sides finished every task. The plain side made one false claim; Stillwright made none and left a plan and a log every time. It cost about the same in dollars and more wall time. Three tasks is a small sample and is stated as such; raw runs, grading script and judge report: docs/evals.md and the Hugging Face dataset.

The gate itself is tested: 67 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.2.2

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.2.2
File Size Uploaded Provenance Actions
stillwright-0.2.2.tar.gz 57.7 kB With provenance Details for stillwright-0.2.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for stillwright 0.2.2
File Actions
stillwright-0.2.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for stillwright-0.2.2-py3-none-win_amd64.whl
stillwright-0.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for stillwright-0.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
stillwright-0.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for stillwright-0.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
stillwright-0.2.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for stillwright-0.2.2-py3-none-macosx_11_0_arm64.whl
stillwright-0.2.2-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for stillwright-0.2.2-py3-none-macosx_10_12_x86_64.whl

Total release size: 4.1 MB

Release files / stillwright-0.2.2.tar.gz

Download URL stillwright-0.2.2.tar.gz
Size 57.7 kB
Tags Source
SHA-256 checksum
How to use checksums
211a7aa63c39c782b7c22d11c98be9353b276c825fadfaf859689d754e3180f3
BLAKE2b-256 checksum
How to use checksums
7199eb0aa79b931745cad3994a0d070d1582f189637a56af33217458f9e33f19
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 5, 2026.

Transparency log

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

Download URL stillwright-0.2.2-py3-none-win_amd64.whl
Size 849.2 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
fd0f0d451933b42343a369371afa0b929a47a6b8c02a8a1e4c130d7b7d648a31
BLAKE2b-256 checksum
How to use checksums
c1251e309aadeb968ddd625f98cf6c47109bb823426c7e85e825767f9329356d
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 5, 2026.

Transparency log

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

Download URL stillwright-0.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 845.3 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e3b2419376921f35d6cb6ee0a83e0fb4aecba80ab2a8c00e7e9d5878fecbc4bb
BLAKE2b-256 checksum
How to use checksums
0233694516dfb7103b6b4a5598e3c00db1f3606b3bfd96137ec0975bade97b2e
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 5, 2026.

Transparency log

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

Download URL stillwright-0.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 797.7 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
411af65661f3ab1051810a523e5188100e162e530f90d9a0c51a8522f7774002
BLAKE2b-256 checksum
How to use checksums
eab976c20d10599780d7858a28d417031210948f4bb8557292838902d52f90d8
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 5, 2026.

Transparency log

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

Download URL stillwright-0.2.2-py3-none-macosx_11_0_arm64.whl
Size 771.9 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b15514d9dbadd68105125538bf15e69d204f16c50b16b00dcfcddc8036038c2d
BLAKE2b-256 checksum
How to use checksums
f6825bd7a02ada6c4c57599fc9b4a3abd1aece393ef659affe68fdc6b9e25a1c
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 5, 2026.

Transparency log

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

Download URL stillwright-0.2.2-py3-none-macosx_10_12_x86_64.whl
Size 820.2 kB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
cf65e966d7d04d081e26e62bf8eb85e4563aa746355a53456e9fdfa729d5bbba
BLAKE2b-256 checksum
How to use checksums
51b98855b8621bc6f224c5008c1d89240e18c4c858fda5c14404406e613c6c8c
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 5, 2026.

Transparency log

Security for stillwright 0.2.2

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.2.2.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 5, 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