omh-context-budget-review
O que ela faz
Ele planeja o que precisa ser mantido no contexto, quando resumir e como se recuperar se o contexto estourar durante um trabalho longo. É para quem roda tarefas longas com agentes e teme ficar sem espaço.
Quando usar
- ✓Quando uma tarefa longa com agente corre o risco de esgotar o contexto.
- ✓Quando você quer planejar orçamentos de tokens ou de custo para uma tarefa longa.
- ✓Quando você quer pontos de verificação com resumos para um trabalho extenso.
Link da skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-context-budget-review/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Esta tarefa longa de pull request não para de ficar sem contexto. Planeje o que preciso manter e quando resumir.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente lista o contexto que precisa ser mantido, define pontos de verificação para os resumos e planeja uma rota de recuperação se o limite for atingido. Ele mantém o objetivo completo, em vez de reduzir a tarefa.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
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-loopunless 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
Use before long-running research, coding, review, or multi-agent work when context, token, cost, or summary drift could break quality.
Strong routing signals: `context-budget-review`, `context budget review`, `context budget`, `token budget review`, `token budget`, `prompt budget`, `prompt caching`, `prompt cache`, `cache hygiene`, `context compaction`, `compact context`, `too much context`, `context window`, `running out of context`, `hand off to a new session`, `summarization checkpoint`, `budget this task`, `컨텍스트 예산`, `토큰 예산`, `컨텍스트 압축`, `요약 체크포인트`, `что жрёт токены`, `бюджет токенов`, `контекст переполнен`, `сколько уходит токенов`, `на что уходят токены`, `на что тратятся токены`
Catalog Metadata
Category: observability
Phase: context-budget-review
Quality tier: context-budget-gated
Reasoning demand: standard
Quality bar:
- Name must-keep context before summarizing or delegating long work.
- Separate durable requirements, volatile status, file refs, verification evidence, and open blockers.
- Define checkpoint cadence, overflow recovery, and continuity verification.
- Use bounded copy while preserving the full objective and evidence gaps.
- Count the must-keep pack by item class, so a replaced pack reports which class lost entries instead of only that a digest moved; a pack that recorded no classes reports the comparison unavailable and never reports zero items.
- Keep prompt-prefix placement cache-stable: fixed section order, volatile bytes never above the fold, mid-run changes as appended messages never system-prompt mutations — load
references/cache-placement.mdfor the placement rules. - On Hermes, bind the summarization checkpoint to Hermes' own compaction: render the must-keep classes as one short focus topic and hand the person
/compress <focus>to run when the checkpoint is due. OMH never compresses, and a compaction is observed only from Hermes' own reply to that command. - On Hermes, offer
/compress --preview <focus>only in the classic CLI or on a messaging platform, never when the surface is unknown, and count it as a preview only when the reply saysPreview — no changes made.: a modern TUI whose/compressdoes not parse the flag compresses for real with the flag in its focus. Context occupancy is the person's/usagereading when shared, otherwise an estimate.
Required inputs:
- task or workflow scope
- expected duration, artifacts, and handoff surfaces
- available context sources and must-keep facts
- token, cost,
Perguntas frequentes
Ele vai reduzir minha tarefa para economizar tokens?
Não. A skill rejeita encolher o objetivo e compacta o contexto.
Ele informa quanto já usei até agora?
Não. O uso é informado pelos próprios comandos de uso do host, e não por esta skill.
É para tarefas curtas?
Não. É para trabalho longo com agentes, em que o risco de contexto é real.
Detalhes
Descrição original do autor
[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.
repo: rlaope/oh-my-hermes
Popularidade
- Estrelas no GitHub
- 5,1 mil
- Posição no ranking
- #15090
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
omh-accessibility-audit
5,1 milAjuda seu agente a verificar uma tela ou um fluxo em busca de lacunas de acessibilidade, como uso pelo teclado, rótulos para leitores de tela, contraste e tamanho dos alvos de toque.
omh-adversarial-consensus
5,1 milAjuda seu agente a atacar uma proposta técnica por vários ângulos independentes antes de você se comprometer com ela, e depois resume o que sobrevive.
omh-agent-debug
5,1 milAjuda seu agente a descobrir por que outro agente de IA está travado, em loop ou se desviando, e sugere a forma mais segura e pequena de recuperá-lo.
omh-agent-instructions
5,1 milAjuda seu agente a escrever ou atualizar o arquivo de instruções, como AGENTS.md ou CLAUDE.md, que diz às ferramentas de IA como trabalhar em um projeto.
Skills parecidas
writing-skills
311 milEnsina seu agente a escrever novas skills e testar cada uma antes, conferindo se a skill realmente muda o comportamento do agente.
writing-for-agents
310 milExplica como escrever instruções claras para agentes de IA, incluindo skills, arquivos AGENTS.md e CLAUDE.md, para que o agente se comporte de forma previsível.
bengali-nlp
280 milFaz seu agente processar textos em bengali. Ajuda a entender e trabalhar com a língua, normalizando o texto e lidando com suas características únicas.