Skill Lab: full-lifecycle admission testing for OpenClaw skills. Includes three stages: (1) Static validation — structure, paths, cross-platform compatibility (scripts + AI analysis) (2) Intelligent analysis — the model reads the entire skill for a semantic-level review (3) Dynamic testing — spawn sub-agents to load and run the skill and verify claimed capabilities. Use when: receiving a skill archive/directory for review, pre-release admission testing, or regression testing after a skill upgrade.
三阶段准入测试:静态校验 → 智能分析 → 动态测试。
YYYY-MM-DD {skill-name} v{version}
版本未知时用 v?.?.?。示例:2026-02-28 gemini-imagegen v0.3.1
运行 scripts/validate.py 进行规则检查:
python3 scripts/validate.py <skill-path> [--json] [--strict]
node_modules/、__pycache__/、*.pyc、dist/、build/、coverage/、虚拟环境等依赖/缓存/构建产物__MACOSX/、Thumbs.db、.DS_Storebash、python3、node 或 uv 显式调用,迁移后验证引用和运行入口仍成立openclaw-workspace、create provenance 已 applied、无同名 pending proposal;共享仓库保持只读,反向同步通过独立校验后的 PR静态校验 FAIL → 直接报告问题,不进入下一阶段。 静态校验 PASS/WARN → 进入 Phase 2。
不依赖脚本,由模型直接阅读技能全部内容进行语义级审查:
每个维度给出 ✅ PASS / ⚠️ WARN / ❌ FAIL + 说明。 汇总为智能分析总评。
Phase 2 有 FAIL → 报告问题,建议修复后重测。 Phase 2 全 PASS/WARN → 进入 Phase 3。
生成一个隔离的子 Agent session,加载待测技能并实际执行。
确认测试条件
生成测试用例
执行测试
sessions_spawn 创建隔离 session报告结果
══════════════════════════════════════════
技能实验室报告
{skill-name} v{version}
{date}
══════════════════════════════════════════
📋 Phase 1 — 静态校验
[validate.py 输出]
🧠 Phase 2 — 智能分析
功能一致性 ✅ PASS
触发准确性 ✅ PASS
指令质量 ⚠️ WARN — ...
安全性 ✅ PASS
依赖合理性 ✅ PASS
跨平台语义 ✅ PASS
边界情况 ⚠️ WARN — ...
渐进式加载 ✅ PASS
🧪 Phase 3 — 动态测试
模型:<provider>/<model>
用例 1:[描述] → ✅ 通过 (3.2s)
用例 2:[描述] → ✅ 通过 (5.1s)
用例 3:[边界] → ⚠️ 部分通过 — ...
══════════════════════════════════════════
准入判定:✅ 通过
静态 6/6 · 智能 7/8 · 动态 2.5/3
══════════════════════════════════════════
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer