Agent skill · Media & Video

pi-agent

Build with and use Pi, the minimal terminal coding harness. Use for installing Pi, configuring providers/models/settings/environment variables, creating Pi skills/extensions/packages/themes/prompt templates, embedding Pi through the SDK, integrating over RPC or JSON event streams, parsing sessions, running local models through the llama.cpp router, developing custom Pi providers and TUI components, or using ecosystem packages such as pi-subagents (delegation/orchestration), pi-mcp-adapter (MCP servers), pi-interview (interactive forms), and pi-web-access (web search, fetching, video understand

K-Dense-AIgithub.com/K-Dense-AIGitHub ↗
claude-codeMIT
Install
npx skills add K-Dense-AI/scientific-agent-skills --skill pi-agent --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 35
SKILL.md size: 6 KB
Bundled scripts: none
Version: 1.2
Requires: Requires Node.js/npm for Pi CLI and SDK usage. Pi package name is @earendil-works/pi-coding-agent.
Path: skills/pi-agent/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 32,619
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Pi Agent Use this skill when the user wants to operate Pi or build on top of Pi. Pi is a minimal terminal coding harness extended through TypeScript extensions, skills, prompt templates, themes, packages, custom models/providers, SDK integrations, RPC mode, JSON event streams, and TUI components. ## First Decision Pick the reference before answering or coding: | User intent | Read | |---|---| | What Pi is, docs map, install methods | `references/overview.md` | | Install, authenticate, first run | `references/quickstart.md` | | Day-to-day CLI usage, commands, modes, flags, project trust | `references/usage.md` | | Provider auth, API keys, cloud provider setup | `references/providers.md` | | Custom model entries, local models, proxies, compat flags | `references/models.md` | | Local llama.cpp router, `/llama`, model download/load | `references/llama-cpp.md` | | Settings keys and defaults | `references/settings.md` | | `PI_*` and other environment variables | `references/environment-variables.md` | | Extension development, custom tools, events, commands | `references/extensions.md` | | Custom provider implementation, OAuth, custom streaming | `references/custom-provider.md` | | Embe

What's inside
Steps it walks through
  1. First Decision
  2. Build-On-Pi Defaults
  3. Safety Defaults
  4. Common Commands
  5. Source Coverage
Ships with 24 files
  • references/compaction.md
  • references/containerization.md
  • references/custom-provider.md
  • references/development.md
  • references/environment-variables.md
  • references/extensions.md
  • references/json.md
  • references/keybindings.md
  • references/llama-cpp.md
  • references/models.md
  • references/overview.md
  • references/packages.md
  • references/pi-interview.md
  • references/pi-mcp-adapter.md
  • references/pi-subagents.md
  • references/pi-web-access.md
  • references/prompt-templates.md
  • references/providers.md
  • references/quickstart.md
  • references/rpc.md
  • references/sdk.md
  • references/security.md
  • references/session-format.md
  • references/sessions.md
first 24 of 35
Commands it runs
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
pi
pi -p "Summarize this codebase"
pi --mode json "List files"
pi --mode rpc --no-session
pi --provider anthropic --model claude-sonnet-4-5
pi --model sonnet:high "Solve this complex problem"
pi --tools read,grep,find,ls -p "Review this repository"
pi install npm:pi-subagents
pi update --all
More from scientific-agent-skills
All skills →
About this skill
What does the pi-agent skill do?

Build with and use Pi, the minimal terminal coding harness. Use for installing Pi, configuring providers/models/settings/environment variables, creating Pi skills/extensions/packages/themes/prompt templates, embedding Pi through the SDK, integrating over RPC or JSON event streams, parsing sessions, running local models through the llama.cpp router, developing custom Pi providers and TUI components, or using ecosystem packages such as pi-subagents (delegation/orchestration), pi-mcp-adapter (MCP servers), pi-interview (interactive forms), and pi-web-access (web search, fetching, video understand

How do I install it?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill pi-agent --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From K-Dense-AI/scientific-agent-skills, a repository with 32,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going