Agent Skillsmtarcure/claude-vibe-squad › lane-budget-estimation

lane-budget-estimation

GitHub

用于估算单次调度任务规模,确保其在时间墙和提示词限制内完成。通过预检数据验证大小,拆分超限工作并明确排除范围,防止任务超时或失败。

.claude/skills/lane-budget-estimation/SKILL.md mtarcure/claude-vibe-squad

Trigger Scenarios

需要规划单次调度任务的输入输出规模 预估任务是否能在限定时间内完成 检查提示词长度是否超出限制

Install

npx skills add mtarcure/claude-vibe-squad --skill lane-budget-estimation -g -y
More Options

Non-standard path

npx skills add https://github.com/mtarcure/claude-vibe-squad/tree/main/.claude/skills/lane-budget-estimation -g -y

Use without installing

npx skills use mtarcure/claude-vibe-squad@lane-budget-estimation

指定 Agent (Claude Code)

npx skills add mtarcure/claude-vibe-squad --skill lane-budget-estimation -a claude-code -g -y

安装 repo 全部 skill

npx skills add mtarcure/claude-vibe-squad --all -g -y

预览 repo 内 skill

npx skills add mtarcure/claude-vibe-squad --list

SKILL.md

Frontmatter
{
    "name": "lane-budget-estimation",
    "audience": "chrono",
    "description": "Use when sizing a single dispatch so it finishes inside one lane wall and fits the assembled-prompt ceiling—read `assembled_prompt_bytes` against `assembled_prompt_limit` from the preflight, split work that cannot finish in one wall, and name what the lane must NOT do. `scope-estimation` sizes a corpus to read; this sizes the dispatch."
}

Lane Budget Estimation

House procedure for sizing a dispatch to the two hard budgets a lane runs under: the wall clock and the assembled-prompt ceiling. Over-scoping does not degrade gracefully — it dies at the wall with nothing to show. Verify the numbers against the live preflight, not from memory.

The prompt ceiling is on the ASSEMBLED prompt

  • The limit is TRUSTED_LAUNCH_PROMPT_LIMIT = 40960 bytes (dispatch_context_builder.py), applied to the packet PLUS injected briefing and absolute paths, not the packet body alone. Both dispatch_preflight.evaluate_packet() and build_context() enforce the same constant.
  • Do not estimate from a remembered packet size — injected context and absolute path length vary by lane and checkout. Run bin/send-task.sh <packet-file> --dry-run and read assembled_prompt_bytes against assembled_prompt_limit from the preflight; shorten the body if it refuses.

Scope to one wall

  • The wall comes from timeout_budget_for_mode(): a flat 2700s for project, 3600s for bounty. It is a backstop, not a per-packet dial you raise.
  • A deliverable that cannot finish in one wall is two packets, not one. Sequence them; the second reads the first's committed output (an uncommitted edit is invisible to the next dispatch).
  • A lane that must read a large corpus AND produce a large artifact is two packets — the read burns the wall the artifact needs.

Name what the lane must NOT do

  • Unbounded exploration is how a wall gets hit with nothing landed. Put explicit out-of-scope bounds in the packet: which trees not to read, which analyses to skip, when to stop and write the partial.
  • Tell the lane to land what is complete and write the artifact before the wall rather than chase completeness past it — a truthful partial beats a kill with no envelope.

Size the read, then the write

  • Estimate the read set first (scope-estimation sizes the corpus), because a read that cannot fit the wall guarantees the write never starts.
  • Round-trips, not tool calls, are the cost unit that eats a wall: prefer whole-file reads and tool-level exclusion globs over paging, and say so in the packet if the lane tends to page.

Version History

  • d5262e2 Current 2026-09-11 11:48

Same Skill Collection

.agents/skills/accessible-media-authoring/SKILL.md
.agents/skills/agent-prompt-engineering/SKILL.md
.agents/skills/agentic-safety-audit/SKILL.md
.agents/skills/audio-event-map-authoring/SKILL.md
.agents/skills/auto-scaffold/SKILL.md
.agents/skills/claim-verification/SKILL.md
.agents/skills/code-reachability-audit/SKILL.md
.agents/skills/code-review-loop/SKILL.md
.agents/skills/color-theory/SKILL.md
.agents/skills/conversation-design/SKILL.md
.agents/skills/copy-refinement/SKILL.md
.agents/skills/cross-file-relationship-synthesis/SKILL.md
.agents/skills/dependency-cycle-audit/SKILL.md
.agents/skills/dependency-health-triage/SKILL.md
.agents/skills/detection-as-code/SKILL.md
.agents/skills/diff-aware-semgrep-scan/SKILL.md
.agents/skills/differential-review/SKILL.md
.agents/skills/dimensional-analysis-check/SKILL.md
.agents/skills/dual-level-retrieval/SKILL.md
.agents/skills/figma-implement-design/SKILL.md
.agents/skills/forensic-timeline-authoring/SKILL.md
.agents/skills/game-design-fundamentals/SKILL.md
.agents/skills/game-mechanics-balancing/SKILL.md
.agents/skills/head-tail/SKILL.md
.agents/skills/incident-response-runbook/SKILL.md
.agents/skills/interactive-audio-design/SKILL.md
.agents/skills/interface-ambiguity-check/SKILL.md
.agents/skills/keyword-clustering/SKILL.md
.agents/skills/knowledge-base-integration/SKILL.md
.agents/skills/layered-analysis-loop/SKILL.md
.agents/skills/level-design-patterns/SKILL.md
.agents/skills/locale-adaptation/SKILL.md
.agents/skills/narrative-structure/SKILL.md
.agents/skills/platform-compliance/SKILL.md
.agents/skills/player-engagement-psychology/SKILL.md
.agents/skills/requirements-elicitation/SKILL.md
.agents/skills/rule6-rights-gate/SKILL.md
.agents/skills/rule8-truth-gate/SKILL.md
.agents/skills/sandbox-provision-discipline/SKILL.md
.agents/skills/scope-decomposition/SKILL.md
.agents/skills/scope-estimation/SKILL.md
.agents/skills/security-ownership-map/SKILL.md
.agents/skills/security-threat-model/SKILL.md
.agents/skills/semgrep-rule-author/SKILL.md
.agents/skills/skill-description-trigger-authoring/SKILL.md
.agents/skills/sound-design-principles/SKILL.md
.agents/skills/structured-data-authoring/SKILL.md
.agents/skills/supply-chain-audit/SKILL.md
.agents/skills/take-over-resume/SKILL.md
.agents/skills/technical-seo-audit/SKILL.md

Metadata

Files
0
Version
d5262e2
Hash
7ad1f484
Indexed
2026-09-11 11:48

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 00:47
浙ICP备14020137号-1 $Map of visitor$