Claude Code Skill
Use the pm3 skill for Claude Code to generate and manage pm3.toml configs with AI.
pm3 ships a Claude Code skill that teaches Claude how to generate, edit, and troubleshoot pm3.toml configuration files for your project.
Install
Create the skill file in your project:
mkdir -p .claude/skills/pm3
curl -fsSL https://raw.githubusercontent.com/frectonz/pm3/main/.claude/skills/pm3/SKILL.md -o .claude/skills/pm3/SKILL.mdOr install it globally so it's available in every project:
mkdir -p ~/.claude/skills/pm3
curl -fsSL https://raw.githubusercontent.com/frectonz/pm3/main/.claude/skills/pm3/SKILL.md -o ~/.claude/skills/pm3/SKILL.mdUsage
Once installed, invoke the skill in Claude Code with:
/pm3Claude will scan your project for existing configuration files (package.json, Cargo.toml, docker-compose.yml, etc.), infer what processes you need, and generate a valid pm3.toml.
Examples
Generate a config from scratch:
/pm3 set up pm3 for this projectAdd a new process:
/pm3 add a redis worker processAdd health checks:
/pm3 add health checks to all my http servicesSet up environments:
/pm3 add production and staging environmentsWhat the Skill Knows
The skill has the full pm3 configuration schema baked in, including:
- All process options (
command,cwd,env,restart,health_check, etc.) - Environment-specific overrides (
[process.env_production]) - Validation rules (required fields, naming constraints)
- CLI commands for reference
It will always produce valid TOML that conforms to the pm3 config format.