← Back to Skills Marketplace
doraohm1

Kimi Code Quota

by doraohm1 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
153
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install kimi-code-quota
Description
Query Kimi Code Plan quota and usage information. Use when the user wants to check their Kimi Code subscription quota, usage percentage, reset time, or API k...
README (SKILL.md)

Kimi Code 额度查询

查询用户的 Kimi Code Plan 订阅额度、使用情况和 API Keys 状态。

查询流程

1. 打开 Kimi Code 网站

agent-browser open https://www.kimi.com/code --headed

2. 检查登录状态

获取页面快照,检查是否已登录:

agent-browser snapshot -i

如果看到 "注册/登录" 按钮:用户未登录,需要引导用户登录

  • 点击 "注册/登录" 按钮
  • 支持微信扫码或手机号登录
  • 等待用户确认登录完成

如果看到用户名(如 "登月者1989"):用户已登录,继续下一步

3. 进入控制台

点击 "控制台" 按钮:

agent-browser click "@e29"  # 控制台按钮的ref,可能需要根据实际情况调整

4. 获取额度信息

进入控制台后,截图并获取页面内容:

agent-browser snapshot -i
agent-browser screenshot quota.png

需要获取的关键信息:

  • 本周用量:百分比和重置时间(如 "7%(159小时后重置)")
  • 频限明细:百分比和重置时间(如 "4%(3小时后重置)")
  • 会员等级:如 Moderato、Andante、Allegretto、Allegro
  • 模型权限:如 K2.5 旗舰模型

5. 获取 API Keys 信息

在控制台页面查看 API Keys 表格:

  • API ID
  • 名称
  • 创建时间
  • Key(部分隐藏)
  • 状态(生效中/已停用)

6. 汇总报告

向用户报告以下信息:

📊 Kimi Code Plan 额度

| 项目 | 状态 |
|------|------|
| 本周用量 | X%(X小时后重置) |
| 频限明细 | X%(X小时后重置) |
| 会员等级 | XXX |
| 模型权限 | XXX |

🔑 API Keys
- 名称: XXX
- 创建时间: XXX
- 状态: 生效中

📝 最近使用记录(可选)
- 显示最近几条使用记录

注意事项

  1. 登录状态:如果用户未登录,需要先完成登录流程
  2. ref 编号:页面元素的 ref 编号(如 @e29)可能会变化,需要根据实际情况调整
  3. 超时处理:网络较慢时可能需要增加等待时间
  4. 页面结构:如果页面改版,可能需要更新选择器

示例对话

用户: "查一下我的kimi code额度"

助手: 打开浏览器访问 Kimi Code → 检查登录状态 → 进入控制台 → 获取额度信息 → 汇总报告

用户: "kimi code还剩多少"

助手: 同上流程

相关链接

Usage Guidance
This skill will open a browser and interact with your Kimi Code account pages to read quota, usage, and API Key info and will take screenshots of those pages. That's consistent with its purpose, but consider: only use it if you are comfortable letting the agent view your account pages and potentially capture screenshots that include partial API keys or usage logs. Do not provide external credentials to the skill — it expects you to authenticate via the website. If you share a device or are concerned about screenshots, avoid installing or revoke/regenerate any API keys after use. If you want stronger guarantees, ask for an explicit list of exact page elements the skill will capture or test it with a throwaway account first.
Capability Assessment
Purpose & Capability
Name and description (checking Kimi Code quota and API key status) align with the instructions: open kimi.com, enter console, capture usage and API key info. No unrelated binaries, env vars, or installs are requested.
Instruction Scope
Instructions direct the agent to browse the user's Kimi Code account, take snapshots/screenshots, and read quota, usage, and API Keys (partially hidden). Accessing API Keys and recent usage is sensitive but consistent with the stated functionality; the skill does not instruct the agent to read local files or other unrelated system data. The agent will prompt the user to log in if necessary (WeChat/phone), which is appropriate but worth noting as it may require user interaction.
Install Mechanism
No install spec and no code files — instruction-only skill. This is the lowest-risk install profile.
Credentials
No environment variables, credentials, or config paths are requested. The sensitive items the skill reads (API keys, usage) are obtained via the user's authenticated web session and are relevant to the purpose.
Persistence & Privilege
always is false and the skill is user-invocable. The skill does not request permanent/system-wide privileges or modify other skills' configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install kimi-code-quota
  3. After installation, invoke the skill by name or use /kimi-code-quota
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
kimi-code-quota 1.0.0 - Initial Release - Introduces a skill to query and report Kimi Code Plan subscription quota, usage percentage, and API Keys status. - Supports both login-guided and logged-in user flows. - Gathers and summarizes key information: weekly usage, rate limits, membership level, model access, API Key details. - Triggered by keywords such as “kimi code额度”, “查看kimi code”, and related phrases.
Metadata
Slug kimi-code-quota
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Kimi Code Quota?

Query Kimi Code Plan quota and usage information. Use when the user wants to check their Kimi Code subscription quota, usage percentage, reset time, or API k... It is an AI Agent Skill for Claude Code / OpenClaw, with 153 downloads so far.

How do I install Kimi Code Quota?

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

Is Kimi Code Quota free?

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

Which platforms does Kimi Code Quota support?

Kimi Code Quota is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Kimi Code Quota?

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

💬 Comments