360 Secure SkillHub
360 安全技能中心

ACP Orchestrator

基于 acpx CLI 的多 Agent 编排 Skill:可发现并健康检查本地 Agent,运行单个、并行或批量任务,执行代码审查、重构、测试生成、调试等预设工作流,支持 JSON 输出与状态监控;依赖 acpx 及可选的各 Agent CLI。

qriiz112
qriiz112
热度 78.65
最近更新 2026-05-11 17:27:43
分类:开发依赖:代码执行 / 读写文件 / 内部调用大模型应用场景:代码审查 / 代码生成 / 调试排错 / 工作流 ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add acpx-orchestrator
Metadata
name
acpx
description
Enhanced terminal AI agent orchestrator with parallel execution, health checks, and workflow presets.
metadata
{"version":"4.0.0","author":"qriiz112","email":"christianovianto@gmail.com","license":"MIT"}
requires
{"bins":["acpx"],"optional":["opencode","pi","kimi","kilo","codex","claude"]}

acpx v4.0 - Agent Orchestrator

Enhanced CLI wrapper di atas acpx dengan fitur orchestration: parallel, health check, workflows.

Quick Start

# Discover agents
acpx discover

# Health check
acpx health

# Run single agent
acpx run opencode "Fix bug"

# Run workflow
acpx workflow review

Commands

Command Description Example
discover List installed agents acpx discover
health Test all agents acpx health
run Run single agent acpx run opencode "task"
parallel Run agents parallel from file acpx parallel tasks.txt
batch Run agents sequential from file acpx batch tasks.txt
watch Watch agent status acpx watch opencode
kill Kill agent sessions acpx kill opencode
workflow Run preset workflow acpx workflow review
json Run with JSON output acpx json opencode "task" | jq
exec Direct acpx passthrough acpx exec opencode "task"

Workflows

Workflow Description
review Code review dengan JSON output
refactor Safe refactoring dengan diff
test Generate pytest tests
debug Deep investigation (600s timeout)

Batch File Format

# tasks.txt
opencode exec 'Fix auth.py'
pi exec 'Create tests'
kimi --print --yolo --prompt 'Review changes'
acpx parallel tasks.txt  # Run parallel
acpx batch tasks.txt     # Run sequential

Spawn via OpenClaw

// Health check
sessions_spawn(
  task="acpx health",
  label="health-check",
  runtime="subagent",
  mode="run"
)

// Run workflow
sessions_spawn(
  task="acpx workflow review",
  label="review",
  runtime="subagent",
  mode="run"
)

// Parallel tasks
sessions_spawn(
  task="acpx parallel tasks.txt",
  label="parallel-jobs",
  runtime="subagent",
  mode="run"
)

// JSON output
sessions_spawn(
  task="acpx json opencode 'List functions'",
  label="json-task",
  runtime="subagent",
  mode="run"
)

Helper Scripts

  • acpx - Main orchestrator CLI
  • acpx-batch - Legacy sequential runner
  • acpx-workflow - Legacy workflow presets
  • acpx-discover - Legacy discovery

Changelog

  • v4.0.0 - Enhanced orchestrator: parallel, health check, workflows, json output
  • v3.1.0 - Simple CLI wrapper
  • v3.0.0 - Generic auto-discovery
  • v2.0.0 - Async multi-agent patterns
  • v1.0.0 - Initial wrapper