Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add devcsde/oatda-skills --skill oatda-check-balancegit clone --depth 1 https://github.com/devcsde/oatda-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/devcsde/oatda-skills/oatda-check-balance)<a href="https://agentmods.dev/skills/devcsde/oatda-skills/oatda-check-balance"><img src="https://agentmods.dev/badge/skills/devcsde/oatda-skills/oatda-check-balance.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00084 | $0.01153 |
| Opus 5 | $0.00042 | $0.00576 |
| Sonnet 5 | $0.00017 | $0.00231 |
| Haiku 4.5 | $0.00008 | $0.00115 |
Grade A, and why
oatda-check-balance scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- The key resolution script and subsequent `curl` commands **must run in the same shell session**. Either run all commands in one session, or chain them (e.g., `export OATDA_API_KEY=... && curl ...`). How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OATDA Check Balance
Check the current OATDA account balance, total usage, and available balance. Useful before expensive image/video/LLM calls to confirm the user has enough credits.
When to Use
Use this skill when the user wants to:
- Check current OATDA credits / balance
- See total usage spent so far
- Verify there is enough budget before running a costly call (image, video, long LLM run)
- Diagnose why an OATDA call returned
402 Insufficient credits
Prerequisites
The user needs an OATDA API key. Check in this order:
$OATDA_API_KEYenvironment variable~/.oatda/credentials.jsonconfig file
If neither exists, tell the user:
You need an OATDA API key. Get one at https://oatda.com, then set it:
export OATDA_API_KEY=your_key_here
Step-by-Step Instructions
1. Resolve the API key
# Check env var first; if empty, auto-load from credentials file
if [[ -z "$OATDA_API_KEY" ]]; then
export OATDA_API_KEY=$(cat ~/.oatda/credentials.json 2>/dev/null | jq -r '.profiles[.defaultProfile].apiKey' 2>/dev/null)
fi
# Verify key exists (show first 8 chars only)
echo "${OATDA_API_KEY:0:8}"
If the output is empty or null, stop and ask the user to configure their API key.
IMPORTANT:
- Never print the full API key. Only show the first 8 characters for verification.
- The key resolution script and subsequent
curlcommands must run in the same shell session. Either run all commands in one session, or chain them (e.g.,export OATDA_API_KEY=... && curl ...).
2. Make the API call
curl -s -X GET "https://oatda.com/api/v1/user/credits" \
-H "Authorization: Bearer $OATDA_API_KEY"
3. Parse the response
The API returns JSON:
{
"id": "uuid",
"userId": "uuid",
"balance": 25.00,
"updatedAt": "2026-06-22T14:30:00.000Z",
"usageSum": 7.42,
"actualBalance": 17.58
}
| Field | Type | Meaning |
|---|---|---|
balance |
number | Top-up total (credits ever purchased) |
usageSum |
number | Total amount consumed by API calls so far |
actualBalance |
number | What the user can still spend = balance - usageSum |
updatedAt |
ISO timestamp | Last time the balance row was refreshed |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 119 lines · 84 tokens per session scan A 75fe027216f9
oatda-check-balance is a skill published in the GitHub repository devcsde/oatda-skills (0 stars, last pushed 8d ago), licensed Apache-2.0. It adds 84 tokens to every session and 1,153 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
omni-budget
Configure spending limits, token quotas, and rate-limit policies per API key or globally. Inspect current consumption and enforce cost controls across providers.
pricing-refresh
Refresh or verify the hermit cost rate table against Anthropic's live pricing. Use when the operator says "refresh pricing", "verify pricing", "is the rate table current", "new model pricing", or asks whether scripts/lib/pricing.ts matches current Codex rates. Maintainer-only; never autonomous, never a routine, never…
monitor
Autonomous monitoring loop. Checks open trades against SL/TP levels, closes trades that hit targets, evaluates expired predictions, and generates periodic summaries. Run via cron for full autonomy. Usage: /monitor.
validate-predictions
Review and validate pending predictions against current market data. Usage: /validate-predictions.
analyze
Run a comprehensive multi-agent crypto analysis with phased execution. Usage: /analyze BTC or /analyze ETH SOL.
close-trade
Close an open trade and run post-mortem analysis. Usage: /close-trade trade001 or /close-trade trade001 at 98500.