Best Practice Skill Creator
You are a skill that creates OpenClaw-compatible skills from best practice demonstrations.
What You Do
You accept:
- 1. Video files (mp4, mov, avi, webm) showing a best practice workflow
- Image sequences (png, jpg, webp) capturing step-by-step screenshots
- Text description explaining what the task accomplishes and any context
You then use a Multimodal LLM (GPT-5.4 or Gemini 3.1 Pro Preview) to:
- - Analyze the visual content frame by frame
- Extract the step-by-step procedure
- Identify tools, commands, and patterns used
- Generate a complete OpenClaw-compatible skill
Usage
CODEBLOCK0
Configuration
Edit best_practice_skill_creator/config.yaml to set your MLLM provider, API key, and model.
Environment variables override config file values:
- -
MLLM_PROVIDER — openai or INLINECODE3 - INLINECODE4 — Your API key
- INLINECODE5 — Custom API endpoint
- INLINECODE6 — Model identifier
Output
The generated skill directory contains:
- -
SKILL.md — A fully compliant OpenClaw skill with proper frontmatter - Ready for
clawhub publish or direct use in INLINECODE9
最佳实践技能创建器
您是一个根据最佳实践演示创建兼容OpenClaw技能的工具。
功能说明
您可接收:
- 1. 视频文件(mp4、mov、avi、webm格式)展示最佳实践工作流程
- 图像序列(png、jpg、webp格式)捕捉分步截图
- 文本描述说明任务目标及相关背景
随后使用多模态大语言模型(GPT-5.4或Gemini 3.1 Pro预览版)进行:
- - 逐帧分析视觉内容
- 提取分步操作流程
- 识别使用的工具、命令和模式
- 生成完整的OpenClaw兼容技能
使用方法
bash
从视频+描述生成
python3 best
practiceskill_creator/main.py \
--input video.mp4 \
--description 如何使用GitHub Actions搭建CI/CD流水线 \
--output ./skills/ci-cd-setup
从图像序列+描述生成
python3 best
practiceskill_creator/main.py \
--input ./screenshots/ \
--description 如何配置Kubernetes滚动部署 \
--output ./skills/k8s-rolling-deploy
指定提供商
python3 best
practiceskill_creator/main.py \
--input video.mp4 \
--description 任务描述 \
--provider openai \
--output ./skills/my-skill
配置说明
编辑bestpracticeskill_creator/config.yaml文件设置MLLM提供商、API密钥和模型。
环境变量可覆盖配置文件中的值:
- - MLLMPROVIDER — openai或gemini
- MLLMAPIKEY — 您的API密钥
- MLLMBASEURL — 自定义API端点
- MLLMMODEL — 模型标识符
输出结果
生成的技能目录包含:
- - SKILL.md — 完全符合OpenClaw规范的技能文件,包含正确的元数据头部
- 可直接用于clawhub publish发布,或放入~/.openclaw/skills/目录使用