← 返回 Skills 市场
Event Orchestrator
作者
pagoda111king
· GitHub ↗
· v0.1.0
· MIT-0
107
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install event-orchestrator
功能描述
基于事件驱动架构的多技能编排器,支持事件发布订阅、中间件链处理及状态机管理,实现复杂业务流程协同。
使用说明 (SKILL.md)
event-orchestrator 技能
描述
基于事件驱动架构 (EDA) 的技能编排器,支持多技能协同、事件订阅发布、中间件链处理。
版本
v0.1.0
作者
王的奴隶 · 严谨专业版
创建日期
2026-04-10
功能
- 事件总线: 统一的事件发布/订阅机制,支持事件验证和历史记录
- 中间件链: 支持日志、验证、重试、速率限制等中间件
- 状态管理: 编排任务状态机(pending → running → completed/failed)
- 技能编排: 协调多个技能按事件触发执行
使用场景
- 多技能协同工作流
- 事件驱动的任务触发
- 技能执行日志追踪
- 错误处理与重试
- 复杂业务流程编排
命令
# 发布事件
openclaw event publish \x3Cevent-name> [payload]
# 订阅事件
openclaw event subscribe \x3Cevent-name> \x3Chandler>
# 查看事件历史
openclaw event history [limit]
# 查看编排状态
openclaw orchestrator status
快速开始
1. 安装
cd ~/.openclaw/skills/event-orchestrator
npm install
2. 基本使用
const { EventOrchestrator } = require('./src/index');
const orchestrator = new EventOrchestrator();
// 订阅事件
orchestrator.subscribe('skill.completed', (event) => {
console.log('技能完成:', event.payload.skillId);
});
// 发布事件
await orchestrator.publish('skill.completed', {
skillId: 'my-skill',
result: { success: true }
});
3. 添加中间件
const { LoggingMiddleware, RetryMiddleware } = require('./src/index');
orchestrator.useMiddleware(new LoggingMiddleware());
orchestrator.useMiddleware(new RetryMiddleware({ maxRetries: 3 }));
设计模式
- 事件驱动架构 (EDA): 解耦事件生产者和消费者
- Middleware 链模式: 灵活的事件处理管道
- 状态机模式: 严格的状态转换控制
六维评估
| 维度 | 得分 | 说明 |
|---|---|---|
| T (技术深度) | 0.75 | 测试覆盖率 94.14% |
| C (认知增强) | 0.65 | 提供编排可视化 |
| O (编排能力) | 0.80 | 核心优势 |
| E (进化能力) | 0.70 | 支持自优化触发器 |
| M (市场验证) | 0.40 | 待 ClawHub 上架 |
| U (用户体验) | 0.70 | CLI + 状态查询 |
| 平均 | 0.67 | B 级 |
测试
npm test
# 73 个测试用例,覆盖率 94.14%
文件结构
event-orchestrator/
├── SKILL.md # 技能说明
├── README.md # 详细文档
├── package.json # 项目配置
├── src/
│ ├── index.js # 主入口
│ ├── event-bus.js # 事件总线
│ ├── middleware-chain.js # 中间件链
│ └── state-machine.js # 状态机
├── tests/ # 测试文件
└── docs/ # 文档
ClawHub 上架状态
- 准备上架材料
- 提交审核
- 上架完成
许可证
MIT
安全使用建议
This skill appears coherent and implements the described orchestrator. Before installing: (1) run the tests locally (npm test) in an isolated environment, (2) inspect package-lock.json for unexpected dependencies, and (3) review src/*.js for any network calls or use of eval if you plan to run it in production. Note the registry entry had no homepage while clawhub.json contains a homepage URL — if provenance matters, verify the author/repository independently. Finally, be aware that installing runs npm (which will contact the npm registry); run it where you control network/permissions if that's a concern.
功能分析
Type: OpenClaw Skill
Name: event-orchestrator
Version: 0.1.0
The event-orchestrator skill is a well-implemented framework for event-driven architecture (EDA) and task orchestration. The code in src/event-bus.js, src/middleware-chain.js, and src/state-machine.js follows standard design patterns (Middleware, State Machine) and includes robust features like schema validation and rate limiting. The bundle is extensively documented and includes a comprehensive test suite with over 94% coverage, as evidenced by the files in the tests/ and coverage/ directories. No indicators of malicious intent, data exfiltration, or prompt injection were found.
能力标签
能力评估
Purpose & Capability
Name/description match the included source files (src/event-bus.js, middleware-chain.js, state-machine.js, src/index.js). No required env vars, binaries, or config paths that are unrelated to an orchestrator are declared.
Instruction Scope
SKILL.md usage and examples are limited to requiring the local module, subscribing/publishing events, and adding middleware. The runtime instructions ask to run `npm install` in the skill folder and demonstrate using the local API; they do not instruct the agent to read unrelated files, exfiltrate data, or call unknown external endpoints. A minor note: SKILL.md lists CLI-style commands (openclaw event ...) but the package does not include a published CLI wrapper — these appear to be usage conventions rather than hidden behavior.
Install Mechanism
No registry install spec was provided; the SKILL.md recommends running `npm install` in the skill directory. package.json has only devDependencies (jest, eslint) and no external install URLs or archive downloads. There are no extract-from-URL installs or non-standard binary placements.
Credentials
The skill declares no required environment variables, no primary credential, and no config path access. The code and docs do not reference secrets or unrelated service tokens.
Persistence & Privilege
Registry flags are default (always:false, user-invocable:true, model invocation allowed). The skill does not request persistent system-wide privileges, nor does it indicate modifying other skills or global agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install event-orchestrator - 安装完成后,直接呼叫该 Skill 的名称或使用
/event-orchestrator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
event-orchestrator v0.1.0 初始发布:
- 提供基于事件驱动架构的技能编排能力,支持事件总线和事件发布/订阅
- 引入中间件链机制,支持日志、验证、重试等自定义中间件功能
- 集成任务状态机,实现任务从 pending 到 completed/failed 的管理
- 支持多技能协同及复杂流程编排
- 提供 CLI 命令工具与测试用例,覆盖率达 94.14%
元数据
常见问题
Event Orchestrator 是什么?
基于事件驱动架构的多技能编排器,支持事件发布订阅、中间件链处理及状态机管理,实现复杂业务流程协同。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 107 次。
如何安装 Event Orchestrator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install event-orchestrator」即可一键安装,无需额外配置。
Event Orchestrator 是免费的吗?
是的,Event Orchestrator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Event Orchestrator 支持哪些平台?
Event Orchestrator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Event Orchestrator?
由 pagoda111king(@pagoda111king)开发并维护,当前版本 v0.1.0。
推荐 Skills