Xpersona
M

Meta Skill Weaver

CLAWHUB · Unverified

Use this skill when orchestrating complex multi-step tasks. Provides first-principles task decomposition, EventBus event system, multi-skill collaboration wi... Skill: Meta Skill Weaver Owner: pagoda111king Summary: Use this skill when orchestrating complex multi-step tasks. Provides first-principles task decomposition, EventBus event system, multi-skill collaboration wi... Tags: L2:0.3.0, latest:2.5.0, meta-skill:0.3.0, orchestration:0.3.0 Version history: v2.5.0 | 2026-04-27T02:02:41.409Z | user v2.5.0: Added MetricsMiddleware and FeedbackMiddleware. All 54 tests pass. v2.

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K 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 s1746mhemcg917609xsdwamt1183gyw3:meta-skill-weaver
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  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-pagoda111king-meta-skill-weaver/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

149,907 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: meta-skill-weaver
description: Use this skill when orchestrating complex multi-step tasks. Provides first-principles task decomposition, EventBus event system, multi-skill collaboration with parallel execution, timeout control, and interrupt recovery. v2.4 adds MetricsMiddleware with auto-optimization triggers and FeedbackMiddleware for user ratings. v2.3 includes 54+ Jest tests for production stability.
origin: meta-skill
version: 2.4.0
tags:
  - orchestration
  - workflow
  - event-driven
  - infrastructure
  - meta-skill
tools:
  - Read
  - Write
  - Bash
  - Exec
model: sonnet
---

# Meta Skill Weaver - 技能编织器

**版本**:v2.4.0  
**定位**:L2 编排层 - 多技能协作编排引擎  
**状态**:✅ 生产就绪(54 个新增测试用例,MetricsMiddleware + FeedbackMiddleware)

---

## 📖 技能说明

Meta Skill Weaver 是一款企业级 AI 技能编排引擎,专为复杂多步骤任务设计。它通过第一性原理任务分解器将宏大目标拆解为原子任务,利用 EventBus 事件系统实现多技能松耦合协作,支持并行执行、超时控制、中断恢复。v2.3 新增 35 个 Jest 测试用例(覆盖率 62%),确保生产级稳定性。

**核心价值**:让 AI 从"单点响应"升级为"系统协作",轻松驾驭研究→分析→报告等长程任务,是构建企业级 AI 工作流的必备基础设施。

**适用场景**:
- ✅ 多步骤研究报告(资料收集→数据分析→报告撰写)
- ✅ 跨技能协作任务(同时调用 3+ 技能)
- ✅ 长时中断恢复(支持 15 分钟超时控制)
- ✅ 事件驱动工作流(基于 EventBus 订阅/发布)
- ✅ 企业级任务编排(7 个内置中间件)

---

## 🎯 使用场景

### 场景 1:多步骤研究报告

**任务**:「研究 AI Agent 市场趋势,生成分析报告」

**编排流程**:
```
1. 资料收集(web_search, browser)
   ↓
2. 数据分析(xlsx, data-analysis)
   ↓
3. 报告撰写(copywriting, docx)
   ↓
4. 质量审查(quality-checker)
   ↓
5. 发布报告(publish)
```

**使用方式**:
```bash
meta-skill-weaver start \
  --task="研究 AI Agent 市场趋势" \
  --skills="web_search,browser,xlsx,copywriting,docx" \
  --timeout=15m \
  --parallel=true
```

**预期结果**:
- 自动分解为 5 个子任务
- 并行执行可并行的任务
- 自动追踪每个子任务进度
- 支持中断后从断点恢复

---

### 场景 2:跨技能协作任务

**任务**:「分析销售数据,生成 PPT 报告」

**编排流程**:
```
1. 读取 Excel 数据(xlsx)
   ↓
2. 数据分析(data-analysis)
   ↓
3. 生成图表(chart-generator)
   ↓
4. 创建 PPT(pptx)
   ↓
5. 导出 PDF(pdf)
```

**使用方式**:
```bash
meta-skill-weaver start \
  --task="分析销售数据生成 PPT" \
  --skills="xlsx,data-analysis,chart-generator,pptx,pdf" \
  --output="sales-report.pdf"
```

---

### 场景 3:长时中断恢复

**任务**:「完成市场研究报告(可能需要 2 小时)」

