← Back to Leaderboard
Ptanweai

tanweai/pua

Coding-agent skill and plugin for breaking retry loops and verifying fixes

Engineering Health (Methodology)
B · 62/100
Maintenance Activity
● Updated 2mo ago
Latest Release
v3.5.1
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance20/35
Fork Adoption19/25
Release Cadence17/20
License Clarity6/20
CLI
Total Stars
★ 19,930
24h Growth
+8
7d Growth
+44
Forks
1,212

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

tanweai/pua Star History (2026-03-08 - 2026-12-04) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +19.9k in 271d · avg +73/day 21k 10.5k 0 2026-03-08: ★ 612026-03-28: ★ 12,5092026-04-18: ★ 15,7192026-05-09: ★ 16,5732026-05-30: ★ 17,2712026-06-20: ★ 17,8652026-07-11: ★ 18,3032026-08-01: ★ 18,7552026-08-22: ★ 19,1482026-09-12: ★ 19,3842026-10-03: ★ 19,5152026-10-24: ★ 19,6332026-11-10: ★ 19,7712026-12-04: ★ 19,930 ★ 19.9k 2026-03 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & 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.

Execution model: Host-loaded skills and plugin hooks, with no demonstrated MCP endpoint.
Failure handling: In Claude Code, PostToolUse detects Bash failures and feeds an L0–L4 escalation model; repeated failures prompt an approach change or a checklist.
Session state: PreCompact preserves failure count and pressure level; SubagentStop writes lifecycle records to teardown.jsonl.
Portability: v3.5.1 generates standalone Claude Code, Codex and ChatGPT packages plus a paste-in version from a shared execution contract.
Measured trade-off: Across nine scenarios on Claude Opus 4.6, both configurations passed 100%; the skill increased verifications by 65% and tool calls by 50%.
Best For

Developers whose coding agents repeat failed approaches or report fixes without verification, and who can spare extra tool calls for targeted debugging and review.

Skip If

You need a standalone MCP endpoint, equivalent automation across hosts, or a low-cost, enforceable CI gate.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

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

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
pua ★19.9k+44Python—Coding-agent skill and plugin for breaking retry loops and verifying fixes
skills204.1k+2.5kPython—A Claude Agent Skills catalog for packaging and reusing task workflows
ui-ux-pro-max-skill158.5k+3.6kPythonMITA search-and-rules skill that gives coding agents a UI design system to build fr
graphify156.8k+2.4kPythonApache-2.0Local 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.

Raw .md ↗
curl -sL https://repoforai.com/repo/tanweai/pua.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

tanweai/pua Star History on RepoForAI

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?

Integrate it as a skill or host plugin, not as an MCP endpoint. The available artifacts show commands, skill files and lifecycle hooks, but no MCP transport or server entry point. Use the full Claude Code plugin when you need automatic failure detection or state preservation across context compaction; a standalone skill does not include those hooks.

Does PUA require a GPU, and what runtime overhead should I budget for?

No separate model runtime or GPU requirement is evidenced. Size for your existing coding host and model, then budget for extra context, searches, builds and tests. In the project’s Opus 4.6 comparison, tool calls rose 50%; one YAML debugging case went from 59 to 99 seconds. Neither figure is a capacity estimate for other workloads.

Can we deploy it internally or redistribute it commercially?

The license is unspecified in the supplied metadata. Public source and locally buildable packages do not establish commercial use or redistribution rights; verify the license or obtain permission before rolling it out. Local integration also does not imply offline inference or data residency: those depend on the coding host, model backend and enabled tools.

When is this worth using instead of a project instruction file?

Use a project instruction file if you mainly want rules such as “change approach after a failed retry” or “show test results before saying done.” Choose the full plugin when Claude Code lifecycle hooks and automatic failure tracking justify the added complexity. Keep CI as the independent enforcement layer in either case.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining tanweai/pua? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature tanweai/pua on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

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

Saved in your browser · Export Markdown RFC tables or jump into /vs compare