Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
starchild-ai-agent avatar

Bybit Account

  • 34 installs
  • 21 repo stars
  • Updated August 3, 2026
  • starchild-ai-agent/official-skills

Helps with ai & agent building tasks during AI-assisted development.

About

bybit-account is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • bybit-account
  • AI & Agent Building
  • AI-coding skill

Bybit Account by the numbers

  • 34 all-time installs (skills.sh)
  • +4 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #8,855 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/starchild-ai-agent/official-skills --skill bybit-account

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs34
repo stars21
Last updatedAugust 3, 2026
Repositorystarchild-ai-agent/official-skills

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

Bybit Account (Read-Only)

Read-only Bybit account tracker built on the official pybit library. Use it for account tracking, daily/weekly reports, risk alerts, and cashflow attribution.

How to Get a Bybit API Key (Read-Only)

1. Sign in at bybit.com, top-right avatar → API

  • Direct link: https://www.bybit.com/app/user/api-management

2. Create New KeySystem-generated API Keys 3. Fill the form:

  • API key usage: API Transaction
  • Name: anything
  • Permissions: under Read-Only tick Wallet, Positions, Trade (read only). Do not enable Withdraw or any write permission
  • IP whitelist: leave empty

4. Complete 2FA → submit 5. Copy API Key + Secret Key immediately (Secret is shown only once) 6. Set them into this skill's environment variables

Reference: Bybit official tutorial

Prerequisites

1) API key

In Bybit API Management create a key with Read only.

2) Environment variables

BYBIT_RO_API_KEY=...
BYBIT_RO_SECRET=...

3) Geo restriction (required)

Bybit geo-blocks server IPs. Scripts default to the SC internal HK proxy:

HK_PROXY = "http://hk:x@sc-vpn.internal:8080"

Injection style: session.client.proxies.update({'http': HK, 'https': HK}). Do not pass HTTP(proxies=...) — pybit doesn't accept that constructor argument.

Important: FUND account is separate

Bybit v5's get_wallet_balance only supports `accountType=UNIFIED`. The Funding (FUND) account balance must be fetched via get_coins_balance(accountType='FUND'). The summary and portfolio_snapshot actions automatically query both and merge.

For positions, linear requires per-settleCoin queries (USDT / USDC) and inverse uses BTC. The summary and perp_risk actions automatically scan all three settlement coins.

Scripts

python3 skills/bybit-account/scripts/bybit_account.py <action> [options]
python3 skills/bybit-account/scripts/account_scenarios.py <scenario> [options]

Actions

  • summary: one-shot summary (UNIFIED + FUND + multi-settle positions)
  • wallet_balance / coin_balance / funding_balance / account_info / fee_rates / collateral_info
  • positions / open_orders / order_history / executions
  • deposits / withdrawals / internal_transfers / universal_transfers
  • transaction_log / borrow_history / server_time

Scenarios

  • portfolio_snapshot: full account snapshot (wallet + positions)
  • perp_risk: derivatives risk monitoring (IM / MM ratio + unrealized loss)
  • cashflow: deposits + withdrawals + transfers + transaction log
  • trading_activity: recent fills activity by category

Common usage

python3 skills/bybit-account/scripts/bybit_account.py summary
python3 skills/bybit-account/scripts/account_scenarios.py portfolio_snapshot
python3 skills/bybit-account/scripts/account_scenarios.py perp_risk --loss-threshold 5000
python3 skills/bybit-account/scripts/account_scenarios.py cashflow --limit 100
python3 skills/bybit-account/scripts/account_scenarios.py trading_activity --categories spot,linear

Important parameters

  • --account-type: UNIFIED (default) / CONTRACT / SPOT / FUND / INVESTMENT / OPTION
  • --category: spot / linear / inverse / option
  • --settle: settle coin for linear / inverse positions (default USDT)

Notes

  • pybit's HTTP constructor does not accept proxies; you must inject via client.proxies after construction.
  • linear positions require either settleCoin or symbol.
  • Use time-windowed pagination for high-volume fills.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.