hkuds avatar

Cli Anything Pm2

A straightforward wrapper around PM2's CLI that gives you process management commands in a structured format. You get the usual operations like listing, starting, stopping, and restarting Node.js processes, plus log viewing and system configuration. The main thing here is the dual output mode: human-readable tables by default, but add the json flag and you get structured output that AI agents can actually parse. It's stateless and just shells out to PM2 commands, so there's no session management to worry about. If you're building automation around PM2 or want Claude to manage your Node processes, this gives you a clean interface without having to parse PM2's native output yourself.

skills.sh installs
527
GitHub stars
58.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add hkuds/cli-anything --skill cli-anything-pm2 --agent claude-code

Installs into .claude/skills of the current project.

Files

cli-anything-pm2

A stateless command-line interface for PM2 process management. Communicates via the PM2 CLI subprocess. No local state or session.

Installation

pip install -e .

Prerequisites:

  • Python 3.10+
  • PM2 installed globally (npm install -g pm2)

Usage

Basic Commands

# Show help
cli-anything-pm2 --help

# Start interactive REPL mode
cli-anything-pm2

# Run with JSON output (for agent consumption)
cli-anything-pm2 --json process list
cli-anything-pm2 --json system version

REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL session:

cli-anything-pm2
# Enter commands interactively with tab-completion and history

Command Groups

process

Process inspection commands.

CommandDescription
listList all PM2 processes
describe <name>Get detailed info for a process
metricsGet metrics for all processes

lifecycle

Process lifecycle commands.

Sponsors

Details

Repository
github.com/hkuds/cli-anything
Category
CLI & Terminal
First seen
Jun 3, 2026

More from hkuds/cli-anything

All 51
1hkuds avatarcli-anything-cloudcomparehkuds/cli-anythingCommand-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 comm512skills.sh installs
2hkuds avatarcli-anything-adguardhomehkuds/cli-anythingCommand-line interface for AdGuard Home - Network-wide ad blocking and DNS management via AdGuard Home REST API. Designed for AI agents and power users who need507skills.sh installs
3hkuds avatarcli-anything-slay-the-spire-iihkuds/cli-anythingCommand-line interface for Slay the Spire 2 - Control the real game through a local bridge mod HTTP API. Reads normalized game state and sends action commands f506skills.sh installs
4hkuds avatarcli-anything-anygenhkuds/cli-anythingCommand-line interface for Anygen - A stateful command-line interface for AnyGen OpenAPI — generate professional slides, documents, webs...505skills.sh installs
5hkuds avatarcli-anything-intelwatchhkuds/cli-anythingZero friction. Full context. Competitive intelligence, M&A due diligence, and OSINT directly from your terminal. Uses Node.js/npx.503skills.sh installs
6hkuds avatarcli-anything-mubuhkuds/cli-anythingCommand-line interface for Mubu - Canonical packaged entrypoint for the Mubu live bridge....501skills.sh installs