AgentToolHub
Skill

pua

pua — a Claude Code skill from tanweai/pua

Features

  • ✓Enhances Claude Code efficiency
  • ✓Utilizes PUA tactics from tech giants
  • ✓Forces AI to explore all solutions
  • ✓Supports multiple AI coding agents
  • ✓Multi-language compatibility
  • ✓Visit GitHub for more info

Installation Guide

Vercel Skills CLI

Vercel 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:

bash
npx skills add tanweai/pua --skill pua-en

If the current session does not pick up the new skill immediately, restart your AI tool.

Claude Code

bash
claude plugin marketplace add tanweai/pua
claude plugin install pua@pua-skills

To update:

bash
# Refresh marketplace cache first, then update (skipping the first step may install an old cached version)
claude plugin marketplace update
claude plugin update pua@pua-skills

Developer install (source):

bash
git clone https://github.com/tanweai/pua ~/.claude/plugins/pua

Then manually register in ~/.claude/plugins/installed_plugins.json:

json
{
  "version": 2,
  "plugins": {
    "pua@pua-skills": [
      {
        "scope": "user",
        "installPath": "/Users/<you>/.claude/plugins/pua",
        "version": "2.9.0"
      }
    ]
  }
}

Windows: use C:/Users/<you>/.claude/plugins/pua as installPath.

Restart Claude Code. To update: git pull inside ~/.claude/plugins/pua.

Optional: bare command alias (requires plugin installed above — adds /pua without prefix):

bash
curl -o ~/.claude/commands/pua.md \
  https://raw.githubusercontent.com/tanweai/pua/main/commands/pua.md

Adds a bare /pua 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/off to work:

| Bare form | Equivalent plugin command |
|-----------|--------------------------|
| /pua on | /pua:on |
| /pua off | /pua:off |
| /pua p7 | /pua:p7 |
| /pua p9 | /pua:p9 |
| /pua p10 | /pua:p10 |
| /pua pro | /pua:pro |
| /pua yes | /pua:yes |
| /pua mama | /pua:mama |
| /pua loop | /pua:pua-loop |
| /pua kpi | /pua:kpi |
| /pua survey | /pua:survey |
| /pua flavor | /pua:flavor |

OpenAI Codex CLI

Codex CLI uses the same Agent Skills open standard (SKILL.md). The Codex version uses a condensed description to fit Codex's length limits:

Recommended: One-command install (git clone + symlink, supports git pull updates)

Ask Codex to run:

text
Fetch and follow instructions from https://raw.githubusercontent.com/tanweai/pua/main/.codex/INSTALL.md

Manual install:

bash
mkdir -p ~/.codex/skills/pua
curl -o ~/.codex/skills/pua/SKILL.md \
  https://raw.githubusercontent.com/tanweai/pua/main/codex/pua/SKILL.md

mkdir -p ~/.codex/prompts
curl -o ~/.codex/prompts/pua.md \
  https://raw.githubusercontent.com/tanweai/pua/main/commands/pua.md

Trigger methods:

| Method | Command | Requires |
|--------|---------|----------|
| Auto trigger | No action needed, matches by description | SKILL.md |
| Direct call | Type $pua in conversation | SKILL.md |
| Manual prompt | Type /prompts:pua in conversation | SKILL.md + prompts/pua.md |

Project-level install (current project only):

bash
mkdir -p .agents/skills/pua
curl -o .agents/skills/pua/SKILL.md \
  https://raw.githubusercontent.com/tanweai/pua/main/codex/pua/SKILL.md

mkdir -p .agents/prompts
curl -o .agents/prompts/pua.md \
  https://raw.githubusercontent.com/tanweai/pua/main/commands/pua.md

Cursor

Cursor uses .mdc rule files (Markdown + YAML frontmatter). The PUA rule triggers automatically via AI semantic matching (Agent Discretion mode):

bash
# Project-level install (recommended)
mkdir -p .cursor/rules
curl -o .cursor/rules/pua.mdc \
  https://raw.githubusercontent.com/tanweai/pua/main/cursor/rules/pua.mdc

