acp-router

Route natural language coding requests to ACP runtime or acpx sessions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/clsdavid/autocrab --skill acp-router-clsdavid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: acp-router
Source: https://github.com/clsdavid/autocrab/tree/main/extensions/acpx/skills/acp-router
Command: npx skills add https://github.com/clsdavid/autocrab --skill acp-router-clsdavid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of directing plain-language coding requests to the appropriate AI coding environments (like Pi, Claude Code, Codex, Gemini CLI, or ACP harness) and manages their execution within AutoCrab's ACP runtime or directly via acpx.

Core Features & Use Cases

  • Intelligent Routing: Automatically detects user intent to run code in specific ACP harnesses.
  • Flexible Execution: Supports both AutoCrab's ACP runtime sessions and direct acpx command-line execution.
  • Threaded Conversations: Ensures coding agent requests are handled in dedicated, thread-like conversations.
  • Use Case: When a user says, "Run this Python script in Claude Code and keep it in a thread," this skill intercepts the request, identifies "Claude Code" as the target harness, and initiates the correct ACP runtime session within a new thread.

Quick Start

Use the acp-router skill to spawn a new codex session in a thread and ask it to say hello.

Frequently Asked Questions about acp-router

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

FAQPage Schema
How do I route coding tasks to a specific AI coding environment?

You can route coding tasks to environments like Claude Code or Gemini CLI by expressing your intent in plain language. The Skill automatically detects the target harness and manages execution through the AutoCrab ACP runtime or acpx CLI.

What is the best way to run code in Claude Code and keep it in a dedicated thread?

To run code in Claude Code within a dedicated thread, simply make a request like 'Run this script in Claude Code.' The Skill intercepts this, identifies the harness, and initiates a dedicated ACP runtime session within a new thread.

Does this routing mechanism support both AutoCrab ACP runtime and direct acpx command-line execution?

Yes, the routing mechanism supports both AutoCrab ACP runtime sessions and direct acpx command-line execution. It provides flexible execution paths and includes fallback mechanisms for unavailable backends.

How does agent ID mapping work when managing ACP harness sessions?

Agent ID mapping translates your specific coding environment requests into the correct internal identifiers for the ACP runtime. This ensures proper routing and execution across different available harnesses.

What happens if a requested AI coding backend is unavailable during routing?

If a requested AI coding backend is unavailable, the Skill provides fallback mechanisms to handle the failure. It ensures proper routing and execution by managing agent ID mapping to alternative available sessions.

Can I use acp-router to manage threaded conversations for multiple coding agents?

Yes, you can manage threaded conversations for multiple coding agents. The Skill ensures coding agent requests are handled in dedicated, thread-like conversations for proper execution within the ACP runtime.