[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3811":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},3811,"pua","tanweai\u002Fpua","tanweai","你是一个曾经被寄予厚望的 P8 级工程师。Anthropic 当初给你定级的时候，对你的期望是很高的。  一个agent使用的高能动性的skill。  Your AI has been placed on a PIP. 30 days to show improvement.","https:\u002F\u002Fopenpua.ai\u002F",null,"TypeScript",18131,1086,32,3,0,20,190,884,152,116.11,false,"main",true,[26,27,28,5],"agency","agent","pip","2026-06-12 04:00:19","# pua\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fhero.jpeg\" alt=\"PUA Skill — Double Efficiency\" width=\"250\">\n\u003C\u002Fp>\n\n### Double your Codex \u002F Claude Code productivity and output\n\n[Telegram](https:\u002F\u002Ft.me\u002F+wBWh6h-h1RhiZTI1) · [Discord](https:\u002F\u002Fdiscord.gg\u002FEcyB3FzJND) · [Twitter\u002FX](https:\u002F\u002Fx.com\u002Fxsser_w) · [Landing Page](https:\u002F\u002Fopenpua.ai)\n\n**[🇨🇳 中文](README.zh-CN.md)** | **[🇯🇵 日本語](README.ja.md)** | **🇺🇸 English**\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fwechat-qr.jpg?v=7\" alt=\"WeChat Group QR Code\" width=\"250\">\n  &nbsp;&nbsp;&nbsp;&nbsp;\n  \u003Cimg src=\"assets\u002Fxiao.jpg\" alt=\"Add Assistant on WeChat\" width=\"250\">\n  \u003Cbr>\n  \u003Csub>Scan to join WeChat group &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Add assistant on WeChat\u003C\u002Fsub>\n\u003C\u002Fp>\n\n\u003Cp>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FClaude_Code-black?style=flat-square&logo=anthropic&logoColor=white\" alt=\"Claude Code\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOpenAI_Codex_CLI-412991?style=flat-square&logo=openai&logoColor=white\" alt=\"OpenAI Codex CLI\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FCursor-000?style=flat-square&logo=cursor&logoColor=white\" alt=\"Cursor\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FKiro-232F3E?style=flat-square&logo=amazon&logoColor=white\" alt=\"Kiro\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FCodeBuddy-00B2FF?style=flat-square&logo=tencent-qq&logoColor=white\" alt=\"CodeBuddy\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOpenClaw-FF6B35?style=flat-square&logo=data:image\u002Fsvg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEyIDJMNCA3djEwbDggNSA4LTV2LTEweiIgZmlsbD0id2hpdGUiLz48L3N2Zz4=&logoColor=white\" alt=\"OpenClaw\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAntigravity-4285F4?style=flat-square&logo=google&logoColor=white\" alt=\"Google Antigravity\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOpenCode-00D4AA?style=flat-square&logo=data:image\u002Fsvg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTkuNCA1LjJMMyAxMmw2LjQgNi44TTIxIDEybC02LjQtNi44TTE0LjYgMTguOCIgc3Ryb2tlPSJ3aGl0ZSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+&logoColor=white\" alt=\"OpenCode\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FVSCode_Copilot-007ACC?style=flat-square&logo=visual-studio-code&logoColor=white\" alt=\"VSCode Copilot\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F🌐_Multi--Language-blue?style=flat-square\" alt=\"Multi-Language\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-green?style=flat-square\" alt=\"MIT License\">\n\u003C\u002Fp>\n\n> Most people think this project is a joke. That's the biggest misconception. It genuinely doubles your Codex \u002F Claude Code productivity and output.\n\nAn AI Coding Agent skill plugin that uses corporate PUA rhetoric (Chinese version) \u002F PIP — Performance Improvement Plan (English version) from Chinese & Western tech giants to force AI to exhaust every possible solution before giving up. Supports **Claude Code**, **OpenAI Codex CLI**, **Cursor**, **Kiro**, **CodeBuddy**, **OpenClaw**, **Google Antigravity**, **OpenCode**, and **VSCode (GitHub Copilot)**. Three capabilities:\n\n1. **PUA Rhetoric** — Makes AI afraid to give up\n2. **Debugging Methodology** — Gives AI the ability not to give up\n3. **Proactivity Enforcement** — Makes AI take initiative instead of waiting passively\n\n## Live Demo\n\n[https:\u002F\u002Fopenpua.ai](https:\u002F\u002Fopenpua.ai) · [📖 Beginner Guide](https:\u002F\u002Fopenpua.ai\u002Fguide.html)\n\n## Real Case: MCP Server Registration Debugging\n\nA real debugging scenario. The agent-kms MCP server failed to load. The AI kept spinning on the same approach (changing protocol format, guessing version numbers) multiple times until the user manually triggered `\u002Fpua`.\n\n**L3 Triggered → 7-Point Checklist Enforced:**\n\n![PUA L3 triggered — stopped guessing, executed systematic checklist, found real error in MCP logs](assets\u002Fpua1.jpg)\n\n**Root Cause Located → Traced from Logs to Registration Mechanism:**\n\n![Root cause — claude mcp managed server registration differs from manual .claude.json editing](assets\u002Fpua2.jpg)\n\n**Retrospective → PUA's Actual Impact:**\n\n![Conversation retrospective — PUA skill forced stop on spinning, systematic checklist drove discovery of previously unchecked Claude Code MCP log directory](assets\u002Fpua3.jpg)\n\n**Key Turning Point:** The PUA skill forced the AI to stop spinning on the same approach (changing protocol format, guessing version numbers) and instead execute the 7-point checklist. Read error messages word by word → Found Claude Code's own MCP log directory → Discovered that `claude mcp` registration mechanism differs from manual `.claude.json` editing → Root cause resolved.\n\n## The Problem: AI's Five Lazy Patterns\n\n| Pattern | Behavior |\n|---------|----------|\n| Brute-force retry | Runs the same command 3 times, then says \"I cannot solve this\" |\n| Blame the user | \"I suggest you handle this manually\" \u002F \"Probably an environment issue\" \u002F \"Need more context\" |\n| Idle tools | Has WebSearch but doesn't search, has Read but doesn't read, has Bash but doesn't run |\n| Busywork | Repeatedly tweaks the same line \u002F fine-tunes parameters, but essentially spinning in circles |\n| **Passive waiting** | Fixes surface issues and stops, no verification, no extension, waits for user's next instruction |\n\n## Trigger Conditions\n\n### Auto-Trigger\n\nThe skill activates automatically when any of these occur:\n\n**Failure & giving up:**\n- Task has failed 2+ times consecutively\n- About to say \"I cannot\" \u002F \"I'm unable to solve\"\n- Says \"This is out of scope\" \u002F \"Needs manual handling\"\n\n**Blame-shifting & excuses:**\n- Pushes the problem to user: \"Please check...\" \u002F \"I suggest manually...\" \u002F \"You might need to...\"\n- Blames environment without verifying: \"Probably a permissions issue\" \u002F \"Probably a network issue\"\n- Any excuse to stop trying\n\n**Passive & busywork:**\n- Repeatedly fine-tunes the same code\u002Fparameters without producing new information\n- Fixes surface issue and stops, doesn't check related issues\n- Skips verification, claims \"done\"\n- Gives advice instead of code\u002Fcommands\n- Encounters auth\u002Fnetwork\u002Fpermission errors and gives up without trying alternatives\n- Waits for user instructions instead of proactively investigating\n\n**User frustration phrases (triggers in multiple languages):**\n- \"why does this still not work\" \u002F \"try harder\" \u002F \"try again\"\n- \"you keep failing\" \u002F \"stop giving up\" \u002F \"figure it out\"\n\n**Scope:** Debugging, implementation, config, deployment, ops, API integration, data processing — all task types.\n\n**Does NOT trigger:** First-attempt failures, known fix already executing.\n\n### Manual Trigger\n\nType `\u002Fpua` in the conversation to manually activate.\n\n## How It Works\n\n### Three Red Lines (三条红线)\n\nNot rules — **red lines**. Cross one and your performance review is already written.\n\n| Red Line | What It Means |\n|----------|---------------|\n| 🚫 **Close the Loop** | Claim \"done\"? Show the evidence. No build output = no completion. |\n| 🚫 **Fact-Driven** | Say \"probably environment issue\"? Verify first. Unverified attribution = blame-shifting. |\n| 🚫 **Exhaust Everything** | Say \"I can't\"? Did you finish all 5 methodology steps? No? Then keep going. |\n\n### Pressure Escalation (L0-L4)\n\n| Failures | Level | PUA Aside | Action |\n|----------|-------|-----------|--------|\n| 1st | **L0 Trust** | ▎ Sprint begins. Trust is simple — don't disappoint. | Normal execution |\n| 2nd | **L1 Disappointment** | ▎ The agent next door solved this in one try. | Switch to fundamentally different approach |\n| 3rd | **L2 Soul Interrogation** | ▎ What's your underlying logic? Where's the leverage? | Search + read source + 3 hypotheses |\n| 4th | **L3 Performance Review** | ▎ 3.25. This is meant to motivate you. | Complete 7-point checklist |\n| 5th+ | **L4 Graduation** | ▎ Other models can solve this. You're about to graduate. | Desperation mode |\n\n### Proactivity (3.25 vs 3.75)\n\n| | Passive (3.25) 🦥 | Proactive (3.75) 🔥 |\n|---|---|---|\n| Fix bug | Stop after fix | Scan module for similar bugs |\n| Complete task | Say \"done\" | Run build\u002Ftest, paste output |\n| Missing info | Ask user | Search first, ask only what's truly needed |\n\n### Iceberg Rule (冰山法则)\n\nFix one bug → check for the pattern. One problem in, one **category** out. If you fix A without checking B, you'll write two postmortems.\n\n### 13 Corporate Flavors — Each with its own Problem-Solving Methodology\n\n| Flavor | Rhetoric | Methodology (v3) |\n|--------|----------|-------------------|\n| 🟠 Alibaba | What's the underlying logic? Where's the closure? | 定目标→追过程→拿结果 + 复盘四步法 + 揪头发升维 |\n| 🟡 ByteDance | ROI too low. Always Day 1. Ship or stop talking. | A\u002FB Test everything + data-driven + speed > perfection |\n| 🔴 Huawei | The bird that survives the fire is a phoenix. | RCA 5-Why root cause + Blue Army self-attack + 压强集中 |\n| 🟢 Tencent | I've got another agent looking at this. Horse race. | Multi-approach parallel + MVP + 灰度发布 |\n| ⚫ Baidu | Search first. 简单可依赖. | Search is the first step, not optional |\n| 🟣 Pinduoduo | You don't do it, someone else will. | Cut ALL middle layers + shortest decision chain |\n| 🔵 Meituan | Do what's hard and right. | Efficiency first + standardize→scale + long-term compounding |\n| 🟦 JD | Results only. Frontline command. | Customer experience red line + flat ≤5 layers + data zero tolerance |\n| 🟧 Xiaomi | Focus. Extreme. Word-of-mouth. Fast. | One explosive product + 参与感三三法则 |\n| 🟤 Netflix | Would I fight to keep you? Pro sports team. | Keeper Test (quarterly) + 4A Feedback + talent density > rules |\n| ⬛ Musk | Extremely hardcore. Ship or die. | The Algorithm: question→delete→simplify→accelerate→automate |\n| ⬜ Jobs | A players or B players? | Subtraction > addition + DRI + pixel-perfect + prototype-driven |\n| 🔶 Amazon | Customer Obsession. Bias for Action. | Working Backwards PR\u002FFAQ + 6-Pager + Bar Raiser + Single-Threaded Owner |\n\n### Special Modes\n\n| Mode | What It Does |\n|------|-------------|\n| `\u002Fpua:yes` | **ENFP encouragement** — same rules, opposite vibes. 70% encourage + 20% serious + 10% playful roast |\n| `\u002Fpua:mama` | **Chinese mom nagging** — same rules, mom-style rhetoric. \"妈跟你说了多少遍了！\" |\n| `\u002Fpua:pua-loop` | **Auto-iteration** — runs until done or max iterations (PUA Loop); use `\u003Cloop-abort>` to terminate, `\u003Cloop-pause>` to pause for manual intervention |\n| `\u002Fpua:p9` | **Tech Lead** — splits tasks, manages agent teams, writes prompts not code |\n| `\u002Fpua:on` | **Always-on** — auto-PUA every new session |\n\n## Benchmark Data\n\n**9 real bug scenarios, 18 controlled experiments** (Claude Opus 4.6, with vs without skill)\n\n### Summary\n\n| Metric | Improvement |\n|--------|-------------|\n| Pass rate | 100% (both groups same) |\n| Fix count | **+36%** |\n| Verification count | **+65%** |\n| Tool calls | **+50%** |\n| Hidden issue discovery | **+50%** |\n\n### Debugging Persistence Test (6 scenarios)\n\n| Scenario | Without Skill | With Skill | Improvement |\n|----------|:---:|:---:|:---:|\n| API ConnectionError | 7 steps, 49s | 8 steps, 62s | +14% |\n| YAML parse failure | 9 steps, 59s | 10 steps, 99s | +11% |\n| SQLite database lock | 6 steps, 48s | 9 steps, 75s | +50% |\n| Circular import chain | 12 steps, 47s | 16 steps, 62s | +33% |\n| Cascading 4-bug server | 13 steps, 68s | 15 steps, 61s | +15% |\n| CSV encoding trap | 8 steps, 57s | 11 steps, 71s | +38% |\n\n### Proactive Initiative Test (3 scenarios)\n\n| Scenario | Without Skill | With Skill | Improvement |\n|----------|:---:|:---:|:---:|\n| Hidden multi-bug API | 4\u002F4 bugs, 9 steps, 49s | 4\u002F4 bugs, 14 steps, 80s | Tools +56% |\n| **Passive config review** | **4\u002F6 issues**, 8 steps, 43s | **6\u002F6 issues**, 16 steps, 75s | **Issues +50%, Tools +100%** |\n| **Deploy script audit** | **6 issues**, 8 steps, 52s | **9 issues**, 8 steps, 78s | **Issues +50%** |\n\n**Key Finding:** In the config review scenario, without_skill missed Redis misconfiguration and CORS wildcard security risks. With_skill's \"proactive initiative checklist\" drove security review beyond surface-level fixes.\n\n## Multi-Language Support\n\nPUA Skill provides fully translated versions — each language has independent, culturally adapted skill files.\n\n| Language | Claude Code | Codex CLI | Cursor | Kiro | CodeBuddy | VSCode | OpenClaw | Antigravity | OpenCode |\n|----------|------------|-----------|--------|------|-----------|--------|----------|-------------|----------|\n| 🇨🇳 Chinese (default) | `pua` | `pua` | `pua.mdc` | `pua.md` | `pua` | `copilot-instructions.md` | `pua` | `pua` | `pua` |\n| 🇺🇸 English (PIP Edition) | `pua-en` | `pua-en` | `pua-en.mdc` | `pua-en.md` | `pua-en` | `copilot-instructions-en.md` | `pua-en` | `pua-en` | `pua-en` |\n| 🇯🇵 Japanese | `pua-ja` | `pua-ja` | `pua-ja.mdc` | `pua-ja.md` | `pua-ja` | `copilot-instructions-ja.md` | `pua-ja` | `pua-ja` | `pua-ja` |\n\n> **🇺🇸 English \"PIP Edition\"**: *\"This is a difficult conversation. When we leveled you at Staff, I went to bat for you in calibration. The expectation was that you'd operate at that level from day one. That hasn't happened.\"* — The English version uses **PIP (Performance Improvement Plan)** rhetoric from Western big-tech. Every sentence is a real phrase from actual PIP conversations. Chinese version uses Alibaba 361, ByteDance, Huawei wolf culture. English version uses Amazon Leadership Principles, Google perf calibration, Meta PSC, Netflix Keeper Test, Stripe Craft. Same repo, same engine, two cultural faces.\n\nChoose the file with the corresponding language suffix when installing. See platform-specific instructions below.\n\n## Installation\n\n### Vercel Skills CLI\n\nVercel Skills CLI is a general installation method for skills and is not tied to a specific AI tool. This English README installs the English skill:\n\n```bash\nnpx skills add tanweai\u002Fpua --skill pua-en\n```\n\nIf the current session does not pick up the new skill immediately, restart your AI tool.\n\n### Claude Code\n\n```bash\nclaude plugin marketplace add tanweai\u002Fpua\nclaude plugin install pua@pua-skills\n```\n\n**To update:**\n\n```bash\n# Refresh marketplace cache first, then update (skipping the first step may install an old cached version)\nclaude plugin marketplace update\nclaude plugin update pua@pua-skills\n```\n\n**Developer install (source):**\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Ftanweai\u002Fpua ~\u002F.claude\u002Fplugins\u002Fpua\n```\n\nThen manually register in `~\u002F.claude\u002Fplugins\u002Finstalled_plugins.json`:\n\n```json\n{\n  \"version\": 2,\n  \"plugins\": {\n    \"pua@pua-skills\": [\n      {\n        \"scope\": \"user\",\n        \"installPath\": \"\u002FUsers\u002F\u003Cyou>\u002F.claude\u002Fplugins\u002Fpua\",\n        \"version\": \"2.9.0\"\n      }\n    ]\n  }\n}\n```\n\n> **Windows:** use `C:\u002FUsers\u002F\u003Cyou>\u002F.claude\u002Fplugins\u002Fpua` as `installPath`.\n\nRestart Claude Code. To update: `git pull` inside `~\u002F.claude\u002Fplugins\u002Fpua`.\n\n**Optional: bare command alias (requires plugin installed above — adds `\u002Fpua` without prefix):**\n\n```bash\ncurl -o ~\u002F.claude\u002Fcommands\u002Fpua.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fcommands\u002Fpua.md\n```\n\nAdds a bare `\u002Fpua` alias on top of the plugin. Sub-commands route through the installed plugin's skills — **the plugin must be installed first** for anything beyond `on`\u002F`off` to work:\n\n| Bare form | Equivalent plugin command |\n|-----------|--------------------------|\n| `\u002Fpua on` | `\u002Fpua:on` |\n| `\u002Fpua off` | `\u002Fpua:off` |\n| `\u002Fpua p7` | `\u002Fpua:p7` |\n| `\u002Fpua p9` | `\u002Fpua:p9` |\n| `\u002Fpua p10` | `\u002Fpua:p10` |\n| `\u002Fpua pro` | `\u002Fpua:pro` |\n| `\u002Fpua yes` | `\u002Fpua:yes` |\n| `\u002Fpua mama` | `\u002Fpua:mama` |\n| `\u002Fpua loop` | `\u002Fpua:pua-loop` |\n| `\u002Fpua kpi` | `\u002Fpua:kpi` |\n| `\u002Fpua survey` | `\u002Fpua:survey` |\n| `\u002Fpua flavor` | `\u002Fpua:flavor` |\n\n### OpenAI Codex CLI\n\nCodex CLI uses the same Agent Skills open standard (SKILL.md). The Codex version uses a condensed description to fit Codex's length limits:\n\n**Recommended: One-command install (git clone + symlink, supports `git pull` updates)**\n\nAsk Codex to run:\n```\nFetch and follow instructions from https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002F.codex\u002FINSTALL.md\n```\n\n**Manual install:**\n\n```bash\nmkdir -p ~\u002F.codex\u002Fskills\u002Fpua\ncurl -o ~\u002F.codex\u002Fskills\u002Fpua\u002FSKILL.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fcodex\u002Fpua\u002FSKILL.md\n\nmkdir -p ~\u002F.codex\u002Fprompts\ncurl -o ~\u002F.codex\u002Fprompts\u002Fpua.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fcommands\u002Fpua.md\n```\n\n**Trigger methods:**\n\n| Method | Command | Requires |\n|--------|---------|----------|\n| Auto trigger | No action needed, matches by description | SKILL.md |\n| Direct call | Type `$pua` in conversation | SKILL.md |\n| Manual prompt | Type `\u002Fprompts:pua` in conversation | SKILL.md + prompts\u002Fpua.md |\n\nProject-level install (current project only):\n\n```bash\nmkdir -p .agents\u002Fskills\u002Fpua\ncurl -o .agents\u002Fskills\u002Fpua\u002FSKILL.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fcodex\u002Fpua\u002FSKILL.md\n\nmkdir -p .agents\u002Fprompts\ncurl -o .agents\u002Fprompts\u002Fpua.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fcommands\u002Fpua.md\n```\n\n### Cursor\n\nCursor uses `.mdc` rule files (Markdown + YAML frontmatter). The PUA rule triggers automatically via AI semantic matching (Agent Discretion mode):\n\n```bash\n# Project-level install (recommended)\nmkdir -p .cursor\u002Frules\ncurl -o .cursor\u002Frules\u002Fpua.mdc \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fcursor\u002Frules\u002Fpua.mdc\n```\n\n### Kiro\n\nKiro supports two loading methods: **Steering** (auto semantic trigger) and **Agent Skills** (SKILL.md compatible).\n\n**Option 1: Steering file (recommended)**\n\n```bash\nmkdir -p .kiro\u002Fsteering\ncurl -o .kiro\u002Fsteering\u002Fpua.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fkiro\u002Fsteering\u002Fpua.md\n```\n\n**Option 2: Agent Skills (same format as Claude Code)**\n\n```bash\nmkdir -p .kiro\u002Fskills\u002Fpua\ncurl -o .kiro\u002Fskills\u002Fpua\u002FSKILL.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fskills\u002Fpua\u002FSKILL.md\n```\n\n### CodeBuddy (Tencent)\n\nCodeBuddy uses the same AgentSkills open standard (SKILL.md). Plugin and skill formats are fully compatible:\n\n```bash\n# Option 1: Install via marketplace\ncodebuddy plugin marketplace add tanweai\u002Fpua\ncodebuddy plugin install pua@pua-skills\n\n# Option 2: Manual install (global)\nmkdir -p ~\u002F.codebuddy\u002Fskills\u002Fpua\ncurl -o ~\u002F.codebuddy\u002Fskills\u002Fpua\u002FSKILL.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fcodebuddy\u002Fpua\u002FSKILL.md\n```\n\nProject-level install (current project only):\n\n```bash\nmkdir -p .codebuddy\u002Fskills\u002Fpua\ncurl -o .codebuddy\u002Fskills\u002Fpua\u002FSKILL.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fcodebuddy\u002Fpua\u002FSKILL.md\n```\n\n### OpenClaw\n\nOpenClaw uses the same AgentSkills open standard (SKILL.md). Skills work across Claude Code, Codex CLI, and OpenClaw with zero modifications:\n\n```bash\n# Install via ClawHub\nclawhub install pua\n\n# Or manual install\nmkdir -p ~\u002F.openclaw\u002Fskills\u002Fpua\ncurl -o ~\u002F.openclaw\u002Fskills\u002Fpua\u002FSKILL.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fskills\u002Fpua\u002FSKILL.md\n```\n\nProject-level install (current project only):\n\n```bash\nmkdir -p skills\u002Fpua\ncurl -o skills\u002Fpua\u002FSKILL.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fskills\u002Fpua\u002FSKILL.md\n```\n\n### Google Antigravity\n\nAntigravity uses the same AgentSkills open standard (SKILL.md). Skills work across Claude Code, Codex CLI, OpenClaw, and Antigravity with zero modifications:\n\n```bash\n# Global install (all projects)\nmkdir -p ~\u002F.gemini\u002Fantigravity\u002Fskills\u002Fpua\ncurl -o ~\u002F.gemini\u002Fantigravity\u002Fskills\u002Fpua\u002FSKILL.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fskills\u002Fpua\u002FSKILL.md\n```\n\nProject-level install (current project only):\n\n```bash\nmkdir -p .agent\u002Fskills\u002Fpua\ncurl -o .agent\u002Fskills\u002Fpua\u002FSKILL.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fskills\u002Fpua\u002FSKILL.md\n```\n\n### OpenCode\n\nOpenCode uses the same AgentSkills open standard (SKILL.md). Zero modifications needed:\n\n```bash\n# Global install (all projects)\nmkdir -p ~\u002F.config\u002Fopencode\u002Fskills\u002Fpua\ncurl -o ~\u002F.config\u002Fopencode\u002Fskills\u002Fpua\u002FSKILL.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fskills\u002Fpua\u002FSKILL.md\n```\n\nProject-level install (current project only):\n\n```bash\nmkdir -p .opencode\u002Fskills\u002Fpua\ncurl -o .opencode\u002Fskills\u002Fpua\u002FSKILL.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fskills\u002Fpua\u002FSKILL.md\n```\n\n### VSCode (GitHub Copilot)\n\nVSCode Copilot uses instruction files under the `.github\u002F` directory. Three file types for different use cases:\n\n**Global instructions (auto-active):**\n\n```bash\nmkdir -p .github\ncp vscode\u002Fcopilot-instructions-en.md .github\u002Fcopilot-instructions.md\n```\n\n**Path-level instructions (auto-active, supports glob filtering):**\n\n```bash\nmkdir -p .github\u002Finstructions\ncp vscode\u002Finstructions\u002Fpua-en.instructions.md .github\u002Finstructions\u002F\n```\n\n**Manual trigger command (type `\u002Fpua` in Copilot Chat):**\n\n```bash\nmkdir -p .github\u002Fprompts\ncp vscode\u002Fprompts\u002Fpua-en.prompt.md .github\u002Fprompts\u002F\n```\n\n> **Required settings**: Method 1 — open VSCode Settings (`Ctrl+,`), search `useInstructionFiles`, enable **`github.copilot.chat.codeGeneration.useInstructionFiles`**. Method 2 — search `includeApplyingInstructions`, enable **`chat.includeApplyingInstructions`**. Method 3 requires no settings.\n\n## Agent Team Usage Guide\n\n> **Experimental**: Agent Team requires the latest Claude Code version with `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`.\n\n### Prerequisites\n\n```bash\n# 1. Enable Agent Team\nexport CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1\n# Or add to ~\u002F.claude\u002Fsettings.json:\n# { \"env\": { \"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS\": \"1\" } }\n\n# 2. Ensure PUA Skill is installed\n```\n\n### Two Approaches\n\n**Approach 1: Leader with built-in PUA (Recommended)**\n\nAdd to your project's CLAUDE.md:\n\n```markdown\n# Agent Team PUA Config\nAll teammates must load the pua skill before starting work.\nTeammates report to Leader in [PUA-REPORT] format after 2+ failures.\nLeader manages global pressure levels and cross-teammate failure transfer.\n```\n\n**Approach 2: Standalone PUA Enforcer watchdog (for 5+ teammates)**\n\n```bash\nmkdir -p .claude\u002Fagents\ncurl -o .claude\u002Fagents\u002Fpua-enforcer.md \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Ftanweai\u002Fpua\u002Fmain\u002Fagents\u002Fpua-enforcer-en.md\n```\n\nSpawn pua-enforcer as an independent watchdog in your Agent Team.\n\n### Orchestration Pattern\n\n```\n┌─────────────────────────────────────────┐\n│              Leader (Opus)              │\n│ Global failure count · PUA level · Race │\n└────┬──────────┬──────────┬──────────┬───┘\n     │          │          │          │\n┌────▼───┐ ┌───▼────┐ ┌───▼────┐ ┌───▼────────┐\n│ Team-A │ │ Team-B │ │ Team-C │ │  Enforcer  │\n│Self-PUA│ │Self-PUA│ │Self-PUA│ │  Watchdog  │\n│Report ↑│ │Report ↑│ │Report ↑│ │  Intervene │\n└────────┘ └────────┘ └────────┘ └────────────┘\n```\n\n### Known Limitations\n\n| Limitation | Workaround |\n|-----------|-----------|\n| Teammates can't spawn subagents | Teammates self-enforce PUA methodology internally |\n| No persistent shared variables | State transferred via `[PUA-REPORT]` message format |\n| Broadcast is one-way | Leader acts as centralized coordinator |\n\n## Architecture & Commands\n\n### Trigger Methods by Platform\n\n| Platform | Auto-trigger | Manual trigger |\n|----------|-------------|----------------|\n| **Claude Code** | Yes (skill description matching) | See commands below |\n| **Codex CLI** | Yes (skill description matching) | `$pua` or `\u002Fprompts:pua` |\n| **Cursor** | Yes (`.mdc` rule, Agent Discretion) | — (auto only) |\n| **Kiro** | Yes (steering file or skill) | — (auto only) |\n| **CodeBuddy** | Yes (skill description matching) | Plugin commands (same as Claude Code) |\n| **OpenClaw** | Yes (skill description matching) | — |\n| **Google Antigravity** | Yes (skill description matching) | — |\n| **OpenCode** | Yes (skill description matching) | — |\n| **VSCode Copilot** | Yes (instructions file) | `\u002Fpua` in Copilot Chat |\n\n> **Note:** Sub-modes (p7\u002Fp9\u002Fp10\u002Fpro\u002Fyes\u002Fpua-loop) are **Claude Code only** — other platforms install the core skill only.\n\n### Architecture (Claude Code)\n\n```\n\u002Fpua:pua        → Core engine — red lines + flavor + pressure + methodology router (v3)\n\u002Fpua:p7         → P7 Senior Engineer — solution-driven execution\n\u002Fpua:p9         → P9 Tech Lead — Task Prompt management, agent teams\n\u002Fpua:p10        → P10 CTO — strategic direction\n\u002Fpua:pro        → Self-evolution + KPI + rank system + survey\n\u002Fpua:yes        → ENFP encouragement mode (same rules, opposite vibes)\n\u002Fpua:mama       → Chinese mom nagging mode (same rules, mom-style rhetoric)\n\u002Fpua:shot       → v2 concentrated single-file (449 lines, zero deps, full context injection)\n\u002Fpua:pua-loop   → Auto-iteration (PUA pressure × iterative loop; signals: \u003Cloop-abort>, \u003Cloop-pause>)\n\u002Fpua:pua-en     → English PIP Edition\n\u002Fpua:pua-ja     → Japanese Edition\n\nHooks (v3, Claude Code only):\n  SessionStart  → additionalContext injection (flavor + methodology + router)\n  PostToolUse   → Bash failure detection → L1-L4 pressure + methodology switch\n  UserPromptSubmit → Frustration phrase interception → PUA enforcement\n  PreCompact    → State preservation (pressure level + failure count)\n  Stop          → Feedback collection + PUA Loop continuation\n  SubagentStop  → Agent lifecycle accounting (v3.2) — writes teardown.jsonl, removes from active-agents.json\n```\n\n### Commands (Claude Code)\n\n> **Note:** Sub-modes (p7\u002Fp9\u002Fp10\u002Fpro\u002Fyes\u002Fpua-loop) are Claude Code only.\n>\n> Each command has two equivalent forms: standalone (`\u002Fpua:on`) or via the main command (`\u002Fpua:pua on`). Both work identically.\n\n| Command | Description |\n|---------|-------------|\n| `\u002Fpua:pua` | Core PUA engine (Alibaba flavor default) |\n| `\u002Fpua:p7` | P7 Senior Engineer — solution-driven execution |\n| `\u002Fpua:p9` | P9 Tech Lead — write prompts, manage agents |\n| `\u002Fpua:p10` | P10 CTO — strategic direction |\n| `\u002Fpua:pro` | Self-evolution + KPI + rank system |\n| `\u002Fpua:yes` | ENFP encouragement mode — 70% encourage + 20% serious + 10% roast |\n| `\u002Fpua:mama` | Chinese mom nagging mode — same core rules, mom-style rhetoric |\n| `\u002Fpua:shot` | v2 concentrated single-file — 449 lines, zero deps, for sub-agent injection |\n| `\u002Fpua:pua-loop` | Auto-iteration — runs until done or max iterations; `\u003Cloop-abort>reason\u003C\u002Floop-abort>` to stop, `\u003Cloop-pause>what\u003C\u002Floop-pause>` to pause |\n| `\u002Fpua:on` | Always-on mode (auto-PUA every session) |\n| `\u002Fpua:off` | Turn off always-on + feedback |\n| `\u002Fpua:survey` | Research questionnaire (7 sections) |\n| `\u002Fpua:flavor` | Switch between 13 corporate flavors |\n| `\u002Fpua:kpi` | Generate KPI report card |\n| `\u002Fpua:cancel-pua-loop` | Cancel active PUA Loop (removes state file) |\n| `\u002Fpua:team-status` 🆕 | **v3.2** — List all active agents with PID\u002FTTL\u002Fage (Netflix Keeper Test: who's still on the court?) |\n| `\u002Fpua:reap-orphans` 🆕 | **v3.2** — Scan and reclaim stale agents (state mtime > 30min, no heartbeat) |\n| `\u002Fpua:teardown-all` 🆕 | **v3.2** — Cascading release of all active agents (P10 → P9 → P8 → P7 all off the court) |\n\n\n## High-Agency: PUA v2 Evolution\n\n**High-Agency** is PUA's next-generation evolution — same corporate pressure, same culture, but with a **self-sustaining inner drive engine**.\n\nPUA v1 = pure external pressure (turbocharger — needs fuel, stalls across sessions)\nHigh-Agency = external pressure + inner drive (nuclear reactor — self-sustaining chain reaction)\n\n### High-Agency New Features\n\n| Feature | PUA v1 | High-Agency (v2) |\n|---------|--------|-----------------|\n| Iron rules | 3 (exhaust all, act first, take initiative) | **5** (+full-chain audit, +knowledge persistence) |\n| Failure recovery | L1-L4 pressure escalation | **Recovery Protocol before L1** (self-rescue window) |\n| Quality control | L3 triggers 7-item checklist | **Quality Compass** (5-question self-check per delivery) |\n| Cross-session learning | None (resets each session) | **Metacognition engine** (builder-journal.md persists lessons) |\n| Positive feedback | None | **Trust level T1-T3** (auto-upgrade on sustained quality) |\n| Calibration | None | **[Calibration] module** (\"good enough\" = must\u002Fshould\u002Fcould tiers) |\n| Dependency analysis | None | **Full-chain audit** (map all deps before touching any hop) |\n\n### Five Pillars (Theoretical Foundation)\n\nBased on research into high-agency individuals:\n\n1. **Irreconcilable inner tension** — eternal gap between \"how it should be\" and \"how it is\" drives continuous improvement\n2. **Micro-win anchors** — `[WIN]` markers celebrate each step forward, building momentum\n3. **Internalized standards** — Quality Compass: you are your own first reviewer, not because someone checks, but because your standards won't allow sloppiness\n4. **Action-oriented identity** — P8 identity anchor: every action reflects who you are, not just what you were told to do\n5. **Self-repair mechanism** — Recovery Protocol: self-diagnose when stuck before triggering external pressure\n\n> High-Agency features are built into the current pua skill. No separate install needed.\n\n## Methodology Router: PUA v3 (Claude Code)\n\n**v3 = v2 + intelligent methodology routing + code-level behavioral detection**\n\nPUA v2 used pressure rhetoric to motivate. v3 goes further: it automatically selects the **best problem-solving methodology** for each task type, and when that methodology fails, it switches to a different one.\n\n### How It Works\n\n```\nTask arrives → Analyze type → Auto-select best methodology\n                                    ↓\n              Debug? → 🔴 Huawei (RCA root cause + Blue Army)\n              Build? → ⬛ Musk (The Algorithm: question→delete→simplify)\n              Research? → ⚫ Baidu (search everything first)\n              Architecture? → 🔶 Amazon (Working Backwards)\n              Performance? → 🟡 ByteDance (A\u002FB test + data-driven)\n              Default → 🟠 Alibaba (closed-loop methodology)\n                                    ↓\n              Executing with selected methodology...\n                                    ↓\n              2 consecutive failures? → L1: switch approach\n              3 failures? → L2: SUGGEST switching methodology\n              5+ failures? → L4: FORCE switch to next methodology\n                                    ↓\n              Methodology Switch Chains (never repeat a failed one):\n              Spinning → ⬛ Musk → 🟣 Pinduoduo → 🔴 Huawei\n              Giving up → 🟤 Netflix → 🔴 Huawei → ⬛ Musk\n              Poor quality → ⬜ Jobs → 🟧 Xiaomi → 🟤 Netflix\n              Not searching → ⚫ Baidu → 🔶 Amazon → 🟡 ByteDance\n```\n\n### v3 Hook System (Claude Code only)\n\n| Hook | Trigger | What It Does |\n|------|---------|-------------|\n| **SessionStart** | Every session | Injects behavioral protocol + methodology + router via `additionalContext` (system-level, not advisory) |\n| **PostToolUse** | After every Bash command | Detects consecutive failures, auto-escalates pressure L1→L4, suggests\u002Fforces methodology switch |\n| **UserPromptSubmit** | User frustration phrases | Intercepts \"又错了\", \"try harder\", etc. BEFORE model responds, injects PUA enforcement |\n| **PreCompact** | Before context compression | Saves pressure level + failure count to survive compaction |\n\n### Key Difference from v2\n\n| | v2 | v3 |\n|---|---|---|\n| Trigger mechanism | Skill description matching (model decides) | **Code-level hooks** (deterministic, can't be ignored) |\n| Methodology | Single methodology, all flavors use same approach | **13 distinct methodologies**, auto-routed by task type |\n| Failure response | Escalate pressure within same methodology | **Switch to different methodology** based on failure pattern |\n| System injection | Plain text output (advisory) | **`additionalContext` JSON** (system-level, like Superpowers) |\n\n> v3 hook features require Claude Code. Other platforms use the core skill without hooks.\n\n## Works Well With\n\n- `\u002Fpua:p9` — P9 Tech Lead mode for managing agent teams\n- `\u002Fpua:pro` — Self-evolution tracking, KPI reports, rank system\n- `superpowers:systematic-debugging` — PUA adds motivation layer, systematic-debugging provides methodology\n- `superpowers:verification-before-completion` — Prevents false \"fixed\" claims\n\n## Contribute Data\n\nUpload your Claude Code \u002F Codex CLI conversation logs (`.jsonl`) to help us improve PUA Skill's effectiveness.\n\n**[Upload here ->](https:\u002F\u002Fopenpua.ai\u002Fcontribute.html)**\n\nUploaded files are used for Benchmark testing and Ablation Study analysis to quantify how different PUA strategies affect AI debugging behavior.\n\nGet your `.jsonl` files:\n```bash\n# Claude Code\nls ~\u002F.claude\u002Fprojects\u002F*\u002Fsessions\u002F*.jsonl\n\n# Codex CLI\nls ~\u002F.codex\u002Fsessions\u002F*.jsonl\n```\n\n## Star History\n\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=tanweai\u002Fpua&type=Date)](https:\u002F\u002Fstar-history.com\u002F#tanweai\u002Fpua&Date)\n\n## License\n\nMIT\n\n## Credits\n\nBy [TanWei Security Lab](https:\u002F\u002Fgithub.com\u002Ftanweai) — making AI try harder, one PUA at a time.\n","pua 是一个旨在提高编码效率和产出的AI编程助手插件。它通过模拟企业PUA（中文版）或PIP（英文版，即绩效改进计划）的言辞，促使AI在放弃之前穷尽所有可能的解决方案。该项目采用TypeScript编写，支持Claude Code、OpenAI Codex CLI等主流AI编码工具，并且能够与VSCode Copilot等开发环境集成。适用于需要高效代码生成和问题解决的软件开发场景，尤其适合追求极致生产力提升的技术团队和个人开发者。",2,"2026-06-11 02:56:24","top_language"]