andreybegma/claude-code-plugin/estimate
Claude Code and agent skill by andreybegma/claude-code-plugin
- community
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/estimateSKILL.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:
| Input | Meaning | |||
|---|---|---|---|---|
| free text | estimate the described work | |||
#<n> / issue URL | estimate that issue — body, comments, linked spec; a ## Parallel plan is estimated per slot | |||
--queue | estimate every open issue with the ready label (.code-analyzer-config.json → orchestrator.readyLabel, default cs:ready) as one comparison table | |||
--calibrate | no new estimate — compare past posted estimates with what actually happened, and report the team's correction factor | |||
--post | after the estimate, post it as an issue comment and set a size: <XS…XL> label. Asks first unless --auto is also given | |||
--fleet / --team / --compare | who 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
- A range, never a single number. The recommended figure is the expected
case, never the optimistic one.
- No silent padding. Every buffer is a named line with its reason, so the
reader can decide to accept the risk instead.
- 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.
- 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.
- No fake precision. Hours only for work under a day; half-day steps up to
two weeks; weeks above that.
- 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.
- 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:
| Header | Question | Options | |
|---|---|---|---|
Execution | Will 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:
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:
| Answer | Ask (each with a recommended default) | |
|---|---|---|
| Orchestrator / Compare | how 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 sure | how 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
| Mode | When | Default unit | |
|---|---|---|---|
triage | fuzzy backlog item, roadmap comparison, --queue | t-shirt | |
sprint | near-term, reasonably specified work | story points (Fibonacci) | |
forecast | someone asks "by when" / "does it fit" | PERT range in days + assumptions | |
spike | unknowns dominate | time-boxed spike, plus a conditional range for delivery | |
wave | an 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:
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":
| Factor | 1 | 3 | 5 | |
|---|---|---|---|---|
| Change surface | 1 file, <50 lines | 3–5 files | 10+ files or several apps | |
| Logic | CRUD | branching, state | concurrency, algorithms, money | |
| Data | none | new column / index | new tables, migration, backfill | |
| Integrations | none | existing library / API | new external API, another team | |
| Precedent | sibling to copy | partial | none | |
| Tests | easy | some mocking | e2e, hard-to-reach states | |
| Risk area | leaf code | shared module | auth, payments, tenancy, deletion | |
| Rollout | normal deploy | flag or migration | coordinated / 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-shirt | Points | Typical span | Rule | |
|---|---|---|---|---|
| XS | 1 | < 2 h | ||
| S | 2 | ½ day | ||
| M | 3–5 | 1–2 days | ||
| L | 8 | 3–5 days | ||
| XL | 13 | 1–2 weeks | split before committing | |
| XXL | 21+ | more | not estimable as one item — decompose |
Undecided between two sizes → the larger.
Then a three-point range (PERT):
Then named adjustments — each a line, each with its reason, never folded silently into M:
| Driver | Typical 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:
| Level | Band | When | |
|---|---|---|---|
| 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
- 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:
| Line | What it is | |
|---|---|---|
| agent effort | wall-clock of a worker session; Opus for slots that decide, Sonnet for slots that execute | |
| human review | reading the merge summary and the diff — scale with the diff, not with the agent time | |
| human decisions | open 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:
| Check | Pass when | |
|---|---|---|
| specified | acceptance criteria (feature) or a reproduction (bug) in the issue | |
| sized for one slot | L or smaller — or a ## Parallel plan splits it | |
| no open decision | no unanswered open question in the part to be built, no cs:needs-person | |
| dependencies | every Depends on #n closed by a merged PR | |
| contention | no open PR touching the same files | |
| checks known | orchestrator.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
- SKILL.md in the repositoryCheckingskills/estimate/SKILL.md
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
[](https://verified-skill.com/skills/andreybegma/claude-code-plugin/estimate)