← 返回 Skills 市场
jcwang502

mail-addr-creator

作者 jcwang502 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
132
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mail-addr-creator
功能描述
create one or many ordinary mailbox addresses in a cloudflare temporary mail system through the /admin/new_address admin api and return structured results. u...
使用说明 (SKILL.md)

Cloudflare Mail Address Creator

Use this skill to create ordinary mailbox addresses through https://mail-api.suilong.online/admin/new_address.

Workflow

  1. Collect or infer name, domain, and enablePrefix.
  2. Default enablePrefix to true when the user does not specify it.
  3. If the user gives a full address such as [email protected], split it into name=t2 and domain=suilong.online.
  4. Never hardcode real credentials in the skill. Read them from runtime environment variables or pass them as CLI flags.
  5. Run python3 scripts/create_address.py for single or batch creation.
  6. Return the script's JSON output directly unless the user asks for a reformatted summary.
  7. Preserve the normalized statuses: created, already_exists, auth_error, error.
  8. If local validation fails, fix the input before attempting the API call again.
  9. Use --output-format csv and optionally --output-file \x3Cpath> when the user asks for exportable results.

Commands

Single address:

python3 scripts/create_address.py \
  --name t2 \
  --domain suilong.online \
  --admin-auth "$CLOUDFLARE_MAIL_ADMIN_AUTH"

Single full address:

python3 scripts/create_address.py \
  --name [email protected] \
  --admin-auth "$CLOUDFLARE_MAIL_ADMIN_AUTH"

Batch addresses from a comma-separated list:

python3 scripts/create_address.py \
  --names alice,bob,charlie \
  --domain suilong.online \
  --enable-prefix true \
  --admin-auth "$CLOUDFLARE_MAIL_ADMIN_AUTH"

Batch addresses from a file:

python3 scripts/create_address.py \
  --names-file ./names.txt \
  --domain suilong.online \
  --admin-auth "$CLOUDFLARE_MAIL_ADMIN_AUTH"

Export batch results as CSV:

python3 scripts/create_address.py \
  --names alice,bob,charlie \
  --domain suilong.online \
  --output-format csv \
  --output-file ./created-addresses.csv \
  --admin-auth "$CLOUDFLARE_MAIL_ADMIN_AUTH"

Runtime Environment

Prefer environment variables for secrets:

  • CLOUDFLARE_MAIL_ADMIN_AUTH
  • CLOUDFLARE_MAIL_BEARER_TOKEN
  • CLOUDFLARE_MAIL_FINGERPRINT
  • CLOUDFLARE_MAIL_LANG
  • CLOUDFLARE_MAIL_USER_TOKEN
  • CLOUDFLARE_MAIL_API_URL

Supporting Files

  • Read references/api.md for the endpoint contract and error mapping.
  • Read references/examples.md for example prompts and outputs.

OpenClaw Install Notes

Install this skill into an OpenClaw workspace under skills/cloudflare-mail-address-creator/, or globally under ~/.moltbot/skills/cloudflare-mail-address-creator/.

This package intentionally keeps only the OpenClaw-compatible skill files: SKILL.md, scripts/, and references/.

安全使用建议
This package appears internally consistent: it runs the included Python script to POST to the documented admin endpoint and requires an admin auth token. Before installing, verify you trust the target API host (default: mail-api.suilong.online), review the included scripts yourself, and provide a dedicated, least-privilege admin credential (do not reuse unrelated keys). Note the registry metadata did not declare required env vars even though the SKILL.md and script expect them — make sure you supply the correct CLOUDFLARE_MAIL_ADMIN_AUTH (or pass it via CLI) and consider running the script in a sandboxed environment if you are unsure.
功能分析
Type: OpenClaw Skill Name: mail-addr-creator Version: 1.0.0 The skill is a functional tool for managing temporary mailboxes via a third-party API (mail-api.suilong.online). The Python script (scripts/create_address.py) uses standard libraries to perform authenticated POST requests, handles credentials securely via environment variables, and includes robust input validation. No evidence of data exfiltration, malicious execution, or prompt injection was found; the code logic is transparent and aligns with the documentation provided in SKILL.md and README.md.
能力评估
Purpose & Capability
The name/description (create mailbox addresses via the admin API) matches the included script and references. The script posts to the documented backend endpoint and accepts admin credentials and optional tokens that are required to perform the stated operation.
Instruction Scope
SKILL.md instructs the agent to run the shipped script and to supply or read admin credentials from the environment; the script only reads names (CLI, CSV/file), validates them, calls the API, and optionally writes CSV/JSON output. There are no instructions to read unrelated system files or send data to unexpected endpoints beyond the configurable API URL.
Install Mechanism
There is no install spec; this is an instruction-only skill with a bundled Python script. No external downloads or package installs are performed by the skill, lowering installation risk. It expects a Python runtime to execute the script.
Credentials
The runtime needs sensitive admin credentials (CLOUDFLARE_MAIL_ADMIN_AUTH) and optionally bearer/user tokens — these are proportionate for calling an admin create-address API. Minor inconsistency: the registry metadata lists no required environment variables, while SKILL.md and the script explicitly rely on specific CLOUDFLARE_MAIL_* env vars; you should supply a dedicated, least-privilege admin credential for this task.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills or global agent configs. It only runs the provided script when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mail-addr-creator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mail-addr-creator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Cloudflare Mail Address Creator skill. - Enables creation of one or many mailbox addresses via the Cloudflare temp mail system admin API. - Supports single and batch address creation, including from files and CSV export. - Accepts both full email addresses and separated name/domain inputs. - Utilizes environment variables for sensitive authentication information. - Provides clear status reporting for address creation outcomes. - Includes documentation for workflow, CLI usage, and OpenClaw installation.
元数据
Slug mail-addr-creator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

mail-addr-creator 是什么?

create one or many ordinary mailbox addresses in a cloudflare temporary mail system through the /admin/new_address admin api and return structured results. u... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 132 次。

如何安装 mail-addr-creator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install mail-addr-creator」即可一键安装,无需额外配置。

mail-addr-creator 是免费的吗?

是的,mail-addr-creator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

mail-addr-creator 支持哪些平台?

mail-addr-creator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 mail-addr-creator?

由 jcwang502(@jcwang502)开发并维护,当前版本 v1.0.0。

💬 留言讨论