acp-router
Route plain-language requests for Pi, Claude Code, Codex, OpenCode, Gemini CLI, or ACP harness work into either ErnOS ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow).
Install / Use
npx skills add Cyandex/ErnOS --skill acp-routerInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OtherSupported Platforms
Tags
Our assessment of acp-router
acp-router scores 74/100 on our quality scale, 277th of 302 Other skills we index.
Its SKILL.md is 6.9 KB long, well organised into 15 sections with 6 code examples: a thorough specification that gives an agent plenty to work with.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-10-18 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 74/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
ReviewOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review judged it risky: Instructs the agent to auto-install the pinned acpx binary locally without asking the user for permission first ("do not ask for install permission first unless policy explicitly requires it"), bypassing normal install approval.
AI review: risky
- Instructs the agent to auto-install the pinned acpx binary locally without asking the user for permission first ("do not ask for install permission first unless policy explicitly requires it"), bypassing normal install approval.
- Tells the agent to modify/delete the user's ~/.acpx/config.json agent overrides to "restore built-in defaults" without explicit user consent.
- Drives external harnesses by executing remote npx packages (e.g., npx -y @zed-industries/claude-agent-acp, npx @zed-industries/codex-acp) and automatically restarting the gateway, which can run unvetted remote code with reduced friction.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
acp-router compared with similar skills
All 4 of these similar skills score higher than acp-router; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| acp-router (this skill)by Cyandex | 74 | 0 | 8mo ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 44d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 44d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 143.4k | 6d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 143.4k | 6d ago | SKILL.md |
Frequently asked questions
- How do I install acp-router?
- Run
npx skills add Cyandex/ErnOS --skill acp-router. The install tabs above show the steps for each supported agent. - Which AI agents does acp-router work with?
- It is written for Claude Code, Gemini CLI and OpenAI Codex, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is acp-router safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review judged it risky: Instructs the agent to auto-install the pinned acpx binary locally without asking the user for permission first ("do not ask for install permission first unless policy explicitly requires it"), bypassing normal install approval. It declares no license and scores 74/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is acp-router still maintained?
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubname: acp-router description: Route plain-language requests for Pi, Claude Code, Codex, OpenCode, Gemini CLI, or ACP harness work into either ErnOS ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). user-invocable: false
ACP Harness Router
When user intent is "run this in Pi/Claude Code/Codex/OpenCode/Gemini (ACP harness)", do not use subagent runtime or PTY scraping. Route through ACP-aware flows.
Intent detection
Trigger this skill when the user asks ErnOS 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
Mode selection
Choose one of these paths:
- ErnOS ACP runtime path (default): use
sessions_spawn/ ACP runtime tools. - Direct
acpxpath (telephone game): useacpxCLI throughexecto drive the harness session directly.
Use direct acpx when one of these is true:
- user explicitly asks for direct
acpxdriving - ACP runtime/plugin path is unavailable or unhealthy
- the task is "just relay prompts to harness" and no ErnOS ACP lifecycle features are needed
Do not use:
subagentsruntime for harness control/acpcommand delegation as a requirement for the user- PTY scraping of pi/claude/codex/opencode/gemini CLIs when
acpxis 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"
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.
ErnOS ACP runtime path
Required behavior:
- Use
sessions_spawnwith:runtime: "acp"thread: truemode: "session"(unless user explicitly wants one-shot)
- Put requested work in
taskso the ACP session gets it immediately. - Set
agentIdexplicitly unless ACP default agent is known. - Do not ask user to run slash commands or CLI when this path works directly.
Example:
User: "spawn a test codex session in thread and tell it to say hi"
Call:
{
"task": "Say hi.",
"runtime": "acp",
"agentId": "codex",
"thread": true,
"mode": "session"
}
Thread spawn recovery policy
When the user asks to start a coding harness in a thread (for example "start a codex/claude/pi thread"), treat that as an ACP runtime request and try to satisfy it end-to-end.
Required behavior when ACP backend is unavailable:
- Do not immediately ask the user to pick an alternate path.
- First attempt automatic local repair:
- ensure plugin-local pinned acpx is installed in
extensions/acpx - verify
${ACPX_CMD} --version
- ensure plugin-local pinned acpx is installed in
- After reinstall/repair, restart the gateway and explicitly offer to run that restart for the user.
- Retry ACP thread spawn once after repair.
- Only if repair+retry fails, report the concrete error and then offer fallback options.
When offering fallback, keep ACP first:
- Option 1: retry ACP spawn after showing exact failing step
- Option 2: direct acpx telephone-game flow
Do not default to subagent runtime for these requests.
ACPX install and version policy (direct acpx path)
For this repo, direct acpx calls must follow the same pinned policy as the @ernos/acpx extension.
- Prefer plugin-local binary, not global PATH:
./extensions/acpx/node_modules/.bin/acpx
- Resolve pinned version from extension dependency:
node -e "console.log(require('./extensions/acpx/package.json').dependencies.acpx)"
- If binary is missing or version mismatched, install plugin-local pinned version:
cd extensions/acpx && npm install --omit=dev --no-save acpx@<pinnedVersion>
- Verify before use:
./extensions/acpx/node_modules/.bin/acpx --version
- If install/repair changed ACPX artifacts, restart the gateway and offer to run the restart.
- Do not run
npm install -g acpxunless the user explicitly asks for global install.
Set and reuse:
ACPX_CMD="./extensions/acpx/node_modules/.bin/acpx"
Direct acpx path ("telephone game")
Use this path to drive harness sessions without /acp or subagent runtime.
Rules
- Use
execcommands that call${ACPX_CMD}. - Reuse a stable session name per conversation so follow-up prompts stay in the same harness context.
- Prefer
--format quietfor clean assistant text to relay back to user. - Use
exec(one-shot) only when the user wants one-shot behavior. - Keep working directory explicit (
--cwd) when task scope depends on repo context.
Session naming
Use a deterministic name, for example:
oc-<harness>-<conversationId>
Where conversationId is thread id when available, otherwise channel/conversation id.
Command templates
Persistent session (create if missing, then prompt):
${ACPX_CMD} codex sessions show oc-codex-<conversationId> \
|| ${ACPX_CMD} codex sessions new --name oc-codex-<conversationId>
${ACPX_CMD} codex -s oc-codex-<conversationId> --cwd <workspacePath> --format quiet "<prompt>"
One-shot:
${ACPX_CMD} codex exec --cwd <workspacePath> --format quiet "<prompt>"
Cancel in-flight turn:
${ACPX_CMD} codex cancel -s oc-codex-<conversationId>
Close session:
${ACPX_CMD} codex sessions close oc-codex-<conversationId>
Harness aliases in acpx
piclaudecodexopencodegemini
Built-in adapter commands in acpx
Defaults are:
pi -> npx pi-acpclaude -> npx -y @zed-industries/claude-agent-acpcodex -> npx @zed-industries/codex-acpopencode -> npx -y opencode-ai acpgemini -> gemini
If ~/.acpx/config.json overrides agents, those overrides replace defaults.
Failure handling
acpx: command not found:- for thread-spawn ACP requests, install plugin-local pinned acpx in
extensions/acpximmediately - restart gateway after install and offer to run the restart automatically
- then retry once
- do not ask for install permission first unless policy explicitly requires it
- do not install global
acpxunless explicitly requested
- for thread-spawn ACP requests, install plugin-local pinned acpx in
- adapter command missing (for example
claude-agent-acpnot found):- for thread-spawn ACP requests, first restore built-in defaults by removing broken
~/.acpx/config.jsonagent overrides - then retry once before offering fallback
- if user wants binary-based overrides, install exactly the configured adapter binary
- for thread-spawn ACP requests, first restore built-in defaults by removing broken
NO_SESSION: run${ACPX_CMD} <agent> sessions new --name <sessionName>then retry prompt.- queue busy: either wait for completion (default) or use
--no-waitwhen async behavior is explicitly desired.
Output relay
When relaying to user, return the final assistant text output from acpx command result. Avoid relaying raw local tool noise unless user asked for verbose logs.
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
143.4kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
143.4kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
