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

honey-loop

Cost discipline for recurring /loop runs: cache-aware pacing, event-driven-over-polling, no-change short-circuit, compact state handle, stop condition.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.0 KB

SKILL.md(원문)

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

Honey Loop

A loop is the one place token waste compounds: cost = per_tick × ticks. The honey levers still apply inside each tick (less code, less prose), but a loop adds two leaks the single-shot levers don't cover — re-paying for context every wake-up, and re-doing work that didn't change. Cut those.

The five levers

  1. Pace to the cache, skip the dead zone. The prompt cache TTL is 5 min.

    • < 270s → context stays warm; right for actively polling external state.
    • ≥ 1200s → one cache miss amortized over a long idle wait; the default for idle ticks (use 1200–1800s).
    • ~300s is the worst choice — pays the cache miss without amortizing it. Never round to "5 minutes." Drop to 270s or commit to 1200s+.
  2. Event-driven over polling. Harness-tracked work (background Bash, Agent, Workflow) re-invokes you automatically on completion. Don't schedule a short tick to poll it — that re-reads full context for nothing. Set a long fallback heartbeat (1200s+) and let the completion notification drive you. Poll only external state the harness can't see (CI, a deploy, a remote queue), at a cadence matched to how fast that state actually changes.

  3. No-change short-circuit. Re-generating output is the bulk of per-tick cost. Check cheaply first (a hash, a timestamp, a git rev-parse, a status field). If nothing changed: emit one line and reschedule. Don't redo the task, don't re-read the world, don't write a report.

  4. Carry a compact state handle, don't re-derive. Keep what the loop has done so far in a small file (.honey-loop/state.json or a <<honey:HASH>> stash via eso stash), and read that each tick — not the full history re-discovered from scratch. Lever 3b: the cheapest input token is the one that never re-enters context.

  5. Define done; then stop. An unbounded loop is unbounded cost. State the exit condition up front (target reached, N empty ticks, deadline). When met, end the loop — omit the wake-up reschedule. "Loop forever" is a bug, not a feature.

Per-tick output: ultra by default

A loop tick is an agent-to-self / agent-to-log message, not a deliverable. Default to ultra: status line only, near-zero prose. One line is enough — tick 4/∞ · no change · next 1800s. Step up to a full report only on the tick where something actually needs the user (state changed, a decision, an error).

Don't cut

  • The stop/exit check — dropping it is how a loop runs all night.
  • Error surfacing — a tick that hit an error reports it; silent failure in a loop hides for hours.
  • The cheap pre-check in lever 3 — skipping it to "just redo it" defeats the point.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

honey

무료

Write less code and say less about it: YAGNI, stdlib-first, terse prose. Cuts agent token cost on every coding and writing task.

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

Green-PT/honey-for-devs3412026년 10월 18일 업데이트

honey

무료

Write less code and say less about it. Applies YAGNI and stdlib/native-first so the agent writes the minimum code that needs to exist, and responds tersely — stripping filler, hedging, and pleasantries while keeping code, identifiers, and technical terms exact. Use whenever writing, modifying, refactoring, reviewing, or explaining code, or any response where output volume drives token cost — even if the user never says "minimal" or "concise". Especially in agentic coding, where the volume of generated code and prose runs up the bill.

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

Green-PT/honey-for-devs3412026년 10월 18일 업데이트

honey

무료

Write less code and say less about it. Cuts token cost.

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

Green-PT/honey-for-devs3412026년 10월 18일 업데이트

honey-ccr

무료

Compress-cache-retrieve huge array tool output.

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

Green-PT/honey-for-devs3412026년 10월 18일 업데이트

honey-ccr

무료

Compress-Cache-Retrieve huge repetitive array tool output before it hits context: keep a sample, cache the rest, leave a hash.

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

Green-PT/honey-for-devs3412026년 10월 18일 업데이트

honey-ccr

무료

Compress-Cache-Retrieve for huge, repetitive array tool output (logs, scan results, time series, event streams) before it enters context. Keeps an informative sample — endpoints, anomalies/change-points, head/tail — drops the redundant rest to a local cache, and leaves a retrievable hash. Use when a tool returns a long uniform JSON array you must read but mostly skim, and the full set is one command away if needed. Lossy-but-recoverable.

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

Green-PT/honey-for-devs3412026년 10월 18일 업데이트

Green-PT의 스킬 모두 보기

이 스킬의 문제 신고