Skip to content
FunCoding

time-box

Star
750
Category
Other
License
MIT
Last commit
Oct 22, 2026

skills/time-box/SKILL.md

View on GitHub

time-box

A hackathon is won or lost on the clock. scope-knife decides what to build; time-box decides when to build each piece. Together they form a viable plan: one says "no", the other says "now".

Input contract

Required:

  • time_remaining_minutes: integer >= 0
  • team_size: integer >= 1
  • current_stage: one of idea | scope | build | verify | demo | ship

Optional:

  • stage_progress: float in [0, 1] for the current stage (default 0)
  • buffer_minutes: reserve at end of clock for ship/demo (default 90)
  • .hackathon/state/plan.json: load if exists, use KEEP list as scope

Execution

1. Compute the stage budget

Subtract buffer_minutes from time_remaining_minutes to get work_budget. Then split across the remaining stages:

Remaining stagesDefault split of work_budget
build verify demo ship60 / 15 / 15 / 10
verify demo ship40 / 40 / 20
demo ship50 / 50
ship100

When current_stage = build, the verify/demo/ship windows are forced from the table above — not user-negotiable.

2. Allocate per-person

per_person_minutes = stage_budget / team_size. Round down to 15. If per-person is below 30 min, warn: "single-person stage; consider combining roles".

3. Emit checkpoints

For each remaining stage, emit one checkpoint:

  • T-?: minutes from now until stage starts
  • alarm_at: minutes from now when the team should re-evaluate
  • exit_criteria: one sentence describing "done enough"

4. Detect slip

If current_stage = build and stage_progress < (elapsed / stage_budget), flag slipping: true and recommend a CUT pass via scope-knife.

Helper

The skill ships scripts/compute.py which implements the stage-budget table above and writes both .hackathon/state/time-box.json and .hackathon/artifacts/time-box-schedule.md. Run it with:

python3 skills/time-box/scripts/compute.py \ --time-remaining 240 \ --team-size 4 \ --current-stage build \ --out-dir .hackathon

New in v1.2.1.5:

  • --elapsed N drives burn-rate (consumed / current-stage-budget). The script emits urn_rate in the state JSON and prints it on stdout.
  • Three escalating alarms per stage at 50% / 80% / 100% of the stage budget, labeled soft / irm / hard. The schedule table now lists every alarm timestamp.
  • When the current stage is slipping, compute.py emits a recovery budget: how many minutes to steal from erify, demo, and ship buffer proportionally to recover the deadline.
  • Minimum-viable demo (MVD) check against --demo-target-minutes (default 180 = 3 min). The state JSON gets minimum_viable_demo_feasible.
  • --demo-at HH:MM accepts a wall-clock demo time and converts it to ime-remaining.

New in v1.6:

  • compute.py records deadline_at, current_stage_started_at, current_stage_budget_minutes, and elapsed_minutes so the clock can be re-read later.
  • hackathon status consumes those fields into a live pulse section with remaining time, current-stage burn rate, and the next alarm.
  • hackathon status --watch --interval 30 refreshes that dashboard without rerunning compute.py.
  • Schedule and alarm fields now match time-box.schema.json exactly.

Output contract

Files written:

  • .hackathon/state/time-box.json (NEW schema, see src/state/schemas/time-box.schema.json)
  • .hackathon/artifacts/time-box-schedule.md (human-readable timeline)

Acceptance criteria

  • Stages add up to <= time_remaining_minutes (no over-budget).
  • Buffer is honored.
  • Per-person allocation is at least 30 minutes, OR a warning is emitted.
  • Each remaining stage has an exit criterion and an alarm.
  • Slipping flag fires when actual progress < expected.

Failure modes

ModeBehavior
time_remaining_minutes = 0Refuse; suggest recovery-runbook
team_size = 0Refuse; ask for valid input
No plan.json yetSuggest scope-knife first
Already past bufferOutput only ship stage; warn loudly

Trigger phrases (for agent intent matching)

  • "we have 4 hours left"
  • "how should we split the time"
  • "running out of time"
  • "falling behind"
  • "what should we focus on next"
  • "how long until the demo"

Similar Skills

software-factory

MAmattpocock/skills336k4,217 new stars in the last 7 days

claude-handoff

MAmattpocock/skills336k4,217 new stars in the last 7 days

agent-payment-x402

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

agent-self-evaluation

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

bengali-nlp

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

ponytail-gain

DIDietrichGebert/ponytail202k4,226 new stars in the last 7 days