← 返回 Skills 市场
jader

西之月登录

作者 Jader · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ 安全检测通过
121
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install westmoon-qrcode-login
功能描述
西之月账号扫码登录技能。当用户说“登录西之月”、“西之月扫码登录”、“获取西之月登录二维码”、 “刷新西之月登录态”,或其他技能检测到缺少有效西之月 access_token 时,应立即触发此技能。 执行完整登录流程:获取二维码 -> 向用户展示二维码 -> 轮询扫码状态 -> 保存 access_token、...
安全使用建议
This skill appears to do exactly what it says: generate a Westmoon QR, poll for confirmation, and save tokens to ~/.westmoon-user-login/tokens.json. Before installing, consider: 1) Verify the API host: the code uses api-x.westmonth.com while the skill name/docs say Westmoon—confirm this is the correct endpoint. 2) The skill writes auth tokens to your home directory (files are created with restrictive perms but still stored on disk); if you share the machine or are concerned about persistence, don't keep tokens or remove them after use. 3) Review the included Python scripts yourself if you can; they are small and readable. 4) The skill requires the requests package (requirements.txt). 5) Because the skill can be invoked implicitly by other skills (allow_implicit_invocation), only enable it if you trust automatic triggering in your agent environment. If anything seems off (unexpected host, unfamiliar owner), do not install and verify the official Westmoon integration source first.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The skill's name, SKILL.md, and code consistently implement a Westmoon QR-login flow and persist tokens under ~/.westmoon-user-login. One minor inconsistency: Config.BASE_URL uses api-x.westmonth.com (note the extra 't' in 'westmonth') while the skill and docs refer to 'westmoon'—verify the intended API host.
Instruction Scope
Runtime instructions (SKILL.md) align with the code: generate QR, decode/save image, poll status, fetch user info, and persist tokens. The code only reads/writes files under the dedicated ~/.westmoon-user-login directory and does network calls to the configured BASE_URL endpoints.
Install Mechanism
No install spec is provided (instruction-only metadata), but the bundle includes Python scripts and requirements.txt (requests). Installing or running the skill will require Python and the requests package; there is no remote download of arbitrary code or installers in the manifest.
Credentials
The skill requests no environment variables or external credentials. It stores tokens locally (tokens.json) which is appropriate for a login manager. File permissions are set to restrict access (directory 700, token temp file 600).
Persistence & Privilege
The skill persists tokens to the user's home directory for reuse and agents/openai.yaml sets allow_implicit_invocation: true so it can be triggered when other skills see a missing token — this is coherent for a login helper but be aware it can be invoked automatically by other skills when they detect a missing/expired token.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install westmoon-qrcode-login
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /westmoon-qrcode-login 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
westmoon-qrcode-login v0.1.1 - No code or documentation changes in this release. - Version bump only; behavior and interface remain the same as previous version.
v0.1.0
Initial release of westmoon-qrcode-login: - Provides QR code-based login flow for 西之月 accounts, with access token management and persistence. - Supports both terminal and OpenClaw session scenarios for displaying and processing QR codes. - Offers command-line and Python API for obtaining, polling, verifying, and clearing login sessions. - Stores access/refresh tokens and user info at ~/.westmoon-user-login/tokens.json for reuse by other skills. - Includes helper scripts for QR code generation, status polling, token checking, and integration guidance.
元数据
Slug westmoon-qrcode-login
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

西之月登录 是什么?

西之月账号扫码登录技能。当用户说“登录西之月”、“西之月扫码登录”、“获取西之月登录二维码”、 “刷新西之月登录态”,或其他技能检测到缺少有效西之月 access_token 时,应立即触发此技能。 执行完整登录流程:获取二维码 -> 向用户展示二维码 -> 轮询扫码状态 -> 保存 access_token、... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。

如何安装 西之月登录?

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

西之月登录 是免费的吗?

是的,西之月登录 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

西之月登录 支持哪些平台?

西之月登录 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 西之月登录?

由 Jader(@jader)开发并维护,当前版本 v0.1.1。

💬 留言讨论