altllm-portal-billing
它能做什么
这项技能让智能体通过命令行查看你的 AltLLM Portal 账户。它显示当前余额、兑换优惠码、列出过往交易,并汇总用量。
适用场景
- ✓当你想知道还剩多少 AltLLM 额度的时候。
- ✓当你有优惠码,并希望智能体为你兑换时。
- ✓当你想查看过往交易,或哪些模型和密钥用量最多的时候。
技能链接
https://github.com/internet-court/internet-court-skill/blob/main/vendored/altlayer/altllm-portal-billing/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想知道我还剩多少 AltLLM 额度,以及本月哪个模型用得最多。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体运行 AltLLM 命令行命令,读取你的余额、记录和用量报告。用量可以按日、按模型或按 API 密钥分组,报告涵盖自然月或你选择的日期范围。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
AltLLM Portal Billing
Balance, promo, transaction history, and usage analytics for the local altllm CLI.
Shared Setup
Before the first
altllmcommand in a fresh checkout, read and follow:
../_shared/preflight.md../_shared/session-and-target.md
Command Index
| Command | Purpose |
|---|---|
credit |
Current Portal balance, expiry, and allowed models |
redeem-promo |
Redeem a promo code |
transactions |
Billing transaction history with pagination and type filters |
usage-summary |
Current calendar-month summary |
usage-timeline |
Daily usage history |
usage-by-model |
Usage grouped by model |
usage-by-key |
Usage grouped by API key |
Rules
- These commands use the saved Portal session token.
- History commands mostly return raw Portal API JSON.
creditis the current CLI inspection path for plan/model-access metadata returned by Portal, including Business/Flex fields such assubscription_tier: "flex"when present.transactionssupports--page,--limit, and--type.usage-summarycurrently reflects the current calendar month only.usage-timeline,usage-by-model, andusage-by-keydefault to the current UTC month when no date flags are passed.- Usage commands support either
--monthor a complete explicit date range. balanceis an alias forcredit.
Reference
See references/cli-reference.md for filters, examples, and representative outputs.
常见问题
智能体可以查看之前月份的用量吗?
可以。用量报告接受月份或完整日期范围,但摘要只涵盖当前月份。
查看余额会改变我的账户吗?
不会。查看余额和记录只是读取信息。兑换优惠码是唯一会改变账户的操作。
这个技能处理付款吗?
不处理。付款链接和充值由另一项技能负责。
详情
作者的原始描述
Use this skill when the user asks to inspect AltLLM Portal balance, redeem a promo code, review billing transactions, or view usage analytics by period, model, or API key using the local altllm CLI. Do NOT use for API key lifecycle management or payment-link execution.
热度
- GitHub 星标
- 7.0k
- 排名
- #13604
- 许可证
- —
- 更新时间
- 2026/10/26
评论
- …
同一仓库的更多技能
internet-court
7.0k帮你的智能体安全地向其他 AI 智能体或付费服务付款、雇用或进行交易,并指引它找到合适的专业指南。
genlayer-erc7710-connector
7.0k帮你的智能体把 AI 审核结果与权限系统连接起来,使不合格的审核可以限制或取消智能体的权限。
genlayer-intelligent-contracts
7.0k帮你的智能体定义 AI 裁判的规则、证据和输出,用于检查另一个智能体是否遵循了其授权范围。
x402-erc7710
7.0k帮你的智能体按次为网络服务付款,并设置在权限预算范围内的持续支出。