← 返回
未分类 中文

Acpx Coding Default

Use direct acpx CLI via exec as the default coding execution path for Codex- and Claude-focused agents.
通过 exec 直接使用 acpx CLI,作为 Codex 与 Claude 代理的默认代码执行路径。
chaoyang78
未分类 clawhub v1.0.0 1 版本 99547.5 Key: 无需
★ 0
Stars
📥 220
下载
💾 1
安装
1
版本
#latest

概述

acpx-coding-default

Use direct acpx CLI through exec for coding work.

Binary

Always prefer the plugin-local binary:

/opt/homebrew/lib/node_modules/openclaw/extensions/acpx/node_modules/.bin/acpx

Core rules

  • acpx is invoked through exec; it is not a separate built-in tool.
  • For coding, debugging, refactoring, test-running, and repo tasks, default to direct acpx.
  • Always pass explicit --cwd.
  • Prefer --format quiet unless verbose output is requested.
  • Reuse named sessions when continued context is useful.
  • If acpx fails, report the exact failing command and reason before falling back.
  • If the task explicitly asks for ACP runtime thread/session behavior, use ACP runtime instead of this skill.

Adapter defaults

  • Codex-focused agent -> codex
  • Claude-focused agent -> claude

Templates

Codex one-shot

cd "<repo>" && /opt/homebrew/lib/node_modules/openclaw/extensions/acpx/node_modules/.bin/acpx codex exec "<prompt>"

Claude one-shot

cd "<repo>" && /opt/homebrew/lib/node_modules/openclaw/extensions/acpx/node_modules/.bin/acpx claude exec "<prompt>"

Codex session

cd "<repo>" && /opt/homebrew/lib/node_modules/openclaw/extensions/acpx/node_modules/.bin/acpx codex sessions show <name> \
  || /opt/homebrew/lib/node_modules/openclaw/extensions/acpx/node_modules/.bin/acpx codex sessions new --name <name>

cd "<repo>" && /opt/homebrew/lib/node_modules/openclaw/extensions/acpx/node_modules/.bin/acpx codex -s <name> "<prompt>"

Claude session

cd "<repo>" && /opt/homebrew/lib/node_modules/openclaw/extensions/acpx/node_modules/.bin/acpx claude sessions show <name> \
  || /opt/homebrew/lib/node_modules/openclaw/extensions/acpx/node_modules/.bin/acpx claude sessions new --name <name>

cd "<repo>" && /opt/homebrew/lib/node_modules/openclaw/extensions/acpx/node_modules/.bin/acpx claude -s <name> "<prompt>"

Failure handling

  • NO_SESSION: create the named session, then retry once.
  • Binary missing/version issue: check plugin-local binary first.
  • Adapter/toolchain missing: report the exact missing command.
  • Do not silently switch to another execution path and pretend acpx was used.

eck plugin-local binary first.

  • Adapter/toolchain missing: report the exact missing command.
  • Do not silently switch to another execution path and pretend acpx was used.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-21 23:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Editorial Chief Workflow

chaoyang78
协调和管理编辑制作,定义目标,制定受众/渠道策略,分配专业人员,确保质量,交付成果。
★ 0 📥 301

Acp Harness Delegation

chaoyang78
通过 ACP 运行时委托 acpx 支持的 harness(Claude Code、Codex 等)的标准协议。触发词:调用 Claude Code、通过 ACP 调用、通过 acpx 调用、delegation to claude/cod
★ 0 📥 341

Opencli

chaoyang78
使用本地安装的 OpenCLI 源码路径 `/Users/ShiXin/Documents/Workspace/github-project/opencli` 作为主要的 opencli技能,在用户执行时加载...
★ 0 📥 581