微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📊

实时 API 配额监控

Telegram Usage Stats · v1.0.0
开发 安全 A 级 作者 c-drew 公开目录收录
下载 2.8k 安装 2 收藏 11.4k 浏览 13
原始页面

简介

实时查看 Telegram Bot API 配额状态,快速掌握剩余额度与重置倒计时,适合高频调用场景下的用量监控。

原始描述

Display session usage statistics (quota, session time, tokens, context)

技能正文


name: telegram-usage description: Display session usage statistics (quota, session time, tokens, context) metadata: {"clawdbot":{"emoji":"📊","requires":{"bins":["node"]}}}

Telegram Usage Stats

Display comprehensive session usage statistics by running the handler script.

What it does

Shows a quick status message with:

  • Quota Remaining: Percentage of API quota left with visual indicator
  • Reset Timer: Time remaining until quota resets

How to use this skill

When the user asks for usage statistics, quota info, or session data:

node /home/drew-server/clawd/skills/telegram-usage/handler.js

This will output formatted HTML suitable for Telegram's parseMode.

Output Format

The response is formatted as a clean Telegram message with:

  • Section headers (bold)
  • Clear percentages and time remaining
  • Visual indicators (emoji)
  • All in one message for quick reference

Example Output

📊 API Usage

🔋 Quota: 🟢 47%
⏱️ Resets in: 53m

Notes

  • Pulls real-time data from clawdbot models status
  • Updates on each invocation with current API quota values
  • Uses plain text formatting for Telegram compatibility

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

其他来源收录

同一技能在不同目录的原始页面:

标签

telegramapi-monitoringusage-statsbot-developmentcli-tool

同类 Skill