Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/yogasw/wicknpx agentmods add skills/yogasw/wick/wick-zero-downtime-upgradeWrote 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/skills/yogasw/wick/wick-zero-downtime-upgrade)<a href="https://agentmods.dev/skills/yogasw/wick/wick-zero-downtime-upgrade"><img src="https://agentmods.dev/badge/skills/yogasw/wick/wick-zero-downtime-upgrade/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/skills/yogasw/wick/wick-zero-downtime-upgrade"><img src="https://agentmods.dev/badge/skills/yogasw/wick/wick-zero-downtime-upgrade.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.00000 | $0.08721 |
| Opus 5.5 | $0.00000 | $0.03488 |
| Sonnet 5.5 | $0.00000 | $0.01744 |
| Haiku 4.5 | $0.00000 | $0.00872 |
Grade B, and why
wick-zero-downtime-upgrade scanned grade B with 2 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 17d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
<app> reload --binary <new-binary> # --sudo when the target directory is root-owned Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -H 'Host: <your app_url host>' http://127.0.0.1:<port>/boot-status How it starts
The opening of the file, as written. The whole thing — 363 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Upgrading wick without downtime
Wick can replace its own binary while it is serving: a successor process starts, inherits the listening socket, and the old process keeps working until it is finished. The port is never closed, so nothing in front of wick (nginx, a load balancer, a browser) ever sees a refused connection.
That is reload. It is not the same as restart, and the difference is the whole point:
- restart — stop, then start. The port is closed for the successor's entire boot (tens of seconds on a loaded host: registry restore, database, connectors), so requests fail for that window, and every in-flight agent turn, workflow run and cron job is killed mid-work.
- reload — the successor boots while the old process keeps serving, takes over the socket when it is ready, and only then does the old one wind down.
Turning it on
Graceful upgrade is opt-in, because it changes how the process exits:
WICK_GRACEFUL_UPGRADE=1
Without it, SIGHUP is logged and ignored (better than Go's default, which is to terminate), and reload tells you to use restart instead.
Supported where descriptor passing exists — Linux, macOS, BSD — running as a plain daemon or under a service manager. On Windows, and when wick runs inside the tray's in-process supervisor, there is no way to hand a socket to another process: the upgrader degrades to a normal listener and you get the classic stop/start. Nothing needs a build tag or a different command; the same reload just reports that it is unavailable.
Under systemd
A handover means the process systemd forked exits while a different process keeps serving. systemd has to be told to follow the new one, or it treats the parent's exit as the service dying and kills the whole cgroup — taking the fresh process with it. Four lines do that:
[Service]
Type=notify
NotifyAccess=all
TimeoutStartSec=infinity
ExecStart=/usr/bin/<app> all
ExecReload=/bin/kill -HUP $MAINPID
Environment="WICK_GRACEFUL_UPGRADE=1"
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.
- 17d ago Changed · +35 lines e51cfe7092ed
- 1mo ago Changed · +93 lines 2124b68b3554
- 1mo ago Changed dea6167a16af
- 1mo ago Changed · +118 lines scan A → B e105bfb4db1b
- 1mo ago First seen · 117 lines · 0 tokens per session scan A d7b0df5ee2ac
wick-zero-downtime-upgrade is a skill published in the GitHub repository yogasw/wick (3 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 8,721 tokens. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.
Other skills, from other repositories
omh-code-review
This is an OMH code-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
omh-rust
This is an OMH rust workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
redteam-web-detail-pack
Routing and boundary guidance for authorized general web application security testing. Use as a web testing router when the attack surface should be dispatched to more specific web vulnerability skills.
android-pentest
A guide for authorized security testing of Android apps, covering APK inspection, runtime testing, traffic capture, code review, and function hooking. An APK is the installable package used by an Android app.
workflow-builder
Load before calling build-workflow. Default path for all single-workflow work: new one-off workflows, existing-workflow edits, verification repairs, and workflow-local data tables. Write or edit a workspace source file, run workflow-sdk validate via workspaceexecutecommand, then call build-workflow with filePath. When…
manage-schemas
Creates, views, edits, deletes, and validates note schemas for the MCP Task Orchestrator in .taskorchestrator/config.yaml — the templates that define which notes agents must fill at each workflow phase. Also recommends schema designs from a library of workflow patterns (autonomous coding loops, spec-driven teams…