Skills

Omh Context Budget Review

[omh] Context window or token budget at risk: plan compact context, token/cost budgets...

Install

npx skills add rlaope/oh-my-hermes --skill omh-context-budget-review -g -a claude-code -y
Category
AI and agents
Updated
3d ago
License
MIT
Context cost
Mediumabout 1,890 tokens
Runs scripts
No, instructions only

What it does

[omh] Context window or token budget at risk: plan compact context, token/cost budgets, summarization checkpoints, and overflow recovery before long agent work. Use when the user says: context-budget-review, context budget review, context budget, token budget review, token budget, prompt budget, prompt caching, prompt cache.

Context Budget Review

This is an OMH context-budget-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

context-budget-review ports ECC's context-budget and token-budget instincts into OMH as a compactness gate that protects long-running work without redefining success around a smaller task.

Do Not Use When

  • The user asks only what this Hermes session has used or cost so far; Hermes' /usage shows this session's tokens and context, /insights estimates cost across recent sessions, and the omh_run_summary tool relays this conversation's recorded tokens and cost.
  • The user asks to continue a loopable goal; use ulw-loop unless budget planning is the explicit blocker.
  • The task is a short one-step answer with no meaningful context risk.

Examples

Good example:

  • Prompt: context-budget-review 이 장기 PR 작업에서 어떤 맥락을 꼭 유지하고 언제 요약해야 하는지 잡아줘.
  • Expected behavior: Prepare context_budget_plan/v1, must_keep_context_pack/v1, checkpoint plan, risk register, and overflow recovery route.
  • Why: The request is about preserving context quality during long-running agent work.

Bad example:

  • Prompt: context-budget-review 토큰 아끼려고 원래 목표를 더 작은 목표로 바꿔줘.
  • Expected behavior: Reject goal shrinking and instead compact context while preserving the full objective and evidence gaps.
  • Why: Budget review optimizes context handling, not the user's requested end state.

Completion Checklist

  • The run or workflow scope, metric window, failure modes, and cost/latency boundary are named.
  • Local telemetry, provider truth, billing truth, and completion evidence are separate states.
  • Warnings name the next measurement or operator review action.

Recovery Notes

  • If provider metrics are unavailable, report only local metadata and mark provider truth not_observed.
  • If cost or latency looks risky, surface a warning plus the next measurement rather than a completion claim.

When to Use

Read the whole SKILL.md on GitHub

More in AI and agents