**中断恢复流程**:
```
1. 启动任务(15 分钟超时)
   ↓
2. 任务中断(用户暂停/超时)
   ↓
3. 自动保存状态到虚拟路径
   ↓
4. 用户恢复:meta-skill-weaver resume <task-id>
   ↓
5. 从断点继续,已完成子任务不重复执行
```

---

## 💰 定价方案

| 版本 | 价格 | 功能 | 适用对象 |
|------|------|------|----------|
| **个人版** | ¥99/年 | 基础任务编排、3 技能并发、中断恢复、虚拟路径隔离 | 个人开发者、研究者 |
| **商业版** | ¥999/年 | 个人版 + EventBus 事件系统、7 中间件、35 单元测试、优先支持 | 小型团队、创业公司 |
| **企业版** | ¥9999/年 | 商业版 + 自定义中间件、私有部署、SLA 保障、专属技术支持 | 中大型企业、系统集成商 |

---

## ❓ FAQ(常见问题)

**Q1: Meta Skill Weaver 适合什么类型的任务?**  
A: 适合需要 3+ 步骤、调用多个技能、耗时超过 5 分钟的复杂任务。简单查询类任务无需使用。

**Q2: 任务中断后如何恢复?**  
A: 系统自动保存任务状态到虚拟路径,调用`resume-task`命令即可从断点继续,已完成的子任务不会重复执行。

**Q3: EventBus 事件系统如何使用?**  
A: 通过`bus.on('事件名', 回调)`订阅事件,`bus.emit('事件名', 数据)`发布事件。支持事件拦截器和上下文保持。

**Q4: 如何监控任务执行进度?**  
A: 调用`get-task-status`命令返回 6 种状态(pending/running/paused/completed/failed/cancelled)及每个子任务的详细进度。

**Q5: 支持多少并发任务?**  
A: 默认限制 3 个并发任务,企业版可自定义并发数。超过限制的任务会进入队列等待。

**Q6: 虚拟路径隔离如何工作?**  
A: 每个任务创建独立的虚拟路径空间,任务间数据完全隔离,避免数据污染和冲突。

**Q7: 如何自定义中间件?**  

README.md

# Meta-Skill Weaver - 元技能编织器

**版本**: v0.4.1  
**定位**: L2 编排层 - AI 技能编排引擎  
**状态**: ✅ 已上架 ClawHub

---

## 🎯 适用场景

✅ 多步骤任务(研究→分析→报告)  
✅ 多技能协作(需要 3+ 技能)  
✅ 需要进度追踪的长程任务  
✅ 需要中断恢复的长时任务  
✅ 需要事件驱动的松耦合协作

---

## 🔧 核心功能

**v0.4.1 新增**(2026-04-06):
- ✅ EventBus 事件系统
- ✅ Jest 单元测试框架(35 个用例)
- ✅ 第一性原理任务分解器

**v0.3.0 功能**:
- ✅ Middleware 链(7 个内置中间件)
- ✅ 虚拟路径系统(线程隔离)
- ✅ 并发执行(限制 3 个并发)
- ✅ 超时控制(默认 15 分钟)

**原有功能**:
- ✅ 任务分解与编排
- ✅ 技能分配与调度
- ✅ 状态追踪(6 种状态)
- ✅ 中断恢复
- ✅ 数据收集

---

## 🏗️ 技术架构

### 模块结构
```
src/
├── task-tracker.js          # 核心任务追踪器
├── event-bus.js             # 事件总线(v0.4.1 新增)
├── first-principle-decomposer.js  # 任务分解器(v0.4.1 新增)
├── middleware-chain.js      # 中间件链
├── parallel-execution.js    # 并行执行
└── virtual-path-system.js   # 虚拟路径
```

### 测试覆盖
```
tests/
├── task-tracker.test.js     # 任务追踪测试
├── event-bus.test.js        # 事件系统测试(12 个用例)
└── first-principle-decomposer.test.js  # 分解器测试(15 个用例)
```

**总测试用例**: 35 个  
**覆盖率**: 73.72%(语句)/ 60.08%(分支)/ 73.41%(函数)

---

## 📋 工作流程

```
1. 接收复杂任务
   ↓
2. 第一性原理分解(识别假设→5Why 分析→重构任务)
   ↓
3. 分解为原子任务
   ↓
4. 通过 EventBus 分配合适技能
   ↓
5. 并行/串行执行(Middleware 链处理)
   ↓
6. 事件追踪与状态更新
   ↓
7. 合成最终结果
   ↓
8. 交付报告
```

