Personal pi agent harness — custom footer, safety rails, opusplan, and clarifying questions prompt.
Bundles pi-mcp-adapter, pi-subagents, and context-mode.
pi install git:github.com/happsie/koddaCopy the example config and fill in your values:
cp ~/.pi/agent/git/github.com/happsie/kodda/.mcp.example.json ~/.pi/agent/mcp.json| Extension | What it does |
|---|---|
footer.ts |
Status bar: cwd · branch [↑↓] · diff stats · context usage · model |
safety.ts |
Blocks dangerous commands (rm -rf /, force-push to main, etc.) |
commands.ts |
/scratch, /mcp-status, /agents, /opusplan |
opusplan.ts |
Plan with Opus 4.7, execute with Sonnet 4.6 |
system.ts |
Injects clarifying-questions instructions into every session |
Add to ~/.pi/agent/settings.json:
{
"mcp": { "toolPrefix": "short", "autoAuth": true, "idleTimeout": 10 },
"subagents": { "defaultModel": "inherit", "worktreeIsolation": true }
}