用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Whamp/skills --skill psr-agents-pointer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | psr-agents-pointer |
| description | Add the concise pi-session-recall pointer to a project's AGENTS.md. |
| disable-model-invocation | true |
Write the canonical snippet below into a project's agent instructions so every agent in that repository knows the pi-session-recall tool exists and when to reach for it.
The pointer describes an installed tool, not a setup step. Add it only where the reading agents run Pi with the pi-session-recall extension installed. If the extension is absent, point the user at the pi-session-recall README instead.
Insert this block verbatim:
## Session recall
Use the `pi-session-recall` tool when a task depends on past Pi conversations, decisions, or command output absent from current context. Scope defaults to the current project; pass scope `global` for cross-project evidence. Results cite session JSONL paths and line ranges; set `source` true only for complete raw payloads. The tool is read-only; standalone `psr index` runs refresh the index. Run `psr index --rebuild` only after the user approves twice — an initial explicit approval and a separate confirmation when you state you are about to run it. A full rebuild can exceed 12 hours.
The snippet is the single source of truth for this guidance. Reproduce it whole rather than paraphrasing: a behavior change stays a one-place edit here and a findable string in every consumer.
AGENTS.md, or CLAUDE.md where that is the convention. Read it fully first.Complete when the file contains exactly one copy of the canonical snippet and no other session-recall guidance.