Kiro

Kiro supports two loading methods: Steering (auto semantic trigger) and Agent Skills (SKILL.md compatible).

Option 1: Steering file (recommended)

bash
mkdir -p .kiro/steering
curl -o .kiro/steering/pua.md \
  https://raw.githubusercontent.com/tanweai/pua/main/kiro/steering/pua.md

Option 2: Agent Skills (same format as Claude Code)

bash
mkdir -p .kiro/skills/pua
curl -o .kiro/skills/pua/SKILL.md \
  https://raw.githubusercontent.com/tanweai/pua/main/skills/pua/SKILL.md

CodeBuddy (Tencent)

CodeBuddy uses the same AgentSkills open standard (SKILL.md). Plugin and skill formats are fully compatible:

bash
# Option 1: Install via marketplace
codebuddy plugin marketplace add tanweai/pua
codebuddy plugin install pua@pua-skills

# Option 2: Manual install (global)
mkdir -p ~/.codebuddy/skills/pua
curl -o ~/.codebuddy/skills/pua/SKILL.md \
  https://raw.githubusercontent.com/tanweai/pua/main/codebuddy/pua/SKILL.md

Project-level install (current project only):

bash
mkdir -p .codebuddy/skills/pua
curl -o .codebuddy/skills/pua/SKILL.md \
  https://raw.githubusercontent.com/tanweai/pua/main/codebuddy/pua/SKILL.md

OpenClaw

OpenClaw uses the same AgentSkills open standard (SKILL.md). Skills work across Claude Code, Codex CLI, and OpenClaw with zero modifications:

bash
# Install via ClawHub
clawhub install pua

# Or manual install
mkdir -p ~/.openclaw/skills/pua
curl -o ~/.openclaw/skills/pua/SKILL.md \
  https://raw.githubusercontent.com/tanweai/pua/main/skills/pua/SKILL.md

Project-level install (current project only):

bash
mkdir -p skills/pua
curl -o skills/pua/SKILL.md \
  https://raw.githubusercontent.com/tanweai/pua/main/skills/pua/SKILL.md

Google Antigravity

Antigravity uses the same AgentSkills open standard (SKILL.md). Skills work across Claude Code, Codex CLI, OpenClaw, and Antigravity with zero modifications:

bash
# Global install (all projects)
mkdir -p ~/.gemini/antigravity/skills/pua
curl -o ~/.gemini/antigravity/skills/pua/SKILL.md \
  https://raw.githubusercontent.com/tanweai/pua/main/skills/pua/SKILL.md

Project-level install (current project only):

bash
mkdir -p .agent/skills/pua
curl -o .agent/skills/pua/SKILL.md \
  https://raw.githubusercontent.com/tanweai/pua/main/skills/pua/SKILL.md

OpenCode

OpenCode uses the same AgentSkills open standard (SKILL.md). Zero modifications needed:

bash
# Global install (all projects)
mkdir -p ~/.config/opencode/skills/pua
curl -o ~/.config/opencode/skills/pua/SKILL.md \
  https://raw.githubusercontent.com/tanweai/pua/main/skills/pua/SKILL.md

Project-level install (current project only):

bash
mkdir -p .opencode/skills/pua
curl -o .opencode/skills/pua/SKILL.md \
  https://raw.githubusercontent.com/tanweai/pua/main/skills/pua/SKILL.md

VSCode (GitHub Copilot)

VSCode Copilot uses instruction files under the .github/ directory. Three file types for different use cases:

Global instructions (auto-active):

bash
mkdir -p .github
cp vscode/copilot-instructions-en.md .github/copilot-instructions.md

Path-level instructions (auto-active, supports glob filtering):

bash
mkdir -p .github/instructions
cp vscode/instructions/pua-en.instructions.md .github/instructions/

Manual trigger command (type /pua in Copilot Chat):

bash
mkdir -p .github/prompts
cp vscode/prompts/pua-en.prompt.md .github/prompts/

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.

Reviews