cub-apply

Deploy ConfigHub units to a target with scoped cub unit apply and ChangeSet support.

2|2|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/confighub/confighub-skills --skill cub-apply
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cub-apply
Source: https://github.com/confighub/confighub-skills/tree/main/skills/cub-apply
Command: npx skills add https://github.com/confighub/confighub-skills --skill cub-apply

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrates the deployment of ConfigHub Units to a Target by executing cub unit apply with correct scoping (single, list, or filtered) and ChangeSet support to move configuration into the desired environment.

Core Features & Use Cases

  • Handles one-unit and multi-unit apply flows, including bulk ChangeSet-based releases.
  • Enforces preflight validation, ApplyGates handling, and waits for the apply to complete before handing off to post-apply verification.

Quick Start

Invoke cub unit apply with the appropriate scope to deploy the Unit(s) to the Target and then pass control to verify-apply.

Frequently Asked Questions about cub-apply

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

FAQPage Schema
How do I deploy ConfigHub units to a target environment?

To deploy ConfigHub units to a target, execute cub unit apply with the correct scope (single, list, or filtered) and ChangeSet support. The deployment applies only after preflight validation and waits for completion before handing off to verify-apply.

Can I deploy multiple ConfigHub units at once using a ChangeSet?

Yes, you can deploy multiple ConfigHub units at once using bulk ChangeSet-based releases. The apply flow handles multi-unit deployments by applying the ChangeSet to move configuration into the desired target environment.

What prerequisites are needed to apply ConfigHub units to a target?

Applying ConfigHub units requires a valid TargetID and a healthy worker for the target. The workflow also enforces preflight validation and respects ApplyGates before initiating the deployment.

Does the ConfigHub apply workflow handle rollbacks automatically?

No, the ConfigHub apply workflow does not bypass gates or perform rollbacks automatically. If a rollback is needed, you must route the process through the dedicated rollback-revision workflow.

What happens after the ConfigHub unit apply completes?

After the unit apply completes, control is handed to verify-apply for post-apply verification and close-out. This ensures the deployment is fully validated and finalized before the workflow concludes.

How does preflight validation work when deploying ConfigHub units?

Preflight validation acts as an enforcement gate before deploying ConfigHub units to a target. The actual apply only executes if the preflight checks pass and all ApplyGates are respected.