refit
What it does
This skill reviews how the working setup has been performing across sessions, such as repeated failing checks or stalled runs. It is for people who want their environment to get smoother over time.
When to use it
- βWhen the same check or step keeps failing across several sessions.
- βWhen automated runs keep stalling or repeating the same wasted steps.
- βWhen you want a periodic review of your working environment and its problems.
Skill link
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/refit/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βLook back at our recent sessions and tell me which repeated problems in our setup are slowing us down.β
5 new skills a week. 1 minute to read.
How it works
The agent reads the session timelines, friction reports, logs and planning notes that oh-my-claudecode records. It sorts each finding by where the fix belongs and proposes changes, but writes nothing until you approve.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Does it change anything without asking?
No. Nothing is written without your approval.
What if there are no problems found?
The skill says so plainly, since an empty result is a valid outcome.
Does it review the code itself?
No. Code review and verification handle the code, while this skill looks at the environment around the work.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 41k
- Ranking position
- #7019
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-doc-discipline
41kTeaches your agent to write instructions that other AI agents can follow on their own, with rules that can be checked and a clear reason behind each.
ai-slop-cleaner
41kHelps your agent tidy up AI-written code that works but is bloated or repetitive, removing extra code without changing what it does.
architecture-survey
41kHelps your agent review a codebase's structure and list the parts that are getting hard to change, with evidence, without changing anything itself.
ask-navigator
41kHelps your agent turn a fuzzy project into a map of clear decision questions, then work through them one at a time until the path is clear.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.