pr-plan-bucket-triage-before-sizing

pr-plan-bucket-triage-before-sizing is a skill for Claude Code from wan-huiyan/agent-traffic-control. It costs 40 tokens per session (3,562 once invoked), scanned A, original, MIT.

A preliminary codebase review method for sorting a project into areas before estimating pull-request work. A pull-request plan is a step-by-step implementation outline.

In plain words
What is it for?
Use it to inspect the project by categories, record what exists, identify gaps, and size later implementation plans from evidence.
Why use it?
It prevents detailed plans from being based on guesses about routes, modules, storage, or defects that may not match the current code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Claude Code.

Part of the agent-traffic-control plugin — 123 skills shipped together

Good fit Use it to inspect the project by categories, record what exists, identify gaps, and size later implementation plans from evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wan-huiyan/agent-traffic-control/pr-plan-bucket-triage-before-sizing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wan-huiyan/agent-traffic-control --skill pr-plan-bucket-triage-before-sizing
Clone the repo
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control

Made for: Claude Code.

Or install agent-traffic-control, the plugin that ships this one along with the rest of its 123 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-plan-bucket-triage-before-sizing

README.md
[![agentmods](https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/pr-plan-bucket-triage-before-sizing/github.svg)](https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/pr-plan-bucket-triage-before-sizing)
Your own site
<a href="https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/pr-plan-bucket-triage-before-sizing"><img src="https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/pr-plan-bucket-triage-before-sizing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr-plan-bucket-triage-before-sizing

Your own site · 80×15
<a href="https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/pr-plan-bucket-triage-before-sizing"><img src="https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/pr-plan-bucket-triage-before-sizing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,562 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.03562
Opus 5.5 $0.00016 $0.01425
Sonnet 5.5 $0.00008 $0.00712
Haiku 4.5 $0.00004 $0.00356

Measured 3mo ago against content hash b5347d1b8e98, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-plan-bucket-triage-before-sizing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/agent-traffic-control/skills/pr-plan-bucket-triage-before-sizing/SKILL.md · 292 lines

How it starts

The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Phase 0 Bucket Triage Before Writing PR Plans

Problem

superpowers:writing-plans produces detailed task-by-task plans with exact file paths, LOC estimates, and TDD steps. That's the right output when you know the codebase state — but a common failure mode is writing those plans on assumptions about: which routes already exist, whether a colleague's in-flight module is a stub or substantial, what storage convention links results to runs, whether a "known defect" is still real or was quietly fixed. You burn cycles writing detailed plans, the engineer starts implementing, and within the first hour they discover the plan was sized against a codebase that doesn't exist. The fix is always re-plan with the new evidence — meaning the original plan was waste.

The cost of writing plans on speculation is asymmetric:

  • Writing 4 detailed plans on speculation: ~2 hours.
  • Discovering plan-1 was wrong during implementation, re-planning, re-discussing with reviewer: ~4 hours per wrong plan.
  • Net cost of speculation: ~14 hours.
  • Cost of a 1-day Phase 0 triage: ~6 hours.
  • Net savings: ~8 hours, AND the surviving plans are sized in concrete LOC (not ranges), AND triage typically uncovers free-bonus findings (stale docs, pre-existing bugs, design opportunities the speculation would have missed).

Context / Trigger Conditions

Use this skill when all three are true:

  1. You're sizing PRs against an existing codebase. (Greenfield work doesn't have anything to audit — go straight to writing-plans.)
  2. You don't have certainty about the codebase's current state. Markers:
    • You haven't touched the relevant files this week
    • Someone else is actively shipping on a branch you'll touch
    • A roadmap doc claims things are "Done" with caveats
    • The brainstorming output uses language like "we assume X exists" / "if Y is missing" / "her module is probably a stub" / "TBD by triage"
  3. The PR plans depend on those assumptions. Markers:
    • LOC estimates are ranges ("150-600 LOC") instead of concrete numbers
    • Plan says "PR-N sizing depends on triage findings"
    • Storage / loader sizing depends on schema you haven't grep'd

Read the full file on GitHub · 292 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 292 lines · 40 tokens per session scan A b5347d1b8e98

Subscribe to this mod's changes

pr-plan-bucket-triage-before-sizing is a skill published in the GitHub repository wan-huiyan/agent-traffic-control (5 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 3,562 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

pr-plan-bucket-triage-before-sizing compared with skills from other repositories

pr-plan-bucket-triage-before-sizing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-plan-bucket-triage-before-sizingwan-huiyan/agent-traffic-controlSkill5yesterdayMITA40Claude Code
skeptical-triageavelikiy/great_ctoSkill11714d agoMITA49Claude Code
product-economicsavelikiy/great_ctoSkill11714d agoMITA55Claude Code
migration-ready-schemaavelikiy/great_ctoSkill11714d agoMITA133Claude Code
web-releaseavelikiy/great_ctoSkill11714d agoMITA135Claude Code
multi-lens-reviewthoughtbot/rails-consultantSkill3910d agoMITA39Claude Code
shipthoughtbot/rails-consultantSkill3910d agoMITA20Claude Code