tharunramagiri/tarunai-connect/cli-anything-pm2
Claude Code and agent skill by tharunramagiri/tarunai-connect
- community
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-pm2SKILL.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
Prerequisites:
- Python 3.10+
- PM2 installed globally (
npm install -g pm2)
Usage
Basic Commands
REPL Mode
When invoked without a subcommand, the CLI enters an interactive REPL session:
Command Groups
process
Process inspection commands.
| Command | Description | |
|---|---|---|
list | List all PM2 processes | |
describe <name> | Get detailed info for a process | |
metrics | Get metrics for all processes |
lifecycle
Process lifecycle commands.
| Command | Description | |
|---|---|---|
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.
| Command | Description | |
|---|---|---|
view <name> --lines 50 | View recent logs | |
flush [name] | Flush logs |
system
System-level commands.
| Command | Description | |
|---|---|---|
save | Save current process list | |
startup | Generate startup script | |
version | Get PM2 version |
Output Formats
All commands support dual output modes:
- Human-readable (default): Tables, colors, formatted text
- Machine-readable (
--jsonflag): Structured JSON for agent consumption
For AI Agents
When using this CLI programmatically:
- Always use `--json` flag for parseable output
- Check return codes - 0 for success, non-zero for errors
- 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
- SKILL.md in the repositoryCheckingskills/cli-anything-pm2/SKILL.md
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
[](https://verified-skill.com/skills/tharunramagiri/tarunai-connect/cli-anything-pm2)