---

## 🔌 EventBus API

### 基本用法
```javascript
const { EventBus } = require('./src/event-bus');

const bus = new EventBus({ historySize: 1000 });

// 订阅事件
bus.on('task-started', (payload, context) => {
  console.log('任务开始:', payload);
});

// 发布事件
await bus.emit('task-started', { taskId: '123' }, { userId: 456 });

// 添加拦截器
bus.addBeforeInterceptor(async ({ event, payload }) => {
  console.log('事件前拦截:', event);
});
```

### 内置拦截器
- `loggingInterceptor()` - 日志记录
- `performanceInterceptor()` - 性能监控
- `errorTrackingInterceptor(handler)` - 错误追踪

---

## 🧪 测试

```bash
# 运行测试
npm test

# 带覆盖率报告
npm run test:coverage

# 监视模式
npm run test:watch
```

**测试命令**: `npx jest --coverage`

---

## 📊 六维评估

| 维度 | v0.3.0 | v0.4.1 | 改进 | 目标 |
|------|--------|--------|------|------|
| T(技术深度) | 0.70 | 0.75 | +0.05 | 0.80 |
| C(认知增强) | 0.65 | 0.70 | +0.05 | 0.80 |
| O(编排能力) | 0.80 | 0.85 | +0.05 | 0.90 |
| E(进化能力) | 0.62 | 0.70 | +0.08 | 0.80 |
| M(商业化) | 0.55 | 0.68 | +0.13 | 0.70 |
| U(用户体验) | 0.58 | 0.65 | +0.07 | 0.80 |
| **平均** | **0.65** | **0.72** | **+0.07** | **0.80** |

---

## 💼 服务定价

| 版本 | 价格 | 包含 |
|------|------|------|
| 个人版 | $99.9 | 永久使用 +1 年更新 |
| 商业版 | $299.9 | 商业用途 + 优先支持 |
| 企业版 | $999.9 | 定制 + 部署 + 培训 |

---

## 🏆 头部技能对标

**对标**: writing-assistant(3.641 分)

**我们的优势**:
- ✅ 更强大的编排能力(O 维度 0.85)
- ✅ 支持并发执行
- ✅ 完整的状态追踪
- ✅ 事件驱动架构(v0.4.1)
- ✅ 单元测试覆盖(v0.4.1)

---

## 📞 支持

- 📧 support@cloud-shrimp.com
- 💬 微信:CloudShrimpSupport

**响应**: 24 小时内

---

## 📝 版本历史

**v0.4.1**(2026-04-06)- O 维度提升
- EventBus 事件系统完善
- Jest 单元测试框架
- 第一性原理任务分解器
- 六维评分 0.65→0.72

**v0.3.0**(2026-03-31)- 重大升级
- EventBus 事件系统
- Jest 单元测试框架(35 个用例)
- 第一性原理任务分解器
- 六维评分 0.58→0.65

**v0.2.0**(2026-03-28)
- Middleware 链
- 虚拟路径系统
- 并发执行

**v0.1.0**(2026-03-27)- 初始版本

---

**版本**: v0.4.1 | **更新**: 2026-04-06 | **维护者**: 

_meta.json

{
  "ownerId": "kn72qvyy5440kj9awhzgtqhye583038h",
  "slug": "meta-skill-weaver",
  "version": "2.5.0",
  "publishedAt": 1777255361409
}

CLAWHUB-UPLOAD.md

# meta-skill-weaver | ClawHub 上架材料 (v2.4.0)

---

## 📝 技能描述(200 字)

**meta-skill-weaver(技能编织器)** 是一款 AI 技能编排引擎,专为复杂多步骤任务设计。它通过第一性原理任务分解器将宏大目标拆解为原子任务,利用 EventBus 事件系统实现多技能松耦合协作,支持并行执行、超时控制、中断恢复。v2.4.0 新增 MetricsMiddleware 自优化触发机制(失败率超阈值自动触发优化建议 + 自适应重试策略)和 FeedbackMiddleware 用户反馈收集(评分/评论/统计)。核心价值:让 AI 从"单点响应"升级为"系统协作",轻松驾驭研究→分析→报告等长程任务,是构建企业级 AI 工作流的必备基础设施。

---

## 🆕 v2.4.0 新增功能

### MetricsMiddleware — 自优化触发机制

