Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Pi Agent Helper

A routing skill that guides installing, configuring, extending, and embedding Pi — the minimal terminal coding harness.

Dev & CodingAdvanced33,0303,248AI score 7/10Last updated: Aug 9, 2026

What it does

Pi (@earendil-works/pi-coding-agent) is a minimal terminal coding agent extended through TypeScript extensions. This skill gives Claude an intent→document routing table so it always opens the right file under references/ before answering or writing code.

Coverage includes:

  • Installation, authentication, provider/model config, PI_* env vars, settings keys
  • Building extensions, skills, prompt templates, themes, and shareable packages
  • SDK embedding (createAgentSession, createAgentSessionRuntime), RPC mode, JSONL event streams
  • Session parsing, branching, compaction; local llama.cpp model router; TUI components
  • Ecosystem packages: pi-subagents (delegation/orchestration), pi-mcp-adapter (MCP), pi-interview (interactive forms), pi-web-access (search, fetch, video understanding)

It also states safety defaults up front: Pi runs locally and is not sandboxed, so extensions, packages, and project-local .pi resources should be treated as code with full process permissions.

Who it's for

  • Developers adopting Pi in a real workflow
  • Teams embedding a coding agent into a Node/TypeScript app via the SDK
  • Non-Node clients (Python, Go, Rust) driving the agent over RPC or JSON mode
  • Authors of Pi extensions and packages

Examples

  1. "Install Pi and get me to a first run with Anthropic" → reads quickstart/providers, walks through npm install -g --ignore-scripts @earendil-works/pi-coding-agent then /login.
  2. "Call Pi from my Python service" → recommends RPC mode with pi --mode rpc --no-session and warns to split JSONL records on \n only (Node readline is not protocol-compliant).
  3. "Add a custom tool that asks for approval before writing files" → uses references/extensions.md for tool registration, event hooks, and path protection.

· · · Install guide · · ·

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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 /tmp/sci-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sci-skills/skills/pi-agent ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/K-Dense-AI/scientific-agent-skills.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill including its reference docs: cp -r scientific-agent-skills/skills/pi-agent ~/.claude/skills/
  5. Verify with ls ~/.claude/skills/pi-agent — you should see SKILL.md and a references/ folder.
  6. Restart Claude Code and ask something like "How do I install Pi?" to trigger the skill.
  7. To actually run Pi you need Node.js 18+ and npm: npm install -g --ignore-scripts @earendil-works/pi-coding-agent