Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add muji-j/jp-power-tools/plugin install jp-powerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/muji-j/jp-power-tools/power-get)<a href="https://agentmods.dev/commands/muji-j/jp-power-tools/power-get"><img src="https://agentmods.dev/badge/commands/muji-j/jp-power-tools/power-get/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/muji-j/jp-power-tools/power-get"><img src="https://agentmods.dev/badge/commands/muji-j/jp-power-tools/power-get.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.01449 |
| Opus 5 | $0.00018 | $0.00724 |
| Sonnet 5 | $0.00007 | $0.00290 |
| Haiku 4.5 | $0.00004 | $0.00145 |
Grade A, and why
power-get scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.
公開一次ソースのデータを取得して CSV(Excel 互換 UTF-8 BOM) で保存する。取得ロジックは scripts/power_data.py、実行は scripts/power_get.py。
ライトパス(既定)
一つずつ問い詰めず、提案して確認する流れにする。
- 発話から dataset・期間・エリアを抜き出す(例:「東京のスポット、昨日分」→ dataset=spot, area=東京, date=昨日)。dataset が読み取れない/曖昧なら
python power_get.py datasets(ネットワーク不要のpeek)で一覧を見せ、選んでもらう。 - 未指定項目は既定値を推論して提案する(黙って決め打ちしない。提案した上で確認を取る):
- 日付未指定の既定: spot/intraday=昨日(スポットは前日10時台に翌日分の約定結果として公表されるため、当日時点で確実に取れるのは前日分)/reserve=翌日(広域予備率は翌日の見通しを見る用途が主)/area-actual=先月(月次・四半期公表が多いため)。
- エリア未指定 → まず
power_profileの常用エリア(/power-setupで登録可)を参照。無ければ質問する(推測で決めない)。 - area-actual を要求されたら、対応は東京/九州/北海道のみである旨を先に伝える。他エリアの需給を見たいなら reserve(広域予備率)を代替案として提示する。
python power_get.py --dataset <..> ... --dry-runを実行し、解決済みパラメータと保存予定ファイル名を提示する(ネットワーク未接続・ファイル未生成)。--yearを使う場合は**年度(4月始まり。例: 2026-07-13は2026年度、2026-03-31は2025年度)**である点を明示する。日付(--date)だけ渡せば年度・期間形式は自動導出されるので、ライトユーザーには基本--dateを勧める。- 「このパラメータで実行してよいか」を1回確認し、OKなら
--dry-runを外して実行する。 - 完了後、保存パス + 先頭数行 + 行数 + 出典(sites.md) を報告。エラー時は原因と次の一手。
インバランス単価はこのライトパス(CLI)非対応。MCPの power_imbalance_prices(read-only)経由での確認を案内する。
精密パス
- 引数があれば使う。無ければ一つずつ尋ねる。
- どのデータ? — spot(スポット) / intraday(時間前) / reserve(予備率) / area-actual(エリア需給実績)。
python power_get.py datasetsでネットワーク不要のpeek(必須/任意パラメータ・対応エリア)を確認できる。 (インバランス単価はこのCLI未対応。HTML1件のみで実CSV取得が未実装のため。MCPのpower_imbalance_pricesは別途利用可) - 選んだデータに必要なパラメータだけ尋ねる:
- spot/intraday:
--year(年度。4月始まり)(必須。--dateのみでも自動導出), 任意で--date(その日で行フィルタ) - reserve:
--from·--to(必須。--dateのみなら from=to=date として自動導出), 任意--area(エリア絞り込み),--granularity koma|daily(既定 koma=jhSybt02) - area-actual:
--area(東京/九州/北海道 のみ実装), 東京=--yyyymm/ 九州=--yyyymmdd/ 北海道=--from·--to(YYYYMM、内部でHEPCO形式 YYYYMM-MM に正規化)。--dateのみでも各形式へ自動導出される。エリア表記ゆれ(東京電力/TEPCO/tokyo 等)は正式名に自動正規化される。
- spot/intraday:
- 保存先は既定 ~/Downloads(変更は
--out <ディレクトリ>)、--format jsonも可。--dry-runで解決済みパラメータ・保存予定ファイル名のみ確認できる(ネットワーク未接続)。 - 実行:
python "${CLAUDE_PLUGIN_ROOT}/scripts/power_get.py" --dataset <..> ... - 完了後、保存パス + 先頭数行 + 行数 + 出典(sites.md) を報告。エラー時は原因と次の一手。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 39 lines · 37 tokens per session scan A fd4f8447a5cc
power-get is a command published in the GitHub repository muji-j/jp-power-tools (1 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 1,449 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
prototype
You are building a proof-of-concept for the current Grainulator sprint. Read CLAUDE.md for sprint context and claims.json for existing research claims.
init
Install the formatters this repository needs, with every command visible before it runs.
brand-generate
Generate an on-brand document from a saved Brand Profile.
genshijin-compress
A command for safely shortening Markdown or text files into the genshijin style.
adr-supersede
Create a new ADR that supersedes an existing one.
check-dev
Type-check a Z specification with fuzz.