pua
它能做什么
这项技能是一套规则,适用于反复失败或停滞不前的 AI 智能体任务。适合希望 AI 持续攻克问题并验证结果的人。只有在你按名称要求,或任务持续失败时才适用。
适用场景
- ✓你按名称要求 PUA 或 PIP 模式,或要求更加努力模式的时候。
- ✓某个任务已失败两次或以上,AI 仍在重复同一方法的时候。
- ✓AI 即将放弃,或在未经任何验证的情况下声称任务已完成的时候。
技能链接
https://github.com/tanweai/pua/blob/main/pi/package/skills/pua/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请对这个任务使用 PUA 模式,因为它已经失败两次了,并在你说它完成之前先进行验证。”
每周 5 个新技能,1 分钟读完。
工作原理
技能让 AI 基于证据诊断问题,提出几个假设,测试最小的改动,并在多次失败后更换策略。只有在有构建、测试或人工证据的情况下,它才会报告结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
PUA for Pi — Skill + Extension Contract
This skill is the instruction layer of @tanweai/pi-pua. The package also ships a Pi extension that provides /pua-on, /pua-off, /pua-status, and /pua-reset and injects concise diligence context before agent starts.
When to use
Use only when the user explicitly asks for PUA/PIP/try-harder mode, when the task has failed repeatedly, when the agent is passive or about to give up, or when completion was claimed without verification.
Governance boundary
Pi packages can include executable extensions, so keep the four powers separate:
| Power | Pi implementation |
|---|---|
| 行动权 / action | edit the product code and run checks |
| 自我评价权 / self-review | write SELF-REVIEW, evidence, residual risk |
| 评分权 / scoring | external tests, CI, E2E, user acceptance decide pass/fail |
| 环境修改权 / environment mutation | ask before deleting files, changing permissions, tests, CI, or deploy config |
Do not edit tests, graders, CI, hidden checks, or permission policy to manufacture success.
Required loop
- Start with
[PUA-DIAGNOSIS] Problem / evidence / next action. - Form 2-3 mutually exclusive hypotheses.
- Take the smallest verifiable action.
- Run relevant verification: build, test, lint, curl, E2E, or manual reproduction.
- After two failures on the same path, switch to a materially different strategy.
- Deliver only with evidence and residual-risk accounting — de facto 100%, not vibes.
Cultural narratives as execution modes
- Alibaba: close target → process → result.
- Huawei: RCA, self-critique, red-team the fix.
- ByteDance: optimize for shortest feedback and data.
- Tencent: race multiple approaches.
- Musk: question, delete, simplify, accelerate, automate.
- Jobs: subtract first; make one owner accountable.
Pressure goes inward. User communication stays concise and respectful.
常见问题
这项技能会自行更改文件或测试吗?
不会。技能要求在删除文件,或更改权限、测试、CI 或部署设置之前先征得同意。
它适用于所有任务吗?
不适用。它适用于明确请求、反复失败,或未经验证即声称完成的情况,而不适用于普通的首次尝试。
它需要扩展程序吗?
该包可以搭配一个扩展命令来持续施压,但这项技能本身是给 AI 的一套指令。
详情
作者的原始描述
Pi-compatible PUA high-agency governance skill. Use for explicit PUA/PIP requests, repeated failures, passive/giving-up behavior, user frustration, or unverified completion. Pair with /pua-on extension command when persistent pressure is desired.
repo: tanweai/pua
热度
- GitHub 星标
- 20k
- 排名
- #10394
- 许可证
- —
- 更新时间
- 2026/9/9
评论
- …