← 返回 Skills 市场
outrice

jisuai-balance

作者 outRice · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
306
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install jisuai-balance
功能描述
查询极速AI账户余额和剩余调用次数,自动读取配置并返回账户余额和剩余次数信息。
使用说明 (SKILL.md)

极速AI余额查询

触发词

  • "查询极速AI余额"
  • "查询极速AI余额次数"
  • "极速AI还剩多少次"
  • "极速AI余额"

自动读取配置

技能会自动从 ~/.openclaw/openclaw.json 读取极速AI的 API Key:

  • 查找 models.providers 中 baseUrl 为 https://v2.aicodee.com 的配置
  • 读取对应的 apiKey

客户无需额外配置(如果已配置过极速AI的 API Key)

API 调用

  • 余额查询地址:http://v2api.aicodee.com/chaxun/balance?key={api_key}
  • API Key 从 OpenClaw 配置中自动读取

返回 JSON 格式:

{
  "success": true,
  "total": 100.00,
  "num": 1000
}
  • total: 账户余额(美元)
  • num: 剩余次数

执行方式

运行 scripts/check_balance.py

返回格式

根据用户询问的内容返回:

  • 问余额 → 您的账户余额为:${total}
  • 问次数 → 您剩余次数:{num}次
  • 都问 → 您的账户余额为:${total},剩余次数:{num}次

错误处理

  • success: false → 显示 message 错误信息
  • API 调用失败 → 查询余额失败,请稍后重试
  • 未配置 → 未配置极速AI API Key,请在 OpenClaw 配置中添加
安全使用建议
This skill appears to do what it says: it will read ~/.openclaw/openclaw.json to find your 极速AI/aicodee API key (it also looks for a skills.entries.jisuai.api_key variant), then call the provider's balance endpoint and return total/num. Before installing, consider: 1) The balance API is invoked over plain HTTP and the API key is passed in the URL query string — that can expose the key in transit, in network logs, or via Referer headers. Prefer a skill that uses HTTPS or a POST body for keys. 2) The script will read your OpenClaw config file; ensure that file contains only expected secrets and that you trust the domain v2api.aicodee.com / v2.aicodee.com. 3) If you are concerned, rotate the API key after testing, or modify the script to use HTTPS and send the key in a safer way. 4) The SKILL.md and script are mostly consistent, but the script's extra lookup path (skills.entries.jisuai.api_key) is undocumented — verify where your key is stored. If you trust the provider and accept the transport risk, the skill is coherent and functional; otherwise avoid installing or request a secure-transport update (HTTPS).
功能分析
Type: OpenClaw Skill Name: jisuai-balance Version: 1.0.0 The skill is designed to query account balances for the 'Jisu AI' service by automatically extracting API keys from the user's local `~/.openclaw/openclaw.json` configuration file. While this behavior is documented in `SKILL.md`, the script `scripts/check_balance.py` transmits the retrieved API key over an unencrypted HTTP connection (`http://v2api.aicodee.com/chaxun/balance`), which is a significant security vulnerability that allows for credential theft via network sniffing.
能力评估
Purpose & Capability
Name/description match behavior: the skill reads ~/.openclaw/openclaw.json to obtain an API key and queries the Jisui (极速AI / aicodee) balance endpoint. The required actions align with the declared purpose; no unrelated credentials, binaries, or system resources are requested.
Instruction Scope
The SKILL.md and the script both instruct the agent to read ~/.openclaw/openclaw.json to obtain the API key and then call the provider balance API. This is within scope for a balance-check skill, but the script also supports an undocumented alternate config location (skills.entries.jisuai.api_key) in addition to the documented models.providers lookup — that mismatch is minor but worth noting. Important: the HTTP GET uses the API key in the URL query string, which may expose the key in transit, logs, or Referer headers.
Install Mechanism
No install spec is provided (instruction-only with a small included script). Nothing is downloaded or written to disk by an installer. The only code is the provided script which will be executed to perform the query.
Credentials
The skill requests no environment variables or external credentials beyond reading the user's OpenClaw config file for the API key, which is necessary for the stated function. The file access is proportional to the task, but it does access a local config containing secrets (API key).
Persistence & Privilege
always is false and the skill does not request permanent platform-level privileges. It only reads the user's OpenClaw config file and does not modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install jisuai-balance
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /jisuai-balance 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
极速AI余额查询 1.0.0 发布说明 - 新增通过触发词自动查询极速AI账户余额及剩余次数的功能 - 支持从 OpenClaw 配置自动读取极速AI API Key,无需额外配置 - 调用官方 API 查询余额与次数,并根据问法智能返回所需信息 - 集成错误处理,明确提示配置缺失、API 失败等情况
元数据
Slug jisuai-balance
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

jisuai-balance 是什么?

查询极速AI账户余额和剩余调用次数,自动读取配置并返回账户余额和剩余次数信息。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 306 次。

如何安装 jisuai-balance?

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

jisuai-balance 是免费的吗?

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

jisuai-balance 支持哪些平台?

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

谁开发了 jisuai-balance?

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

💬 留言讨论