← Back to Skills Marketplace
freedompixels

Cn Password Generator

by freedompixels · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
67
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install cn-password-generator
Description
安全的随机密码生成器。支持自定义长度、字符类型(大小写字母、数字、特殊符号)、排除相似字符、批量生成。纯Python标准库,无需API Key。
README (SKILL.md)

安全密码生成器

安全的随机密码生成器,纯Python标准库实现,无需API Key,开箱即用。

功能

  • 随机密码生成(默认16位)
  • 自定义字符类型:大写、小写、数字、特殊符号
  • 排除相似字符(0O1lI等),避免混淆
  • 批量生成多个密码
  • 纯标准库,零依赖

使用示例

生成一个16位密码
生成10个20位强密码
生成不含特殊符号的12位密码

技术实现

调用 scripts/password_generator.py 生成密码,支持参数:

  • 长度(默认16)
  • 字符类型开关(大写/小写/数字/特殊符号)
  • 排除相似字符(--exclude-similar)
  • 生成数量
Usage Guidance
该技能看起来与其描述一致且代码简单、安全(使用 secrets 模块)。在安装/运行前考虑:1) 源来自未知发布者(homepage/source 为空),若担心可在隔离环境或受限容器中运行并检查脚本;2) 该脚本将生成的密码打印为 JSON,请注意不要将输出复制到不安全的位置或远程服务;3) 如果需要不同的 CLI 行为(例如仅指定生成数量而不改变长度),请先测试参数解析是否满足你的使用场景。总体而言风险低,但如对来源信任度敏感,请先在沙箱中审查与运行。
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
名称/描述为“安全随机密码生成器”,所需项(无环境变量、无外部二进制)和包含的脚本都只实现了密码生成功能,符合预期。
Instruction Scope
SKILL.md 指示调用本地的 scripts/password_generator.py 并列出参数选项。说明未要求读取系统文件、环境变量或将数据发送到外部端点。
Install Mechanism
无 install 规范(instruction-only 附带一个本地 Python 脚本),不下载或安装外部软件,且脚本只依赖 Python 标准库。
Credentials
不要求任何环境变量、密钥或配置路径。代码也未访问 os.environ 或其他凭证来源,所需权限与功能相称。
Persistence & Privilege
no always flag,默认允许用户调用且不驻留或修改其他技能/系统配置,权限范围有限且透明。
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cn-password-generator
  3. After installation, invoke the skill by name or use /cn-password-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Moved the password generator script into the scripts/ directory (now scripts/password_generator.py). - Removed the old password_generator.py file from the root directory. - No changes to functionality or documentation.
v1.0.0
安全密码生成器 v1.0.0 首次发布: - 支持随机生成安全密码,默认16位。 - 可自定义密码长度和包含字符类型(大写、小写、数字、特殊符号)。 - 支持排除相似字符,提升可读性。 - 支持批量生成多个密码。 - 纯Python标准库实现,无需API Key,零依赖。
Metadata
Slug cn-password-generator
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Cn Password Generator?

安全的随机密码生成器。支持自定义长度、字符类型(大小写字母、数字、特殊符号)、排除相似字符、批量生成。纯Python标准库,无需API Key。 It is an AI Agent Skill for Claude Code / OpenClaw, with 67 downloads so far.

How do I install Cn Password Generator?

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

Is Cn Password Generator free?

Yes, Cn Password Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Cn Password Generator support?

Cn Password Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cn Password Generator?

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

💬 Comments