rolling-back-kargo-stages

rolling-back-kargo-stages is a skill for Claude Code, Codex from talkops-ai/talkops-mcp. It costs 72 tokens per session (967 once invoked), scanned A, original, Apache-2.0.

A rollback procedure for Kargo stages, where stages represent points in an application delivery pipeline. It returns a stage to a previously verified application version and manages automatic-promotion holds.

In plain words
What is it for?
Use it during incidents to restore a known-good version, inspect deployment history, abort stuck promotions, and clear holds that prevent automatic promotion from continuing.
Why use it?
It provides a controlled response when a deployment is degraded or a bad version has advanced too far. It checks active promotions and stops them when necessary before reverting.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during incidents to restore a known-good version, inspect deployment history, abort stuck promotions, and clear holds that prevent automatic promotion from continuing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/talkops-ai/talkops-mcp/rolling-back-kargo-stages
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.

Any agent
npx skills add talkops-ai/talkops-mcp --skill rolling-back-kargo-stages
Clone the repo
git clone --depth 1 https://github.com/talkops-ai/talkops-mcp

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 rolling-back-kargo-stages

README.md
[![agentmods](https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/rolling-back-kargo-stages/github.svg)](https://agentmods.dev/skills/talkops-ai/talkops-mcp/rolling-back-kargo-stages)
Your own site
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/rolling-back-kargo-stages"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/rolling-back-kargo-stages/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 rolling-back-kargo-stages

Your own site · 80×15
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/rolling-back-kargo-stages"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/rolling-back-kargo-stages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 967 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00072 $0.00967
Opus 5.5 $0.00029 $0.00387
Sonnet 5.5 $0.00014 $0.00193
Haiku 4.5 $0.00007 $0.00097

Measured 11d ago against content hash 1bd08bd5f3ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rolling-back-kargo-stages 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 11d 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.

src/kargo-mcp-server/skills/rolling-back-kargo-stages/SKILL.md · 34 lines

How it starts

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

Rolling Back Kargo Stages

Standard operating procedure for reverting a degraded Kargo Stage to a known-good Freight using Kargo's GitOps roll-forward model and managing Kargo v1.11+ autoPromotionHolds.

Preconditions

  1. Read kargo://server/capabilities to verify allow_write: true and confirm promotion and diagnostics toolsets are enabled.
  2. Read kargo://projects/{project}/pipeline (for pipeline topology and downstream Stage subscribers) and kargo://projects/{project}/stages/{stage} (or kargo://projects/{project}/stages/{stage}/manifest when raw Stage YAML is needed), or run kargo_diagnose_stage(project=..., stage=...) to inspect status.freightHistory, status.currentPromotion, and status.autoPromotionHolds.
  3. Consult references/rollback-sop.md for Kargo's roll-forward promotion semantics and auto-promotion hold lifecycle.

Rollback Checklist

  • Step 1: Assess Stage Health & Active Promotions
    • Run kargo_diagnose_stage(project=..., stage=...) to check current health, active promotion status, and freightHistory.
    • If a broken promotion is currently stuck in Running or Pending, [GATE] abort it first via kargo_manage_promotion(action="abort", project=..., promotion=..., confirm=True) (or let kargo_rollback_stage(..., abort_running_promotion=True) abort it automatically when rollback is requested).
  • Step 2: Select Target Known-Good Freight
    • Inspect kargo://projects/{project}/stages/{stage} (status.freightHistory), kargo://projects/{project}/stages/{stage}/manifest (for Stage YAML spec), and kargo://projects/{project}/freight/{freight_or_alias} (or kargo_query_freight(project=..., stage=...)) to verify the exact constituent images, Helm charts, and Git commits via Kargo MCP resources rather than raw kubectl.
    • Identify either:
      • The immediate prior verified Freight in status.freightHistory[1] (selected automatically when target_freight is omitted in kargo_rollback_stage), or
      • A specific historical Freight ID or alias (target_freight="<alias-or-id>").
  • Step 3: Preview & Execute Stage Rollback ([GATE])
    • Preview the rollback plan with kargo_rollback_stage(project=..., stage=..., target_freight=..., dry_run=True).
    • [GATE] Present the currently deployed Freight, the target rollback Freight, and the reason for rollback. If the operator asked for a preview/plan only, stop here; when the operator explicitly requested executing the rollback live, proceed immediately to kargo_rollback_stage(project=..., stage=..., target_freight=..., abort_running_promotion=True, dry_run=False, confirm=True).
  • Step 4: Verify Rollback Promotion & Stage Recovery
    • Read kargo://projects/{project}/promotions/{promotion} and run kargo_diagnose_stage(project=..., stage=...) to confirm the rollback promotion reaches Succeeded and Stage health returns to Healthy.
    • Note: In Kargo v1.11+, rolling back to an older Freight sets Stage.status.autoPromotionHolds so Kargo does not immediately overwrite the rollback with the broken newer Freight.
  • Step 5: Resume Normal Auto-Promotion After Fix ([GATE])
    • Once a fixed Freight has been discovered in the Warehouse (never while the broken Freight is still the newest entry in the Warehouse!), preview with kargo_promote(project=..., stage=..., origin_warehouse=..., dry_run=True) and then [GATE] confirm with the operator (or execute directly when explicitly requested) via kargo_promote(project=..., stage=..., origin_warehouse=..., dry_run=False) to clear autoPromotionHolds and resume automatic promotions.

Read the full file on GitHub · 34 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 34 lines · 72 tokens per session scan A 1bd08bd5f3ac

Subscribe to this mod's changes

rolling-back-kargo-stages is a skill published in the GitHub repository talkops-ai/talkops-mcp (4 stars, last pushed 12d ago), licensed Apache-2.0. It adds 72 tokens to every session and 967 once invoked, about $0.0003 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-18.

Related

rolling-back-kargo-stages compared with skills from other repositories

rolling-back-kargo-stages next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rolling-back-kargo-stagestalkops-ai/talkops-mcpSkill412d agoApache-2.0A72Claude Code, Codex
workflow-failure-triagegithub/github-mcp-serverSkill35k3d agoMITA69Claude Code, Codex
argocdalivirgo/Major-AI-SkillsSkill6yesterdayMITA42Claude Code
cto-fix-deploy-verify-loopmelaya-labs/melaya-mcpSkill16d agoApache-2.0A0Claude Code
coo-service-level-missesmelaya-labs/melaya-mcpSkill16d agoApache-2.0A0Claude Code
debug-ciopen-metadata/ai-sdkSkill1618d agononeA40Claude Code
Triage Argo CD App OutOfSyncbregman-arie/devops-sre-skillsSkill308mo agoApache-2.0A25Claude Code, Codex