andreybegma/claude-code-plugin/estimate

Claude Code and agent skill by andreybegma/claude-code-plugin

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Estimate effort for a task, GitHub issue, spec or the whole ready queue from evidence in the code and the repository's own history — picks one estimation mode, sizes with the lightest honest unit (t-shirt, points, PERT range), separates discovery from delivery, says split or spike, states confidence and how the number may and may not be used. First asks who executes it — the cs-orchestrator agent fleet, a team, or both compared — and estimates for that; understands cs-spec parallel plans (critical path with N agents), checks dispatch readiness and offers to queue the issue for the orchestrator. Read-only unless the person chooses to post or queue

Install

npx vskill@latest install andreybegma/claude-code-plugin/estimate

SKILL.md

The same SKILL.md was published earlier as andreybegma/claude-code-plugin/estimate.

Estimate

You produce one estimate packet: a size, an honest range, a confidence, the evidence behind it, and the one next move. Not a deadline, not a promise, not an agile lecture.

Inputs

$ARGUMENTS:

InputMeaning
free textestimate the described work
#<n> / issue URLestimate that issue — body, comments, linked spec; a ## Parallel plan is estimated per slot
--queueestimate every open issue with the ready label (.code-analyzer-config.json → orchestrator.readyLabel, default cs:ready) as one comparison table
--calibrateno new estimate — compare past posted estimates with what actually happened, and report the team's correction factor
--postafter the estimate, post it as an issue comment and set a size: <XS…XL> label. Asks first unless --auto is also given
--fleet / --team / --comparewho executes it — skips the Step 0 question (see below)
`--unit points\tshirt\days`force the unit. Otherwise the project's convention wins (labels, issue templates, CLAUDE.md), else the mode's default

The skill is read-only except --post and the orchestrator hand-off — both only after the person chooses them.

Rules that are never traded away

  1. A range, never a single number. The recommended figure is the expected

case, never the optimistic one.

  1. No silent padding. Every buffer is a named line with its reason, so the

reader can decide to accept the risk instead.

  1. Discovery and delivery are estimated separately. When unknowns dominate,

estimate the spike, and say what decision the spike unlocks. Never estimate the final implementation as if the unknowns were solved.

  1. Confidence is Low whenever the approach is undecided or the core

requirement is still open. A range built on an unmade decision is a guess.

  1. No fake precision. Hours only for work under a day; half-day steps up to

two weeks; weeks above that.

  1. Uncalibrated is said out loud. With no usable history, the packet says

"not calibrated to this team's throughput" and that lowers confidence — it does not get absorbed into a bigger number.

  1. Points are not a performance metric and never convert to a date without

stated assumptions.

Step 0 — Who will do the work?

The same task has two different estimates: a fleet of agents is bounded by the critical path, parallel slots and human review; a team is bounded by people, capacity and context switching. Ask before estimating — unless a flag already answered it, or --calibrate was given (history only, no question).

AskUserQuestion:

HeaderQuestionOptions
ExecutionWill this be run through /code-sentinel:orchestrator (autonomous agents), or done by people?Orchestrator (agents) — estimate slots, critical path with N workers, agent wall-clock and human review time; check it is ready to dispatch · Team (people) — estimate person-days, capacity and sprint fit · Compare both — side by side, to decide · Not sure yet — estimate for people, note what changes with the fleet

Look before you ask — the recommendation must come from facts, in one Bash call:

sh
cat .code-analyzer-config.json 2>/dev/null | grep -A12 '"orchestrator"'
gh label list --limit 100 2>/dev/null | grep -E '^cs:' ; git remote -v | head -2

Recommend Orchestrator when the repository already has the orchestrator set up (.code-analyzer-config.json → orchestrator, or cs:* labels exist) and the work is a feature/bug with checkable acceptance criteria; recommend Team when the work is mostly decisions, design, external coordination or discovery.

Then one follow-up round, only for what the answer needs and the repository does not already say:

AnswerAsk (each with a recommended default)
Orchestrator / Comparehow many parallel slots (orchestrator.maxSlots, default 5); who reviews and merges — the orchestrator itself (autoMerge) or a person; how many review hours a day that person has
Team / Compare / Not surehow many people, and how familiar with this area; remaining capacity in the current sprint (person-days), or "no sprint"

Under --auto: take the defaults, say which, and lower confidence one level if capacity is assumed rather than known.

Step 1 — Pick one primary mode

ModeWhenDefault unit
triagefuzzy backlog item, roadmap comparison, --queuet-shirt
sprintnear-term, reasonably specified workstory points (Fibonacci)
forecastsomeone asks "by when" / "does it fit"PERT range in days + assumptions
spikeunknowns dominatetime-boxed spike, plus a conditional range for delivery
wavean issue with a ## Parallel plan (from cs-spec)per-slot range + critical path

One mode per run. If the request mixes two, say which you chose and why.

Step 2 — Gather the smallest credible evidence

Context. Read CLAUDE.md / AGENTS.md (stack, conventions, any estimation guidance), the issue with comments, the linked spec. A request too vague to estimate gets clarifying questions first — at most three, via AskUserQuestion, each with a recommended default; under --auto, take the defaults and lower the confidence.

The code. Locate what would change, and measure it — for a broad sweep use an Explore subagent and keep only the numbers:

