Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add app-vitals/shipwright --skill canary-executiongit clone --depth 1 https://github.com/app-vitals/shipwrightWrote 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/app-vitals/shipwright/canary-execution)<a href="https://agentmods.dev/skills/app-vitals/shipwright/canary-execution"><img src="https://agentmods.dev/badge/skills/app-vitals/shipwright/canary-execution/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/app-vitals/shipwright/canary-execution"><img src="https://agentmods.dev/badge/skills/app-vitals/shipwright/canary-execution.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.00125 | $0.01896 |
| Opus 5.5 | $0.00050 | $0.00758 |
| Sonnet 5.5 | $0.00025 | $0.00379 |
| Haiku 4.5 | $0.00013 | $0.00190 |
Grade A, and why
canary-execution scanned grade A with 0 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 13d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
canary-execution skill
Purpose
Make "tests run locally" and "tests validate canary deploys" compatible — same code, separate entry point.
The contract
Entry point
The canary suite runs from a dedicated entry point — a separate npm script (test:canary) or a dedicated Playwright project (e.g., playwright.canary.config.ts). It must never reuse test:smoke or the local smoke runner.
The separation is mechanical: CI wires two distinct jobs — smoke (pre-merge, boots local deps, runs test:smoke) and canary (post-deploy, sets TEST_TARGET_URL, runs test:canary). These jobs must not share a script.
Mode selection
Every canary-eligible smoke/E2E test reads TEST_TARGET_URL at process start:
- Unset →
localmode. Test boots its dependencies inline (docker-compose / testcontainers / in-memory) and makes HTTP calls tohttp://localhost:<port>. - Set to a URL →
canarymode. Test skips local boot. Makes HTTP calls directly to$TEST_TARGET_URL. Uses canary-only auth credentials supplied via separate env vars (e.g.,TEST_AUTH_TOKEN).
The test code is identical. Only the setup-fixture layer branches.
Eligibility rules
A test is canary-eligible iff all of the following hold:
- Layer ∈ {smoke, E2E}. Never canary unit or integration tests — they require boundaries that don't exist in a deployed environment.
- Criticality ∈ {critical, high}. Don't waste canary budget on medium-tier flows.
- Read-only OR self-cleaning. Either:
- The test makes no writes to persistent state, OR
- The test creates state in setup AND deletes it in teardown — and the teardown runs even if the assertion fails (try/finally semantics).
- No destructive side effects. No deleting other users' data. No sending real emails. No charging real cards. Canary auth must be scoped so even an attempt to do these things is rejected by the deployed service.
- Tolerates eventual consistency. Deployed envs may have queues, CDN caches, etc. that local-mode does not. Use retry-with-backoff in the assertion if applicable, with a hard time cap.
- Zero DB-dependent local tests. A test that boots a local database in
localmode is not canary-eligible. In canary mode there is no local database to boot — the test will fail at the setup step, not at the assertion. If a test currently boots a DB, it must be refactored to use the deployed service's API for any state setup before it can be promoted to the canary suite.
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.
- 13d ago First seen · 111 lines · 125 tokens per session scan A 9c00005dca77
canary-execution is a skill published in the GitHub repository app-vitals/shipwright (16 stars, last pushed today), licensed MIT. It adds 125 tokens to every session and 1,896 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-17.
canary-execution compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| canary-executionapp-vitals/shipwright | Skill | 16 | today | MIT | A | 125 | Claude Code |
| pstack-create-verification-skilldmae97/omk | Skill | 154 | today | MIT | A | 69 | Claude Code |
| e2e-testingQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 94 | Claude Code, Codex |
| terminal-captureQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 66 | Claude Code, Codex |
| tmux-real-user-testingQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 98 | Claude Code, Codex |
| agent-reproduce-alignQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 62 | Claude Code, Codex |
| ci-flaky-patrolQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 22 | Claude Code, Codex |