npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

bestony-pi-preset

v0.0.4

Published

Bestony's personal Pi coding agent preset — skills, extensions, prompts, and themes.

Readme

bestony-pi-preset

Bestony 的 Pi coding agent preset。

通过 Pi Package 打包并分发个人常用的 extensions / skills / prompts / themes,安装后即可在 Pi 中自动加载。

Security: Pi packages 拥有完整系统权限。Extensions 可执行任意代码,skills 可指示模型执行任意操作。安装第三方包前请先审阅源码。

安装

# 从本地路径安装(开发中)
pi install /absolute/path/to/bestony-pi
pi install ./relative/path/to/bestony-pi

# 从 git 安装(发布后)
pi install git:github.com/bestony/bestony-pi
pi install https://github.com/bestony/bestony-pi

# 从 npm 安装(发布后)
pi install npm:bestony-pi-preset

仅当前会话试用(不写入 settings):

pi -e /path/to/bestony-pi
pi -e git:github.com/bestony/bestony-pi

安装到项目级(写入 .pi/settings.json,可团队共享):

pi install -l /path/to/bestony-pi

卸载 / 管理

pi remove npm:bestony-pi-preset   # 或对应 source
pi list
pi update --extensions
pi config                         # 启用/禁用具体资源

包结构

bestony-pi/
├── package.json          # pi manifest + pi-package keyword
├── README.md
├── extensions/           # .ts / .js 扩展
├── skills/               # SKILL.md 技能目录
├── prompts/              # .md 提示词模板
└── themes/               # .json 主题

package.json 中的 pi 字段声明资源路径:

{
  "name": "bestony-pi-preset",
  "keywords": ["pi-package"],
  "pi": {
    "extensions": ["./extensions"],
    "skills": ["./skills"],
    "prompts": ["./prompts"],
    "themes": ["./themes"]
  }
}

路径相对于包根目录;数组支持 glob 与 !exclusions

若省略 pi manifest,Pi 会从同名约定目录自动发现资源。

开发

  1. 在对应目录添加资源:
    • extensions/*.ts — 扩展
    • skills/<name>/SKILL.md — 技能
    • prompts/*.md — 提示词
    • themes/*.json — 主题
  2. 本地加载验证:
pi -e .
# 或
pi install .
  1. pi config 检查资源是否被加载。

依赖约定

  • 运行时第三方依赖放在 dependenciespi install 会执行 npm install
  • 若 import Pi 核心包,放入 peerDependencies 且版本为 "*",不要打包:
    • @earendil-works/pi-ai
    • @earendil-works/pi-agent-core
    • @earendil-works/pi-coding-agent
    • @earendil-works/pi-tui
    • typebox

内置依赖(bundled pi packages)

安装本 preset 时会一并带上下列 Pi 包,并自动加载其 extensions / skills:

| 包 | 提供 | |----|------| | pi-web-access | Web 搜索 / URL 抓取 / GitHub / YouTube 等扩展 + librarian skill | | pi-init | init skill(生成/更新 AGENTS.md) | | pi-xai | xAI Grok Build provider / Responses API | | pi-mcp-adapter | MCP 协议适配扩展 | | pi-cache-optimizer | Prompt/KV cache 命中优化 | | pi-session-name | 自动生成会话标题并同步终端标题状态 | | @tintinweb/pi-subagents | Claude Code 风格的自主 sub-agents | | @tintinweb/pi-tasks | Claude Code-style task tracking and coordination | | @quintinshaw/pi-dynamic-workflows | 动态 workflow(workflow 工具、/workflows 等) |

它们声明在 dependencies + bundledDependencies 中,资源通过 pi.extensions / pi.skillsnode_modules/... 路径引用。

当前本地资源

| 类型 | 状态 | |------|------| | Extensions | 待添加(./extensions) | | Skills | 待添加(./skills) | | Prompts | 待添加(./prompts) | | Themes | 待添加(./themes) |

License

MIT