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

Install

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.

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

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00064 $0.08726
Opus 5 $0.00032 $0.04363
Sonnet 5 $0.00013 $0.01745
Haiku 4.5 $0.00006 $0.00873

Measured 4d ago against content hash 3358e589fc1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 (2 stars, last pushed 1mo ago), licensed MIT. It adds 64 tokens to every session and 8,726 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

vastai-sdk

Vast.ai Python SDK — high-level API for GPU instances, volumes, serverless endpoints, and billing.

vast-ai/vast-cli · 26 tokens

omm-push

Push architecture docs to oh-my-mermaid cloud. Handles login, link, and push workflow with error guidance. Use when the user says "omm push", "push to cloud", "deploy architecture", or "share architecture".

oh-my-mermaid/oh-my-mermaid · 49 tokens

deploy-from-stale-worktree-silent-rollback

Diagnose "I deployed a new Cloud Run / Docker image but a bunch of recently merged fixes regressed in production." Use when: (1) the deploy script does gcloud builds submit ... "${SCRIPTDIR}" or docker build (build context = local filesystem, NOT a git ref), (2) the user has many git worktrees / multiple checkouts of…

wan-huiyan/agent-traffic-control · 405 tokens

vastai

Vast.ai CLI to manage GPU instances, volumes, serverless endpoints, and billing.

vast-ai/vast-cli · 21 tokens

scribekit-docs-github-pages

Publish a scribekit docs site to GitHub Pages as a static export - whether it already has a Next.js app or is just a bare docs/ /.mdx corpus. It learns the project; SCAFFOLDS the Next.js host app when the corpus has none; patches the config for output: 'export'; writes the deploy workflow; sets siteUrl to the Pages…

daanvandenbergh/scribekit · 0 tokens

aliyun-ask

自然语言查询阿里云资源(ECS/RDS/VPC/SLB/OSS等),分析需求、生成执行计划、执行Aliyun CLI命令并返回查询结果。支持简单查询、关联查询、复合查询、诊断查询等多种场景。仅支持只读查询操作,拒绝任何变更类需求。需要执行 Aliyun CLI 命令和读写临时文件,请确保工作目录安全。.

go-restream/aliyun-ask · 98 tokens