본문으로 건너뛰기
cccskills
무료GitHub에 공개

loop-budget

Check estimated token usage against daily limits before and after each automated loop run. Switch to reporting only, exit early when required, and record run outcomes so repeated agent work stays within configured limits.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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.

설치 방법 보기

이럴 때 유용합니다

  • Checking daily token usage before a run
  • Switching to reporting only near budget limits
  • Exiting early when there is no actionable work
  • Recording usage estimates and run outcomes

포함된 파일(1)

  • SKILL.md1.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Loop Budget Guard

Run at the start and end of every loop iteration.

Start of run

  1. Read loop-budget.md for daily caps and kill-switch flags.
  2. Read recent entries in loop-run-log.md (last 24h).
  3. Sum tokens_estimate for the active pattern today.
  4. If spend ≥ 80% of the pattern's daily cap → report-only mode (no sub-agents, no auto-fix).
  5. If spend ≥ 90% and High Priority items remain in STATE.md, yield to the budget-negotiator skill (if installed). Otherwise, if spend ≥ 100% or loop-pause-all is set → exit immediately with a one-line note in STATE.md.
  6. If watchlist/state has no actionable items → exit in <5k tokens (do not spawn sub-agents).

End of run

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"
}

Rules

  • Never exceed max sub-agent spawns/run from loop-budget.md.
  • High-cadence patterns (CI Sweeper, PR Babysitter) must early-exit when nothing is actionable.
  • On self-throttle, append a line to loop-budget.md under Alerts This Period.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Drafts a token budget extension request when an autonomous loop approaches its daily limit and high priority work remains. Uses logged results and remaining issues to justify the request, then pauses until a human increases the budget.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Requesting extra budget for remaining critical work
  • Summarizing daily token spending and successful actions
  • Preparing a budget request for a human maintainer
cobusgreyling/loop-engineering1.2만2026년 10월 18일 업데이트

Scans merged pull requests and commits since a chosen reference, using titles, labels, milestones, and messages to categorize changes. Produces a release notes draft, highlights breaking changes and security items, and records the scan window.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Collecting changes since the previous release tag
  • Sorting updates into features, fixes, and other categories
  • Identifying breaking changes and security items
cobusgreyling/loop-engineering1.2만2026년 10월 18일 업데이트

Scan recent merges, pull requests, and commits for release note material. Produce structured entries and a summary with PR references, highlighting breaking changes and security items while filtering routine dependency and bot noise.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Gathering release note material from recent changes
  • Identifying breaking changes and security items
  • Organizing changes with PR references
cobusgreyling/loop-engineering1.2만2026년 10월 18일 업데이트

Scan merges and commits since the previous release to collect user-facing changes for a changelog. Produce structured entries and a summary, with explicit lists of breaking changes and security signals.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Collecting changes since the previous release
  • Organizing user-facing updates
  • Listing breaking changes and security signals
cobusgreyling/loop-engineering1.2만2026년 10월 18일 업데이트

Review merged pull requests and significant commits within a release window, then organize features, fixes, breaking changes, and security signals into structured source material for drafting release notes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Collecting changes since the last release
  • Checking breaking changes and security signals
  • Preparing source material for release notes
cobusgreyling/loop-engineering1.2만2026년 10월 18일 업데이트

ci-triage

무료

Analyze failures in CI, the automated checks run during development. Identify the failing job and step, classify the likely cause, and suggest a small fix, continued monitoring, or human review.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Identifying failed jobs and steps in CI
  • Distinguishing intermittent failures from code regressions
  • Routing environment failures to a human
cobusgreyling/loop-engineering1.2만2026년 10월 18일 업데이트

cobusgreyling의 스킬 모두 보기

이 스킬의 문제 신고