pi-agent
Configure and extend the Pi coding agent: extension API (terminal-title spinner, status), global settings.json, models.json provider overrides, and…
Skill by 8-BitRhyon
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/8-bitrhyon-pi-agent
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, security, writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pi-agent
What's inside
- Skill name
pi-agent- Description
- Configure and extend the Pi coding agent: extension API (terminal-title spinner, status), global settings.json, models.json provider overrides, and subscription-auth providers. Load when setting up Pi, writing a Pi extension, or tuning models/settings.
- License
- MIT
- Instructions
- 61 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- models.json · templates/
- settings.json · templates/
- terminal-title.ts · templates/
SKILL.md (first lines)
# Pi Agent Runtime
> **Scope:** Pi is the interactive coding-agent harness (npm: `@earendil-works/pi-coding-agent`). Config lives under `~/.pi/agent/`. Extensions auto-load from `~/.pi/agent/extensions/*.ts` and hot-reload with `/reload`.
## Directory Contract
- `~/.pi/agent/auth.json` - credentials (0600). API key or OAuth tokens from `/login`.
- `~/.pi/agent/settings.json` - packages, extensions, model/store defaults.
- `~/.pi/agent/models.json` - custom provider/model catalog overrides.
- `~/.pi/agent/extensions/*.ts` - global extensions (auto-discovered).
- `.pi/extensions/*.ts` - project-local, load only on trusted project.
## Extension API (essentials)
Extensions export default factory: `export default (pi: ExtensionAPI) => {}`.
Events (subscribe with `pi.on`):
- `session_start`, `agent_start` / `agent_end` / `agent_settled` (idle check: `ctx.isIdle()`)
- `turn_start` / `turn_end`, `tool_call` (can block), `tool_result` (can modify)
- `model_select` (model switched), `input` (raw prompt, can transform)
API in factory: `pi.registerTool()`, `pi.registerCommand()`, `pi.registerShortcut()`, `pi.registerFlag()`, `pi.sendUserMessage()`, `pi.setSessionName()`, `pi.exec()`.
ExtensionContext: `ctx.ui` (`notify`, `confirm`, `input`, `select`, `setStatus`, `setWidget`), `ctx.mode`, `ctx.hasUI`, `ctx.cwd`.
Startup rules:
- Never start long-lived resources from the factory; defer until `session_start` and close on `session_shutdown`.
- No new session is started in some invocations; guard heavy init behind events.
## Pre-Styled: terminal-title.ts (Spinner in Tab Title)
Templates live in `templates/`. Install:
```
cp templates/terminal-title.ts ~/.pi/agent/extensions/
pi # then /reload
```
The extension paints a spinner while a turn is running and the final status (session name or cwd) when idle, via the `ESC]0;` title sequence. Works in Ghostty/tmux/herdr tabs.
## settings.json Template
`templates/settings.json`: declare pinned packages and explicit extension paths. Pi 0.82+ auto-installs missing pinned packages at startup. Pin immutable refs (pinned versions or commits), never `@latest`; audit before bumping.
## models.json Template
`templates/models.json`: model overrides and custom providers. Top-level:
- `models` override display/cost/context for existing catalog IDs.
- `providers` define new providers speaking `openai-completions`, `openai-responses`, `anthropic`, or `google-generative-ai`.
- Radius custom gateways use `"oauth": "radius"` + `baseUrl`.
- No credentials here: reference `$ENV_VAR` or `!cmd` in `auth.json` keys instead.
## Herdr Integration
`herdr integration install pi` wires Pi turns into herdr agent states. Details and ownership live in the `herdr` skill; run `herdr integration status` to verify.
## Verification
- `pi -e ./templates/terminal-title.ts` runs an extension once.
- `/reload` picks up edits without restarting.
- `/model` shows the configured catalog; `/login` wires a provider.
- `/extensions` (or runtime status) confirms extensions loaded, idle spinner clears on completion.
## Invocation
Load when:
- Setting up Pi, writing a Pi extension, or tuning models/settings
- User asks "pi config", "extension", "models.json", "settings.json"
- Diagnosing Pi auth, package, or extension issuesFrom 8-BitRhyon/monozen-skills, MIT.
More from 8-BitRhyon/monozen-skills
- 0.567score
asd-ste100
8-BitRhyon
Enforce ASD-STE100 (Simplified Technical English) specification rules for all technical documentation, Markdown files, and code comments with zero em dashes.
SkillAFreshness: AClaude Code +9 - 0.565score
backpass
8-BitRhyon
Gradient descent for agent memory and instructions.
SkillAFreshness: AClaude Code +9 - 0.565score
production-web-audit
8-BitRhyon
Universal pre-deployment and release audit protocol for web applications: covers security headers & CSP, event/memory leak prevention, accessibility &…
SkillAFreshness: AClaude Code +9 - 0.561score
axi
8-BitRhyon
Build and use agent-ergonomic CLI wrappers (AXI style) instead of MCP: TOON output, minimal schemas, truncation hints, total counts, empty states, structured…
SkillAFreshness: AClaude Code +9 - 0.561score
firstmate
8-BitRhyon
Captain-and-crew orchestration distro: Captain, First Mate, Second Mates, and Crewmates; lifecycle (/ahoy, /bearings), backend selection (Herdr, tmux, Rex…
SkillAFreshness: AClaude Code +9 - 0.561score
herdr
8-BitRhyon
Operate the Herdr terminal multiplexer (0.9.x): named sessions, workspaces/tabs/panes, agent states, hooks, socket API, restart and husk behavior, and the…
SkillAFreshness: AClaude Code +9 - 0.561score
pr-workflow
8-BitRhyon
Universal pull request lifecycle for any GitHub repo: branch strategy, PR creation, CI checks, review gate, merge (including protected branches), and cleanup.
SkillAFreshness: AClaude Code +9 - 0.561score
no-mistakes
8-BitRhyon
Run automated AI-driven validation pipelines and zero-slop PR creation through the no-mistakes local git proxy gate.
SkillAFreshness: AClaude Code +9 - 0.539score
grilling
8-BitRhyon
Grill the user relentlessly about a plan, decision, or idea.
SkillAFreshness: AClaude Code +9 - 0.529score
llm-as-verifier
8-BitRhyon
Verification framework from the Stanford + NVIDIA LLM-as-a-Verifier paper (arXiv:2607.05391): continuous scores from expectation over scoring-token logits…
SkillBFreshness: BClaude Code +9 - 0.525score
grill-me
8-BitRhyon
A relentless interview to sharpen a plan or design.
SkillAFreshness: AClaude Code +9 - 0.521score
prompt-engineering-loop
8-BitRhyon
Lean iterative prompt refinement protocol - ELI10 structuring, clarifying questions, working examples, adversarial pressure testing, and verification-ladder…
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 4, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/8-BitRhyon/monozen-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from 8-BitRhyon
- 0.567score
asd-ste100
8-BitRhyon
Enforce ASD-STE100 (Simplified Technical English) specification rules for all technical documentation, Markdown files, and code comments with zero em dashes.
SkillAFreshness: AClaude Code +9 - 0.565score
backpass
8-BitRhyon
Gradient descent for agent memory and instructions.
SkillAFreshness: AClaude Code +9 - 0.565score
production-web-audit
8-BitRhyon
Universal pre-deployment and release audit protocol for web applications: covers security headers & CSP, event/memory leak prevention, accessibility &…
SkillAFreshness: AClaude Code +9 - 0.561score
herdr
8-BitRhyon
Operate the Herdr terminal multiplexer (0.9.x): named sessions, workspaces/tabs/panes, agent states, hooks, socket API, restart and husk behavior, and the…
SkillAFreshness: AClaude Code +9 - 0.561score
axi
8-BitRhyon
Build and use agent-ergonomic CLI wrappers (AXI style) instead of MCP: TOON output, minimal schemas, truncation hints, total counts, empty states, structured…
SkillAFreshness: AClaude Code +9 - 0.561score
firstmate
8-BitRhyon
Captain-and-crew orchestration distro: Captain, First Mate, Second Mates, and Crewmates; lifecycle (/ahoy, /bearings), backend selection (Herdr, tmux, Rex…
SkillAFreshness: AClaude Code +9
Cite this page
pi-agent skill. Agent Mart. https://agentmart.dev/skills/8-bitrhyon-pi-agent (last updated 2026-10-24)