一键导入
loop-budget
Check token budget and run-log spend before and after a loop run. Enforces early exit when over budget or when there is no actionable work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check token budget and run-log spend before and after a loop run. Enforces early exit when over budget or when there is no actionable work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Read loop-constraints.md at the start of every run and enforce every rule. This skill runs BEFORE triage or any action skill. Constraints are binding.
Scan merged PRs and commits since a given reference, extract titles, labels, types, and signals. Produces structured input for release notes drafting.
Classify CI failures — distinguish clear regressions from infra flakes and security-test failures. Produces structured failure reports.
Scan package manifests and lockfiles for outdated and vulnerable dependencies. Classify by severity and update type.
Scan open issues and discussions, deduplicate, prioritize, and propose labels. Provides a clean actionable queue.
Scan recent merges to main for tech debt, TODOs, debug code, and small cleanup opportunities. Produces a prioritized fix list.
| name | loop-budget |
| description | Check token budget and run-log spend before and after a loop run. Enforces early exit when over budget or when there is no actionable work. |
Run at the start and end of every loop iteration.
loop-budget.md for daily caps and kill-switch flags.loop-run-log.md (last 24h).tokens_estimate for the active pattern today.loop-pause-all is set → exit immediately with a one-line note in STATE.md.Append one JSON object to loop-run-log.md:
{
"run_id": "<ISO8601>",
"pattern": "<pattern-id>",
"duration_s": <number>,
"items_found": <number>,
"actions_taken": <number>,
"escalations": <number>,
"tokens_estimate": <number>,
"outcome": "no-op | report-only | fix-proposed | escalated"
}
max sub-agent spawns/run from loop-budget.md.loop-budget.md under Alerts This Period.