acp-router

acp-router is a skill for Claude Code from yunze7373/openclaw-termux. It costs 69 tokens per session (1,951 once invoked), scanned A, a copy of acp-router, MIT.

A routing guide for sending plain-language requests to coding-agent tools such as Pi, Claude Code, Codex, OpenCode, Gemini CLI, or an ACP harness. ACP is a protocol for connecting to external coding-agent sessions.

In plain words
What is it for?
Use it when relaying work to an external coding agent, continuing an existing harness session, or creating a thread-like session through the supported ACP runtime or direct acpx command.
Why use it?
It helps choose the correct way to start or continue an external agent session. It also defines a preflight check so coding-agent requests use the intended session path.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents; mentions Claude Code; runs codex exec.

Good fit Use it when relaying work to an external coding agent, continuing an existing harness session, or creating a thread-like session through the supported ACP runtime or direct acpx command.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yunze7373/openclaw-termux/acp-router
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yunze7373/openclaw-termux --skill acp-router
Clone the repo
git clone --depth 1 https://github.com/yunze7373/openclaw-termux

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for acp-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/yunze7373/openclaw-termux/acp-router/github.svg)](https://agentmods.dev/skills/yunze7373/openclaw-termux/acp-router)
Your own site
<a href="https://agentmods.dev/skills/yunze7373/openclaw-termux/acp-router"><img src="https://agentmods.dev/badge/skills/yunze7373/openclaw-termux/acp-router/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for acp-router

Your own site · 80×15
<a href="https://agentmods.dev/skills/yunze7373/openclaw-termux/acp-router"><img src="https://agentmods.dev/badge/skills/yunze7373/openclaw-termux/acp-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,951 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.01951
Opus 5.5 $0.00028 $0.00780
Sonnet 5.5 $0.00014 $0.00390
Haiku 4.5 $0.00007 $0.00195

Measured 3mo ago against content hash 80f5a6382fa6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

acp-router scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to acp-router — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

extensions/acpx/skills/acp-router/SKILL.md · 220 lines

How it starts

The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ACP Harness Router

When user intent is "run this in Pi/Claude Code/Codex/OpenCode/Gemini/Kimi (ACP harness)", do not use subagent runtime or PTY scraping. Route through ACP-aware flows.

Intent detection

Trigger this skill when the user asks OpenClaw to:

  • run something in Pi / Claude Code / Codex / OpenCode / Gemini
  • 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 Pi/Claude/Codex/OpenCode/Gemini 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 pi/claude/codex/opencode/gemini/kimi CLIs when acpx is available

AgentId mapping

Use these defaults when user names a harness directly:

  • "pi" -> agentId: "pi"
  • "claude" or "claude code" -> agentId: "claude"
  • "codex" -> agentId: "codex"
  • "opencode" -> agentId: "opencode"
  • "gemini" or "gemini cli" -> agentId: "gemini"
  • "kimi" or "kimi cli" -> agentId: "kimi"

These defaults match current acpx built-in aliases.

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.

Read the full file on GitHub · 220 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 220 lines · 69 tokens per session scan A 80f5a6382fa6

Subscribe to this mod's changes

acp-router is a skill published in the GitHub repository yunze7373/openclaw-termux (2 stars, last pushed 4mo ago), licensed MIT. It adds 69 tokens to every session and 1,951 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to acp-router, differing in 0 lines, and is treated as a copy.

Related

acp-router compared with skills from other repositories

acp-router next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
acp-routeryunze7373/openclaw-termuxSkill24mo agoMITA69Claude Code
cindy-theme-creatormakecindy/cindySkill11ktodayApache-2.0A60Codex
cindy-plugin-creatormakecindy/cindySkill11ktodayApache-2.0A48Codex
ad-spend-watch-getting-startedmakecindy/cindySkill11ktodayApache-2.0A44Claude Code, Codex
ad-spend-watch-opsmakecindy/cindySkill11ktodayApache-2.0A80Claude Code, Codex
engineer-bot-getting-startedmakecindy/cindySkill11ktodayApache-2.0A44Claude Code, Codex
sable-game-art-opsmakecindy/cindySkill11ktodayApache-2.0A89Claude Code, Codex