360 Secure SkillHub
360 安全技能中心

Routstr Skill

提供四个 shell 脚本,通过 curl 调用 Routstr API 检查账户余额与用量、创建闪电发票为账户充值、查询发票支付状态,并支持用 Cashu 代币充值;API 密钥等配置读取自 ~/.openclaw/openclaw.json。

分类:自动化
sh1ftred
sh1ftred
热度 49.16
最近更新 2026-05-11 15:54:29

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add sh1ftred/routstr-balance-management
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
balance-management
description
Manage Routstr balance by checking balance, creating Lightning invoices for top-up, and checking invoice payment status
license
MIT
compatibility
opencode

What I do

  • Check current Routstr API balance (in sats and BTC)
  • Display usage statistics (total spent, total requests)
  • Create Lightning invoices for top-up payments
  • Check payment status of existing invoices
  • Top up balance using Cashu tokens

When to use me

Use this when you need to:

  • Check your current Routstr account balance
  • Top up your Routstr account by creating a Lightning invoice
  • Verify if a previously created invoice has been paid

How to use me

The shell scripts read API configuration from ~/.openclaw/openclaw.json:

  • check_balance.sh - Run with no arguments to display current balance and usage
  • create_invoice.sh <amount_sats> - Create invoice for specified amount in satoshis
  • invoice_status.sh <invoice_id> - Check payment status of an invoice
  • topup_cashu.sh <cashu_token> - Top up balance using a Cashu token

All amounts are displayed in both satoshis and BTC for convenience.