← Back to Skills Marketplace
freedompixels

cn-lorem-ipsum - 随机文本生成器

by freedompixels · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
51
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cn-lorem-ipsum
Description
生成指定数量的随机单词、句子或段落,支持中英文模式及安全随机或固定种子复现。
README (SKILL.md)

cn-lorem-ipsum - 随机文本生成器

纯 Python 标准库实现的 Lorem Ipsum 随机文本生成工具。

功能

  • 单词生成:生成指定数量的随机单词
  • 句子生成:生成指定数量的完整句子
  • 段落生成:生成指定数量的段落
  • 固定种子:支持 secrets 模块随机种子(安全随机)

使用方式

# 生成 10 个随机单词
python3 cn_lorem_ipsum.py words 10

# 生成 5 个完整句子
python3 cn_lorem_ipsum.py sentences 5

# 生成 3 个段落
python3 cn_lorem_ipsum.py paragraphs 3

# 指定种子(可复现)
python3 cn_lorem_ipsum.py words 20 --seed 42

# 指定最小/最大单词数
python3 cn_lorem_ipsum.py words 50 --min 3 --max 12

# 中文模式(中文占位文本)
python3 cn_lorem_ipsum.py words 10 --lang zh

技术说明

  • 纯 Python 标准库(secretsargparserandom
  • 默认使用 secrets.choice 作为随机源(安全随机)
  • 可选 random 配合种子实现可复现结果
  • 支持中英文占位文本
Usage Guidance
This skill appears coherent and safe: it runs locally, uses only the Python standard library, and does not access credentials or the network. Before installing/running: ensure you trust the source (homepage is missing), have Python available, and be aware generated phone numbers/emails may look realistic—use them only for testing or other permissible purposes. If you need stronger assurance, run the scripts in an isolated environment or review the bundled Python files line-by-line (they are short and self-contained).
Capability Analysis
Type: OpenClaw Skill Name: cn-lorem-ipsum Version: 1.0.0 The skill bundle is a legitimate utility for generating random placeholder text (Lorem Ipsum) and mock data such as names, phone numbers, and email addresses. The implementation in 'scripts/cn_lorem_ipsum.py' and 'scripts/lorem_ipsum.py' uses standard Python libraries (random, secrets, argparse) and contains no evidence of data exfiltration, network activity, or malicious instructions.
Capability Assessment
Purpose & Capability
Name/description (Chinese/English placeholder text, names, phones, emails) match the included scripts and SKILL.md. The code implements text, name, phone, and email generation which is coherent with the stated purpose.
Instruction Scope
SKILL.md instructs running the included Python scripts with command-line args. The runtime instructions and scripts operate locally, use only standard-library modules, and do not read system files, environment variables, or connect to external endpoints.
Install Mechanism
No install spec is provided (instruction-only). The skill bundles two small Python scripts; nothing is downloaded or written by an installer. This is low risk and proportionate for the functionality.
Credentials
No environment variables, credentials, or config paths are requested or used. The code relies only on Python standard libraries (secrets, random, argparse) — appropriate for a local generator.
Persistence & Privilege
The skill does not request persistent/system privileges and does not modify other skills or agent-wide configuration. always is false and autonomous invocation is default (no added privilege).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cn-lorem-ipsum
  3. After installation, invoke the skill by name or use /cn-lorem-ipsum
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of cn-lorem-ipsum: - Generates random words, sentences, and paragraphs via command line. - Supports customizable output count, minimum/maximum word counts per item, and reproducible results with a seed. - Offers both Chinese and English placeholder text options. - Built using only the Python standard library with secure random generation by default.
Metadata
Slug cn-lorem-ipsum
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is cn-lorem-ipsum - 随机文本生成器?

生成指定数量的随机单词、句子或段落,支持中英文模式及安全随机或固定种子复现。 It is an AI Agent Skill for Claude Code / OpenClaw, with 51 downloads so far.

How do I install cn-lorem-ipsum - 随机文本生成器?

Run "/install cn-lorem-ipsum" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is cn-lorem-ipsum - 随机文本生成器 free?

Yes, cn-lorem-ipsum - 随机文本生成器 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does cn-lorem-ipsum - 随机文本生成器 support?

cn-lorem-ipsum - 随机文本生成器 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created cn-lorem-ipsum - 随机文本生成器?

It is built and maintained by freedompixels (@freedompixels); the current version is v1.0.0.

💬 Comments