refit
하는 일
이 스킬은 여러 세션에 걸쳐 작업 환경이 어떻게 작동했는지 검토합니다. 반복 실패하는 검사나 멈춘 실행 같은 것입니다. 시간이 지나면서 환경이 더 매끄러워지기를 원하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓같은 검사나 단계가 여러 세션에서 계속 실패할 때.
- ✓자동 실행이 계속 멈추거나 같은 낭비되는 단계를 반복할 때.
- ✓작업 환경과 그 문제에 대한 정기 검토를 원할 때.
스킬 링크
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/refit/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“최근 세션을 돌아보고, 설정에서 우리를 느리게 하는 반복 문제가 무엇인지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 oh-my-claudecode가 기록한 세션 타임라인, 마찰 보고서, 로그, 계획 메모를 읽습니다. 각 발견 사항을 수정이 속한 곳에 따라 분류하고 변경을 제안하지만, 사용자가 승인하기 전에는 아무것도 쓰지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
사용자에게 묻지 않고 바꾸나요?
아니요. 사용자가 승인하기 전에는 아무것도 쓰지 않습니다.
문제가 없으면 어떻게 하나요?
스킬은 그렇다고 분명히 말합니다. 빈 결과도 유효한 결과입니다.
코드를 검토하나요?
아니요. 코드 검토와 검증은 코드를 다루며, 이 스킬은 작업을 둘러싼 환경을 봅니다.
상세 정보
작성자의 원본 설명
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.
인기도
- GitHub 스타
- 41k
- 순위
- #7019
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-doc-discipline
41k에이전트가 다른 AI 에이전트가 스스로 따를 수 있는 지침을 쓰도록 가르칩니다. 확인할 수 있는 규칙과 각 규칙의 명확한 이유를 담습니다.
ai-slop-cleaner
41k에이전트가 작동하지만 군더더기가 많거나 반복되는 AI 작성 코드를 정리해, 동작을 바꾸지 않고 불필요한 코드를 제거하도록 돕습니다.
architecture-survey
41k에이전트가 코드베이스의 구조를 검토하고, 근거와 함께 변경하기 어려워지는 부분을 나열합니다. 스스로 아무것도 바꾸지 않습니다.
ask-navigator
41k에이전트가 막연한 프로젝트를 명확한 결정 질문의 지도로 바꾸고, 길이 분명해질 때까지 질문을 하나씩 해결하도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.