agent-commands
Registers every agent defined in ~/.pi/agent/agents/ or
.pi/agents/ as a /agent-name slash command. Typing
/planner implement user authentication directly spawns the
planner agent as a subprocess with that task.
No tool call overhead — the agent runs immediately as a child process with full access to its configured tools and context.
Why it matters: Named agents represent specialized workflows — a planner, a reviewer, a test writer. Invoking them by name as slash commands is faster and more intentional than asking the main agent to “use the planner agent.”