vm-lifecycle-manager

Control VM power states in OpenShift Virtualization with user confirmation.

48|31|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/RHEcosystemAppEng/agentic-plugins --skill vm-lifecycle-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vm-lifecycle-manager
Source: https://github.com/RHEcosystemAppEng/agentic-plugins/tree/main/rh-virt/skills/vm-lifecycle-manager
Command: npx skills add https://github.com/RHEcosystemAppEng/agentic-plugins --skill vm-lifecycle-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires vm_lifecycle, resources_get, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates virtual machine lifecycle operations such as start, stop, and restart, with safety checks and user confirmation.

Core Features & Use Cases

  • Start, Stop, and Restart VMs: Safely power on, off, or restart virtual machines.
  • User Confirmation: Ensures every action is confirmed by the user, mitigating risks.
  • Integration with OpenShift Virtualization: Utilizes OpenShift's VM lifecycle tools.

Quick Start

"Start VM <VM Name> in namespace <Namespace>"

Frequently Asked Questions about vm-lifecycle-manager

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

FAQPage Schema
How do I safely start and stop virtual machines in OpenShift Virtualization?

To safely start and stop virtual machines in OpenShift Virtualization, you can automate lifecycle operations using a tool that requires explicit user confirmation before executing state transitions. This mitigates risks by ensuring every power action is verified.

Can I restart a VM in OpenShift without risking unintended state changes?

Yes, you can restart a VM in OpenShift without risking unintended state changes by using a lifecycle management process that enforces user confirmation for power state transitions. This safety check prevents accidental restarts or shutdowns.

Do I need special cluster permissions to manage VM power states in OpenShift?

Yes, managing VM power states in OpenShift requires access to OpenShift's virtualization tools and specific cluster permissions. These permissions are necessary to authorize the tool to execute state transitions like start, stop, and restart.

What is the best way to automate VM lifecycle operations in OpenShift?

The best way to automate VM lifecycle operations in OpenShift is to use a dedicated lifecycle management tool that integrates with OpenShift Virtualization. This approach automates power states while maintaining safety through mandatory user confirmations.

How does the user confirmation mechanism work during a VM stop procedure?

The user confirmation mechanism works by prompting the user to verify each action before the tool executes any VM stop procedure. This ensures that destructive power state transitions are explicitly authorized, mitigating operational risks.

What should I use to manage virtual machine lifecycles in OpenShift if I need safety checks?

If you need safety checks to manage virtual machine lifecycles in OpenShift, you should use a tool that utilizes the vm_lifecycle utility. It automates state transitions while strictly enforcing user confirmation to prevent accidental operations.