Pi Agent Helper
A routing-style skill for installing, configuring, and building on Pi, the minimal terminal coding harness.
Dev & CodingAdvanced★ 33,030⑂ 3,248AI score 8/10Last updated: Aug 9, 2026
What it does
- Guides installation of the Pi CLI (
@earendil-works/pi-coding-agent), authentication, and configuration of providers, models, settings, andPI_*environment variables. - Provides a "First Decision" table that maps any user intent to the exact reference doc to read (usage, sessions, security, TUI, packages, and ~30 more).
- Gives clear build-on-Pi defaults: SDK for Node/TypeScript apps needing type safety and in-process tools, RPC mode (
pi --mode rpc --no-session) for other languages or process isolation, JSON mode for one-shot pipelines. - Covers authoring extensions, skills, prompt templates, themes, and packages, plus ecosystem packages
pi-subagents,pi-mcp-adapter,pi-interview, andpi-web-access. - States safety defaults up front: Pi is not sandboxed, treat project-local
.piresources as code, keep secrets in env vars or~/.pi/agent/auth.json.
Who it's for
- Developers adopting Pi as their daily terminal coding agent.
- Engineers embedding an agent in a Node/TypeScript app or calling it from another language over RPC.
- Authors of Pi extensions, packages, and themes who share them across a team.
Examples
- "Install Pi and get me to a first run with my Anthropic key" → global npm install plus the provider auth flow.
- "Call Pi from my Go service" → RPC mode with the JSONL protocol caveat (split on
\n, don't use Node readline). - "Fan out work to parallel subagents" →
pi install npm:pi-subagentsand the orchestration reference.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/HEAD/skills/pi-agent/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/pi-agent folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/pi-agent/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git && mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/pi-agent ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and go to a working directory.
- Clone the repo:
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the whole skill folder so the reference files come along:
cp -r scientific-agent-skills/skills/pi-agent ~/.claude/skills/ - Verify with
ls ~/.claude/skills/pi-agent— you should seeSKILL.mdandreferences/. - Restart Claude Code and ask something like "how do I install and configure Pi?" to trigger the skill.
- Using Pi itself requires Node.js/npm; check with
node -vbefore installing the CLI.
View source on GitHub ↗License: MIT