Passwordtools

From CoderWanFeng/python-office · View interactive version

Passwordtools is an AI agent skill from the GitHub repository CoderWanFeng/python-office. 生成指定长度的随机密码。当用户提到生成密码、随机密码、强密码、密码生成器时使用。

How to use this skill

Skill file

passwordtools Skill

生成一个指定长度的密码

功能描述

生成指定长度的随机密码。

所属分类

office/skills/tools/passwordtools/

调用方式

from skills.tools import passwordtools

pwd = passwordtools(len=12)
print(pwd)

参数说明

| 参数 | 类型 | 必填 | 默认值 | 说明 |

|------|------|------|--------|------|

| len | int | 否 | 8 | 密码长度 |

返回值

str:生成的密码

使用示例

from skills.tools import passwordtools
pwd = passwordtools(len=16)
print(f"生成的密码: {pwd}")

原始函数

office.api.tools.passwordtools

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.