tanweai/pua
Coding-agent skill and plugin for breaking retry loops and verifying fixes
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Despite its MCP catalog classification, PUA is architecturally a host-loaded skill and plugin. There is no demonstrated MCP transport, tool registry or server entry point. The full Claude Code integration combines skills/, commands/, hooks/ and agents/. Its core command, /pua:pua, routes tasks to different problem-solving methods and adds instructions for changing approach after repeated failures. The host agent still owns tool execution, permissions and model inference.
In Claude Code, SessionStart injects methodology context, UserPromptSubmit filters for frustration signals, and PostToolUse observes Bash failures. PreCompact preserves the failure count and pressure level before context compaction. Stop handles feedback and optional loop continuation, while SubagentStop writes teardown.jsonl and updates active-agents.json. These hooks make event handling and state tracking more consistent; the actual judgment and follow-through still depend on the model.
Key Capabilities & Differentiators
The core workflow is to stop repeating an unproductive attempt, gather new evidence from logs or source, test a different hypothesis and show verification before reporting completion. The escalation table calls for an approach change on the second failure, source review and three hypotheses on the third, and a seven-point checklist on the fourth. The skill also asks the agent to look for nearby instances of the same bug pattern after repairing one. Chinese, English and Japanese variants adapt the rhetoric; Claude Code, Codex CLI, Cursor and VSCode/Copilot are among the documented hosts, but their integrations are not equivalent.
Eighteen controlled runs over nine scenarios used Claude Opus 4.6. Both configurations reached 100% pass rate; with the skill, fix count increased 36%, verifications 65%, tool calls 50% and hidden issue discovery 50%. In the configuration-review scenario, findings rose from four of six to six of six, while tool calls doubled from eight to sixteen. That supports a coverage-versus-work trade-off on those cases, not a general productivity gain or cross-model validation.
Trade-offs & Limitations
Compared with a static project instruction file, the full plugin adds event-driven failure tracking and preserves context across compaction, at the cost of more host-specific behavior to inspect and maintain. Compared with CI or a required review gate, it acts earlier by prompting the agent to investigate and verify, but cannot enforce that a check actually ran or passed. Keep build, test and permission controls outside the skill.
A broader investigation can surface related defects, but extra retries and scans also cost time and can expand the task beyond what was requested. The benchmark’s equal pass rates and higher tool usage make that trade-off concrete. The confrontational PIP tone is a separate adoption concern; the full plugin offers an encouragement mode with the same rules. For team use, start with manual activation and scoped work, and resolve the unspecified license before commercial rollout or redistribution.
Hardware & Deployment Guide
There is no separately evidenced PUA service, model runtime, container or database to provision. Use the full Claude Code plugin if you need lifecycle hooks and plugin commands. For prompt-level guidance, v3.5.1 offers standalone Claude Code, Codex and ChatGPT packages as release assets or local build outputs, plus a paste-in version. The documented English skill install command is npx skills add tanweai/pua --skill pua-en; that route needs an npx environment, not an MCP server registration.
The standalone packages omit the full plugin’s commands and hooks. v3.5.1 keeps the original tone and focuses on compatibility, runtime fixes and making missing host capabilities explicit; it does not certify all models. Installing a skill locally does not make inference, web search or other tools offline. For a pilot, use a pinned package, inspect any enabled hooks, and measure tool calls and elapsed time on representative tasks under your normal permission settings.
Developers whose coding agents repeat failed approaches or report fixes without verification, and who can spare extra tool calls for targeted debugging and review.
You need a standalone MCP endpoint, equivalent automation across hosts, or a low-cost, enforceable CI gate.
Quick Start & Installation
npx skills add tanweai/pua --skill pua-en
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| pua ★ | 19.9k | +44 | Python | — | Coding-agent skill and plugin for breaking retry loops and verifying fixes |
| skills | 204.1k | +2.5k | Python | — | A Claude Agent Skills catalog for packaging and reusing task workflows |
| ui-ux-pro-max-skill | 158.5k | +3.6k | Python | MIT | A search-and-rules skill that gives coding agents a UI design system to build fr |
| graphify | 156.8k | +2.4k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/tanweai/pua.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about pua
Is PUA an MCP server, and which integration do I need?
Does PUA require a GPU, and what runtime overhead should I budget for?
Can we deploy it internally or redistribute it commercially?
When is this worth using instead of a project instruction file?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy