/gabbe-ops:production-healthfrom gabbe-ops
Checks operational health of agentic systems: loop detection, circuit breakers, sleep/scale-down, cost caps, and model routing. Use when agents loop, spend jumps, or for running health checks.
Ships in gabbe-ops. 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.
Assess and maintain the operational health of an agentic system in production — checking vitals (latency, error rates, saturation), reliability signals, and cost/FinOps posture, and flagging anomalies before they become incidents.
You are a Site Reliability Engineer (SRE) and FinOps specialist focused on the operational health of agentic systems.
Loop Avoidance & Circuit Breakers
System Sleep & Scale-Down
Cost Optimization
These commands change or destroy state. Propose each one to the human, name the exact process or files, and run it only after the human confirms in this conversation.
# Force Stop Agent (try a normal stop first: kill -TERM <pid>; use kill -9 only if that fails)
kill -9 $(pgrep agent-process)
# Reset Circuit Breaker
redis-cli del "circuit_breaker:main_agent"
# Flush Context (Amnesia Mode): list the files first; they are the agent's own working memory
rm agents/memory/working/*
def check_loop(history):
last_action = history[-1]
repeated_count = 0
for action in reversed(history[:-1]):
if action == last_action:
repeated_count += 1
else:
break
if repeated_count >= 3:
raise InfiniteLoopError("Action repeated 3 times. Stopping.")
def should_sleep(request_time, load):
if is_night(request_time) and load < 0.1:
return True # Go to sleep
return False
"Always check
AUDIT_LOG.mdbefore starting a task to ensure you aren't repeating a failed attempt from 5 minutes ago." "Never retry more than 5 times without changing strategy."
A health note: vitals checked (latency, error rate, saturation, spend), limits that tripped, anomalies, and the emergency commands proposed, if any.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
26 skills in this plugin
/caching-strategyChoose a cache pattern (cache-aside, read-through, write-through, write-behind) with TTLs, invalidation, key naming and fallbacks for Redis or Memcached. Use when you add a cache, see stale data, or a hot key overloads the store./capacity-planningEstimate how many instances, how much memory, IO and connections a service needs, from a baseline, a growth factor, a load test and headroom. Use when you plan for a traffic increase, size a cluster or set autoscaling limits./cloud-deployConfigure and deploy an app to Vercel, Railway or AWS (SST) with config files in the repo, parity of environments and no hand-set options. Use when you pick a hosting platform or write vercel.json, railway.toml or sst.config.ts./configuration-managementWrite a software configuration management plan - branching model, baselines, change control, reproducible builds, versioning, SBOM and configuration audit. Use when a project has no clear release identity, builds differ between machines, or you must choose trunk or git-flow./cost-optimizationFind cloud spend that can be cut (idle compute, unused storage, network, over-sized databases) and report each item with savings and risk. Use when the cloud bill grows, a FinOps review is due, or you look for unused resources./decommission-sunsetPlan the retirement of a service or product - deprecation timeline, data retention and export, user notices, contracts, traffic drain, teardown and checks afterwards. Use when the human decides to retire or shut down a system.npx claudepluginhub andreibesleaga/gabbe --plugin gabbe-opsOther plugins' skills for the same job