Pi 编程助手扩展库 是 AI Skill Hub 本期精选AI工具之一。综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
这是一个为 Pi Coding Agent 提供的开源扩展集合,旨在通过可独立安装的插件增强 AI 编程工作流。它支持 Google GenAI 等模型,为开发者提供更强大的代码生成与自动化能力,适合追求高效 AI 辅助编程的 TypeScript 开发者。
Pi 编程助手扩展库 是一款基于 TypeScript 开发的开源工具,专注于 AI编程、工作流自动化、TypeScript 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
这是一个为 Pi Coding Agent 提供的开源扩展集合,旨在通过可独立安装的插件增强 AI 编程工作流。它支持 Google GenAI 等模型,为开发者提供更强大的代码生成与自动化能力,适合追求高效 AI 辅助编程的 TypeScript 开发者。
Pi 编程助手扩展库 是一款基于 TypeScript 开发的开源工具,专注于 AI编程、工作流自动化、TypeScript 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:npm 全局安装 npm install -g pi-extensions # 方式二:npx 直接运行(无需安装) npx pi-extensions --help # 方式三:项目依赖安装 npm install pi-extensions # 方式四:从源码运行 git clone https://github.com/narumiruna/pi-extensions cd pi-extensions npm install npm start
# 命令行使用
pi-extensions --help
# 基本用法
pi-extensions [options] <input>
# Node.js 代码中使用
const pi_extensions = require('pi-extensions');
const result = await pi_extensions.run(options);
console.log(result);
# pi-extensions 配置说明 # 查看配置选项 pi-extensions --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export PI_EXTENSIONS_CONFIG="/path/to/config.yml"
<details> <summary>Install this repository directly from GitHub</summary>
Install the repository as one Pi package:
pi install git:github.com/narumiruna/pi-extensions
The repository root Pi manifest explicitly lists every extension under packages/, so this enables all of them.
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
</details>
npm --workspace @narumitw/pi-file-context run build --if-present pi -e ./packages/pi-file-context npm run package:pack -- file-context
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.
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. Published packages use the @narumitw npm scope, and package READMEs identify source-only exceptions.
These extensions are part of my daily Pi setup:
| Extension | Why I use it |
|---|---|
[pi-btw](./packages/pi-btw) | Ask a quick side question without polluting the main context. |
[pi-accounts](./packages/pi-accounts) | Switch between named subscription OAuth accounts. |
[pi-caffeinate](./packages/pi-caffeinate) | Keep my machine awake so Pi can keep working. |
[pi-codex-compact](./packages/pi-codex-compact) | Spend a little more for better compaction quality. |
[pi-stamp](./packages/pi-stamp) | See useful details for each response, such as its timestamp. |
[pi-starship](./packages/pi-starship) | Match Pi's footer to my Starship shell setup. |
[pi-sync](./packages/pi-sync) | Sync my Pi configuration across all my devices through S3. |
[pi-usage](./packages/pi-usage) | Check my Codex usage and limit reset times without opening Codex. |
| Package | Use it for | Install |
|---|---|---|
[pi-btw](./packages/pi-btw) | Ask a quick /btw side question without adding it to the main conversation. | pi install npm:@narumitw/pi-btw |
[pi-caffeinate](./packages/pi-caffeinate) | Prevent system sleep while Pi processes a long-running prompt. | pi install npm:@narumitw/pi-caffeinate |
[pi-goal](./packages/pi-goal) | Keep the agent working until a goal is verified complete; optionally enable an experimental ordered queue. | pi install npm:@narumitw/pi-goal |
[pi-worktree](./packages/pi-worktree) | Create, 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.
| Package | Use it for | Install |
|---|---|---|
[pi-tui-kit](./packages/pi-tui-kit) | Extend @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.
npm run package:pack -- tui-kit
Run `npm run` to see all development, install, pack, and release workflows.
Pull requests that change published package behavior should add release intent with `npm run changeset`.
Packages version independently.
<details>
<summary>Publishing a new scoped package</summary>
`npm run package: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:
bash npm publish --workspace @narumitw/pi-new-extension --access public ```
After the initial publication, Changesets handles extensions and libraries through independent package versions.
</details>
aiskill88点评:模块化设计出色,将 AI 编程能力插件化,极大提升了工作流的灵活性与可扩展性。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,Pi 编程助手扩展库 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | pi-extensions |
| 原始描述 | 开源AI工作流:Independently installable Pi Coding Agent extensions for AI coding workflows: LS。⭐142 · TypeScript |
| Topics | AI编程工作流自动化TypeScript |
| GitHub | https://github.com/narumiruna/pi-extensions |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-07-12 · 更新时间:2026-07-12 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。