Skip to main content

spend-insights

Show BlockRun spend insights — today / 7d / 30d / all-time totals, a by-endpoint breakdown, and a monthly/yearly projection, read from the real x402 settlement ledger. Use when the user asks how much they've spent on BlockRun, wants a cost report, breakdown, or projection.

ソース情報

リポジトリ
BlockRunAI/blockrun-codex-plugin
ソースの最終更新活動
2026年7月11日 06:33
検出された SKILL.md の言語
英語
スター
0
フォーク
1

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
spend-insights
description
Show BlockRun spend insights — today / 7d / 30d / all-time totals, a by-endpoint breakdown, and a monthly/yearly projection, read from the real x402 settlement ledger. Use when the user asks how much they've spent on BlockRun, wants a cost report, breakdown, or projection.
Run the bundled insights script and show its output verbatim: ``` node "${PLUGIN_ROOT}/scripts/insights.js" ``` It reads `~/.blockrun/cost_log.jsonl` (the real settlement ledger the `@blockrun/llm` SDK appends to — ground truth, not an estimate) and prints: - Totals: today · 7d · 30d · all-time (with call count) - Daily average (30d) → projected month / year - By-endpoint breakdown for the last 30 days If the script says the ledger is empty, tell the user no BlockRun spend has been recorded yet. Do not read or print any wallet keys — only the cost ledger is used.
GitHubで見る