π¦ ClawHub
Sure API
by @ashanzzz
Use the we-promise/sure REST API with X-Api-Key auth. Covers accounts, transactions, categories, tags, merchants, imports, holdings, trades, valuations, chat...
π‘ Examples
Smoke test
bash skills/sure-api/scripts/sure_api_smoke.sh
Common wrapped commands
node skills/sure-api/scripts/sure_api_cli.js accounts:list
node skills/sure-api/scripts/sure_api_cli.js categories:list --classification expense
node skills/sure-api/scripts/sure_api_cli.js tags:list
node skills/sure-api/scripts/sure_api_cli.js merchants:list
node skills/sure-api/scripts/sure_api_cli.js transactions:list --start_date 2026-03-01 --end_date 2026-03-31 --type expense
node skills/sure-api/scripts/sure_api_cli.js holdings:list --account_id
node skills/sure-api/scripts/sure_api_cli.js trades:list --account_id --start_date 2026-03-01 --end_date 2026-03-31
Safe write pattern
Always prefer: 1. read current state 2. dry-run if the wrapped command supports it 3. send the real write only with explicit confirmation flags
Example:
node skills/sure-api/scripts/sure_api_cli.js transactions:create \
--account_id \
--date 2026-03-01 \
--amount 12.34 \
--name "ει₯" \
--nature expense \
--dry-runnode skills/sure-api/scripts/sure_api_cli.js transactions:create \
--account_id \
--date 2026-03-01 \
--amount 12.34 \
--name "ει₯" \
--nature expense \
--yes
TERMINAL
clawhub install sure-api