agentsclimarketplace

Rollback

Skill DeviosLang/memorix/.claude/skills/rollback

Roll back a memorix component to the previous revision. Usage: /rollback [server|mcp]. Defaults to showing current revision info.From its SKILL.md

Install
npx -y skills add DeviosLang/memorix --skill rollback

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.4 KB, as published. Nobody here has run it

/rollback — Roll back a deployment

Roll back a memorix component to the previous deployment revision.

Arguments

  • server or memorix → rollback deploy/memorix
  • mcp or memorix-mcp → rollback deploy/memorix-mcp
  • No argument → show rollout history for both (do NOT rollback)

Steps

1. Show current state

Before any rollback, show current revision:

kubectl -n rag-etl rollout history deploy/<name> | tail -5

And current pod image:

kubectl -n rag-etl get deploy <name> -o jsonpath='{.spec.template.spec.containers[0].image}'

2. Confirm

If a component was specified, ask the user to confirm before proceeding. Show what will happen:

  • Current revision number
  • The deployment that will be rolled back

3. Execute rollback

kubectl -n rag-etl rollout undo deploy/<name>

4. Wait for ready

Poll until the pod is 1/1 Running (max 60s):

kubectl -n rag-etl get pods -l <label-selector>

5. Health check

POD=$(kubectl -n rag-etl get pod -l <label-selector> -o jsonpath='{.items[0].metadata.name}')
kubectl -n rag-etl exec "$POD" -- wget -q -O- http://localhost:8080/healthz

6. Report

  • ✅ Rollback successful — new pod name, image, healthz status
  • ❌ Rollback failed — show error and current pod state

Keep looking

Skills are one crate of 609,856. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.