Agent Skills by ALSEL
汎用DevOps・インフラ⭐ リポ 0品質スコア 45/100

anthropic-usage

Anthropic APIの使用量とコストを任意の期間で確認できます。ユーザーがAPIコスト、使用量、支出、またはAnthropicアカウントの課金について質問した場合に使用します。「先週」「昨日」「2025年1月」などの自然言語表現や、特定の日付、日付範囲に対応しています。

description の原文を見る

Check Anthropic API usage and costs for any time period. Use when the user asks about API costs, usage, spending, or billing for their Anthropic account. Supports natural language periods like "last week", "yesterday", "january 2025", specific dates, or date ranges.

SKILL.md 本文

注意: このスキルのライセンスは ライセンス未確認 です。本サイトでは本文プレビューのみを表示しています。利用前に GitHub の原本でライセンス条件をご確認ください。

Anthropic API 使用量

Anthropic Admin API からコストレポートを取得します。

前提条件

  • ANTHROPIC_ADMIN_KEY~/.env に設定する必要があります

使用方法

スクリプトを期間を指定して実行します:

~/.claude/skills/anthropic-usage/scripts/get_cost.py "<period>"

サポートされている期間フォーマット

フォーマット説明
相対週last week, this week7日間のピリオド
相対月last month, this monthカレンダー月
相対日yesterday, today単一日
直近 N 日last 3 days, last 30 daysローリングウィンドウ
特定日付2026-02-01単一の UTC 日
日付範囲2026-01-01 to 2026-01-31含括範囲
月名january, feb 2025完全

...

詳細情報

作者
shreyasgm
リポジトリ
shreyasgm/anthropic-usage-skill
ライセンス
不明
最終更新
2026/2/8

Source: https://github.com/shreyasgm/anthropic-usage-skill / ライセンス: 未指定

本サイトは GitHub 上で公開されているオープンソースの SKILL.md ファイルをクロール・インデックス化したものです。 各スキルの著作権は原作者に帰属します。掲載に問題がある場合は info@alsel.co.jp または /takedown フォームよりご連絡ください。
原作者: shreyasgm · shreyasgm/anthropic-usage-skill · ライセンス: ライセンス未確認