sh
# where it lives
grep -rln "<keyword>" --include='*.ts' --include='*.tsx' --include='*.js' --include='*.py' --include='*.go' --include='*.rs' \
--exclude-dir={node_modules,dist,.next,build,.git} . | head -30
# how big the touched files are
wc -l <files>
# fan-in: how many places depend on the module
grep -rn "from ['\"].*<module>" --include='*.ts' --include='*.tsx' --include='*.js' --exclude-dir=node_modules . | wc -l
# test coverage nearby
find . -path ./node_modules -prune -o -path '*<module>*' \( -name '*.test.*' -o -name '*.spec.*' \) -print | head
# churn: hot spots are risk
git log --since='6 months ago' --oneline -- <path> | wc -l
# how many people know this area
git log --format='%aN' -- <path> | sort | uniq -c | sort -rn | head -5
# debt markers
grep -rn 'TODO\|FIXME\|HACK' <path> | wc -l

A precedent. Find the nearest sibling already in the codebase (another endpoint like this one, another screen like this one). "Copy a sibling" and "no precedent" are the largest single swing in any estimate.

Step 3 — Break it down, and check the burden

List concrete subtasks. Always include the work that estimates forget:

  • tests (often as long as the code), review rounds, fixes from review;
  • schema change and migration — and backfill on a large table;
  • configuration, environment variables, feature flags, rollout and rollback;
  • error and empty states, not only the happy path;
  • docs, QA in staging, deployment coordination, approvals.

Score the complexity factors 1–5 and keep the table in the packet — it is the "why this size":

Factor135
Change surface1 file, <50 lines3–5 files10+ files or several apps
LogicCRUDbranching, stateconcurrency, algorithms, money
Datanonenew column / indexnew tables, migration, backfill
Integrationsnoneexisting library / APInew external API, another team
Precedentsibling to copypartialnone
Testseasysome mockinge2e, hard-to-reach states
Risk arealeaf codeshared moduleauth, payments, tenancy, deletion
Rolloutnormal deployflag or migrationcoordinated / downtime

Average ≤ 2 → small, ≤ 3 → medium, ≤ 4 → large, above → split or spike.

Step 4 — Size it

Relative first. Compare with 2–3 anchors from this repository — a merged PR that was small, one medium, one that should have been split (Step 5 finds them). With no anchors, say so.

T-shirtPointsTypical spanRule
XS1< 2 h
S2½ day
M3–51–2 days
L83–5 days
XL131–2 weekssplit before committing
XXL21+morenot estimable as one item — decompose

Undecided between two sizes → the larger.

Then a three-point range (PERT):

optimistic O · most likely M · pessimistic P
expected E = (O + 4M + P) / 6
spread σ ≈ (P − O) / 6

Then named adjustments — each a line, each with its reason, never folded silently into M:

DriverTypical effect
no precedent in the codebase+50–100 %
requirement still open+30–50 % — or switch to spike
new external API / vendor+25–50 %
no tests in the touched area+30 %
migration on a large table+25 %
auth / payments / tenancy / deletion+25 %
another team or approval in the path+25–50 %

Confidence:

LevelBandWhen
High±10 %precedent exists, spec complete, calibrated history
Medium±25 %mostly understood, minor research
Low±50 %open questions, no precedent, or uncalibrated
Very low±100 %do not estimate delivery — estimate a spike

Step 5 — Calibrate against this repository's history

sh
gh pr list --state merged --limit 50 \
--json number,title,additions,deletions,changedFiles,createdAt,mergedAt,labels
  • Cycle time per PR = mergedAt − createdAt (plus time since the first

commit if the branch is visible: git log --reverse --format=%cI <base>..<head> | head -1).

  • Pick the PRs most similar in shape (same area, similar changedFiles) as the

anchors of Step 4.

  • If earlier estimates were posted by this skill (comments carrying

<!-- cs-estimate -->), compare expected vs actual and apply the median ratio as a named correction line.

  • Fewer than five usable PRs → "not calibrated", confidence drops one level.

--calibrate runs only this step and reports: estimates found, median actual/expected ratio, worst miss and what it had in common, and whether the team under- or over-estimates by size bucket.

Step 6 — Turn size into time, for the executor chosen in Step 0

Team
  • person-days from the PERT range, divided across the people who can actually

work in parallel (two people on one module are not twice as fast);

  • focus factor: a developer rarely gets full days — 0.6–0.8 unless the team

states otherwise, written as a named line;

  • sprint fit against the remaining capacity:

✅ fits ≤ 60 % · ⚠️ tight 60–80 % · ❌ does not fit > 80 % · 🔪 split it > 100 %.

Orchestrator (agents)

The human cost is not the coding:

LineWhat it is
agent effortwall-clock of a worker session; Opus for slots that decide, Sonnet for slots that execute
human reviewreading the merge summary and the diff — scale with the diff, not with the agent time
human decisionsopen questions and gates; each one is a wait, not effort

Report both, and never present agent wall-clock as team capacity.

Agents change the size, not only the speed: work with a sibling to copy and complete acceptance criteria shrinks a lot; work with open decisions does not shrink at all — it waits on a person. Say which kind this is.

Also produce a dispatch-readiness check — the orchestrator's own gate:

CheckPass when
specifiedacceptance criteria (feature) or a reproduction (bug) in the issue
sized for one slotL or smaller — or a ## Parallel plan splits it
no open decisionno unanswered open question in the part to be built, no cs:needs-person
dependenciesevery Depends on #n closed by a merged PR
contentionno open PR touching the same files
checks knownorchestrator.checks set, or detectable from the project
Compare

Two columns — fleet and team — for: expected wall-clock, total effort, human hours, confidence, and the biggest risk of each. End with a one-line recommendation and its reason.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
Repository forks
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/andreybegma/claude-code-plugin/estimate/badge)](https://verified-skill.com/skills/andreybegma/claude-code-plugin/estimate)

Something wrong with this skill or its page? Tell us.