balance
Show the looot balance (available and reserved credit) and, when the person asks to add credit, open a Stripe top-up link for them to pay. Use for "how much looot credit do I have" or "top up looot".
Files1
View on GitHubSKILL.mdplugins/claude-code/looot/skills/balance/SKILL.md
GitHublooot balance and top-up
Amount asked for, if any: $ARGUMENTS
- Call
balancewith{}(free, opens no payment). Reportavailableandreservedin dollars, and anyholds. - If no amount was given and the balance is above $0, stop here. Mention that top-ups start at
topUpLink.minimumUsddollars. - If an amount was given, or the balance is $0 and the person wants to continue, call
top_upwith{"amountUsd": <amount>}(omitamountUsdto use the suggested amount). An amount below the minimum is refused: say the minimum and ask again. - Give the person
checkoutUrlto pay on Stripe. If it is null, givedashboardUrland thereason. Never enter card details yourself. - When they say they paid, call
balanceagain and report the newavailable.