Xpersona
O

Orchestrix Guide

CLAWHUB · Unverified

Orchestrix multi-agent workflow guide for OpenClaw. Defines two operational phases: (1) Planning Phase — sequential agent orchestration in a single tmux wind... Skill: Orchestrix Guide Owner: dorayo Summary: Orchestrix multi-agent workflow guide for OpenClaw. Defines two operational phases: (1) Planning Phase — sequential agent orchestration in a single tmux wind... Tags: latest:3.0.0 Version history: v3.0.0 | 2026-03-30T14:23:45.781Z | auto **Major update: tmux command protocol and completion detection fully revised, plus new test phase.** - Standardized tmux command protoc

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170vkqknc65p9m708z2yhk5p583xz4c:orchestrix-guide
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-dorayo-orchestrix-guide/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

102,333 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: orchestrix-guide
description: "Orchestrix multi-agent workflow guide for OpenClaw. Defines two operational phases: (1) Planning Phase — sequential agent orchestration in a single tmux window from project-brief through PRD, UX spec, architecture, to PO shard; (2) Development Phase — automated multi-window tmux collaboration via HANDOFF. Includes tmux send-keys protocol, task completion detection, and supplementary flows (bug fix, iteration, brownfield, change management)."
license: MIT
metadata:
  author: dorayo
  version: "3.0.0"
  homepage: "https://orchestrix-mcp.youlidao.ai"
  openclaw:
    emoji: "\U0001F4D6"
    os: ["macos", "linux"]
---

# Orchestrix Guide — OpenClaw 操作手册

> **本文档是 OpenClaw 操控 Orchestrix Agent 的唯一操作手册。** 严格按照本文档的阶段和协议执行,不得跳步。

---

## 一、架构与原理

```
OpenClaw (自动化控制层,接收用户指令: Telegram / WhatsApp / Slack)
    ↓
tmux (终端复用层) ← OpenClaw 通过 tmux send-keys 发送命令
    ↓
Claude Code - cc (AI 编码助手,交互式 CLI,无 HTTP API)
    ↓ 通过 /o 激活 Agent
Orchestrix MCP Server → 返回 Agent 配置和工作流
    ↓
Claude Code 执行 Agent 工作流 → 输出文档/代码/HANDOFF
```

**关键约束**:Claude Code (`cc`) 只接受终端标准输入。OpenClaw 唯一的操控方式是 `tmux send-keys`。

---

## 二、tmux 操作协议(铁律)

### 2.1 指令发送三步模式(MANDATORY)

> **向 Claude Code 发送任何内容时,必须严格执行三步。违反此规则会导致内容卡在输入框中不被提交。**

```bash
WIN="{session}:{window}"

# Step 1: 发送内容(粘贴到 Claude Code 输入框)
tmux send-keys -t $WIN "内容"

# Step 2: 等待 TUI 处理粘贴(必须!)
sleep 1

# Step 3: 提交输入
tmux send-keys -t $WIN Enter
```

**绝对禁止**:`tmux send-keys -t $WIN "内容" Enter`(合并写法)。Claude Code 的 TUI 需要 1 秒来处理粘贴文本,如果 Enter 到达时 TUI 还没准备好,内容会卡在输入框里。

#### 多行内容发送

```bash
# 使用 heredoc 发送多行内容
tmux send-keys -t $WIN "$(cat <<'EOF'
这里是多行内容
第二行
第三行
EOF
)"
sleep 1
tmux send-keys -t $WIN Enter
```

### 2.2 /clear 使用规则

**不要**每次切换 Agent 都 `/clear`。只在以下场景使用:

| 场景 | 是否需要 /clear |
|------|---------------|
| 同一 Agent 连续对话中追加指令 | ❌ 不需要 |
| 切换到新 Agent(跨阶段重新激活) | ✅ 需要 |
| Agent 加载失败,需要重试 | ✅ 需要 |
| Agent 卡住超过 5 分钟无输出 | ✅ 需要 |
| 错误恢复 | ✅ 需要 |

