下载技能包
最后更新
2026/4/26
安全扫描
OpenClaw
可疑
medium confidence该技能的代码与文档大体符合其编排目的,但存在少量不一致与未知项(缺少安装/依赖信息、CLI 名称不匹配、执行路径被截断/隐藏),安装前需谨慎。
评估建议
What to check before installing or running this skill:
- Review the full implementation of WorkflowOrchestrator._executeStage (file was truncated in the review). Confirm it does not invoke external network endpoints, execute arbitrary shell commands, or call other skill binaries unexpectedly.
- Ensure required Node dependencies (e.g., js-yaml) are installed in a controlled way. The package provides no install spec; avoid running ad-hoc npm installs from untrusted repos.
- The scripts read/write...详细分析 ▾
✓ 用途与能力
Name/description align with the included files: context-manager, workflow-orchestrator, and output-validator implement context, workflow parsing, and quality checks. No unrelated credentials, binaries, or surprising permissions are requested.
ℹ 指令范围
SKILL.md and templates instruct the agent and user to read/write project files under the project directory and .orchestration, and to run CLI commands. Templates reference copying from ~/.hermes/... which assumes a particular install path. The instructions are mostly scoped to project files, but they reference a 'hermes-orchestrate' command that is not provided in the bundle (templates also show calling the scripts directly with node). Review is recommended to confirm the actual runtime behavior.
⚠ 安装机制
No install spec is provided even though the skill includes JS scripts that require dependencies (e.g., 'js-yaml'). There is no guidance to install those NPM packages; lack of dependency/install instructions can cause unexpected failures or lead operators to run ad-hoc installs. The package files themselves are bundled (no external downloads), which lowers supply-chain risk, but missing declared dependency installation is an operational/consistency issue.
✓ 凭证需求
The skill declares no environment variables, credentials, or unrelated config paths. The code only reads/writes files under the provided project path and .orchestration; that access is proportional to an orchestration tool.
✓ 持久化与权限
The skill does not request always:true and does not appear to modify system-wide settings or other skills. It persists state under the project's .orchestration directory and creates checkpoint files there, which is consistent with its purpose.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/4/26
v1.0.0 初始版本 - 上下文管理、流程编排、质量保证三大核心功能
● 无害
安装命令
点击复制官方npx clawhub@latest install skill-orchestration-core
镜像加速npx clawhub@latest install skill-orchestration-core --registry https://cn.longxiaskill.com镜像同步中
技能文档
轻量级 skill 编排系统,专注于上下文管理、流程编排和质量保证。
核心功能
1. 上下文管理
管理 skill 之间的上下文传递和共享。上下文结构
``typescript
interface SkillContext {
// 项目信息
project: {
name: string;
path: string;
description: string;
};
// 当前状态
state: {
currentSkill: string;
progress: number;
completedSkills: string[];
startTime: number;
};
// 上下文数据
data: Map;
// 配置
config: {
contextCompression: boolean;
maxContextSize: number;
};
}
` 上下文操作
`typescript
// 保存上下文
context.set('plan', planContent);
// 获取上下文
const plan = context.get('plan');
// 传递给下一个 skill
context.passTo('test-driven-development');
// 压缩上下文
const compressed = context.compress();
// 恢复上下文
context.restore(compressed);
` 上下文文件
上下文保存在项目目录的 .orchestration/context.json:
`json
{
"project": {
"name": "my-project",
"path": "/path/to/project",
"description": "项目描述"
},
"state": {
"currentSkill": "test-driven-development",
"progress": 0.4,
"completedSkills": ["writing-plans"],
"startTime": 1714123456789
},
"data": {
"plan": "计划内容...",
"requirements": "需求内容..."
},
"config": {
"contextCompression": true,
"maxContextSize": 100000
}
}
` 2. 流程编排
基于 DESIGN.md 的流程编排。 DESIGN.md 结构
`yaml
---
name: my-project
description: 项目描述
version: 1.0.0
--- # 项目设计编排指南
概述
项目概述和目标。 工作流程
阶段 1: 需求分析
使用的 Skills:
- writing-plans
任务:
- 分析需求
- 编写用户故事
- 定义功能列表
输出:
- requirements.md
- user-stories.md
- features.md
阶段 2: 设计
使用的 Skills:
- huashu-design-integration
任务:
- 创建原型
- 设计评审
- 导出设计规范
输出:
- design/prototypes/
- docs/design-spec.md
阶段 3: 计划
使用的 Skills:
- writing-plans
任务:
- 编写实现计划
- 定义技术方案
- 制定测试策略
输出:
- IMPLEMENTATION.md
- docs/technical-design.md
- docs/test-plan.md
阶段 4: 开发
使用的 Skills:
- test-driven-development
- subagent-driven-development
任务:
- 编写测试
- 实现功能
- 代码审查
输出:
- src/
- tests/
- docs/code-review.md
阶段 5: 文档
使用的 Skills:
- obsidian
任务:
- 生成文档
- 保存到知识库
- 建立链接
输出:
- docs/
- wiki/
上下文传递
`yaml
context:
writing-plans:
output: [requirements.md, IMPLEMENTATION.md]
pass_to: test-driven-development
test-driven-development:
input: IMPLEMENTATION.md
output: [tests/, src/]
pass_to: github-code-review
github-code-review:
input: [tests/, src/]
output: docs/code-review.md
pass_to: obsidian
` 质量验证
`yaml
validation:
writing-plans:
required_sections: [overview, implementation, testing]
format: markdown
max_length: 10000
test-driven-development:
test_coverage: 80
test_style: pytest
github-code-review:
check_severity: high
auto_fix: false
` 状态管理
`yaml
state:
checkpoints:
- name: requirements_complete
after: writing-plans
- name: tests_complete
after: test-driven-development
- name: code_reviewed
after: github-code-review
auto_save: true
save_interval: 300
` 流程执行
`typescript
// 执行流程
const orchestrator = new WorkflowOrchestrator(designPath);
// 开始执行
await orchestrator.execute();
// 暂停
orchestrator.pause();
// 恢复
await orchestrator.resume();
// 获取状态
const status = orchestrator.getStatus();
` 3. 质量保证
自动验证 skill 输出质量。 验证规则
`typescript
interface ValidationRule {
// 必需的章节
requiredSections?: string[];
// 格式要求
format?: 'markdown' | 'json' | 'yaml';
// 最大长度
maxLength?: number;
// 最小长度
minLength?: number;
// 代码质量
codeQuality?: 'low' | 'medium' | 'high';
// 测试覆盖率
testCoverage?: number;
// 自动修复
autoFix?: boolean;
}
` 验证执行
`typescript
// 验证输出
const validator = new OutputValidator();
// 添加验证规则
validator.addRule('writing-plans', {
requiredSections: ['overview', 'implementation', 'testing'],
format: 'markdown',
maxLength: 10000
});
// 执行验证
const result = await validator.validate('writing-plans', output);
if (!result.valid) {
console.error('验证失败:', result.errors);
if (result.fixable) {
await validator.autoFix();
}
}
` 使用方式
基础使用
`bash
# 创建 DESIGN.md
cat > DESIGN.md << EOF
---
name: my-project
description: 我的第一个项目
version: 1.0.0
--- # 项目设计编排指南
工作流程
阶段 1: 计划
使用的 Skills:
- writing-plans
任务:
- 编写实现计划
输出:
- IMPLEMENTATION.md
EOF # 执行流程
hermes-orchestrate execute DESIGN.md
`
上下文管理
`bash
# 查看上下文
hermes-orchestrate context show
# 保存上下文
hermes-orchestrate context save
# 恢复上下文
hermes-orchestrate context restore
# 清理上下文
hermes-orchestrate context clear
` 流程控制
`bash
# 开始执行
hermes-orchestrate start DESIGN.md
# 暂停
hermes-orchestrate pause
# 恢复
hermes-orchestrate resume
# 查看状态
hermes-orchestrate status
# 跳到指定阶段
hermes-orchestrate jump test-driven-development
``