A package for Pi

Switch context.
Keep your skills.

Create named profiles that preload the right Pi skills and instructions before the first agent turn.

pi install npm:@moejay/pi-profile

Profiles without ceremony.

Preload skills

Load complete skill instructions up front for workflows that use them every session.

Set instructions

Attach a focused initial prompt to each profile for consistent project behavior.

Switch instantly

Use /profile dev in the TUI or pi --profile dev from your shell.

Simple configuration

Global or project-specific.

Store reusable profiles in ~/.pi/agent/profiles.json. Trusted projects can override them with .pi/profiles.json.

{
  "dev": {
    "skills": ["pi-subagents", "use-railway"],
    "prompt": "Prefer small, tested changes."
  },
  "desktop": {
    "skills": ["omarchy"]
  }
}