← Back to Skills Marketplace
pagoda111king

Event Orchestrator

by pagoda111king · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
107
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install event-orchestrator
Description
基于事件驱动架构的多技能编排器,支持事件发布订阅、中间件链处理及状态机管理,实现复杂业务流程协同。
README (SKILL.md)

event-orchestrator 技能

描述

基于事件驱动架构 (EDA) 的技能编排器,支持多技能协同、事件订阅发布、中间件链处理。

版本

v0.1.0

作者

王的奴隶 · 严谨专业版

创建日期

2026-04-10

功能

  1. 事件总线: 统一的事件发布/订阅机制,支持事件验证和历史记录
  2. 中间件链: 支持日志、验证、重试、速率限制等中间件
  3. 状态管理: 编排任务状态机(pending → running → completed/failed)
  4. 技能编排: 协调多个技能按事件触发执行

使用场景

  • 多技能协同工作流
  • 事件驱动的任务触发
  • 技能执行日志追踪
  • 错误处理与重试
  • 复杂业务流程编排

命令

# 发布事件
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

Usage Guidance
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.
Capability Analysis
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.
Capability Tags
crypto
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install event-orchestrator
  3. After installation, invoke the skill by name or use /event-orchestrator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
event-orchestrator v0.1.0 初始发布: - 提供基于事件驱动架构的技能编排能力,支持事件总线和事件发布/订阅 - 引入中间件链机制,支持日志、验证、重试等自定义中间件功能 - 集成任务状态机,实现任务从 pending 到 completed/failed 的管理 - 支持多技能协同及复杂流程编排 - 提供 CLI 命令工具与测试用例,覆盖率达 94.14%
Metadata
Slug event-orchestrator
Version 0.1.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Event Orchestrator?

基于事件驱动架构的多技能编排器,支持事件发布订阅、中间件链处理及状态机管理,实现复杂业务流程协同。 It is an AI Agent Skill for Claude Code / OpenClaw, with 107 downloads so far.

How do I install Event Orchestrator?

Run "/install event-orchestrator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Event Orchestrator free?

Yes, Event Orchestrator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Event Orchestrator support?

Event Orchestrator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Event Orchestrator?

It is built and maintained by pagoda111king (@pagoda111king); the current version is v0.1.0.

💬 Comments