一键导入
pi-references
Manage Pi project references: add, edit, remove, inspect, or debug local directory and Git repository references used as project context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage Pi project references: add, edit, remove, inspect, or debug local directory and Git repository references used as project context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | pi-references |
| description | Manage Pi project references: add, edit, remove, inspect, or debug local directory and Git repository references used as project context. |
Use this to modify references in Pi settings.
Global:
~/.pi/agent/settings.json
Project-local, trusted projects only:
.pi/settings.json
Project-local aliases override global aliases.
Local directory:
{
"references": {
"docs": {
"path": "../docs",
"description": "Use for product documentation"
}
}
}
Git repository:
{
"references": {
"sdk": {
"repository": "owner/repo",
"branch": "main",
"description": "Use for SDK implementation details"
}
}
}
String shorthand:
{
"references": {
"docs": "../docs",
"effect": "Effect-TS/effect-smol"
}
}
Strings starting ., /, or ~ are local paths. Other strings are Git repos.
path: local directory.repository: Git repo. Supports GitHub owner/repo, Git URLs, host/path refs.branch: optional Git branch/ref.description: when agent should use the ref. Described refs enter system context.hidden: hide from @ autocomplete only.Alias rules: nonempty; no /, whitespace, backticks, commas.
Relative paths resolve from settings base:
~/.pi/agent<project>/.piGit refs clone under:
~/.pi/references/repos/<host>/<owner>/<repo>
After modifying references, tell the user to run:
/references-refresh
This reloads settings and refreshes Git refs. If they only want to view loaded refs, tell them to run:
/references
.pi/settings.json./, _, ., -; not leading -; no ...index.ts if actual runtime behavior matters.