custom-charm

Automate Juju charm construction for custom applications with Pebble or machine substrates.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

End-to-end workflow for building Juju charms for custom applications that do not fit standard frameworks, enabling developers to manage workload lifecycles with Pebble on Kubernetes or systemd/apt on machines.

Core Features & Use Cases

  • Auto-guided substrate decision and scaffolding
  • End-to-end charm generation including charmcraft.yaml, src/charm.py, and basic workflows
  • Examples for Kubernetes Pebble and machine services
  • Quick-start guidance for rapid prototyping using the custom-charm path

Quick Start

Describe your application and let Cantrip scaffold a custom Ops charm model ready for charmcraft packaging.

Frequently Asked Questions about custom-charm

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

FAQPage Schema
How do I build a Juju charm for a custom application that doesn't fit standard PaaS frameworks?

Build a custom Juju charm by automating substrate selection, scaffolding with charmcraft, and customizing charm.yaml. This workflow generates end-to-end ops-framework charms for Kubernetes Pebble and machine services.

When should I use Kubernetes Pebble versus machine substrates for my custom charm?

Use Kubernetes Pebble for container workload lifecycle management and machine substrates for systemd or apt services. The custom charm workflow auto-guides substrate decisions based on your specific application requirements.

What is the best way to scaffold an ops-framework charm from scratch?

Scaffold an ops-framework charm by describing your application to trigger automated generation of charmcraft.yaml, src/charm.py, and basic workflows. This provides step-by-step guidance for rapid prototyping.

Can I use charmcraft to generate both Kubernetes and machine charms for custom apps?

Yes, charmcraft scaffolds custom charms for both Kubernetes Pebble-based and machine services. The workflow includes analysis, scaffolding, config customization, and written sample code with patterns.

What files and configurations are generated when scaffolding a custom Juju charm?

Scaffolding a custom Juju charm generates charmcraft.yaml, src/charm.py, and basic workflows. It also provides customization of charm.yaml along with written sample code, patterns, and examples.