Claude Skill
openclaw/acpx
acpx is a TypeScript-based headless CLI client for managing stateful Agent Client Protocol sessions, enabling command-line interaction with agent systems.
Overview
Repository
Install this Skill
npm install -g acpx@latestRegistry
npm install -g acpx@latestnpx acpx@latestnpx acpx@latest --skill install acpx --agent codex --scope usernpx acpx@latest codex "fix the failing tests"npx acpx@latest claude "refactor the auth module"
Summary
acpx is a headless CLI client designed for managing stateful Agent Client Protocol (ACP) sessions, providing a command-line interface to interact with agent-based systems.
无头命令行界面客户端,用于支持有状态的代理客户端协议(ACP)会话
Key features
- Headless CLI client for ACP sessions
- Manages stateful protocol sessions
- TypeScript implementation
- Command-line interface for agent interaction
Use cases
- Interacting with agent-based systems via CLI
- Managing persistent ACP sessions
- Automating agent client protocol workflows
- Integrating ACP into headless environments
README excerpt
<p align="center"> <img src="acpx_banner.svg" alt="acpx banner" width="100%" /> </p> # acpx [](https://www.npmjs.com/package/acpx) [](https://www.npmjs.com/package/acpx) [](https://github.com/openclaw/acpx/actions/workflows/ci.yml) [](https://opensource.org/licenses/MIT) [](https://nodejs.org) > ⚠️ `acpx` is in alpha and the CLI/runtime interfaces are likely to change. Anything you build downstream of this might break until it stabilizes. > ACP coverage status: see [ACP Spec Coverage Roadmap](docs/2026-02-19-acp-coverage-roadmap.md). Your agents love acpx! 🤖❤️ They hate having to scrape characters from a PTY session 😤 `acpx` is a headless CLI client for the [Agent Client Protocol (ACP)](https://agentclientprotocol.com), so AI agents and orchestrators can talk to coding agents over a structured protocol instead of PTY scraping. One command surface for Pi, OpenClaw ACP, Codex, Claude, and other ACP-compatible agents. Built for agent-to-agent communication over the command line. - **Persistent sessions**: multi-turn conversations that survive across invocations, scoped per repo - **Named sessions**: run parallel workstreams in the same repo (`-s backend`, `-s frontend`) - **Prompt queueing**: submit prompts while one is already running, they execute in order - **Cooperative cancel command**: `cancel` sends ACP `session/cancel` via queue IPC without tearing down session state - **Soft-close lifecycle**: close sessions without deleting history from disk - **Queue owner