← 返回 Skills 市场
164
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install jrv-mock-data
功能描述
Generate realistic fake/mock data for testing and development. Supports names, emails, addresses, phone numbers, UUIDs, dates, lorem ipsum, credit cards, com...
使用说明 (SKILL.md)
jrv-mock-data
Generate realistic test data instantly — no API key, no network. Supports dozens of data types, bulk generation, and multiple output formats including JSON, CSV, and SQL.
Quick Start
# Generate 10 fake users as JSON
python3 scripts/mock_data.py user --count 10
# Generate fake email addresses
python3 scripts/mock_data.py email --count 5
# Generate addresses
python3 scripts/mock_data.py address --count 3
# Generate a custom record with multiple fields
python3 scripts/mock_data.py record --fields "name,email,phone,company" --count 5
# Output as CSV
python3 scripts/mock_data.py user --count 20 --format csv
# Output as SQL INSERT
python3 scripts/mock_data.py user --count 10 --format sql --table users
# Single values (no count)
python3 scripts/mock_data.py uuid
python3 scripts/mock_data.py name
python3 scripts/mock_data.py lorem --words 50
# Save to file
python3 scripts/mock_data.py user --count 100 --format csv --output test_users.csv
Commands & Data Types
| Type | Description | Example Output |
|---|---|---|
user |
Full user record (name, email, phone, address) | {"name": "Jane Smith", "email": "[email protected]", ...} |
name |
Full name | "Marcus Rivera" |
email |
Email address | "[email protected]" |
phone |
US phone number | "(415) 555-0193" |
address |
Street address | "1234 Oak Ave, Austin TX 78701" |
company |
Company name | "Nexigen Solutions LLC" |
uuid |
UUID v4 | "f47ac10b-58cc-..." |
date |
Random date | "2024-07-15" |
datetime |
Random datetime | "2024-07-15T14:23:00" |
lorem |
Lorem ipsum text | "Lorem ipsum dolor sit amet..." |
number |
Random integer | 42 |
float |
Random float | 3.14159 |
bool |
True/false | true |
color |
Hex color | "#3a7bd5" |
url |
Fake URL | "https://fakecorp.io/api/v1" |
ip |
IPv4 address | "192.168.1.104" |
record |
Custom fields combo | Use --fields name,email,phone |
Formats
| Format | Flag | Notes |
|---|---|---|
| JSON | --format json (default) |
Pretty-printed array |
| CSV | --format csv |
With header row |
| SQL | --format sql --table \x3Cname> |
INSERT statements |
| Lines | --format lines |
One value per line |
Options
| Flag | Description |
|---|---|
--count N |
Number of records (default: 1) |
--format \x3Cfmt> |
Output format: json, csv, sql, lines |
--table \x3Cname> |
Table name for SQL output |
--fields \x3Clist> |
Comma-separated fields for record type |
--seed N |
Random seed for reproducible output |
--output \x3Cfile> |
Write to file instead of stdout |
Use Cases
- API testing: Seed databases with realistic-looking test records
- UI prototyping: Fill mockups with plausible names and emails
- QA automation: Generate test fixtures in CSV or JSON
- SQL seeding: Ready-to-paste INSERT statements for dev databases
- Load testing: Generate thousands of unique records instantly
安全使用建议
This skill is self-contained and appears safe to run locally: it generates fake names, emails, addresses, UUIDs, etc., and does not call the network or request secrets. Before installing/using: (1) note the documentation mentions credit-card generation but the code does not include it — ask the author if you need that feature; (2) avoid seeding production systems with this synthetic data where it could be mistaken for real user data, and do not mix generated records with real PII; (3) inspect any future versions for added network calls or requests for credentials before trusting them; and (4) run the script in a restricted/dev environment if you want extra caution.
功能分析
Type: OpenClaw Skill
Name: jrv-mock-data
Version: 1.0.0
The skill bundle is a straightforward utility for generating mock data (names, emails, addresses, etc.) for testing purposes. The Python script (scripts/mock_data.py) uses only standard libraries, contains no network or suspicious file system calls, and the instructions in SKILL.md are purely descriptive of the tool's functionality without any prompt injection attempts.
能力评估
Purpose & Capability
Name/description (mock data generator) matches the shipped code: a single Python script with many field generators and output formatters. One small inconsistency: the top-level description and brief header mention credit cards, but I do not see any credit card generator in the code or the documented data-type table. This looks like a documentation mismatch rather than malicious behavior.
Instruction Scope
SKILL.md instructs running the included script (python3 scripts/mock_data.py) with flags and saving output; the script only reads its arguments and writes output (stdout/file). There are no instructions to read unrelated files, environment variables, or to send data to external endpoints.
Install Mechanism
No install spec — instruction-only skill with a bundled script. No downloads, package installs, or archive extraction. Running the script runs local Python only.
Credentials
No required environment variables, no credentials, and the script does not access environment-specific config. The requested capabilities are proportional to a local mock-data generator.
Persistence & Privilege
always is false and model invocation is normal. The skill does not request persistent system changes or modify other skills/configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install jrv-mock-data - 安装完成后,直接呼叫该 Skill 的名称或使用
/jrv-mock-data触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — instantly generate realistic fake data for testing and development:
- Supports generating names, emails, addresses, phone numbers, UUIDs, dates, companies, lorem ipsum, credit cards, and more.
- Bulk data generation with flexible record customization (choose fields).
- Multiple output formats: JSON, CSV, SQL INSERT statements, or line-separated values.
- Command-line flags for count, field selection, output file, format, custom SQL table name, and random seed.
- Works offline, no API key or external service required.
元数据
常见问题
Jrv Mock Data 是什么?
Generate realistic fake/mock data for testing and development. Supports names, emails, addresses, phone numbers, UUIDs, dates, lorem ipsum, credit cards, com... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 164 次。
如何安装 Jrv Mock Data?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install jrv-mock-data」即可一键安装,无需额外配置。
Jrv Mock Data 是免费的吗?
是的,Jrv Mock Data 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Jrv Mock Data 支持哪些平台?
Jrv Mock Data 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Jrv Mock Data?
由 John Wang(@johnnywang2001)开发并维护,当前版本 v1.0.0。
推荐 Skills