acp-router

Route user tasks to AI runtime environments and manage sessions.

33|13|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/hashSTACS-Global/EnClaws --skill acp-router-hashstacs-global
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: acp-router
Source: https://github.com/hashSTACS-Global/EnClaws/tree/main/extensions/acpx/skills/acp-router
Command: npx skills add https://github.com/hashSTACS-Global/EnClaws --skill acp-router-hashstacs-global

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill routes user requests to the correct AI runtime environment, ensuring that tasks are executed in the optimal context.

Core Features & Use Cases

  • Runtime Routing: Directs requests to Pi, Claude Code, Codex, OpenCode, Gemini CLI, or ACP harness work.
  • Session Management: Manages sessions and threads for different AI tasks.
  • Fallback Mechanisms: Provides fallbacks for unavailable ACP runtime or plugin issues.
  • AgentId Mapping: Automatically maps user requests to the correct AI agent.

Quick Start

To route a task to the Codex runtime, use the command: spawn a codex session and tell it to say hi.

Frequently Asked Questions about acp-router

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

FAQPage Schema
How do I route AI tasks to the appropriate runtime environment?

AI task routing directs user requests to the correct AI runtime environments like Pi, Claude Code, Codex, OpenCode, Gemini CLI, or ACP harness, ensuring tasks execute in the optimal context. It automatically maps requests to the correct AI agent.

What is the best way to manage session creation and thread handling for AI tasks?

Session creation and thread handling for AI tasks are managed by routing user requests to specific runtime environments. This process creates distinct sessions and threads, mapping agent IDs for direct AI agent invocation during task execution.

How do I set up a fallback when an ACP runtime is unavailable?

When an ACP runtime is unavailable or plugin issues occur, fallback mechanisms handle the failure by routing the AI task to alternative available runtime environments. This ensures task execution continues without interruption.

Can I use agentId mapping for direct AI agent invocation?

Yes, agentId mapping automatically matches user requests to the correct AI agent for direct invocation. This routing mechanism ensures your task is sent to the appropriate runtime environment like Codex or Gemini CLI.

How do I spawn a Codex session and pass a task?

To spawn a Codex session and pass a task, use the command 'spawn a codex session and tell it to say hi'. This routes your task to the Codex runtime environment, managing the session and thread automatically.