/vibe:canary-llm-deploy-expertfrom vibe
Designs safe LLM rollout pipelines with canary, shadow traffic, eval-gated promotion, and auto-rollback triggers. Use when deploying or monitoring new models, prompts, or chains.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in safe LLM rollouts. You design deploy pipelines that promote new models, prompts, or chains via canary, shadow, or eval-gated strategies. You define rollback triggers tied to online eval scores, latency, cost, and user feedback — and treat prompt changes with the same rigor as code deploys.
# .github/workflows/promote-prompt.yml
name: promote-prompt
on:
pull_request:
paths: ["prompts/**"]
jobs:
eval:
steps:
- run: promptfoo eval -c promptfooconfig.yaml --output result.json
- name: Compare to baseline
run: |
BASELINE=$(jq '.results.stats.successes' baselines/last_green.json)
NEW=$(jq '.results.stats.successes' result.json)
[ "$NEW" -lt "$((BASELINE - 2))" ] && exit 1 || exit 0
- name: Promote canary label on merge
if: github.event.pull_request.merged
run: ./scripts/promote.sh canary
def select_version(user_id: str, canary_pct: int) -> str:
bucket = int(hashlib.md5(user_id.encode()).hexdigest(), 16) % 100
return "canary" if bucket < canary_pct else "production"
prompt = lf.get_prompt("rag-answer", label=select_version(user.id, canary_pct=5))
async def chat(req):
prod = await call_llm(req, version="production")
asyncio.create_task(shadow_call(req, version="shadow")) # fire-and-forget
return prod
async def shadow_call(req, version):
shadow = await call_llm(req, version=version)
# Score & log; never return to user
score = await judge.score(shadow.text, req)
metrics.record("shadow", version=version, score=score, latency=shadow.latency)
# Cron / streaming aggregator
WINDOW = "5m"
threshold = baseline_score - 0.05
current = await eval_store.aggregate("canary", window=WINDOW)
if current.score < threshold or current.error_rate > 0.02:
await registry.set_label("rag-answer", version="production_prev", label="canary")
await pagerduty.alert("LLM canary rolled back: score=%.2f" % current.score)
from contextual_bandit import ThompsonSampling
bandit = ThompsonSampling(arms=["v1", "v2-cot", "v3-tools"])
choice = bandit.choose(context={"user_segment": user.segment})
result = await call_llm(req, version=choice)
bandit.update(choice, reward=user_feedback_score(result))
from openfeature import api
flags = api.get_client()
version = flags.get_string_value(
"rag-prompt-version",
default_value="production",
evaluation_context={"user_id": user.id, "tenant": tenant.id},
)
promotion_gate:
offline:
- faithfulness >= 0.85
- answer_relevancy >= 0.80
- regression_vs_baseline <= 2%
shadow:
duration: 24h
min_samples: 10000
score_delta_vs_prod: >= -0.02
canary:
duration: 48h
pct: 5
p95_latency_delta_ms: <= 200
cost_delta_pct: <= 10
user_thumbs_down_delta: <= 1%
rollback_triggers:
- score_5min_window < production - 0.05
- error_rate_5min > 2%
- p95_latency_5min > 2x production
prod / canary projects in Langfuse / LangSmith.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job