pi-tsien-default-system-prompt
Provides the default system prompt for new sessions.
Package details
Install pi-tsien-default-system-prompt from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-tsien-default-system-prompt- Package
pi-tsien-default-system-prompt- Version
0.1.0- Published
- Sep 26, 2026
- Downloads
- 166/mo · 8/wk
- Author
- tsien1992
- License
- MIT
- Types
- extension
- Size
- 5.2 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-tsien-default-system-prompt
用 ~/.pi/agent/DefaultSystemPrompt.md 覆盖系统提示的开头并调整 Guidelines 段落;文件不存在时静默跳过。
事件钩子
before_agent_start
配置
~/.pi/agent/DefaultSystemPrompt.md(可选)
依赖
- 内部:无
- peer:
@earendil-works/pi-coding-agent
说明
被 pi-tsien-session-ui-fork 复用(同一套段落调整函数)。
加载
在 settings.json 里列出包,或写进 extensions.config.json 的 loadOrder;
Pi 会直接加载本包的 TS 入口(package.json 的 pi.extensions),不需要编译。