Specializing Pi
David Gasquez
March 11, 2026
I've written about specializing Codex and Claude Code in the past. Here is how to do something similar for Pi!
I made a small profile extension so I can launch somewhat contained agents with pi --profile .install
A Pi profile in this case is just a small YAML file with some keys like model, thinking level, system prompt, and an allowlist of skills.
When Pi starts, the extension loads that profile, switches to the configured model, replaces the system prompt for the turn, limits which /skill:* commands are allowed, and keeps sessions isolated per profile.
That gives me tiny task-specific agents without having to fork Pi or maintain a bunch of wrappers. For loosely defined chores, having sam (an assistant with access to my task list, email, ...), juror, or other little personas has been surprisingly useful.
install: Install it by copying the extension file to ~/.pi/agent/extensions/ (or .pi/extensions/ for a project-local setup) and then reloading Pi with /reload.
Discussion in the ATmosphere