acp-router

Route coding-agent harness requests to ACP runtime sessions or acpx control paths.

2|Updated May 23, 2026
One-click install
npx skills add https://github.com/enclawed/enclawed-oss --skill acp-router-enclawed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: acp-router
Source: https://github.com/enclawed/enclawed-oss/tree/main/extensions/acpx/skills/acp-router
Command: npx skills add https://github.com/enclawed/enclawed-oss --skill acp-router-enclawed

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill routes coding-harness requests to the correct ACP runtime or direct acpx flow so the assistant does not fall back to the wrong execution path.

Core Features & Use Cases

  • Harness intent detection: Recognizes requests aimed at Pi, Claude Code, Codex, Cursor, Copilot, Enclawed, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, and similar ACP-driven environments.
  • Session routing: Chooses between ACP runtime sessions and direct acpx telephone-game control based on availability and user intent.
  • Thread-safe handling: Uses sessions_spawn for ACP thread creation, applies agentId mappings, and supports repair-and-retry behavior when the backend or adapter is unavailable.

Quick Start

Ask the assistant to route your next coding-agent thread or harness prompt through the correct ACP session for the target tool.

Frequently Asked Questions about acp-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does ACP session routing work for coding-agent harnesses?

ACP session routing directs coding-harness requests from tools like Claude Code or Cursor into the correct ACP runtime thread or direct acpx control path, preventing incorrect execution fallbacks.

What coding tools are supported by ACP harness thread workflows?

ACP harness thread workflows support Pi, Claude Code, Codex, Cursor, Copilot, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, and similar ACP-driven environments.

How do I route a Claude Code prompt to the correct ACP session?

You route a prompt by asking the assistant to direct your coding-agent thread through the correct ACP session, which triggers sessions_spawn-based thread creation and applies explicit agentId mapping.

Does ACP routing require a specific acpx plugin for session management?

Yes, ACP routing requires pinned plugin-local acpx usage to manage direct control paths and relies on sessions_spawn for proper ACP thread creation across supported coding-agent environments.

Why does my coding-agent harness fall back to the wrong execution path?

Harness requests fall back to the wrong execution path when the routing layer fails to detect the target tool intent or cannot map the request to the correct ACP runtime session.

How are missing ACP backends or adapters handled during session routing?

Missing ACP backends or adapters are handled through repair-and-retry behavior, which attempts to recover the unavailable runtime or adapter before failing the session routing request.