安全扫描
OpenClaw
可疑
medium confidenceThe skill largely does what it claims (generate JSONL training samples using an LLM), but the documentation and metadata promise Excel input and customizable prompts that the shipped code does not implement, and the code reads environment variables and sends prompts to a configurable HTTP endpoint — mismatches that warrant caution.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.1.02026/3/19
- Added support for generating training data from user instructions using data_generator.py. - No changes to documentation or usage examples. - Version 1.1.0 focuses on internal improvements or feature extensions in the core Python file.
● 无害
安装命令
点击复制官方npx clawhub@latest install data-generator-waai
🇨🇳 镜像加速npx clawhub@latest install data-generator-waai --registry https://cn.longxiaskill.com
技能文档
Generate training data from Excel user instructions.
When to Use / 使用场景
| EN | CN |
|---|---|
| Generate training data from instructions | 从用户指令生成训练数据 |
| Batch produce AI training samples | 批量生成AI训练样本 |
| Build dataset from Excel | 从Excel构建数据集 |
Features / 功能
| Feature | EN | CN |
|---|---|---|
| Excel input | Excel file support | Excel文件输入 |
| JSONL output | JSONL output | JSONL格式输出 |
| Multi-tool support | Multi-tool support | 支持多种工具 |
| Customizable prompt | Customizable prompt | 可自定义提示词 |
Usage / 使用
from data_generator import Generator# Simple / 简单
gen = Generator()
result = gen.generate(
tool_name="dev_control",
commands=["打开空调", "关闭窗帘"],
excel_file="data.xlsx"
)
# With prompt / 自定义提示词
result = gen.generate(
tool_name="alarm_remind",
commands=["提醒我起床"],
prompt_template="自定义提示词模板"
)
Parameters / 参数
| Parameter | Type | EN | CN |
|---|---|---|---|
| tool_name | str | Tool name | 工具名称 |
| commands | list | Command list | 命令列表 |
| excel_file | str | Excel file path | Excel文件路径 |
| prompt_template | str | Custom prompt | 自定义提示词(可选) |
Output / 输出
{"conversations": [...], "system": "..."}
{"conversations": [...], "system": "..."}
Installation / 安装
npx clawhub install data-generator-waai
Author / 作者
- WaaiOn
数据来源:ClawHub ↗ · 中文优化:龙虾技能库