refit
O que ela faz
Esta skill revisa o desempenho da configuração de trabalho ao longo das sessões, como verificações que falham repetidamente ou execuções travadas. É para quem quer que o ambiente fique mais fluido com o tempo.
Quando usar
- ✓Quando a mesma verificação ou etapa continua falhando em várias sessões.
- ✓Quando execuções automatizadas continuam travando ou repetindo as mesmas etapas desperdiçadas.
- ✓Quando você quer uma revisão periódica do seu ambiente de trabalho e dos seus problemas.
Link da skill
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/refit/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
“Olhe para nossas sessões recentes e me diga quais problemas repetidos na nossa configuração estão nos atrasando.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente lê as linhas do tempo das sessões, os relatórios de atrito, os logs e as notas de planejamento que o oh-my-claudecode registra. Classifica cada achado por onde a correção deve ficar e propõe mudanças, mas não escreve nada até você aprovar.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Refit
Refit surveys the environment the agent worked in — not the code it produced (review and verify own that) and not one launch run's lessons (the sediment pass owns that). Every kind of work leaves friction behind: a ralph loop that kept tripping on the same check, an autopilot run that stalled waiting for a signal, a debugging session where the decisive output was never captured anywhere. OMC instruments all of it. Refit reads the instruments and converts recorded friction into environment changes, so the next run starts in a better yard.
Evidence first
The survey starts from OMC's instruments, not from a checklist. Read before asking the user anything:
trace_timeline/trace_summary— where turns stalled, repeated, or fanned out wastefullyomc session friction report— friction the session recorded about itself.omc/logs/and session state — errors, retries, swallowed failures- plan notepads
.omc/notepads/*/issues.mdandproblems.md— problems that accumulated across a plan - the repo's own check surface (
package.jsonscripts, CI workflows) — read before proposing any new check, because a check that exists but sits unwired or silently broken is the finding, not a reinvention
Findings emerge from what the data shows. An empty survey is a valid result and is stated plainly; an invented finding is the same violation as skipping the survey. A repo with no wired automated checks is itself a finding, not a neutral default.
Four fix-owner surfaces
Every finding names the surface that owns its fix. A finding that fits no surface is declined, explicitly and with the reason.
- Deterministic check — the failure was mechanical: a fixed syntactic pattern, a banned API, an import shape, a file-location rule. The fix is a lint rule, hook, or CI job — whichever the repo's existing guardrails make cheapest. Default to building the check over writing the rule.
- Steering surface — the failure was a judgement call no guardrail substitutes for: cross-file consistency, matches-surrounding-style. The fix lands in the matching
docs/standards/volume, or inCLAUDE.md/AGENTS.mdwithin the thin-entry budget the launch sediment pass defines. Navigation pointers over prose. - Tool surface — the drag was tooling itself: expensive or token-inefficient MCP calls, missing automation, checks too slow to be run when they matter. The fix lands in
.mcp.json,scripts/, hooks, or OMC config. - Information surface — the agent needed a signal it could not reach: dev-server logs, service state, third-party readonly access. The fix tees the log, exposes the state, or documents the access path.
The split rests on where enforcement pressure lives: implementation contexts carry the most of it (exploration, writing, and debugging all at once); review contexts receive a diff with none of it. Standards therefore belong to reviewers and checks — never to more instructions loaded onto the implementer.
Proposal and landing
- Present findings ranked by severity, each as
finding → surface → intended change, with one line of instrument evidence (which instrument, what it showed). - Stop for user approval. Each line is individually approvable or vetoable.
- Write approved findings to their surfaces. Before writing any steering prose, call the Skill tool with
agent-doc-disciplineand pass its verification checklist. A newly installed deterministic check must be proven to bite before it counts as landed: run it clean once, then demonstrate it failing on a deliberately introduced violation, then revert the violation. A check that cannot be shown failing goes back to the proposal — a guardrail nobody has seen fire is decoration, not protection. - Record where each finding landed — one file location per line — so the next refit starts from the record, not from memory. A refit on a launch-run session starts from that run's sediment list; a launch run may defer a lesson to a later refit by naming it.
Headless refit (unattended invocation)
Refit is user-invoked, but its survey does not need the user at the keyboard to run — only to dispose. A host scheduler (cron, CI timer, an automation tool) may start a headless agent session that invokes this skill; the survey runs to its natural boundary under the same contract:
- The survey reads the same instruments and lands nothing anywhere: headless refit produces the proposal list only —
finding → surface → intended change, each with one line
Perguntas frequentes
Ele muda algo sem perguntar?
Não. Nada é escrito sem a sua aprovação.
E se nenhum problema for encontrado?
A skill diz isso claramente, já que um resultado vazio é um desfecho válido.
Ele revisa o código em si?
Não. A revisão de código e a verificação cuidam do código, enquanto esta skill olha para o ambiente em volta do trabalho.
Detalhes
Descrição original do autor
Cross-session environment retrospective driven by OMC's own instrumentation — trace timelines, friction reports, logs, and plan notepads. Every finding lands on the surface that owns the fix (deterministic check, steering volume, tooling, or information access); nothing is written without user approval.
Popularidade
- Estrelas no GitHub
- 41 mil
- Posição no ranking
- #7019
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
agent-doc-discipline
41 milEnsina seu agente a escrever instruções que outros agentes de IA possam seguir por conta própria, com regras que podem ser verificadas e um motivo claro por trás de cada uma.
ai-slop-cleaner
41 milAjuda seu agente a limpar código escrito por IA que funciona, mas está inchado ou repetitivo, removendo o excesso sem mudar o que ele faz.
architecture-survey
41 milAjuda seu agente a revisar a estrutura de uma base de código e listar as partes que estão ficando difíceis de mudar, com evidências, sem alterar nada por conta própria.
ask-navigator
41 milAjuda seu agente a transformar um projeto vago em um mapa de perguntas de decisão claras, e depois resolvê-las uma a uma até o caminho ficar claro.
Skills parecidas
add-model-provider
394 milPermite que seu agente conecte um novo provedor de modelos de IA ao OpenClaw com comandos seguros, guarde as chaves de API com segurança e faça um teste ao vivo.
acp-router
394 milAjuda seu agente a enviar uma tarefa a um assistente de programação, como Claude Code ou Cursor, pelo OpenClaw, para que o trabalho rode nessa ferramenta.
browser-automation
394 milEnsina seu agente a controlar páginas web passo a passo, incluindo logins, abas e recuperação quando uma página para de responder.