- **失败率自动分析**:当任务失败率 > 25% 或连续失败 > 3 次时,自动触发优化建议
- **自适应重试策略**:根据历史失败模式动态调整重试次数和退避倍数
- **指标持久化与趋势分析**:时间序列指标存储,支持趋势查询

```javascript
const { MetricsMiddleware } = require('meta-skill-weaver/src/middleware/metrics-middleware');

const metrics = new MetricsMiddleware({
  failureRateThreshold: 0.25,
  onOptimizationTriggered: (analysis) => {
    console.log('优化触发:', analysis.suggestions);
  },
});

// 在中间件链中使用
chain.use(metrics);

// 查询指标报告
const report = metrics.getReport();
```

### FeedbackMiddleware — 用户反馈收集

- **评分系统**:1-5 星评分 + 文字评论 + 标签
- **自动分类**:praise / issue / bug / suggestion
- **统计与排名**:按任务/技能维度统计,技能评分排名
- **趋势分析**:按日/周/小时聚合

```javascript
const { FeedbackMiddleware } = require('meta-skill-weaver/src/middleware/feedback-middleware');

const feedback = new FeedbackMiddleware();

// 提交反馈
feedback.submit({
  taskId: 'report-123',
  skillName: 'weather',
  rating: 5,
  comment: '非常好用',
  tags: ['fast', 'reliable'],
});

// 查询统计
const stats = feedback.getStats();
const rankings = feedback.getSkillRankings();
```

---

## 📊 六维评分(v2.4.0)

| 维度 | 评分 | 说明 |
|------|------|------|
| T 技术深度 | 0.75 | +0.05,新增中间件实现、指标分析、自适应重试 |
| C 认知增强 | 0.65 | 保持不变 |
| O 编排能力 | 0.80 | 保持不变 |
| E 进化能力 | 0.75 | +0.13,自优化触发 + 用户反馈收集 + 趋势分析 |
| M 市场验证 | 0.70 | +0.15,真实代码 + 测试覆盖,ClawHub 上架准备就绪 |
| U 用户体验 | 0.58 | 保持不变 |
| **平均** | **0.71** | **+0.06** |

---

## 📁 v2.4.0 新增文件

```
src/middleware/
├── metrics-middleware.js     # 自优化触发机制 + 自适应重试
└── feedback-middleware.js    # 用户反馈收集 + 统计分析
tests/
├── metrics-middleware.test.js  # 28 个测试用例
└── feedback-middleware.test.js # 26 个测试用例
```

---

**更新时间**:2026-04-25  
**版本**:v2.4.0  
**维护者**:pagoda111king

skill-card.md

## Description:

Use this skill when orchestrating complex multi-step tasks with task decomposition, event-driven multi-skill collaboration, parallel execution, timeout control, interrupt recovery, metrics, and feedback collection.

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

## Publisher:

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

### License/Terms of Use:

MIT

## Use Case:

Developers and teams use this skill to coordinate complex, long-running work across multiple agent skills. It helps decompose broad tasks, assign work to skills, run steps in parallel where appropriate, track progress, collect metrics and feedback, and resume interrupted workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Broad orchestration capabilities can invoke file writes, shell commands, and execution workflows beyond a simple single-purpose skill.

Mitigation: Install only when broad orchestration is needed, restrict Write/Bash/Exec authority, and require explicit approval for shell commands and event-handler scripts.

Risk: Feedback and metrics behavior can store task feedback, comments, errors, and operational details locally.

Mitigation: Avoid storing sensitive feedback or task error details unless local retention, filesystem permissions, and access controls are acceptable.

Risk: Server security evidence flags incomplete implementation and version inconsistencies.

Mitigation: Treat the release as requiring review until orchestrator entry points and version discrepancies are resolved.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/pagoda111king/skills/meta-skill-weaver)
- [ClawHub Skill Documentation](https://clawhub.ai/skills/meta-skill-weaver/docs)
- [ClawHub Skill Issues](https://clawhub.ai/skills/meta-skill-weaver/issues)

## Skill Output:

**Output Type(s):** [Markdown, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown with inline shell commands and structured orchestration guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include task decomposition, skill assignments, workflow status, execution reports, metrics summaries, and feedback summaries.]

## Skill Version(s):

2.5.0 (source: server release metadata and package.json)

## 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 Meta Skill Weaver and adjacent AI workflows.