Skip to main content

pi-plugin-dev

Build, debug, and publish pi (the agent harness from earendil-works, @earendil-works/pi-coding-agent) extensions — the default-export factory, lifecycle event hooks, custom tools, slash commands, shortcuts, CLI flags, custom model/OAuth providers, and full TUI. Use when working in a pi extension repo or anytime the task touches @earendil-works/pi-coding-agent, a `.pi/` or `~/.pi/agent/` extensions dir, or `pi -e`. Use when: "block rm -rf before it runs" (tool_call → {block}), "add a tool the model can call" (registerTool + typebox), "confirm before a destructive command" (ctx.ui.confirm), "add a /command" (registerCommand), "inject context on every prompt" (before_agent_start), "register a custom model provider / proxy / OAuth login" (registerProvider), "persist a todo list across restarts" (appendEntry + reconstruct), "spawn a subagent" (subprocess tool), "draw a status line / widget / footer" (ctx.ui), "my extension's hook never fires", or "publish my extension as a pi package". Covers the `~/.pi/agent/exte

Jump to install

Source facts

Repository
fredcamaral/drawers
Last source activity
June 15, 2026 at 23:43
Detected SKILL.md language
English
Stars
7
Forks
2

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.