Install
openclaw skills install bill-trackerAccess Bill Tracker financial data - upcoming bills, account balances, and affordability checks.
openclaw skills install bill-trackerWhen the user asks about their bills, account balances, or whether they can afford something, use the bash tool to call the Bill Tracker API.
BILL_TRACKER_URL - Base URL (e.g. https://your-server.com or http://localhost:1337)BILL_TRACKER_SESSION_TOKEN - Session token for authentication (obtained once via POST /api/mcp/token)Bill Tracker uses magic-link auth (no passwords). Two steps:
curl -s -X POST -H "Content-Type: application/json" \
-d '{"email":"user@example.com"}' \
"${BILL_TRACKER_URL}/api/mcp/request-code"
curl -s -X POST -H "Content-Type: application/json" \
-d '{"code":"123456"}' \
"${BILL_TRACKER_URL}/api/mcp/token"
Store the returned sessionToken in BILL_TRACKER_SESSION_TOKEN. Tokens are long-lived; no need to re-verify on every request. (Codes expire in 10 minutes.)
POST ${BILL_TRACKER_URL}/api/mcp/upcoming-transactions
X-Parse-Session-Token: ${BILL_TRACKER_SESSION_TOKEN}
Body: { "days": 3 }
Default days is 3. Increase for a longer window (e.g. days=7).
POST ${BILL_TRACKER_URL}/api/mcp/account-balances
X-Parse-Session-Token: ${BILL_TRACKER_SESSION_TOKEN}
Returns each account with name, type, balance, and a totalBalance (cash minus debt).
POST ${BILL_TRACKER_URL}/api/mcp/can-afford
X-Parse-Session-Token: ${BILL_TRACKER_SESSION_TOKEN}
Body: { "amount": 500, "horizonDays": 90 }
Replace 500 with the amount in dollars. horizonDays defaults to 90.
Returns either canAfford: true with the date they can afford it, or canAfford: false with a message.
Use curl with POST. Pass X-Parse-Session-Token (or Authorization: Bearer $BILL_TRACKER_SESSION_TOKEN) for authentication. The token identifies the user—no email or password needed. Parse the JSON response and summarize clearly for the user.
Example (upcoming transactions):
curl -s -X POST -H "X-Parse-Session-Token: $BILL_TRACKER_SESSION_TOKEN" -H "Content-Type: application/json" \
-d '{"days": 3}' \
"${BILL_TRACKER_URL}/api/mcp/upcoming-transactions"
Example (account balances):
curl -s -X POST -H "X-Parse-Session-Token: $BILL_TRACKER_SESSION_TOKEN" -H "Content-Type: application/json" \
-d '{}' \
"${BILL_TRACKER_URL}/api/mcp/account-balances"
Example (can afford):
curl -s -X POST -H "X-Parse-Session-Token: $BILL_TRACKER_SESSION_TOKEN" -H "Content-Type: application/json" \
-d '{"amount": 500}' \
"${BILL_TRACKER_URL}/api/mcp/can-afford"