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.08860 |
| Opus 5.5 | $0.00000 | $0.03544 |
| Sonnet 5.5 | $0.00000 | $0.01772 |
| Haiku 4.5 | $0.00000 | $0.00886 |
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 1mo 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 — 365 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.
- 1mo ago Changed · +2 lines a0c2676375eb
- 2mo ago Changed · +35 lines e51cfe7092ed
- 2mo ago Changed · +93 lines 2124b68b3554
- 2mo ago Changed dea6167a16af
- 2mo ago Changed · +118 lines scan A → B e105bfb4db1b
- 2mo 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 (4 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 8,860 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.
wick-zero-downtime-upgrade compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wick-zero-downtime-upgradeyogasw/wick | Skill | 4 | 2d ago | MIT | B | 0 | Claude Code, Codex |
| n8nAutomateLab-tech/n8n-mcp | Skill | 15 | 1mo ago | MIT | A | 78 | Claude Code |
| omh-code-reviewrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 18 | Claude Code |
| workflow-buildern8n-io/n8n | Skill | 212k | today | none | A | 152 | Claude Code, Codex |
| no-code-appericrisco/rsc-harness | Skill | 682 | 4d ago | MIT | A | 87 | Claude Code, Codex |
| redteam-web-detail-packNetw0rkNoob/VulnClaw | Skill | 4.0k | 1mo ago | MIT | A | 38 | Claude Code, Codex |
| android-pentestNetw0rkNoob/VulnClaw | Skill | 4.0k | 1mo ago | MIT | A | 32 | Claude Code, Codex |