refocusing
하는 일
이 스킬은 맥락이 압축되었거나 큰 이정표를 넘은 장기 실행 AI 에이전트가 목표에 대한 방향을 되찾도록 돕습니다. 긴 작업 세션을 운영하는 에이전트를 위한 것입니다.
사용하는 경우
- ✓장기 실행 에이전트가 제품 성과를 놓쳤을 수 있을 때.
- ✓맥락이 압축되어 행동 전에 새로운 추적이 필요할 때.
- ✓작업이 큰 경계를 넘었고 다음 중요한 행동에 근거가 필요할 때.
스킬 링크
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/refocusing/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“몇 시간째 작업 중이었고 제 맥락이 압축되었습니다. 다음 변경을 하기 전에 제품 성과에 다시 집중하도록 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
번들된 스크립트로 현재 토폴로지와 작업을 추적하고, 관련 자료를 전부 읽은 뒤, 에이전트가 현재 의도에 따라 행동하도록 재집중 기록을 남깁니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Refocusing
Invoke the skill as refocusing, its frontmatter name. OpenRig seeds it in the
Claude and Codex global skill roots and includes selected plugin skills in managed
loadouts. Existing externally managed copies remain authoritative. If the harness
has not discovered it yet, read this installed skill file and run its script directly;
hook registration alone does not prove native skill discovery.
Refocus preserves a long session's earned expertise while re-grounding it in current intent and lived context. It is not a restart, wake, or phase checkpoint.
During an actionable managed restore, consume the current topology and work trace that actually arrived with the request. Do not rerun Python merely to duplicate it. If no current trace arrived, name that delivery gap. A packet pointer, compact summary or truncated extract is not a full source read. Use the native file-read tool for required notes and full sources, and complete the existing restore audit; partial file reads do not establish completed refocus or restoration.
For a new trace outside that delivered context, follow the command guidance below.
Resolve the bundled script's absolute path from the directory of this loaded skill.
Stay in your current working directory; do not cd into the skill directory, which
can change the inferred work node. Run the trace as one plain command, replacing
the example path with the actual absolute path written out in the tool call:
python3 "/absolute/path/to/refocusing/scripts/trace-to-root.py" --trees both --depth light
Do not combine this command with shell variables, environment assignments, command substitution, exit-status printing or file-reading loops. Read the named source files separately with the native read tool. Combined shell loops or variables can require native approval even when the intended operations are read-only; a plain command is not a guarantee that approval will never be needed.
For managed compaction, refocus during the restore request or its read-depth audit. The earlier acknowledgement-only boundary is not permission to restore.
Use --trees topology|work|both to select context domains and --depth light|full to control how
much each node contributes. Light work traces compose intent: and name notes; full traces include
the complete node and notes bodies. The script resolves topology.root and workspace.root with
rig config get. When a known current node must be supplied, pass --work-start or
--topology-start with its literal absolute path in the same plain command. Do not
substitute the project root for a mission or slice node and claim that mission was traced.
The trace walks the topology and work trees. For the project's own declared context (intent, context files,
skills), rig context work-install lists it; read what the next action needs.
Read references/refocus.md when changing the automatic hook or its content ladder. A missing chain file is evidence: report the gap and continue; never follow pointers to invent a second parent.
자주 묻는 질문
유휴 에이전트를 깨우는 것과 같은가요?
아닙니다. 스킬은 재집중이 재시작, 깨우기, 단계 체크포인트가 아니라고 설명합니다.
스크립트를 매번 다시 실행하나요?
아닙니다. 관리되는 복원 중에는 이미 전달된 추적을 쓰고, 추적이 도착하지 않았을 때만 새로 실행합니다.
짧은 요약으로 전체 읽기를 대신할 수 있나요?
아닙니다. 스킬은 패킷 포인터나 간단한 요약은 전체 자료 읽기가 아니라고 설명합니다.
상세 정보
작성자의 원본 설명
Use when a long-running agent may have lost the product outcome, when context was compacted, when work has crossed a major boundary, or when a fresh path-based trace is needed before the next consequential action. Not for fresh-session orientation, waking an idle seat, or checkpoints.
repo: mvschwarz/openrig
인기도
- GitHub 스타
- 8.6k
- 순위
- #12395
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-operated-software
8.6k백엔드에 AI 에이전트가 포함된 앱을 설계하고 만들고 디버깅하도록 돕습니다.
agent-operated-workflows
8.6k범위가 정해진 절차를 AI 에이전트가 실행할지 일반 코드가 실행할지 정하고, 검증된 근거로 안전하게 재개하도록 돕습니다.
applying-a-permission-policy
8.6k에이전트가 팀 설정 중 쓰는 명령 권한을 맞춰, 일상적인 명령이 승인 요청을 덜 거치도록 돕습니다.
claude-compaction-restore
8.6kClaude Code 에이전트가 컨텍스트 압축 후 저장된 복구 지도, 대화 기록, 수정한 파일을 써서 작업 그림을 다시 세우도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.