一键导入
context-budget
Manage context pressure during large codebase work without losing critical state.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage context pressure during large codebase work without losing critical state.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guided git commit workflow — review changes, draft message, stage, commit
Create a pull request with structured summary and test plan
Interactive debugging — reproduce, isolate, trace, fix
Explore a codebase or directory to understand its structure and purpose
Implement a requested code change end-to-end with scoped edits and verification.
Investigate production-like failures from symptoms, logs, and reproduction steps.
| name | context-budget |
| description | Manage context pressure during large codebase work without losing critical state. |
| when_to_use | Use when a task spans many files, long logs, repeated tool calls, or model context pressure is rising. |
| required_tools | ["bash","symbol_search"] |
| tags | ["context","planning"] |
| activation | {"input_patterns":["(?i)(context|budget|compact|long task|上下文|压缩|长任务)"]} |
${ARGS}
Preserve active goals, constraints, changed files, unresolved decisions, verification state, and user preferences.
Summarize repeated logs, dependency download noise, stale alternatives, and file contents already transformed into decisions.
Use symbol_search and targeted CLI reads (sed, grep, rg, git show) instead of rereading whole files. Reconstruct context from durable project artifacts when possible.
Before compression or long transitions, write a concise brief with next action, blockers, and validation commands.