生成指定长度的随机密码。当用户提到生成密码、随机密码、强密码、密码生成器时使用。
76
95%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
High
Do not use without reviewing
生成一个指定长度的密码
生成指定长度的随机密码。
office/skills/tools/passwordtools/
from office.skills.tools import passwordtools
pwd = passwordtools(len=12)
print(pwd)| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
len | int | 否 | 8 | 密码长度 |
str:生成的密码
from office.skills.tools import passwordtools
pwd = passwordtools(len=16)
print(f"生成的密码: {pwd}")office.api.tools.passwordtools
2b1996b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.