btse-account-setup

btse-account-setup is a skill for Claude Code, Codex from xbotlive/btse-mcp. It costs 24 tokens per session (943 once invoked), scanned B, original, MIT.

A setup guide for connecting btse-mcp to BTSE Futures accounts. It explains how to configure API credentials, choose testnet or live trading, and test the connection.

In plain words
What is it for?
Creating or switching accounts, storing their credentials, verifying access, and diagnosing common authentication or permission errors.
Why use it?
It helps avoid connection failures and keeps test accounts separate from live accounts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating or switching accounts, storing their credentials, verifying access, and diagnosing common authentication or permission errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xbotlive/btse-mcp/btse-account-setup
Install

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.

Any agent
npx skills add xbotlive/btse-mcp --skill btse-account-setup
Clone the repo
git clone --depth 1 https://github.com/xbotlive/btse-mcp

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for btse-account-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/xbotlive/btse-mcp/btse-account-setup/github.svg)](https://agentmods.dev/skills/xbotlive/btse-mcp/btse-account-setup)
Your own site
<a href="https://agentmods.dev/skills/xbotlive/btse-mcp/btse-account-setup"><img src="https://agentmods.dev/badge/skills/xbotlive/btse-mcp/btse-account-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for btse-account-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/xbotlive/btse-mcp/btse-account-setup"><img src="https://agentmods.dev/badge/skills/xbotlive/btse-mcp/btse-account-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 943 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00943
Opus 5 $0.00012 $0.00472
Sonnet 5 $0.00005 $0.00189
Haiku 4.5 $0.00002 $0.00094

Measured 9d ago against content hash 4a1df386ee7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

btse-account-setup scanned grade B 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 9d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Credentials are stored encrypted at `~/.config/btse-mcp/accounts.enc` using a Fernet key at `~/.config/btse-mcp/key` (chmod 600 on Unix).
skills/btse-account-setup/SKILL.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

BTSE Account Setup

Getting API Keys

Testnet (start here)

  1. Register at https://testnet.btse.io
  2. Go to Account → API tab → New API
  3. Save the API Key and Passphrase — the passphrase is your api_secret and is shown only once
  4. Set permissions: Read + Trading (add Transfer if needed)

Live

Same steps at https://btse.com


Configuring an Account

# Configure the default account
btse-mcp config

# Configure a named account (e.g. a separate testnet account)
btse-mcp config --account-id testnet

You will be prompted for:

  • API Key — paste from BTSE
  • API Secret — paste passphrase (input is hidden)
  • Use testnet? — y for testnet, N for live

Credentials are stored encrypted at ~/.config/btse-mcp/accounts.enc using a Fernet key at ~/.config/btse-mcp/key (chmod 600 on Unix).


Verifying the Connection

# Test the default account
btse-mcp test

# Test a named account
btse-mcp test testnet

A successful test prints the current BTC-PERP last price and mark price.

Common failures:

Error Cause Fix
Connection FAILED: HTTP 401 Wrong API key or secret Re-run btse-mcp config
Connection FAILED: HTTP 403 Key missing Read permission Add Read permission in BTSE API settings
Unexpected response Wrong testnet setting Check with btse-mcp list and reconfigure

Listing and Managing Accounts

# List all configured accounts (shows testnet/live flag)
btse-mcp list

# Delete an account
btse-mcp delete testnet

Using Multiple Accounts

All tools accept an optional account_id parameter:

btse_get_price(symbol="BTC-PERP", account_id="testnet")
btse_account_overview(account_id="live-main")

Default is "default" when account_id is omitted.

Important: If you reconfigure an account with btse-mcp config, restart the MCP server (restart Claude Desktop / Cursor) for the new credentials to take effect. The server caches clients per account for the lifetime of the process.

Read the full file on GitHub · 132 lines

Changes

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.

  1. 9d ago First seen · 132 lines · 24 tokens per session scan B 4a1df386ee7d

Subscribe to this mod's changes

btse-account-setup is a skill published in the GitHub repository xbotlive/btse-mcp (0 stars, last pushed 6mo ago), licensed MIT. It adds 24 tokens to every session and 943 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories