Kyma API: check spend and credits
Report the Kyma API account balance, this connection's spend cap, amount spent, remaining budget and reset date, plus recent credit ledger entries, and hand back the top-up link wh…
kyma-api
@kyma-api
Install
$ openclaw skills install @kyma-api/kyma-check-spend-and-creditsCheck spend and credits on Kyma API
Everything here is read-only. No tool in this skill moves money or creates a key.
When to use
- "What's my balance?" / "How many credits do I have left?"
- "How much has this connection spent?" / "When does my cap reset?"
- "What did that call cost?"
- Immediately before any billed action, so the user sees the budget before the charge.
Steps
- Call
get_creditsfor the account balance in USD. - Call
get_spendfor this connection's own limits: the cap, spent so far, remaining, and the reset date. This is a per-connection budget separate from the account balance — a connection can be capped out while the account still has credits, and vice versa. - If the user asked what something cost, or the numbers look wrong, call
get_transactionsfor the recent ledger rows and read the amounts and types back. Each row is one credit movement; usage rows are charges, top-up rows are additions. - If the balance or the remaining cap will not cover what the user is about to do, call
get_topup_linkand give them the link. It returns the billing page, never a checkout — the user completes payment themselves.
Reporting
- Lead with the two numbers that matter: account balance, and remaining on this connection's cap with its reset date.
- Give amounts in USD with enough decimal places to be honest about sub-cent costs.
- When the remaining cap is the binding constraint, say so explicitly, and mention the cap is adjustable from $1 to $500 at https://kymaapi.com/integrations.
- Never present a remembered or estimated balance. If a tool call failed, say the balance is unknown.
Before a billed action
Run this check first, state the balance and remaining cap, then ask for the go-ahead. Do not chain straight from a balance check into send_message.
Top skills in this category
Stock Analysis
@udiedrichsenAnalyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Stock Market Pro
@kys42Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Stock Watcher
@robin797860Manage and monitor a personal stock watchlist with support for adding, removing, listing stocks, and summarizing their recent performance using data from 10jqka.com.cn. Use when the user wants to track specific stocks, get performance summaries, or manage their watchlist.
A股量化 AkShare
@mbpzA股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
Intelligent Stocks Screener
@financial-ai-analyst基于东方财富数据库,支持通过自然语言输入筛选A港美股、基金、债券等多种资产,支持多元指标筛选,含技术面、消息面、基本面及市场情绪等,可用于全球资产速筛、跨市场监控、投资组合构建、策略回测等场景。返回结果包含数据说明及 csv 文件。Natural language screener for investment...