tharunramagiri/tarunai-connect/cli-anything-pm2

Claude Code and agent skill by tharunramagiri/tarunai-connect

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Command-line interface for PM2 - A stateless CLI for Node.js process management via the PM2 CLI. List, start, stop, restart processes, view logs, and manage system configuration.

Install

npx vskill@latest install tharunramagiri/tarunai-connect/cli-anything-pm2

SKILL.md

tarunai-connect-pm2

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

Installation

bash
pip install -e .

Prerequisites:

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

Usage

Basic Commands
bash
# Show help
tarunai-connect-pm2 --help
# Start interactive REPL mode
tarunai-connect-pm2
# Run with JSON output (for agent consumption)
tarunai-connect-pm2 --json process list
tarunai-connect-pm2 --json system version
REPL Mode

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

bash
tarunai-connect-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.

CommandDescription
start <script> --name <name>Start a new process
stop <name>Stop a process
restart <name>Restart a process
delete <name>Delete a process
logs

Log management commands.

CommandDescription
view <name> --lines 50View recent logs
flush [name]Flush logs
system

System-level commands.

CommandDescription
saveSave current process list
startupGenerate startup script
versionGet PM2 version

Output Formats

All commands support dual output modes:

  • Human-readable (default): Tables, colors, formatted text
  • Machine-readable (--json flag): Structured JSON for agent consumption
bash
# Human output
tarunai-connect-pm2 process list
# JSON output for agents
tarunai-connect-pm2 --json process list

For AI Agents

When using this CLI programmatically:

  1. Always use `--json` flag for parseable output
  2. Check return codes - 0 for success, non-zero for errors
  3. Parse stderr for error messages on failure

Version

1.0.0

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tharunramagiri/tarunai-connect/cli-anything-pm2/badge)](https://verified-skill.com/skills/tharunramagiri/tarunai-connect/cli-anything-pm2)

Something wrong with this skill or its page? Tell us.