ln-agent-poc-v2: Command for Claude Code

.claude/commands/cashu-manage.md

cashu-manage is a command for Claude Code from cachet-jp/ln-agent-poc-v2. It costs 0 tokens per session (620 once invoked), scanned A, original, MIT.

A command for managing a Cashu ecash wallet, a digital wallet that holds electronic cash tokens. It can check balances, add funds through the Lightning payment network, send and receive tokens, and inspect the connected Cashu Mint.

In plain words
What is it for?
Checking sats/BTC balances, adding funds with a Lightning invoice, paying Lightning invoices, sending or receiving Cashu tokens as text or QR codes, checking proofs, and viewing Mint details.
Why use it?
It puts common wallet actions in one place instead of requiring separate manual steps for balances, Lightning payments, and token transfers. It also helps check whether stored payment proofs are still valid.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is cachet-jp/ln-agent-poc-v2's own configuration. It tells Claude Code how to work on ln-agent-poc-v2 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ln-agent-poc-v2 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cachet-jp/ln-agent-poc-v2. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cachet-jp/ln-agent-poc-v2/main/.claude/commands/cashu-manage.md
Clone the repo
git clone --depth 1 https://github.com/cachet-jp/ln-agent-poc-v2

Made for: Claude Code.

Wrote 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.

agentmods badge for cashu-manage

README.md
[![agentmods](https://agentmods.dev/badge/commands/cachet-jp/ln-agent-poc-v2/cashu-manage/github.svg)](https://agentmods.dev/commands/cachet-jp/ln-agent-poc-v2/cashu-manage)
Your own site
<a href="https://agentmods.dev/commands/cachet-jp/ln-agent-poc-v2/cashu-manage"><img src="https://agentmods.dev/badge/commands/cachet-jp/ln-agent-poc-v2/cashu-manage/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.

agentmods 80×15 button for cashu-manage

Your own site · 80×15
<a href="https://agentmods.dev/commands/cachet-jp/ln-agent-poc-v2/cashu-manage"><img src="https://agentmods.dev/badge/commands/cachet-jp/ln-agent-poc-v2/cashu-manage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 620 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00620
Opus 5 $0.00000 $0.00310
Sonnet 5 $0.00000 $0.00124
Haiku 4.5 $0.00000 $0.00062

Measured 11d ago against content hash b359cc29607e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cashu-manage 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 11d 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.

.claude/commands/cashu-manage.md · 49 lines

What it actually says

/cashu-manage - Cashu ウォレット管理

Cashu ecash ウォレットの残高確認、チャージ、トークン送受信を行います。

Instructions

ユーザーの要望に応じて以下のアクションを実行してください。 何をしたいか不明な場合は、利用可能なアクション一覧を表示してください。

利用可能なアクション

  1. 残高確認cashu_get_balance

    • 現在の ecash 残高(sats / BTC)を表示
  2. Lightning でチャージcashu_create_invoicecashu_claim_invoice

    • Lightning invoice を発行して、外部ウォレットから支払ってもらう方法
    • 手順:
      1. cashu_create_invoice で invoice と QR コードを表示
      2. ユーザーが Phoenix / WoS 等の Lightning ウォレットで QR を読み取って支払い
      3. 支払い後、cashu_claim_invoice で ecash を受け取り
  3. Lightning 支払いcashu_melt_tokens

    • Cashu ecash で Lightning invoice を支払い
    • BOLT11 invoice 文字列を指定
  4. トークン送信cashu_send_tokens

    • 指定額の ecash トークン文字列と QR コード画像を生成
    • 受け取り側は QR をスキャンするか、トークン文字列をコピペで取り込めます
  5. トークン受信cashu_receive_tokens

    • 受け取った ecash トークン文字列をウォレットに取り込み
    • cashuA... または cashuB... で始まる文字列を指定
  6. プルーフ確認cashu_check_proofs

    • 保存されている proof の有効性チェック
    • 使用済み proof は自動削除
  7. Mint 情報cashu_get_mint_info

    • 接続先 Cashu Mint のバージョン、対応機能を表示

日本語での案内例

  • 「残高を見たい」→ 残高確認
  • 「チャージしたい」「入金したい」「Lightning で入金」→ Lightning でチャージ(invoice 発行 → QR 表示 → 支払い確認)
  • 「送りたい」「渡したい」→ トークン送信
  • 「もらった」「受け取りたい」→ トークン受信
  • 「支払いたい」→ Lightning 支払い
  • 「QR コード」「インボイス」→ Lightning でチャージ
Changes

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.

  1. 11d ago First seen · 49 lines · 0 tokens per session scan A b359cc29607e

Subscribe to this mod's changes

cashu-manage is a command published in the GitHub repository cachet-jp/ln-agent-poc-v2 (4 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 620 tokens. 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.