pm2

Generate PM2 ecosystem configuration and Makefile shortcuts for multi-service projects.

2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/hamzaPixl/pixl-ai --skill pm2-hamzapixl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pm2
Source: https://github.com/hamzaPixl/pixl-ai/tree/main/packages/crew/skills/pm2
Command: npx skills add https://github.com/hamzaPixl/pixl-ai --skill pm2-hamzapixl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually configuring PM2 for projects with multiple services (Node.js, Python, Docker) is time‑consuming and error‑prone, especially when coordinating start scripts, environment variables, and service dependencies.

Core Features & Use Cases

  • Automated ecosystem file generation for Node, Python, and Docker services.
  • Makefile shortcuts to start, stop, view logs, and manage dependencies with a single command.
  • Production-ready settings including clustering, memory limits, and environment overrides.
  • Use Case: Quickly bootstrap a full‑stack application with a web server, API, and database, enabling developers to run make dev and have all components managed by PM2.

Quick Start

Ask the PM2 skill to create an ecosystem config and Makefile for my multi‑service application.

Frequently Asked Questions about pm2

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

FAQPage Schema
How do I configure PM2 for a multi-service project with Node.js and Docker?

Configuring PM2 for multiple services involves generating an ecosystem file that defines start scripts, environment variables, and Docker compose commands for each service. The Skill automates this by producing the configuration and Makefile shortcuts to orchestrate startup and dependencies.

Can I use a Makefile to manage PM2 process startup and monitoring?

Yes, a Makefile can manage PM2 processes by defining shortcut targets to start, stop, and view logs. The Skill generates these Makefile shortcuts so you can run a single command like `make dev` to orchestrate all services managed by PM2.

What is the best way to orchestrate Node.js, Python, and Docker services with PM2?

The best way to orchestrate mixed services with PM2 is using an ecosystem configuration file. This approach coordinates service dependencies, start scripts, and environment variables across Node.js, Python, and Docker containers within a single managed workflow.

Does PM2 ecosystem configuration support production settings like clustering and memory limits?

Yes, PM2 ecosystem configuration supports production settings including clustering, memory limits, and environment overrides. The Skill incorporates these production-ready parameters to ensure services run reliably under deployment requirements.

How do I add environment variables and Docker compose commands to a PM2 ecosystem file?

To add environment variables and Docker compose commands, define them within the ecosystem configuration file for each service. The Skill ensures required scripts and environment variables are automatically incorporated to meet development and deployment requirements.