← Back to Skills Marketplace
outrice

jisuai-balance

by outRice · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
306
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install jisuai-balance
Description
查询极速AI账户余额和剩余调用次数,自动读取配置并返回账户余额和剩余次数信息。
README (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 配置中添加
Usage Guidance
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).
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install jisuai-balance
  3. After installation, invoke the skill by name or use /jisuai-balance
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
极速AI余额查询 1.0.0 发布说明 - 新增通过触发词自动查询极速AI账户余额及剩余次数的功能 - 支持从 OpenClaw 配置自动读取极速AI API Key,无需额外配置 - 调用官方 API 查询余额与次数,并根据问法智能返回所需信息 - 集成错误处理,明确提示配置缺失、API 失败等情况
Metadata
Slug jisuai-balance
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is jisuai-balance?

查询极速AI账户余额和剩余调用次数,自动读取配置并返回账户余额和剩余次数信息。 It is an AI Agent Skill for Claude Code / OpenClaw, with 306 downloads so far.

How do I install jisuai-balance?

Run "/install jisuai-balance" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is jisuai-balance free?

Yes, jisuai-balance is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does jisuai-balance support?

jisuai-balance is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created jisuai-balance?

It is built and maintained by outRice (@outrice); the current version is v1.0.0.

💬 Comments