acp-router

acp-router is a skill for Claude Code from beita6969/ScienceClaw. It costs 69 tokens per session (1,951 once invoked), scanned A, original, MIT.

A routing guide for sending plain-language requests to coding agents such as Pi, Claude Code, Codex, OpenCode, Gemini, or Kimi through supported agent sessions.

In plain words
What is it for?
Use it when delegating coding tasks, continuing an existing agent session, or relaying instructions to one of the supported coding harnesses.
Why use it?
It helps choose the correct way to start or continue work with an external coding agent instead of sending the request through an unsuitable channel.

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 delegating coding tasks, continuing an existing agent session, or relaying instructions to one of the supported coding harnesses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beita6969/scienceclaw/acp-router
About the project

ScienceClaw is an agent system for scientific work that completes tasks as typed, executable workflows and turns replay-verified improvements into reusable skills and operators. It is intended for AI-assisted research across natural and social science disciplines. The catalogue entries are its skills and instruction for use with the system.

beita6969/ScienceClaw · 1,034 stars · on GitHub · scienceclaw.science

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 beita6969/ScienceClaw --skill acp-router
Clone the repo
git clone --depth 1 https://github.com/beita6969/ScienceClaw

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/beita6969/scienceclaw/acp-router/github.svg)](https://agentmods.dev/skills/beita6969/scienceclaw/acp-router)
Your own site
<a href="https://agentmods.dev/skills/beita6969/scienceclaw/acp-router"><img src="https://agentmods.dev/badge/skills/beita6969/scienceclaw/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/beita6969/scienceclaw/acp-router"><img src="https://agentmods.dev/badge/skills/beita6969/scienceclaw/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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 71
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium MCP Rug Pull · line 193
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 194
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 195
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 196
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found 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

Copies of this mod

3 near-identical copies found in the catalogue:

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 beita6969/ScienceClaw (1,034 stars, last pushed 7d 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

acp-router compared with skills from other repositories

acp-router next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
acp-routerbeita6969/ScienceClawSkill1.0k7d agoMITA69Claude Code
biopythonsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A76Claude Code, Codex
scanpysynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A68Claude Code, Codex
structure-predictionsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A42Claude Code, Codex
paper-readerpoco-ai/AgenteroSkill3.0ktodayMITA43Claude Code, Codex
vault-normalizerpoco-ai/AgenteroSkill3.0ktodayMITA57Claude Code, Codex
openui-blockspoco-ai/AgenteroSkill3.0ktodayMITA58Claude Code, Codex