मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट394k · #13

acp-router

यह क्या करती है

यह AI एजेंट को बताती है कि Claude Code, Cursor या Gemini CLI जैसे बाहरी कोडिंग टूल को काम कैसे भेजें और उसी सेशन में आगे कैसे काम करते रहें। यह उन लोगों के लिए है जो OpenClaw से दूसरे कोडिंग असिस्टेंट चलाते हैं।

कब इस्तेमाल करें

  • ✓जब आप OpenClaw से कहें कि कोई काम Claude Code, Cursor या किसी और कोडिंग असिस्टेंट में चलाए।
  • ✓जब आप किसी बाहरी कोडिंग टूल में पहले से चल रहे काम को आगे बढ़ाना चाहते हों।
  • ✓जब आप कोडिंग असिस्टेंट को निर्देश भेजना और बातचीत एक ही जगह रखना चाहते हों।

Skill का लिंक

https://github.com/openclaw/openclaw/blob/main/extensions/acpx/skills/acp-router/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/openclaw/openclaw/blob/main/extensions/acpx/skills/acp-router/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस बग फ़िक्स को OpenClaw के ज़रिए Claude Code में चलाइए और काम पूरा होने पर नतीजा मुझे भेजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल कोडिंग टूल के लिए सही रास्ता चुनती है, या तो OpenClaw सेशन या सीधा कनेक्शन। फिर वह सही टूल के ज़रिए सेशन शुरू करती या जारी रखती है, टर्मिनल स्क्रीन पढ़कर नहीं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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 path below; do not use message(action="thread-create") for ACP harness thread spawn.

Mode selection

Choose one of these paths:

  1. OpenClaw ACP runtime path (default): use sessions_spawn / ACP runtime tools.
  2. Direct acpx path (telephone game): use acpx CLI through exec to drive the harness session directly.

Use direct acpx when one of these is true:

  • user explicitly asks for direct acpx driving
  • 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:

  • subagents runtime for harness control
  • /acp command delegation as a requirement for the user
  • PTY scraping of supported ACP harness CLIs when acpx is 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:

  1. For ACP harness thread spawn requests, read this skill first in the same turn before calling tools.
  2. Use sessions_spawn with:
    • runtime: "acp"
    • thread: true
    • mode: "session" (unless user explicitly wants one-shot)
  3. For ACP harness thread creation, do not use message with action=thread-create; sessions_spawn is the only thread-create path.
  4. Put requested work in task so the ACP session gets it immediately.
  5. Set agentId explicitly unless ACP default agent is known.
  6. 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:

  1. Do not immediately ask the user to pick an alternate path.
  2. First attempt automatic local repair:
    • check that plugin-local pinned acpx is installed in the ACPX plugin package
    • verify ${ACPX_CMD} --version
  3. After reinstall/repair, restart the gateway and explicitly offer to run that restart for the
अक्सर पूछे जाने वाले सवाल

क्या यह Codex के साथ भी काम करता है?

Codex का अपना नेटिव बाइंडिंग रास्ता है, इसलिए यह स्किल Codex के लिए ACP तभी इस्तेमाल करती है जब आप खास तौर पर ACP या acpx मांगें।

कोडिंग काम के लिए नया थ्रेड कैसे बनता है?

कोडिंग-एजेंट थ्रेड के लिए यह सामान्य थ्रेड कमांड की जगह session टूल से थ्रेड बनाती है।

कौन-से कोडिंग टूल सपोर्ट होते हैं?

स्किल कई टूल सूचीबद्ध करती है, जिनमें Claude Code, Cursor, Copilot, OpenCode, Gemini CLI और Qwen शामिल हैं।

जानकारी

लेखक का मूल विवरण

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

लोकप्रियता

GitHub स्टार
394k
रैंकिंग में स्थान
#13
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

discord-user-post

394k

यह आपके एजेंट को, आपकी मंज़ूरी के बाद, चैनल की पुष्टि करके आपके नाम से Discord डेस्कटॉप ऐप के ज़रिए संदेश भेजने देती है।

प्रोडक्टिविटीईमेल और मैसेज

discrawl

394k

यह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।

डेटाडेटाबेस

gitcrawl

394k

यह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।

डेटाएनालिसिस और स्प्रेडशीट

graincrawl

394k

यह आपके एजेंट को सेव की गई Granola मीटिंग नोट्स और ट्रांसक्रिप्ट में खोजने, उनकी ताज़गी जांचने और किसी अवधि के हिसाब से गिनती करने देती है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills