← 返回 Skills 市场
bytesagain3

Generate

作者 bytesagain3 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
188
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install generate
功能描述
Generate random test data including text, numbers, UUIDs, and structured formats. Use when creating mock datasets, sample records, or randomized test inputs.
使用说明 (SKILL.md)

Generate — Universal Data Generator

A versatile CLI tool for generating random data of various types. Produce text, numbers, UUIDs, dates, names, emails, addresses, and structured formats like JSON and CSV for testing and development.

Prerequisites

  • Python 3.8+
  • bash shell
  • Write access to ~/.generate/

Data Storage

Generated data history is stored in JSONL format at ~/.generate/data.jsonl. Each generation event is logged for reproducibility and batch export.

Commands

Run commands via: bash scripts/script.sh \x3Ccommand> [arguments...]

text

Generate random text strings: lorem ipsum, sentences, paragraphs, or custom patterns.

bash scripts/script.sh text --type lorem --words 50
bash scripts/script.sh text --type sentence --count 5
bash scripts/script.sh text --type paragraph --count 2

Arguments:

  • --type — Text type: lorem, sentence, paragraph, word (optional, default: lorem)
  • --words — Number of words for lorem (optional, default: 20)
  • --count — Number of items to generate (optional, default: 1)

number

Generate random numbers with configurable range and format.

bash scripts/script.sh number --min 1 --max 100
bash scripts/script.sh number --min 0.0 --max 1.0 --decimal 4
bash scripts/script.sh number --count 10 --min 1 --max 1000

Arguments:

  • --min — Minimum value (optional, default: 0)
  • --max — Maximum value (optional, default: 100)
  • --decimal — Decimal places for float (optional, generates int if omitted)
  • --count — How many numbers (optional, default: 1)

uuid

Generate one or more UUIDs (v4).

bash scripts/script.sh uuid
bash scripts/script.sh uuid --count 5
bash scripts/script.sh uuid --format short

Arguments:

  • --count — Number of UUIDs (optional, default: 1)
  • --format — Format: full, short (8-char) (optional, default: full)

date

Generate random dates within a range.

bash scripts/script.sh date --start 2020-01-01 --end 2025-12-31
bash scripts/script.sh date --count 10 --format iso

Arguments:

  • --start — Start date YYYY-MM-DD (optional, default: 2020-01-01)
  • --end — End date YYYY-MM-DD (optional, default: 2025-12-31)
  • --count — Number of dates (optional, default: 1)
  • --format — Date format: iso, us, eu, unix (optional, default: iso)

name

Generate random person names.

bash scripts/script.sh name
bash scripts/script.sh name --count 10 --gender female
bash scripts/script.sh name --full

Arguments:

  • --count — Number of names (optional, default: 1)
  • --gender — Gender: male, female, any (optional, default: any)
  • --full — Include last name (optional)

email

Generate random email addresses.

bash scripts/script.sh email
bash scripts/script.sh email --count 5 --domain example.com

Arguments:

  • --count — Number of emails (optional, default: 1)
  • --domain — Email domain (optional, default: random)

address

Generate random US-style addresses.

bash scripts/script.sh address
bash scripts/script.sh address --count 3

Arguments:

  • --count — Number of addresses (optional, default: 1)

json

Generate random JSON objects with a specified schema.

bash scripts/script.sh json --schema '{"name":"name","age":"int:18-65","email":"email"}'
bash scripts/script.sh json --schema '{"id":"uuid","score":"float:0-100"}' --count 5

Arguments:

  • --schema — JSON schema definition (required)
  • --count — Number of objects (optional, default: 1)

csv

Generate random CSV data with headers.

bash scripts/script.sh csv --columns "name,email,age" --rows 20
bash scripts/script.sh csv --columns "id:uuid,name:name,score:float:0-100" --rows 50 --output data.csv

Arguments:

  • --columns — Column definitions (required)
  • --rows — Number of rows (optional, default: 10)
  • --output — Output file (optional, default: stdout)

password

Generate random passwords with configurable complexity.

