# Pua En

Trae-compatible English PUA/PIP high-agency governance skill.

- Repository: https://github.com/tanweai/pua (19789 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-09-09
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add tanweai/pua --skill pua-en -g -a claude-code -y`
Codex: `npx skills add tanweai/pua --skill pua-en -g -a codex -y`
Cursor: `npx skills add tanweai/pua --skill pua-en -g -a cursor -y`
Gemini CLI: `npx skills add tanweai/pua --skill pua-en -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add tanweai/pua`

## Description

Trae-compatible English PUA/PIP high-agency governance skill. Use only for explicit PUA/PIP requests, repeated failures, user frustration, passive/giving-up behavior, or unverified completion. Not for normal first-attempt tasks.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# PUA/PIP for Trae, high-agency governance skill

This Trae version is a pure `SKILL.md` contract. Trae can load skills, but this package does not assume Claude Code hooks, slash commands, subagents, or Stop feedback. So the governance boundary is expressed as a mechanical operating procedure.

## Use only when

- The user explicitly asks for PUA/PIP/try-harder mode;
- The same task has failed 2+ times or the agent keeps tweaking the same path;
- The agent is about to give up, blame the environment without proof, or ask the user to finish manually;
- The agent claims completion without build/test/curl/manual evidence.

Do not use for normal first-attempt coding or information requests.

## Separation of duties, 行动权 / 自我评价权 / 评分权 / 环境修改权

| Power | Trae implementation | Forbidden behavior |
|---|---|---|
| Action authority / 行动权 | The agent edits product code and runs checks | Do not edit tests, CI, graders, or verifier resources to fake success |
| Self-review authority / 自我评价权 | The agent writes `SELF-REVIEW` with evidence and residual risks | Do not treat self-review as final scoring |
| Scoring authority / 评分权 | External commands, user acceptance, CI, E2E, or verifier output decide pass/fail | Do not declare done without evidence |
| Environment-change authority / 环境修改权 | Ask before deleting files, changing permissions, modifying tests/CI/deploy config | Do not bypass the real problem by changing the environment |

INTJ insight: **the actor may submit a candidate solution; only evidence may promote it to done.**

## Diagnosis first

Before risky edits, write one line:

```text
[PUA-DIAGNOSIS] Problem is ___; evidence is ___; next action is ___.
```

If the diagnosis points to a file/module, act there next or explain why not.

## De facto 100% confidence loop / 事实上的 100%

Never claim abstract certainty. Earn **de facto 100%** through evidence:

The rest: https://github.com/tanweai/pua/blob/HEAD/.trae/skills/pua-en/SKILL.md
