一键导入
context-size
Estimate the total prompt size that will be sent to an AI agent when processing an Evoloop story — warns if approaching model context limits
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Estimate the total prompt size that will be sent to an AI agent when processing an Evoloop story — warns if approaching model context limits
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | context-size |
| description | Estimate the total prompt size that will be sent to an AI agent when processing an Evoloop story — warns if approaching model context limits |
| argument-hint | <US-XXX> |
| allowed-tools | ["Read","Glob","Bash(wc *)","Bash(jq *)"] |
Story ID from $ARGUMENTS. If empty → print usage. If missing → list stories.
Read story JSON for stage, then measure all files build_prompt() would assemble:
| Component | File | Notes |
|---|---|---|
| Agent prompt | agents/{agent}.md | build→builder.md, review→reviewer-test.md, deploy→deploy.md |
| Story JSON | prd/<ID>.json | |
| Story tracker | prd/<ID>.md | |
| Runbook | .plan/runbook.md | |
| Traceability | .plan/traceability.md | |
| Handoff notes | .log/run-<run-id>/handoff-notes.md | May not exist |
| Context files | From story's context.files array | If present |
Size each with wc -c.
| Model | ~Tokens | ~Bytes |
|---|---|---|
| Claude (Opus/Sonnet) | 200K | ~800KB |
| Gemini 1.5 Pro | 1M | ~4MB |
| Codex (GPT-5) | 200K | ~800KB |
(1 token ≈ 4 bytes rough estimate)
=== Context Size: <ID> (stage: <stage>) ===
Agent: <agent>.md
| Component | File | Bytes | KB | % |
...
| TOTAL | | | | 100% |
Model Limits: Claude X/800KB | Gemini X/4000KB | Codex X/800KB
Warn if >50% of any model limit. Missing files → "NOT FOUND", 0 bytes. >500KB → prominent warning.
Show planning area readiness status -- statuses, open questions, blockers, and next actions
Clone an existing Evoloop story as a template for a new one — copies structure, resets status, prompts for changes to title, requirements, and dependencies
Visualize the Evoloop story dependency graph as text tree and Mermaid flowchart — shows critical path, blocked chains, and ready-to-run stories
Run Evoloop doctor checks and auto-fix common issues — missing directories, non-executable scripts, missing templates, and provide remediation for manual fixes
Deep-dive into a specific story's state — stage, failures, dependencies, last agent output, requirement verification, and suggested next action
Show log output from Evoloop pipeline runs — latest run summary, specific story logs, last agent invocation, or a specific run