Skip to content
项目

关于

一组实用有趣的 Pi 扩展。注意,我现在为自己的 Pi 配置使用的是其他扩展,详见 https://github.com/tmustier/vibes

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+4
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

pi-extensions

Example extensions for the Pi coding agent. These are the first Pi extensions I ever created and are meant to inspire you on some things you can do with Pi. I still use some of these, but note that if you want the maintainer's (my) pi setup, most of it is currently here https://github.com/tmustier/vibes.

Extensions

Extension Description
/readfiles In-terminal file browser and viewer widget. Navigate files, view diffs, select code, send comments to agent - without leaving Pi, and without interrupting your agent
tab-status Manage as many parallel sessions as your mind can handle. Terminal tab indicators for
✅ done / 🚧 stuck / 🛑 timed out
pi-ralph-wiggum Run arbitrarily-long tasks without diluting model attention. Flat version without subagents like ralph-loop
agent-guidance Switch between Claude/Codex/Gemini with model-specific guidance (CLAUDE.md, CODEX.md, GEMINI.md)
/usage 📊 Usage statistics dashboard. See cost, tokens, and messages by provider/model across Today, This Week, Last Week, This Month, Last 30 Days, and All Time — with a compact view for narrow terminals
/paste Paste editable text, not [paste #1 +21 lines]. Running /paste with optional keybinding
/code Pick code blocks or inline snippets from assistant messages to copy, insert, or run with /code
session-recap While-you-were-away recap above the editor when you return to a session. Keeps you in flow while multi-clauding
arcade Play minigames while your tests run: 👾 sPIce-invaders, 👻 picman, 🏓 ping, 🧩 tetris, 🍄 mario-not

Agent Skills

Agent Skill Description
extending-pi Guide for extending Pi — decide between Agent Skills, extensions, prompt templates, themes, models/providers, or packages.
pi-ralph-wiggum Agent Skill instructions for long-running development loops.

Install (pi package manager)

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

To enable only a subset, replace the package entry in ~/.pi/agent/settings.json with a filtered one:

{
  "packages": [
    {
      "source": "git:github.com/tmustier/pi-extensions",
      "extensions": ["files-widget/index.ts"]
    }
  ]
}

Update notices

Pi 1.5 and later show short startup notices from the installed package's UPDATE_NOTES.md. The first launch is silent; collapseChangelog reduces notices to one line per package. The full history stays in CHANGELOG.md.

The root bundle and Arcade announce only changes affecting all their extensions, because Pi cannot filter notes by which extensions you load. Standalone packages have their own notes, which do not appear through the root bundle or Vibes.

Quick Setup

If you keep a local clone, add extensions to your ~/.pi/agent/settings.json:

{
  "extensions": [
    "~/pi-extensions/files-widget",
    "~/pi-extensions/tab-status/tab-status.ts",
    "~/pi-extensions/arcade/spice-invaders.ts",
    "~/pi-extensions/arcade/ping.ts",
    "~/pi-extensions/arcade/picman.ts",
    "~/pi-extensions/arcade/tetris.ts",
    "~/pi-extensions/arcade/mario-not/mario-not.ts",
    "~/pi-extensions/pi-ralph-wiggum",
    "~/pi-extensions/agent-guidance/agent-guidance.ts",
    "~/pi-extensions/raw-paste",
    "~/pi-extensions/code-actions",
    "~/pi-extensions/session-recap",
    "~/pi-extensions/usage-extension"
  ]
}

For agent-guidance, also run the setup script:

cd ~/pi-extensions/agent-guidance && ./setup.sh

See each extension's README for details.

探索相关项目

加载中…