sre-canary

sre-canary is a skill for Claude Code, Codex from CODE-SAURABH/OpenSkills. It costs 64 tokens per session (8,726 once invoked), scanned A, original, MIT.

A post-deployment monitoring and canary-verification skill. A canary deployment sends a change to limited production traffic first so its health can be checked before full rollout.

In plain words
What is it for?
Use it after deployment to compare production signals with a baseline, watch the canary, and verify whether the release is stable.
Why use it?
It helps detect user-facing errors or performance regressions after release and supports a reasoned choice between rolling forward and rolling back.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/compare-cwv.js --canary=lhci-results.json --threshold=10.

Good fit Use it after deployment to compare production signals with a baseline, watch the canary, and verify whether the release is stable.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/CODE-SAURABH/OpenSkills
agentmods
npx agentmods add skills/code-saurabh/openskills/sre-canary

Made for: Claude Code, Codex.

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

agentmods badge for sre-canary

README.md
[![agentmods](https://agentmods.dev/badge/skills/code-saurabh/openskills/sre-canary/github.svg)](https://agentmods.dev/skills/code-saurabh/openskills/sre-canary)
Your own site
<a href="https://agentmods.dev/skills/code-saurabh/openskills/sre-canary"><img src="https://agentmods.dev/badge/skills/code-saurabh/openskills/sre-canary/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.

agentmods 80×15 button for sre-canary

Your own site · 80×15
<a href="https://agentmods.dev/skills/code-saurabh/openskills/sre-canary"><img src="https://agentmods.dev/badge/skills/code-saurabh/openskills/sre-canary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,726 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.08726
Opus 5.5 $0.00026 $0.03490
Sonnet 5.5 $0.00013 $0.01745
Haiku 4.5 $0.00006 $0.00873

Measured 3mo ago against content hash 3358e589fc1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sre-canary scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

watch -n 5 'curl -s "http://prometheus:9090/api/v1/query?query=rate(http_requests_total{status=~\"5..\",service=\"<service>\"}[1m])" | jq .data.result[0].value[1]'
sre-canary/SKILL.md · 961 lines

How it starts

The opening of the file, as written. The whole thing — 961 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SRE Canary — Post-Deploy Monitoring & Canary Verification

Approach every post-deploy window as the engineer who will be paged if something breaks. A deployment is not done when code ships — it is done when you have confirmed that real production traffic is behaving the same as or better than before the change. Every minute of a degraded canary that you do not catch is a minute of user-visible failure that compounds.

The two failure modes are symmetric and equally dangerous: rolling back too early wastes a deploy and erodes team confidence; rolling forward on a broken canary causes real outages. This skill teaches you to read the signals precisely enough to tell them apart.


Step 0: Before You Start Monitoring

Before watching any signals, establish your baseline. Monitoring without a baseline is just staring at numbers.

  1. Record the pre-deploy steady state — p50/p95/p99 latency, error rate, request rate, and Core Web Vitals from the last 30 minutes before the deploy.
  2. Note the deploy timestamp exactly — you will overlay this on every graph. The most common source of confusion in post-deploy review is uncertainty about whether a signal shift happened before or after the change.
  3. Identify the blast radius — which endpoints, services, user segments, or geographic regions does this deploy touch? Monitor those first; do not drown in unrelated signal.
  4. Know your rollback command before you deploy — not after. The worst time to find your rollback runbook is during an active incident.
  5. Define success criteria in advance — "error rate stays below 0.5%, p99 latency stays below 800ms, no new JS exceptions" is a success criterion. "Seems fine" is not.

Post-Deploy Monitoring Loop

Run this loop continuously during the canary window. Do not walk away after pressing deploy.

Phase 1: Immediate (0–5 minutes post-deploy)

The first five minutes catch hard failures: startup crashes, broken health checks, misconfigured routing, missing environment variables, and database migration errors.

Read the full file on GitHub · 961 lines

Changes

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.

  1. 3mo ago First seen · 961 lines · 64 tokens per session scan A 3358e589fc1a

Subscribe to this mod's changes

sre-canary is a skill published in the GitHub repository CODE-SAURABH/OpenSkills (6 stars, last pushed 4mo ago), licensed MIT. It adds 64 tokens to every session and 8,726 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

sre-canary compared with skills from other repositories

sre-canary next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sre-canaryCODE-SAURABH/OpenSkillsSkill64mo agoMITA64Claude Code, Codex
omm-pushoh-my-mermaid/oh-my-mermaidSkill3.4k2d agoMITA49Claude Code
domain-monitoringnexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA0Claude Code, Codex
public-status-pagenexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA0Claude Code, Codex
cloudflare-cron-triggerssecondsky/claude-skillsSkill257yesterdayMITA38Claude Code
cloudflare-nextjssecondsky/claude-skillsSkill257yesterdayMITA89Claude Code
cloudflare-browser-renderingsecondsky/claude-skillsSkill257yesterdayMITA37Claude Code