acp-router
Route plain-language requests for Pi, Claude Code, Cursor, Copilot, NexisClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or…
Skill by greench-ai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/greench-ai-acp-router-3f17f0
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/acp-router
What's inside
- Skill name
acp-router- Description
- Route plain-language requests for Pi, Claude Code, Cursor, Copilot, NexisClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either NexisClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.
- License
- MIT
- Instructions
- 244 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# ACP Harness Router
When user intent is "run this in Pi/Claude Code/Cursor/Copilot/NexisClaw/OpenCode/Gemini/Qwen/Kiro/Kimi/iFlow/Droid/Kilocode (ACP harness)", do not use subagent runtime or PTY scraping. Route through ACP-aware flows.
Codex is special: plain chat/conversation binding and control should use the native Codex app-server plugin (`/codex bind`, `/codex threads`, `/codex resume`) instead of the default ACP path. Use ACP for Codex only when the user explicitly names ACP/`/acp`/acpx, or when spawning background child sessions through `sessions_spawn` where a native Codex runtime spawn is not available yet.
## Intent detection
Trigger this skill when the user asks NexisClaw to:
- run something in Pi / Claude Code / Cursor / Copilot / NexisClaw / OpenCode / Gemini / Qwen / Kiro / Kimi / iFlow / Droid / Kilocode
- run Codex explicitly through ACP, `/acp`, or acpx
- 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 ACP harness work, read this skill first in the same turn.
- After reading, follow `NexisClaw ACP runtime path` below; do not use `message(action="thread-create")` for ACP harness thread spawn.
## Mode selection
Choose one of these paths:
1. NexisClaw 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 NexisClaw 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 supported ACP harness CLIs when `acpx` is available
## AgentId mapping
Use these defaults when user names a harness directly:
- "pi" -> `agentId: "pi"`
- "NexisClaw" -> `agentId: "NexisClaw"`
- "claude" or "claude code" -> `agentId: "claude"`
- "codex" -> `agentId: "codex"` only for explicit ACP/acpx requests or background ACP runtime spawn
- "copilot" or "github copilot" -> `agentId: "copilot"`
- "cursor" or "cursor cli" -> `agentId: "cursor"`
- "droid" or "factory droid" -> `agentId: "droid"`
- "opencode" -> `agentId: "opencode"`
- "gemini" or "gemini cli" -> `agentId: "gemini"`
- "iflow" -> `agentId: "iflow"`
- "kilocode" -> `agentId: "kilocode"`
- "kimi" or "kimi cli" -> `agentId: "kimi"`
- "kiro" or "kiro cli" -> `agentId: "kiro"`
- "qwen" or "qwen code" -> `agentId: "qwen"`
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.
## NexisClaw 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.
Example:
User: "spawn a test codex ACP session in thread and tell it to say hi"
Call:
```json
{
"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, treat that as an ACP runtime request and try to satisfy it end-to-end.
Required behavior when ACP backend is unavailable:
1. Do not immediately ask the user to pick an alternate path.
2. First attempt automatic local repair:
- ensure plugin-local pinned acpx is installed in the ACPX plugin package
- verify `${ACPX_CMD} --version`
3. After reinstall/repair, restart the gateway and explicitly offer to run that restart for the user.
4. Retry ACP thread spawn once after repair.
5. 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 `@NexisClaw/acpx` extension package.
1. Prefer plugin-local binary, not global PATH:From greench-ai/nexisclaw, MIT.
More from greench-ai/nexisclaw
- 0.442score
telegram-crabbox-e2e-proof
greench-ai
Use when reviewing, reproducing, or proving NexisClaw Telegram behavior with a real Telegram user on Crabbox, including PR review workflows that need an…
SkillCFreshness: CClaude Code +9 - 0.442score
browser-automation
greench-ai
Use when controlling web pages with the NexisClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.
SkillCFreshness: CClaude Code +9 - 0.440score
clawsweeper
greench-ai
Use for all ClawSweeper work: NexisClaw issue/PR sweep reports, commit-review reports, repair jobs, cloud fix PRs, @clawsweeper maintainer mention commands…
SkillCFreshness: CClaude Code +9 - 0.440score
tag-duplicate-prs-issues
greench-ai
Use gitcrawl to search duplicate NexisClaw PRs/issues, group related work in prtags, and sync duplicate state to GitHub.
SkillCFreshness: CClaude Code +9 - 0.440score
gitcrawl
greench-ai
Use gitcrawl for NexisClaw issue and PR archive search, duplicate discovery, related-thread clustering, and local GitHub mirror freshness checks.
SkillCFreshness: CClaude Code +9 - 0.437score
security-triage
greench-ai
Triage NexisClaw security advisories, drafts, and GHSA reports with shipped-tag and trust-model proof.
SkillCFreshness: CClaude Code +9 - 0.437score
discord-clawd
greench-ai
Use to talk to the Discord-backed NexisClaw agent/session; not for archive search.
SkillCFreshness: CClaude Code +9 - 0.437score
optimizetests
greench-ai
Optimize NexisClaw slow tests, imports, misplaced coverage, and CI wall time without dropping coverage.
SkillCFreshness: CClaude Code +9 - 0.432score
wiki-maintainer
greench-ai
Maintain the NexisClaw memory wiki vault with deterministic pages, managed blocks, and source-backed updates.
SkillCFreshness: CClaude Code +9 - 0.431score
crabbox
greench-ai
Use Crabbox for NexisClaw remote Linux validation.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 12, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/greench-ai/nexisclaw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from greench-ai
- 0.444score
qqbot-channel
greench-ai
QQ channel management skill.
SkillCFreshness: CClaude Code +9 - 0.443score
openclaw-test-heap-leaks
greench-ai
Investigate `pnpm test` memory growth, Vitest worker OOMs, and suspicious RSS increases in OpenClaw using the `scripts/test-parallel.mjs` heap snapshot tooling.
SkillCFreshness: CClaude Code +9 - 0.442score
browser-automation
greench-ai
Use when controlling web pages with the FirstNexus browser tool, especially multi-step flows, login checks, tab management, or recovery from stale…
SkillCFreshness: CClaude Code +9 - 0.442score
browser-automation
greench-ai
Use when controlling web pages with the GreenchClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale…
SkillCFreshness: CClaude Code +9 - 0.442score
telegram-crabbox-e2e-proof
greench-ai
Use when reviewing, reproducing, or proving FirstNexus Telegram behavior with a real Telegram user on Crabbox, including PR review workflows that need an…
SkillCFreshness: CClaude Code +9 - 0.442score
telegram-crabbox-e2e-proof
greench-ai
Use when reviewing, reproducing, or proving NexisClaw Telegram behavior with a real Telegram user on Crabbox, including PR review workflows that need an…
SkillCFreshness: CClaude Code +9
Cite this page
acp-router skill. Agent Mart. https://agentmart.dev/skills/greench-ai-acp-router-3f17f0 (last updated 2026-10-24)