refocusing
Fungsinya
Skill ini membantu agent AI yang berjalan lama untuk mendapatkan kembali arah tujuannya ketika konteksnya sudah dipadatkan atau ia telah melewati tonggak besar. Skill ini ditujukan untuk agent yang menjalankan sesi kerja yang panjang.
Kapan dipakai
- βSaat agent yang berjalan lama mungkin sudah kehilangan pandangan terhadap hasil produk.
- βSaat konteksnya dipadatkan dan ia perlu penelusuran baru sebelum bertindak.
- βSaat pekerjaan telah melewati batas besar dan tindakan berdampak berikutnya perlu dilandasi.
Link skill
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/refocusing/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βKita sudah berjam-jam mengerjakan ini dan konteks saya dipadatkan. Fokuskan saya kembali pada hasil produk sebelum saya membuat perubahan berikutnya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menjalankan skrip bawaan untuk menelusuri topologi dan pekerjaan saat ini, membaca sumber yang relevan secara penuh, lalu mencatat pemfokusan ulang agar agent bertindak sesuai maksud terkini.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum
Apakah ini sama dengan membangunkan agent yang diam?
Tidak. Skill menyatakan bahwa pemfokusan ulang bukan restart, bukan wake, dan bukan titik pemeriksaan fase.
Apakah skrip dijalankan ulang setiap kali?
Tidak. Selama pemulihan terkelola, skill memakai penelusuran yang sudah dikirim, dan hanya menjalankan penelusuran baru jika tidak ada yang datang.
Apakah ringkasan singkat bisa menggantikan pembacaan penuh?
Tidak. Skill menyatakan bahwa penunjuk paket atau ringkasan singkat bukan pembacaan sumber yang lengkap.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 8.6k
- Peringkat
- #12395
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-operated-software
8.6kMembantu agent Anda merancang, membangun, atau men-debug aplikasi yang sedang berjalan dengan backend live berisi agent AI, seperti bidang kontrol agent berbasis Markdown atau JSON.
agent-operated-workflows
8.6kMembantu agent Anda memutuskan apakah sebuah prosedur terbatas sebaiknya dijalankan oleh agent AI atau oleh kode biasa, dan cara melanjutkannya dari bukti yang sudah diverifikasi.
applying-a-permission-policy
8.6kMembantu agent Anda mengatur izin perintah yang dipakai agent pengodean AI selama pengaturan tim, agar perintah rutin berjalan dengan lebih sedikit permintaan persetujuan.
claude-compaction-restore
8.6kMembantu agent Claude Code membangun kembali gambaran kerjanya setelah konteksnya dipadatkan, memakai peta pemulihan yang disimpan, transkripnya, dan file yang disentuhnya.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.