acp-router
Was er macht
Er erklärt einem KI-Agenten, wie er eine Aufgabe an ein externes Coding-Tool übergibt, etwa Claude Code, Cursor oder Gemini CLI, und mit dieser Sitzung weiterarbeitet. Er ist für Menschen gedacht, die OpenClaw nutzen, um andere Coding-Assistenten zu steuern.
Wann du ihn nutzt
- ✓Wenn du OpenClaw bittest, eine Aufgabe in Claude Code, Cursor oder einem anderen Coding-Assistenten auszuführen.
- ✓Wenn du frühere Arbeit fortsetzen willst, die bereits in einem externen Coding-Tool läuft.
- ✓Wenn du einem Coding-Assistenten Anweisungen schicken und die Unterhaltung an einem Ort halten willst.
Link zum Skill
https://github.com/openclaw/openclaw/blob/main/extensions/acpx/skills/acp-router/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Führe diesen Bugfix über OpenClaw in Claude Code aus und schick mir das Ergebnis, wenn es fertig ist.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill wählt den passenden Weg für das Coding-Tool, entweder eine OpenClaw-Sitzung oder eine direkte Verbindung. Dann startet oder setzt er die Sitzung über das richtige Tool fort, nicht indem er den Terminalbildschirm liest.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Funktioniert es auch mit Codex?
Codex hat seinen eigenen nativen Bindungsweg. Dieser Skill verwendet ACP für Codex nur, wenn du ausdrücklich ACP oder acpx verlangst.
Wie erstellt er einen neuen Thread für Coding-Arbeit?
Für Coding-Agent-Threads verwendet er das Sitzungswerkzeug, um den Thread zu erstellen, und nicht den allgemeinen Thread-Befehl.
Welche Coding-Tools werden unterstützt?
Der Skill führt viele auf, darunter Claude Code, Cursor, Copilot, OpenCode, Gemini CLI und Qwen.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 394k
- Platz im Ranking
- #13
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
discord-user-post
394kLässt deinen Agenten eine von dir freigegebene Nachricht über die Discord-Desktop-App als du in Discord posten, nachdem der genaue Kanal bestätigt wurde.
discrawl
394kLässt deinen Agenten ein gespeichertes lokales Archiv von Discord-Nachrichten durchsuchen und zusammenfassen, dessen Aktualität prüfen und Direktnachrichten lesen.
gitcrawl
394kLässt deinen Agenten ein gespeichertes Archiv von GitHub-Issues und Pull Requests durchsuchen, Duplikate gruppieren und ihren aktuellen Status auf GitHub prüfen.
graincrawl
394kLässt deinen Agenten gespeicherte Granola-Besprechungsnotizen und Transkripte durchsuchen, deren Aktualität prüfen und sie über einen Zeitraum zählen.
Ähnliche Skills
using-superpowers
311kHilft deinem Agenten, vor Beginn einer Aufgabe die richtigen Skills zu finden und zu nutzen, damit er für diese Art von Arbeit die bewährten Schritte befolgt.
ask-matt
310kLässt deinen Agenten als Wegweiser durch eine Reihe von Coding-Skills dienen und dich für deine Situation zum richtigen Skill führen, von der Idee bis zum ausgelieferten Code.
retro
310kBlickt auf eine Coding-Sitzung zurück und schlägt Änderungen an der Einrichtung vor, etwa klarere Navigation oder automatische Prüfungen, damit künftige Agenten-Läufe reibungsloser verlaufen.