PM2 Init Skill
SkillDatabases & dataAuto-analyze project and generate PM2 process manager configuration for dev services (frontend, backend, database).
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the PM2 Init Skill skill
What this skill tells your AI
The instructions your AI receives, as published by luohaothu/everything-codex in skills/pm2/SKILL.md and read by ahel’s review.
Auto-analyze project and generate PM2 service configuration.
Usage
/pm2 init # Scan project and generate config
/pm2 start # Start all services
/pm2 stop # Stop all services
/pm2 status # View service status
Service Detection
| Type | Detection | Default Port |
|---|---|---|
| Vite | vite.config.* | 5173 |
| Next.js | next.config.* | 3000 |
| Nuxt | nuxt.config.* | 3000 |
| Express/Node | server/backend/api + package.json | 3000 |
| FastAPI/Flask | requirements.txt / pyproject.toml | 8000 |
| Go | go.mod / main.go | 8080 |
Generated Files
project/
├── ecosystem.config.cjs # PM2 config
└── {backend}/start.cjs # Python wrapper (if applicable)
PM2 Commands
pm2 start ecosystem.config.cjs # First time
pm2 start all # After first time
pm2 stop all / pm2 restart all
pm2 logs / pm2 status / pm2 monit
pm2 save # Save process list
pm2 resurrect # Restore saved list
Key Rules
- Config file must use
.cjsextension - Node.js: specify bin path directly + interpreter
- Python: use Node.js wrapper script
- Port detection: user specified > .env > config > default
Signals
- GitHub stars
- 24
- Forks
- 5
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
pm2- Source
- github.com/luohaothu/everything-codex