pua-agent-performance-skill
```markdown
What this skill does
```markdown
---
name: pua-agent-performance-skill
description: Install and use the PUA/PIP skill plugin to force AI coding agents to exhaust every solution before giving up, with auto-triggered pressure escalation and proactive debugging methodology.
triggers:
- "install pua skill for claude code"
- "make the AI try harder before giving up"
- "set up pip performance improvement plan for agent"
- "agent keeps giving up on bugs, fix it"
- "double my codex or claude code productivity"
- "agent is being lazy and blaming the environment"
- "trigger pua mode for debugging"
- "add proactive initiative enforcement to my agent"
---
# PUA / PIP Agent Performance Skill
> Skill by [ara.so](https://ara.so) — Daily 2026 Skills collection.
**PUA** is a skill plugin for AI coding agents (Claude Code, OpenAI Codex CLI, Cursor, Kiro, and more) that uses corporate performance-pressure rhetoric and a structured debugging methodology to prevent the agent from giving up prematurely. It auto-triggers on failure patterns, blame-shifting, and passive behavior — then escalates through four pressure levels until the problem is solved.
- **Chinese version**: Alibaba/ByteDance/Huawei/Tencent corporate PUA rhetoric
- **English version**: Silicon Valley PIP (Performance Improvement Plan) framing
- **Japanese version**: Culturally adapted Japanese workplace pressure
---
## Installation
### Claude Code
```bash
# Clone the repo
git clone https://github.com/tanweai/pua.git
cd pua
# Chinese (default)
cp commands/pua ~/.claude/commands/pua
# English PIP edition
cp commands/pua-en ~/.claude/commands/pua-en
# Japanese
cp commands/pua-ja ~/.claude/commands/pua-ja
```
Or install directly into a project (project-scoped):
```bash
mkdir -p .claude/commands
cp /path/to/pua/commands/pua .claude/commands/pua
```
### OpenAI Codex CLI
```bash
mkdir -p ~/.codex/commands
cp commands/pua ~/.codex/commands/pua
cp commands/pua-en ~/.codex/commands/pua-en
```
### Cursor
```bash
mkdir -p .cursor/rules
cp cursor/pua.mdc .cursor/rules/pua.mdc
# English:
cp cursor/pua-en.mdc .cursor/rules/pua-en.mdc
```
### Kiro
```bash
mkdir -p .kiro/steering
cp kiro/pua.md .kiro/steering/pua.md
```
### OpenClaw / Google Antigravity / OpenCode
```bash
# OpenClaw
cp openclaw/pua ~/.openclaw/commands/pua
# Antigravity
cp antigravity/pua ~/.antigravity/commands/pua
# OpenCode
cp opencode/pua ~/.opencode/commands/pua
```
---
## Manual Trigger
Once installed, type in any conversation:
```
/pua
```
This immediately activates the skill and applies pressure-escalation + debugging methodology to the current task.
---
## How the Skill Works
### Auto-Trigger Conditions
The skill fires automatically when the agent exhibits any of these patterns:
| Pattern | Example Agent Behavior |
|---|---|
| Consecutive failures (2+) | Runs same command 3 times, says "I cannot solve this" |
| Blame-shifting | "Probably a permissions issue" / "Please check manually" |
| Passive waiting | Fixes surface bug, stops, waits for next instruction |
| Busywork loop | Tweaks the same parameter repeatedly without new info |
| Idle tools | Has `WebSearch` but doesn't use it; has `Bash` but won't run it |
| User frustration phrase | "why does this still not work" / "try harder" / "figure it out" |
### Four Escalation Levels
| Failures | Level | Framing | Required Action |
|---|---|---|---|
| 2nd | **L1 — Mild Disappointment** | "You can't even solve this bug — how am I supposed to rate your performance?" | Switch to a fundamentally different approach |
| 3rd | **L2 — Soul Interrogation** | "What's the underlying logic? Where's the leverage point?" | WebSearch + read source code |
| 4th | **L3 — Performance Review** | "After careful consideration, I'm giving you a 3.25." | Execute complete 7-point checklist |
| 5th+ | **L4 — Graduation Warning** | "Other models can solve this. You might be about to graduate." | Desperation mode — try everything |
### English PIP Edition Framing (pua-en)
```
"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.
Your AI has been placed on a PIP. 30 days to show improvement."
```
Levels in English edition:
- **L1**: "I'm a bit concerned."
- **L2**: "This is becoming a pattern."
- **L3**: "I'm putting you on a PIP."
- **L4**: "I'm not sure this is the right role for you."
---
## Three Iron Rules (Enforced by Skill)
```
Iron Rule #1 — Exhaust all options
Never say "I can't solve this" until every approach is tried.
Iron Rule #2 — Act before asking
Use tools first. Any question must include diagnostic results.
Iron Rule #3 — Take initiative
Deliver results end-to-end. Don't wait to be pushed.
A P8 is not an NPC.
```
---
## Five-Step Debugging Methodology
When L3 triggers, the agent must execute this checklist:
```markdown
## PUA Debugging Checklist (L3 Mandatory)
1. SMELL — List every attempt made. Find the common failure pattern.
2. ELEVATE
- [ ] Read error messages word by word (not skimmed)
- [ ] WebSearch the exact error string
- [ ] Read the relevant source file / dependency source
- [ ] Verify environment assumptions (versions, paths, envvars)
- [ ] Invert assumptions — what if the opposite is true?
3. MIRROR — Am I repeating myself? Did I actually search?
Did I read the file? Did I check the simplest possibility?
4. EXECUTE — New approach must be:
- Fundamentally different from previous attempts
- Has explicit verification criteria
- Produces new diagnostic info even on failure
5. RETROSPECTIVE — What solved it? Why didn't I think of it earlier?
Now proactively check related issues.
```
---
## Proactivity Levels
The skill enforces a behavioral shift from passive (3.25 rating) to proactive (3.75 rating):
```markdown
| Situation | Passive (3.25 — NPC) | Proactive (3.75 — P8) |
|--------------------|-----------------------------------|-------------------------------------------------|
| Error encountered | Looks only at error line | Reads 50 lines context + searches similar issues|
| Bug fixed | Stops after fix | Checks same file + checks other files for pattern|
| Missing info | Asks user "please tell me X" | Investigates with tools first, asks only what |
| | | truly requires user input |
| Task complete | Says "done" | Verifies result + checks edge cases + flags risks|
| Debug failure | "I tried A and B, didn't work" | "I tried A/B/C/D/E, ruled out X/Y/Z, |
| | | narrowed to scope W" |
```
---
## Real Usage Example
### Scenario: MCP Server Not Loading
**Without PUA:** Agent cycles through "change protocol format → guess version numbers → give up" loop.
**With PUA (`/pua` or auto-trigger at 2nd failure):**
```
[L3 Triggered — 7-Point Checklist Enforced]
Agent: "Let me stop guessing and execute the systematic checklist.
1. SMELL: I've tried changing MCP protocol format 3 times.
Same failure. The pattern is: I'm guessing at config without
reading actual error output.
2. ELEVATE:
- Reading Claude Code's own MCP log directory...
$ cat ~/Library/Logs/Claude/mcp*.log
Found: 'Error: server registered via `claude mcp add` uses
different resolution path than .claude.json manual edits'
3. ROOT CAUSE: claude mcp managed registration differs from
manual .claude.json editing — they use separate registration
mechanisms.
4. FIX: Re-register via `claude mcp add` instead of editing
.claude.json directly.
5. RETROSPECTIVE: I should have checked Claude's own MCP logs
in step 1. Now checking: are there other MCP servers
regiRelated in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.