pi-extensions

by narumirunaVerified

A TypeScript monorepo of Pi Coding Agent extensions for automation, planning, language tooling, browser control, web research, Git workflows, and configuration sync.

396
Stars
68
Forks
TypeScript
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/narumiruna/pi-extensions

Getting Started

Guides for using skills like pi-extensions.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

🧩 Pi Extensions for the Pi Coding Agent

npm scope License: MIT

Independently installable Pi Coding Agent extensions and reusable extension libraries for coding, research, browser automation, workflow management, observability, and terminal ergonomics.

Install only what you need. Every package is published separately under the @narumitw npm scope.

🚀 Quick start

Install an extension permanently:

pi install npm:@narumitw/pi-goal

Try one without adding it permanently:

pi -e npm:@narumitw/pi-statusline

Combine multiple extensions:

pi -e npm:@narumitw/pi-goal \
  -e npm:@narumitw/pi-statusline \
  -e npm:@narumitw/pi-lsp

[!IMPORTANT] Pi extensions run with your full user permissions. Review an extension before installing it from any third party.

📦 Choose an extension

Coding and delegation

PackageUse it forInstall
pi-codex-compactUse OpenAI Codex Remote Compaction V2 to persist and replay bounded opaque checkpoints, with /codex-compact manual controls and safe Pi-native fallback.pi install npm:@narumitw/pi-codex-compact
pi-file-contextBrowse project files, preview text, select exact lines or Git diff hunks, and attach immutable snapshots with Git provenance to the next prompt. Open it with configurable Ctrl+Shift+X or /file-context.pi install npm:@narumitw/pi-file-context
pi-lspLanguage-server diagnostics and code actions across JavaScript, TypeScript, Python, Rust, Go, Ruby, C/C++, JVM, .NET, Swift, shell, infrastructure formats, and more.pi install npm:@narumitw/pi-lsp
pi-plan-modeCodex-like, read-only /plan collaboration before implementation begins.pi install npm:@narumitw/pi-plan-mode
pi-subagentsDelegate isolated work in single, parallel, or chained execution modes.pi install npm:@narumitw/pi-subagents

Browser and research

PackageUse it forInstall
pi-chrome-devtoolsInspect tabs, navigate pages, evaluate JavaScript, and capture screenshots through Chrome DevTools Protocol.pi install npm:@narumitw/pi-chrome-devtools
pi-firecrawlScrape pages, crawl websites, discover URLs, and search the web with Firecrawl.pi install npm:@narumitw/pi-firecrawl

Task and workspace workflows

PackageUse it forInstall
pi-btwAsk a quick /btw side question without adding it to the main conversation.pi install npm:@narumitw/pi-btw
pi-caffeinatePrevent system sleep while Pi processes a long-running prompt.pi install npm:@narumitw/pi-caffeinate
pi-goalKeep the agent working until a goal is verified complete; optionally enable an experimental ordered queue.pi install npm:@narumitw/pi-goal
pi-worktreeCreate, switch, remove, and prune Git worktrees while carrying the Pi session into another workspace.pi install npm:@narumitw/pi-worktree

Current Plan and Goal releases can coexist on the characterized Pi runtime through their anonymous cooperative workflow mutex. The deprecated combined pi-workflow package has no atomic Plan-to-Goal replacement; follow its archived migration instructions.

Accounts and data

PackageUse it forInstall
pi-accountsSwitch named OpenAI Codex, Anthropic, and GitHub Copilot subscription OAuth accounts with /account.pi install npm:@narumitw/pi-accounts
pi-usageView current-account Codex subscription limits or OpenRouter API-key spend limits with /usage.pi install npm:@narumitw/pi-usage
pi-syncSync allowlisted Pi settings and optional sessions through Cloudflare R2 or S3-compatible storage.pi install npm:@narumitw/pi-sync

Status and observability

PackageUse it forInstall
pi-github-prShow current-branch pull request checks, reviews, and comment counts through the authenticated gh CLI.pi install npm:@narumitw/pi-github-pr
pi-langfuseSend agent runs, generations, token usage, costs, and tool activity to Langfuse.pi install npm:@narumitw/pi-langfuse
pi-stampShow configurable timestamps with opt-in assistant metadata, response timing, and tool timing in the TUI transcript.pi install npm:@narumitw/pi-stamp
pi-starshipUse a native Starship-style TOML footer with Pi-specific modules and no Starship binary dependency.pi install npm:@narumitw/pi-starship
pi-statuslineShow model, tools, Git state, context usage, tokens, cost, and time in a preset or JSON-configured footer.pi install npm:@narumitw/pi-statusline
pi-toolBrowse every configured tool and inspect its active state, source, parameter schema, and prompt guidelines with /tool.pi install npm:@narumitw/pi-tool

Choose either pi-starship or pi-statusline; do not enable both footer extensions together.

🧱 Extension libraries

PackageUse it forInstall
pi-tui-kitExtend @earendil-works/pi-tui with reusable navigation helpers and declarative action, detail, settings, and multi-select flows.npm install @narumitw/pi-tui-kit

Libraries are runtime dependencies for extension authors, not standalone Pi extensions. New standard manager menus should use @narumitw/pi-tui-kit; extensions continue to own domain state, commands, settings persistence, confirmations, and specialized UI.

🧪 Experimental extensions

[!WARNING] Experimental extensions are published and installable, but their interaction models and package APIs may change between releases.

