将 Lauren Tan 的 Cursor 严格 agent 工作流规范移植到 Claude Code、Codex、Pi 等主流 harness,配套子 agent、question、wake-up 等工具和 fork 机制。
Lauren Tan 的 pstack 是一个固执己见的 Cursor skill 堆栈,用于提升 agent 产出。这是为 Claude Code、Codex、Pi 及其他 agent harness 做的移植版。它跟踪上游变化,同时维护着命名策略分支,都在 tools/forks.json 中声明。
告诉 poteto-mode 你的目标,它会为任务调用正确的工作流。它让你的代码保持简洁、简单且经过验证。
对于并发 bug 和测试无法触及的不变量,请参阅独立的 agent-formal-verify 插件,它提供 TLA+ 模型检查和 Lean 证明。
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claude
在终端运行:
codex plugin marketplace add michael-denyer/pstack-claude
codex plugin add pstack@pstack-claude
在终端运行:
pi install git:github.com/michael-denyer/pstack-claude
该包加载技能和 pstack Pi 扩展,后者添加了技能使用的 subagent、question 和 wake-up 工具,加上 /loop 和路由指令。用 /skill:<name> 调用一个技能。
运行 setup-pstack 可以改变模型默认值、按角色设置推理强度(例如 arena runners: opus @xhigh, fable @max,Claude Code 通过插件的 pstack:effort-<level> 或 pstack:poteto-agent-<level> agent 分发;未设级别的角色保持会话的推理强度,除非工作表的 default effort 行指定了另一个),或关闭自动路由。插件在 Claude Code 和 Codex 上安装路由钩子;Codex 在运行前会通过 /hooks 要求你信任它。在 Pi 上扩展注入相同的路由指令。在 Claude Code 中,用 /pstack:setup-pstack。
对于 Prime Agent、OpenCode、Gemini CLI 或任何 harness 的纯技能安装,参见 shared installation。
Use poteto-mode to fix the search filter resetting when I change pages.
对于 bug,它复现失败,用 how 和 why 调查,委托修复,然后重新运行失败的用例。如果修复跨越函数边界,它会在实现前引入 architect。你会收到修复方案以及失败和通过的证据。
其他 playbook 涵盖 planning、features、refactoring、performance issues、investigations、prototypes、PR maintenance、shipping 和更长的项目。

Skills and slash commands
Models and dependencies
Maintenance and port scope
pstack 没有服务器或遥测。它的技能要求你的 agent 读取的任何内容(包括会话记录)都会发送到你的模型提供商。脚本在本地运行,PR 工具使用你的 GitHub CLI 登录。
感谢帮助改进这个移植版。欢迎提交 bug 报告、文档修复和运行时改进。参见 CONTRIBUTING.md 了解检查项和你的更改应该放在哪里。按 SECURITY.md 中的描述私下报告漏洞。
此移植版(包括其修改和增补)采用 MIT 许可证,© 2026 Michael Denyer。原始 pstack © 2026 Lauren Tan;导入的 cursor-team-kit 技能 © 2026 Cursor。参见 LICENSE-cursor-team-kit 和 NOTICE.md。