operational-readiness

Automate production-ready operational features for Juju charms using Ops framework.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/tonyandrewmeyer/cantrip --skill operational-readiness-tonyandrewmeyer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: operational-readiness
Source: https://github.com/tonyandrewmeyer/cantrip/tree/main/src/cantrip/skills/operational-readiness
Command: npx skills add https://github.com/tonyandrewmeyer/cantrip --skill operational-readiness-tonyandrewmeyer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Charm operators require production-grade reliability, with clear status handling, health checks, diagnostics, backups, and secure secret rotation to keep workloads stable.

Core Features & Use Cases

  • Status reporting: use actionable status classes to surface operator-guiding messages for config, relationships, and health.
  • Pause & resume: gracefully pause and resume workload services without data loss.
  • Backup & restore: provide create-backup, list-backups, and restore-backup actions with backup validation.
  • Diagnostics bundle: collect sanitised operational data for troubleshooting.
  • Health checks: implement get-health actions to verify core processes, API responsiveness, and relation readiness.
  • Upgrade pre-flight checks: validate environment compatibility before upgrades.
  • Certificate & secrets management: manage TLS certificates and rotate secrets safely.

Quick Start

Enable operational readiness features on your Juju charm and verify status, health, and backup workflows.

Frequently Asked Questions about operational-readiness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add health checks and status reporting to a Juju charm?

You can add health checks and status reporting to a Juju charm by automating actionable status classes, a get-health action, and relation readiness verification using Ops framework best practices.

What is the best way to implement backup and restore actions for Juju workloads?

The best way to implement backup and restore actions for Juju workloads is to automate create-backup, list-backups, and restore-backup actions with built-in backup validation. This ensures workloads remain stable during data recovery.

How do I safely pause and resume Juju workload services without data loss?

You can safely pause and resume Juju workload services without data loss by applying operational readiness patterns that gracefully manage service lifecycle states. This Skill codifies that pause and resume behavior for charms.

Can I automate TLS certificate management and secret rotation in Juju charms?

Yes, you can automate TLS certificate management and secret rotation in Juju charms by applying codified Ops framework patterns. This Skill implements safe secret rotation and certificate management for production-ready reliability.

How do I collect diagnostics data for troubleshooting a Juju deployment?

You can collect diagnostics data for troubleshooting a Juju deployment by implementing a diagnostics bundle action that gathers sanitized operational data. This Skill automates that diagnostics collection process for charms.

Does this operational readiness approach work with existing Ops framework charms?

Yes, this operational readiness approach works with existing Ops framework charms by codifying best practices for status handling, health checks, and backups. It applies to Juju charm development scenarios requiring robust production features.