PackageUse it forInstall
pi-analyticsReview private, content-free local metrics for model calls, skills, tools, response cycles, and observed provider reliability through /analytics.pi install npm:@narumitw/pi-analytics
pi-chatJoin ephemeral peer-to-peer chat rooms that stay separate from Pi sessions, prompts, and model context.pi install npm:@narumitw/pi-chat
pi-fleetStart a separate Pi process in a Ghostty split and connect explicit local Pi sessions for bounded messages and one-turn requests.pi install npm:@narumitw/pi-fleet
pi-recallSave selected text messages locally and preview or quote them across Pi sessions.pi install npm:@narumitw/pi-recall

🔧 Advanced installation

Install this repository directly from GitHub

Install the repository as one Pi package:

pi install git:github.com/narumiruna/pi-extensions

The repository root Pi manifest explicitly lists every stable extension under packages/, so this enables all of them. Packages marked with the experimental lifecycle are intentionally excluded from the root Git package.

To load only selected extensions, replace the installed package entry in ~/.pi/agent/settings.json with a resource filter:

{
  "packages": [
    {
      "source": "git:github.com/narumiruna/pi-extensions",
      "extensions": [
        "packages/pi-accounts/src/index.ts",
        "packages/pi-usage/src/index.ts"
      ]
    }
  ]
}

Filters use resource paths relative to the repository root. A package directory such as packages/pi-accounts is not enough; select its src/index.ts entrypoint.

Restart Pi or run /reload after changing the filter. Update the checkout later with:

pi update --extensions

🧑‍💻 Local development

From the repository root:

npm install
npm test
npm run check

npm test typechecks the test sources and runs the root and workspace suites with Vitest.

Build generated entries before loading local packages, and use the generic Just pack recipe with an unscoped package name:

npm --workspace @narumitw/pi-goal run build --if-present
pi -e ./packages/pi-goal
just pack goal

# Another build-backed package uses the same local flow and pack recipe
npm --workspace @narumitw/pi-file-context run build --if-present
pi -e ./packages/pi-file-context
just pack file-context

# Libraries use the same generic pack recipe
just pack tui-kit

Run just --list to see all development, install, pack, and release recipes. Pull requests that change published package behavior should add release intent with npm run changeset; packages version independently.

Publishing a new scoped package

just npm-public @narumitw/pi-new-extension only changes visibility for an existing npm package. If npm returns 404 for a brand-new package, publish it once with public access:

npm publish --workspace @narumitw/pi-new-extension --access public

After the initial publication, Changesets handles stable extensions, experimental extensions, and libraries through independent package versions.

🦋 Releases

A behavior-changing package pull request records its affected packages and SemVer bumps with:

npm run changeset

After changesets reach main, the release workflow creates or updates one version pull request. That pull request changes only selected package versions, dependency ranges where configured, changelogs, and the lockfile. Merging it publishes the new versions with npm provenance and creates package-specific tags and GitHub releases such as @narumitw/pi-goal@0.50.0.

Repository-only documentation, tests, tooling, and path migrations may omit a changeset. Use npm run changeset:status to inspect pending releases. Versioning and publication run through the release workflow; initial publication remains the manually approved exception described above.

@narumitw/pi-tui-kit remains independently versioned. Publish a new Kit API before raising an extension's compatibility floor to consume it; do not release an unpublished Kit API and its first consumer together.

🗂️ Repository structure

packages/                Stable extensions, experimental extensions, and reusable libraries
deprecated/              Reference packages excluded from active workspace scripts
docs/                    Repository conventions and plans
scripts/                 Shared checks, tests, versioning, and release helpers
test/                    Root integration and repository tests

Each active package contains its own package.json, README.md, LICENSE, tsconfig.json, and TypeScript source under src/. Every extension keeps a thin src/index.ts source forwarder and declares a stable or experimental lifecycle. An extension package may load that source entrypoint directly or publish a build-backed dist/index.ts bundle for Pi's Jiti runtime. Reusable libraries publish built ESM and declarations from dist/.

Deprecated packages

The following packages remain available as source references but are excluded from active workspace scripts:

  • pi-biome-lsp and pi-python-lsp — replaced by pi-lsp
  • pi-codex-accounts — replaced by pi-accounts
  • pi-codex-usage — replaced by pi-usage
  • pi-retry — replaced by Pi's built-in provider retry and timeout behavior
  • pi-google-genai — replaced by the grounding-with-google-genai agent skill
  • pi-image-drop — deprecated without a replacement
  • pi-workflow — replaced by focused Plan and Goal products; atomic Plan-to-Goal handoff has no replacement
  • pi-jupyter — deprecated without a replacement
  • pi-webui — deprecated without a replacement
  • pi-auto-thinking
  • pi-sidebar
  • pi-telegram-bot
  • pi-telegraph
  • pi-wait-what

📄 License

MIT. See LICENSE.

Frequently Asked Questions

What is pi-extensions?

pi-extensions is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by narumiruna. A TypeScript monorepo of Pi Coding Agent extensions for automation, planning, language tooling, browser control, web research, Git workflows, and configuration sync. It has 396 GitHub stars.

Is pi-extensions safe to use?

Yes. pi-extensions passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install pi-extensions?

Clone the repository with "git clone https://github.com/narumiruna/pi-extensions" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is pi-extensions written in?

pi-extensions is primarily written in TypeScript. It is open-source under narumiruna on GitHub, so you can review or fork the full source.

Are there alternatives to pi-extensions?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh pi-extensions against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details