acp-router
Fungsinya
Skill ini memberi tahu agent AI cara meneruskan tugas ke alat pemrograman luar, seperti Claude Code, Cursor, atau Gemini CLI, dan tetap bekerja dengan sesi tersebut. Skill ini ditujukan bagi orang yang memakai OpenClaw untuk menjalankan asisten pemrograman lain.
Kapan dipakai
- ✓Saat Anda meminta OpenClaw menjalankan tugas di Claude Code, Cursor, atau asisten pemrograman lain.
- ✓Ketika Anda ingin melanjutkan pekerjaan sebelumnya yang sudah berjalan di alat pemrograman luar.
- ✓Ketika Anda ingin mengirim instruksi ke asisten pemrograman dan menjaga percakapan tetap di satu tempat.
Link skill
https://github.com/openclaw/openclaw/blob/main/extensions/acpx/skills/acp-router/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
“Jalankan perbaikan bug ini di Claude Code lewat OpenClaw dan kirimkan hasilnya kepada saya ketika selesai.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini memilih jalur yang tepat untuk alat pemrograman tersebut, yaitu sesi OpenClaw atau koneksi langsung. Setelah itu skill memulai atau melanjutkan sesi lewat alat yang sesuai, bukan dengan membaca layar terminal.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
ACP Harness Router
When user intent is "run this in Claude Code/Cursor/Copilot/OpenClaw/OpenCode/Gemini/Grok Build/Qwen/Kiro/Kimi/iFlow/Droid/Kilocode (ACP harness)", do not use subagent runtime or PTY scraping. Route through ACP-aware flows.
Codex is special: plain chat/conversation binding and control should use the native Codex app-server plugin (/codex bind, /codex threads, /codex resume) instead of the default ACP path. Use ACP for Codex only when the user explicitly names ACP//acp/acpx, or when spawning background child sessions through sessions_spawn where a native Codex runtime spawn is not available yet.
Intent detection
Trigger this skill when the user asks OpenClaw to:
- run something in Claude Code / Cursor / Copilot / OpenClaw / OpenCode / Gemini / Grok Build / Qwen / Kiro / Kimi / iFlow / Droid / Kilocode
- run Codex explicitly through ACP,
/acp, or acpx - continue existing harness work
- relay instructions to an external coding harness
- keep an external harness conversation in a thread-like conversation
Mandatory preflight for coding-agent thread requests:
- Before creating any thread for ACP harness work, read this skill first in the same turn.
- After reading, follow
OpenClaw ACP runtime pathbelow; do not usemessage(action="thread-create")for ACP harness thread spawn.
Mode selection
Choose one of these paths:
- OpenClaw ACP runtime path (default): use
sessions_spawn/ ACP runtime tools. - Direct
acpxpath (telephone game): useacpxCLI throughexecto drive the harness session directly.
Use direct acpx when one of these is true:
- user explicitly asks for direct
acpxdriving - ACP runtime/plugin path is unavailable or unhealthy
- the task is "just relay prompts to harness" and no OpenClaw ACP lifecycle features are needed
Do not use:
subagentsruntime for harness control/acpcommand delegation as a requirement for the user- PTY scraping of supported ACP harness CLIs when
acpxis available
AgentId mapping
Use these defaults when user names a harness directly:
- "openclaw" ->
agentId: "openclaw" - "claude" or "claude code" ->
agentId: "claude" - "codex" ->
agentId: "codex"only for explicit ACP/acpx requests or background ACP runtime spawn - "copilot" or "github copilot" ->
agentId: "copilot" - "cursor" or "cursor cli" ->
agentId: "cursor" - "droid" or "factory droid" ->
agentId: "droid" - "opencode" ->
agentId: "opencode" - "gemini" or "gemini cli" ->
agentId: "gemini" - "grok build" or "grok-build" ->
agentId: "grok-build" - "iflow" ->
agentId: "iflow" - "kilocode" ->
agentId: "kilocode" - "kimi" or "kimi cli" ->
agentId: "kimi" - "kiro" or "kiro cli" ->
agentId: "kiro" - "qwen" or "qwen code" ->
agentId: "qwen"
These defaults match current acpx built-in aliases.
grok-build is an ACPX agent target, not the xAI model id
xai/grok-build-0.1. Route grok-build through agentId; use the fully
qualified xAI ref only in an OpenClaw model field.
If policy rejects the chosen id, report the policy error clearly and ask for the allowed ACP agent id.
OpenClaw ACP runtime path
Required behavior:
- For ACP harness thread spawn requests, read this skill first in the same turn before calling tools.
- Use
sessions_spawnwith:runtime: "acp"thread: truemode: "session"(unless user explicitly wants one-shot)
- For ACP harness thread creation, do not use
messagewithaction=thread-create;sessions_spawnis the only thread-create path. - Put requested work in
taskso the ACP session gets it immediately. - Set
agentIdexplicitly unless ACP default agent is known. - Do not ask user to run slash commands or CLI when this path works directly.
Example:
User: "spawn a test codex ACP session in thread and tell it to say hi"
Call:
{
"task": "Say hi.",
"runtime": "acp",
"agentId": "codex",
"thread": true,
"mode": "session"
}
Thread spawn recovery policy
When the user asks to start a coding harness in a thread, treat that as an ACP runtime request and try to satisfy it end-to-end.
Required behavior when ACP backend is unavailable:
- Do not immediately ask the user to pick an alternate path.
- First attempt automatic local repair:
- check that plugin-local pinned acpx is installed in the ACPX plugin package
- verify
${ACPX_CMD} --version
- After reinstall/repair, restart the gateway and explicitly offer to run that restart for the
Pertanyaan umum
Apakah ini juga berfungsi dengan Codex?
Codex memiliki jalur binding asli sendiri, sehingga skill ini memakai ACP untuk Codex hanya jika Anda secara khusus memintanya dengan ACP atau acpx.
Bagaimana cara membuat thread baru untuk pekerjaan pemrograman?
Untuk thread agent pemrograman, skill memakai alat sesi untuk membuat thread, bukan perintah thread generik.
Alat pemrograman apa saja yang didukung?
Skill ini mencantumkan banyak alat, termasuk Claude Code, Cursor, Copilot, OpenCode, Gemini CLI, dan Qwen.
Detail
Deskripsi asli dari pembuat
Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.
repo: openclaw/openclaw
Popularitas
- Bintang GitHub
- 394k
- Peringkat
- #13
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
discord-user-post
394kMemungkinkan agent Anda mengirim pesan yang sudah Anda setujui ke Discord atas nama Anda, lewat aplikasi desktop Discord, setelah channel tujuannya dipastikan.
discrawl
394kMemungkinkan agent Anda mencari dan merangkum arsip pesan Discord lokal yang tersimpan, memeriksa seberapa baru arsipnya, dan membaca pesan langsung.
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
graincrawl
394kMemungkinkan agent Anda mencari catatan dan transkrip rapat Granola yang tersimpan, memeriksa seberapa baru datanya, dan menghitungnya dalam periode tertentu.
Skill serupa
using-superpowers
311kMembantu agent Anda menemukan dan memakai skill yang tepat sebelum memulai tugas, sehingga ia mengikuti langkah yang sudah terbukti untuk jenis pekerjaan itu.
ask-matt
310kMembuat agent Anda menjadi pemandu kumpulan skill pemrograman, menunjuk skill yang tepat untuk situasi Anda, dari ide sampai kode yang siap dirilis.
retro
310kMeninjau sesi pemrograman dan menyarankan perubahan pengaturan, seperti navigasi lebih jelas atau pemeriksaan otomatis, agar agent berikutnya lebih lancar.