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 talkops-ai/talkops-mcp --skill rolling-back-kargo-stagesgit clone --depth 1 https://github.com/talkops-ai/talkops-mcpWrote 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/talkops-ai/talkops-mcp/rolling-back-kargo-stages)<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.
<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>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.00072 | $0.00967 |
| Opus 5.5 | $0.00029 | $0.00387 |
| Sonnet 5.5 | $0.00014 | $0.00193 |
| Haiku 4.5 | $0.00007 | $0.00097 |
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.
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
- Read
kargo://server/capabilitiesto verifyallow_write: trueand confirmpromotionanddiagnosticstoolsets are enabled. - Read
kargo://projects/{project}/pipeline(for pipeline topology and downstream Stage subscribers) andkargo://projects/{project}/stages/{stage}(orkargo://projects/{project}/stages/{stage}/manifestwhen raw Stage YAML is needed), or runkargo_diagnose_stage(project=..., stage=...)to inspectstatus.freightHistory,status.currentPromotion, andstatus.autoPromotionHolds. - 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, andfreightHistory. - If a broken promotion is currently stuck in
RunningorPending,[GATE]abort it first viakargo_manage_promotion(action="abort", project=..., promotion=..., confirm=True)(or letkargo_rollback_stage(..., abort_running_promotion=True)abort it automatically when rollback is requested).
- Run
- 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), andkargo://projects/{project}/freight/{freight_or_alias}(orkargo_query_freight(project=..., stage=...)) to verify the exact constituent images, Helm charts, and Git commits via Kargo MCP resources rather than rawkubectl. - Identify either:
- The immediate prior verified Freight in
status.freightHistory[1](selected automatically whentarget_freightis omitted inkargo_rollback_stage), or - A specific historical Freight ID or alias (
target_freight="<alias-or-id>").
- The immediate prior verified Freight in
- Inspect
- 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 tokargo_rollback_stage(project=..., stage=..., target_freight=..., abort_running_promotion=True, dry_run=False, confirm=True).
- Preview the rollback plan with
- Step 4: Verify Rollback Promotion & Stage Recovery
- Read
kargo://projects/{project}/promotions/{promotion}and runkargo_diagnose_stage(project=..., stage=...)to confirm the rollback promotion reachesSucceededand Stage health returns toHealthy. - Note: In Kargo v1.11+, rolling back to an older Freight sets
Stage.status.autoPromotionHoldsso Kargo does not immediately overwrite the rollback with the broken newer Freight.
- Read
- 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) viakargo_promote(project=..., stage=..., origin_warehouse=..., dry_run=False)to clearautoPromotionHoldsand resume automatic promotions.
- 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
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.
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.
- 11d ago First seen · 34 lines · 72 tokens per session scan A 1bd08bd5f3ac
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.
rolling-back-kargo-stages compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rolling-back-kargo-stagestalkops-ai/talkops-mcp | Skill | 4 | 12d ago | Apache-2.0 | A | 72 | Claude Code, Codex |
| workflow-failure-triagegithub/github-mcp-server | Skill | 35k | 3d ago | MIT | A | 69 | Claude Code, Codex |
| argocdalivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 42 | Claude Code |
| cto-fix-deploy-verify-loopmelaya-labs/melaya-mcp | Skill | 1 | 6d ago | Apache-2.0 | A | 0 | Claude Code |
| coo-service-level-missesmelaya-labs/melaya-mcp | Skill | 1 | 6d ago | Apache-2.0 | A | 0 | Claude Code |
| debug-ciopen-metadata/ai-sdk | Skill | 16 | 18d ago | none | A | 40 | Claude Code |
| Triage Argo CD App OutOfSyncbregman-arie/devops-sre-skills | Skill | 30 | 8mo ago | Apache-2.0 | A | 25 | Claude Code, Codex |