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-setup)<a href="https://agentmods.dev/commands/muji-j/jp-power-tools/power-setup"><img src="https://agentmods.dev/badge/commands/muji-j/jp-power-tools/power-setup/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-setup"><img src="https://agentmods.dev/badge/commands/muji-j/jp-power-tools/power-setup.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.02862 |
| Opus 5.5 | $0.00015 | $0.01145 |
| Sonnet 5.5 | $0.00007 | $0.00572 |
| Haiku 4.5 | $0.00004 | $0.00286 |
Grade B, and why
power-setup scanned grade B with 1 finding 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 2mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
MCPサーバーの起動設定は**ユーザー設定がプラグイン既定を完全に上書きする**(優先順位: `settings.local.json` > `.mcp.json` > `~/.claude/settings.json` > プラグイン既定)。したがって `plugin.json` 自体は変更せず(Windows環境に影響を与えないため)、ユーザー設定側に正しいインタプリタを登録すれば解決する。 How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
jp-power のスクリプト(データ取得・入札CSV・朝ブリーフィング)と MCPサーバー(power_mcp.py)を
動かすための実行環境を点検し、不足があればユーザーに確認してから導入する。
手順
1. Python の点検
python --version(無ければpython3 --version/py --version)を実行し、バージョンを確認する。- 見つからない場合は勝手に入れず、必ずユーザーに確認する(Python 本体の導入は管理者権限やOS設定に影響し得るため)。
- Windows:
winget install -e --id Python.Python.3.12を提案し、同意を得たら実行。失敗時は https://www.python.org/downloads/ を案内。 - macOS:
brew install pythonを提案。Linux: ディストリのパッケージ(apt/dnf 等)を案内。 - 導入後は新しいシェルで再点検。
- Windows:
2. MCPサーバーのPythonインタプリタ確認(macOS/Linux で特に重要)
power-data MCPサーバーはプラグイン既定(plugin.json)で command: "python" を使って起動する。これは Windows 向けの既定であり、macOS/Linux では python コマンドが存在せず python3 のみ、という環境が多い。その場合、既定のままだと Claude Code 起動時に MCPサーバーが自動起動しない。
- 次を順に試し、実際に動作し、バージョン3.10以上を返すものを探す(
--versionの応答内容で判定すること。Windows のWindowsApps配下のpython3は Microsoft Store への誘導スタブで実体が入っていないことがあるため、応答が正常に返るかで確認する):python --versionpython3 --versionpy -3 --version
- 動作したインタプリタの絶対パスを取得する(例:
which python3/where python/py -3 -c "import sys; print(sys.executable)")。 - プラグイン既定の
pythonがそのまま動作する場合(多くの Windows 環境): 何もしなくてよい。現状のまま自動起動する旨を案内して次へ進む。 pythonが動作しない場合(多くの macOS/Linux 環境): 手順5「MCPインタプリタの上書き設定」で対処する。
3. ライブラリの点検
インストール済みか確認(python -c "import <mod>" の成否で判定):
- 必須:
requests(データ取得) - MCPサーバー用:
mcp,anyio - 推奨:
pandas(表を列名付きにし、朝ブリーフィング自動化の精度を上げる)
4. 不足があれば確認して導入
- 不足パッケージを一覧で示し、「導入してよいか」をユーザーに確認(AskUserQuestion 可)。
- 同意後:
python -m pip install -r "${CLAUDE_PLUGIN_ROOT}/scripts/requirements.txt"(または不足分のみpython -m pip install requests mcp anyio pandas)を実行。 - venv 利用を希望する場合は
python -m venv .venv→ 有効化 → 同 pip を案内。
5. MCPインタプリタの上書き設定(手順2で python が動作しなかった場合のみ)
MCPサーバーの起動設定はユーザー設定がプラグイン既定を完全に上書きする(優先順位: settings.local.json > .mcp.json > ~/.claude/settings.json > プラグイン既定)。したがって plugin.json 自体は変更せず(Windows環境に影響を与えないため)、ユーザー設定側に正しいインタプリタを登録すれば解決する。
重要: ~/.claude/settings.json はプラグインの外側にあるファイルのため、${CLAUDE_PLUGIN_ROOT} のようなプラグインスコープの変数はここでは展開が保証されない。展開されずリテラル文字列のまま実行されると python: can't open file '${CLAUDE_PLUGIN_ROOT}/scripts/power_mcp.py' のように MCPサーバーが静かに起動失敗する。インタプリタ・スクリプトともに、実在を確認した絶対パスのみを書き込むこと(${CLAUDE_PLUGIN_ROOT} は書かない)。
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.
- 2mo ago First seen · 99 lines · 37 tokens per session scan B 702feaecd61f
power-setup is a command published in the GitHub repository muji-j/jp-power-tools (1 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 2,862 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
learn
Force claude-smart to extract learnings from this session now.
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.
genshijin-compress
A command for safely shortening Markdown or text files into the genshijin style.
brand-generate
Generate an on-brand document from a saved Brand Profile.
standup
Show a daily standup summary with completed, in-progress, and blocked tasks across all active epics.