home / skills / openclaw / skills / sure

sure skill

/skills/bt0r/sure

This skill helps you retrieve reports from the Sure personal financial board by connecting via API and delivering account data.

npx playbooks add skill openclaw/skills --skill sure

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
653 B
---
name: sure
description: Get report from Sure personal financial board
homepage: https://sure.am
metadata: {"clawdbot":{"emoji":"📈","requires":{"bin": ["curl"],"env":["SURE_API_KEY", "SURE_BASE_URL"]}}}
---
# Sure Skill

## Setup
1. Go to your Sure app, example : https://localhost:3000 
2. Go to settings and get an API key, example : https://localhost:3000/settings/api_key
3. Export your API KEY and BASE URL as environment variables :
 ```bash
export SURE_API_KEY="YOUR_API_KEY"
export SURE_BASE_URL="YOUR_BASE_URL"
```

## Get accounts
List all accounts amounts
```bash
curl -H "X-Api-Key: $SURE_API_KEY" "$SURE_BASE_URL/api/v1/accounts"
```

Overview

This skill connects to the Sure personal financial board and fetches summaries and reports of your accounts. It uses the Sure API key and base URL to authenticate and retrieve account balances, transactions, and aggregated views. The skill is designed for automated backups, quick snapshots, and integration into financial workflows.

How this skill works

The skill reads SURE_API_KEY and SURE_BASE_URL environment variables to authenticate API requests. It calls the accounts and related endpoints to list balances and transactions, then formats the data into a concise report. You can run it to produce a snapshot of current account states or to export raw JSON for archival or downstream processing.

When to use it

  • Generate a quick snapshot of all account balances for backup or review.
  • Export account and transaction data for archival in a personal database.
  • Integrate Sure account summaries into a broader financial dashboard.
  • Run periodic checks to confirm balances and detect anomalies.
  • Share a concise report with a financial advisor or budgeting tool.

Best practices

  • Store SURE_API_KEY and SURE_BASE_URL as environment variables, not in code.
  • Limit the frequency of automated requests to avoid hitting rate limits.
  • Use HTTPS endpoints and validate certificates for secure communication.
  • Filter and store only the fields you need to minimize PII exposure.
  • Rotate API keys if a key may have been exposed and update environment variables.

Example use cases

  • Run a daily cron job that fetches account balances and appends them to a historical CSV.
  • On-demand generation of a PDF or JSON report of current accounts before a financial meeting.
  • Automated alert when total available balance drops below a threshold.
  • One-click export of all accounts to import into a third-party budgeting app.
  • Archive monthly snapshots of transactions for tax preparation or audits.

FAQ

How do I authenticate the skill?

Set SURE_API_KEY and SURE_BASE_URL as environment variables; the skill uses those to add the X-Api-Key header and call the API.

What data does the report include?

The report typically includes account identifiers, current balances, and recent transactions depending on available endpoints and permissions.