pi-code weekly downloads statistics
By ilovepixelart · npm · Claude Code
Claude Code experience for the pi coding agent: reads your .claude config (rules, commands, skills, hooks, output styles, MCP servers, agents) and adds todo, checkpoints, memory, web, subagents, and goals
pi-code has 2,371 recorded weekly downloads on npm, a decrease of 24.4% over the past 30 days, ranking #1833 of 3,247 tracked listings.
About pi-code
pi-code
Claude Code experience for the pi coding agent, in one package. Point pi at a project that already has a .claude/ directory and it reads your existing config: rules, commands, skills, hooks, output styles, MCP servers, and agents. It also adds the Claude Code features pi lacks: a todo overlay, checkpoints, memory, web search, subagents, and goals.
What a repository ships is treated as untrusted until you approve it: project MCP servers, hooks, agents, rules, output styles, commands and skills load only once you say yes. A headless run (pi -p) cannot ask, so an undecided project loads none of them there, which is stricter than Claude, where a headless run uses them without showing the dialog.

Requirements
pi >=0.80.5 (0.99.x recommended) and Node >=22.19 for current pi. On an older pi, pi-code warns once at session start.
Install
pi install npm:pi-code # from npm
pi install -l npm:pi-code # project-local instead, writes .pi/settings.json
Other sources:
pi install git:github.com/ilovepixelart/pi-code
pi install ./pi-code # local checkout, then /reload after edits
One pi install and everything below loads on the next start. pi list shows what is installed, pi config toggles individual resources, and pi update pi-code upgrades it. Each feature is an extension under extensions/.
What it does
Each topic links to its own doc with the full contract and any divergences from Claude Code.
- Hooks: your
.claude/settings.jsonhooks on every lifecycle event, with Claude's tool vocabulary, decision fields, and background hooks. - MCP servers: every Claude config scope, all four transports, OAuth, managed policy, timeouts, prompts, and resources. On pi 0.99 and later the servers are handed to pi's own MCP support.
- Custom slash commands:
.claude/commandswith arguments, bash spans,@fileinlining, frontmatter, and model invocation. - Skills:
.claude/skillsdiscovery plus the same dynamic content commands get. - Subagents: built-in and custom agents, background runs, per-agent memory, worktree isolation.
- CLAUDE.md, @imports, and rules: the context files and path-scoped rules pi does not load natively.
- Settings
envand flags: env blocks from every settings scope, exported with Claude's precedence, plus Claude's--settingsand--setting-sourcesflags. - Output styles: replace semantics, bundled built-ins,
/output-style. - Persistent memory: a per-repository store with a session-injected index.
- Statusline: your Claude
statusLinecommand with the documented stdin JSON. - WebSearch / WebFetch: key-free search and SSRF-guarded fetch.
- Claude plugins: installed marketplace plugins: commands, agents, hooks, MCP servers, styles, skills.
- Background Bash:
run_in_background, commands that move to the background at their timeout instead of stopping, completion messages, andtask_stop. - Monitor: watch a background command and receive its stdout lines as they arrive, batched, with Claude's deadline and a stop for monitors that flood; stopped with
task_stop. - Goal:
/goal <condition>keeps the session working until a separate model check confirms the condition holds, with status, clear, block cap, background-work deferral, and resume. - Session extras: project trust, plan mode, todos, checkpoints/rewind, AskUserQuestion, notifications, think keywords, session titles,
/context,/init.…
Description from the npm listing.
- pi
- pi-package
- pi-coding-agent
- pi-extension
- extension
- claude
- claude-code
- coding-agent
- ai
- mcp
- hooks
- skills
- subagents
- memory
- todo
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (135)Similar npm Claude Code plugins
All 20 pi-code alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/pi-code. First seen Nov 18, 2026; last successful collection Dec 2, 2026. See the methodology.