**执行 /clear 的三步模式**:
```bash
tmux send-keys -t $WIN "/clear"
sleep 1
tmux send-keys -t $WIN Enter
sleep 2  # 等待上下文清空
```

### 2.3 Agent 激活序列

当需要切换到新 Agent 时的完整流程:

```bash
WIN="{session}:{window}"

# Step 1: 清空上下文(仅在跨 Agent 切换时)
tmux send-keys -t $WIN "/clear"
sleep 1
tmux send-keys -t $WIN Enter
sleep 2

# Step 2: 激活目标 Agent
tmux send-keys -t $WIN "/o {agent}"
sleep 1
tmux send-keys -t $WIN Enter
sleep 10  # Agent 加载需要更长时间(MCP 通信)

# Step 3: 发送任务指令
tmux send-keys -t $WIN "*{command}"
sleep 1
tmux send-keys -t $WIN Enter
```

### 2.4 等待时间参考

| 操作 | 等待时间 | 原因 |
|------|---------|------|
| `cc` 启动后 | 12s | 等待 Claude Code 初始化 + 信任对话框 |
| `/clear` 后 | 2s | 等待上下文清空 |
| `/o {agent}` 后 | 10-15s | 等待 Agent 通过 MCP 加载配置 |
| `*command` 后 | 按完成检测 | 见下方 §2.5 |

### 2.5 任务完成检测(四级优先级)

Agent 任务执行时间不确定。**按优先级依次尝试**:

#### P1:检测完成消息(最高优先级)

```bash
# Claude Code 执行完毕后显示 "Xxxed for <duration>"(如 "Baked for 31s", "Worked for 2m")
tmux capture-pane -t {session}:{window} -p -S -10 | grep -qE '[A-Z][a-z]*ed for [0-9]'
```

这是最可靠的完成信号。

#### P2:检测预期输出文件

```bash

_meta.json

{
  "ownerId": "kn73pwrsvhfrsmqqd9w2k2ts9n82syq6",
  "slug": "orchestrix-guide",
  "version": "3.0.0",
  "publishedAt": 1774880625781
}

skill-card.md

## Description:

Orchestrix Guide provides an OpenClaw operating guide for coordinating Orchestrix agents through Claude Code and tmux across planning, development, testing, bug-fix, iteration, brownfield, and change-management workflows.

This skill is ready for commercial/non-commercial use.

## Publisher:

[dorayo](https://clawhub.ai/user/dorayo)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and automation operators use this skill to guide OpenClaw-driven Orchestrix workflows that create planning documents, coordinate multi-agent development handoffs, run epic smoke tests, and handle bug-fix or change-management paths.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The workflow can bypass normal Claude Code permission checks during code-changing tasks.

Mitigation: Keep normal Claude Code approvals enabled and avoid the --dangerously-skip-permissions alias.

Risk: The workflow can auto-accept folder trust and approval prompts in repositories that have not been inspected.

Mitigation: Use the skill only in an isolated project or container and inspect repositories before trusting them.

Risk: tmux automation can send commands to the wrong session, window, or project directory if configured incorrectly.

Mitigation: Verify the target session, window, and project path before running commands, and review generated file changes before committing.

## Reference(s):

- [Orchestrix MCP Homepage](https://orchestrix-mcp.youlidao.ai)
- [Claude Code Download](https://claude.ai/download)
- [ClawHub Skill Page](https://clawhub.ai/dorayo/skills/orchestrix-guide)
- [ClawHub Publisher Profile](https://clawhub.ai/user/dorayo)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with bash snippets, workflow diagrams, command tables, and operational checklists.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Commands and guidance are intended for macOS or Linux environments with Claude Code, tmux, git, and optional jq.]

## Skill Version(s):

3.0.0 (source: server release evidence and artifact frontmatter)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Orchestrix Guide and adjacent AI workflows.