pm2-runtime-operator

Manage local PM2 process lifecycles by stable name.

1|Updated Aug 26, 2025
One-click install
npx skills add https://github.com/PlaneInABottle/configs --skill pm2-runtime-operator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pm2-runtime-operator
Source: https://github.com/PlaneInABottle/configs/tree/main/agents/.agents/skills/pm2-runtime-operator
Command: npx skills add https://github.com/PlaneInABottle/configs --skill pm2-runtime-operator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manage local PM2 runtimes.

Core Features & Use Cases

  • Start, inspect, restart, stop, and delete PM2 processes by a stable name.
  • Stream or snapshot logs for targeted runtimes without affecting others.
  • Provide safe teardown patterns to avoid leaving orphaned processes in the local environment.

Quick Start

Choose a stable process name and apply targeted PM2 commands to manage its lifecycle.

Frequently Asked Questions about pm2-runtime-operator

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

FAQPage Schema
How do I manage a specific local PM2 runtime without affecting other processes?

You can manage specific local PM2 runtimes by applying targeted PM2 commands like start, stop, and restart using a stable process name. This bounded approach ensures safe cleanup and prevents cross-process interference in your local environment.

Can I collect logs for a single PM2 process instead of viewing all runtime logs?

Yes, you can stream or snapshot logs for a single PM2 process by targeting it with a stable name. This allows precise log collection for specific runtimes without affecting or pulling logs from others.

What is the best way to safely stop and delete an orphaned PM2 process locally?

The best way to safely stop and delete an orphaned PM2 process is using safe teardown patterns with targeted PM2 commands. Name the process specifically to delete it and prevent leaving orphaned processes in the local environment.

Do I need stable process naming to inspect and restart PM2 runtimes?

Yes, stable process naming is required to inspect and restart PM2 runtimes. A stable name ensures precise, name-based control for lifecycle management and prevents cross-process interference during local development.

When should I use name-based PM2 process control for local development?

Use name-based PM2 process control for local development when you need precise lifecycle management of single-process contexts. It provides safe cleanup patterns and targeted log collection without disrupting other running processes.