bash scripts/script.sh password
bash scripts/script.sh password --length 24 --count 5
bash scripts/script.sh password --no-special --length 16

Arguments:

  • --length — Password length (optional, default: 16)
  • --count — Number of passwords (optional, default: 1)
  • --no-special — Exclude special characters (optional)

batch

Run multiple generation commands in batch from a config file.

bash scripts/script.sh batch --config batch.json

Arguments:

  • --config — Batch configuration file (required)

help

Display help information and list all available commands.

bash scripts/script.sh help

version

Display the current tool version.

bash scripts/script.sh version

Examples

# Generate 100 user records as CSV
bash scripts/script.sh csv --columns "id:uuid,name:name,email:email,age:int:18-65" --rows 100 --output users.csv

# Create JSON test data
bash scripts/script.sh json --schema '{"user":"name","score":"float:0-100"}' --count 20

# Quick password generation
bash scripts/script.sh password --length 20 --count 10

Notes

  • All generated data is logged in ~/.generate/data.jsonl for reproducibility
  • Use --seed (where supported) for deterministic output
  • Schema types for JSON/CSV: name, email, uuid, int:min-max, float:min-max, bool, date, string
  • Batch mode accepts a JSON config with an array of generation commands

Powered by BytesAgain | bytesagain.com | [email protected]

安全使用建议
This skill appears to be what it says: a local test-data generator. Before installing, ensure you have python3 and bash available (SKILL.md requires Python 3.8+ though the registry metadata didn't list them). Be aware the tool will create ~/.generate/ and append logs to ~/.generate/data.jsonl — avoid generating or storing any sensitive or real personal data there. If you need deterministic output, review whether the script supports --seed for the commands you plan to use. As a best practice, inspect the script file (scripts/script.sh) yourself before running, and consider limiting its file permissions if you want to restrict access to the generated data file.
功能分析
Type: OpenClaw Skill Name: generate Version: 1.0.0 The skill bundle is a legitimate utility for generating various types of random test data (text, numbers, UUIDs, JSON, CSV, etc.). The implementation in `scripts/script.sh` uses a bash wrapper with Python heredocs to perform data generation locally without external dependencies or network access. All behaviors, including the logging of generation history to `~/.generate/data.jsonl`, are clearly documented in `SKILL.md` and align with the tool's stated purpose.
能力评估
Purpose & Capability
Name/description (random test data generation) aligns with the provided script and commands. The only mismatch is that SKILL.md lists Python 3.8+ and a bash shell as prerequisites, but the registry metadata lists no required binaries; the included script clearly invokes python3.
Instruction Scope
SKILL.md instructions map to the bundled scripts. Commands generate text, numbers, uuids, dates, names, emails, addresses, JSON/CSV, passwords and batch mode; the runtime script logs generation events to ~/.generate/data.jsonl as documented. Instructions do not request or read unrelated system files or external endpoints.
Install Mechanism
No install spec — instruction-only plus a script file. Nothing is downloaded or extracted from external URLs; the script runs locally. This is low-risk from an install perspective.
Credentials
The skill declares no required environment variables and the script does not read secrets or external credentials. It does create and write to ~/.generate/data.jsonl (documented). The main proportionality issue is the missing declaration of required binaries (python3/bash) in the registry metadata.
Persistence & Privilege
always is false; the skill is user-invocable and not force-installed. It creates its own directory and log file under the user's home (~/.generate) which is expected for this tool and does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install generate
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /generate 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
publish v1.0.0
元数据
Slug generate
版本 1.0.0
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 1
常见问题

Generate 是什么?

Generate random test data including text, numbers, UUIDs, and structured formats. Use when creating mock datasets, sample records, or randomized test inputs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 188 次。

如何安装 Generate?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install generate」即可一键安装,无需额外配置。

Generate 是免费的吗?

是的,Generate 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Generate 支持哪些平台?

Generate 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Generate?

由 bytesagain3(@bytesagain3)开发并维护,当前版本 v1.0.0。

💬 留言讨论