1. Habit
  2. Skills
  3. CCXT CLI skill
ccxt · 507 installs

CCXT CLI skill
Runs by itself, every morning.

Daily read-only market snapshots.

Install the CCXT CLI skill and make it a habit: follow https://gethabit.dev/skills/ccxt/ccxt-cli.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

507 installs45K starsMIT licenceSource on GitHub ↗

CCXT CLI

by ccxt · 507 installs

The skill

The ccxt cli skill calls any unified CCXT method on 100+ crypto exchanges from the terminal, with API key setup, sandbox mode, WebSocket streams, OHLCV charts and raw JSON output for scripts.

Only when you ask.

The habit

Daily read-only market snapshots.

↻ Runs by itselfevery morning

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after 20 symbols per run; never calls createOrder or withdraw.

  1. 01

    Read the watch list

    Load the exchanges and symbols from the snapshot file.

  2. 02

    Fetch the tickers

    Run ccxt <exchangeId> fetchTicker <symbol> --raw for each entry.

  3. 03

    Fetch the candles

    Run fetchOHLCV with a timeframe, padding skipped optionals with undefined.

  4. 04

    Check each result

    Treat a non-zero exit code or non-JSON output as an error.

  5. 05

    Handle known errors

    Use --refresh-markets for BadSymbol and log geo-block errors.

  6. 06

    Save the snapshot

    Append the results and errors to the snapshot file.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the CCXT CLI skill helps.

Use it when

  • ✓ You query an exchange from a shell
  • ✓ You test API credentials
  • ✓ You debug exchange requests

Skip it when

  • – You write a full trading program
  • – You want hands-off live trading

Questions

CCXT CLI skill, answered.

Does it trade?

No. This loop uses public fetch methods only. For orders the skill says to start with --sandbox.

Why check the exit code?

ccxt prints errors to stdout even with --raw, so a pipe can get non-JSON text.

How do I install the CCXT CLI skill?

Copy the prompt at the top into your agent. It installs the skill from ccxt/ccxt and sets up the habit. Or run npx skills add ccxt/ccxt --skill ccxt-cli.

Is the CCXT CLI skill free?

Yes. It is published under MIT. Habit is free too.

CCXT CLI. Now as a habit.

Install the CCXT CLI skill and make it a habit: follow https://gethabit.dev/skills/ccxt/ccxt-cli.md

  • Free
  • No account
  • Undo in one line

All ccxt skills →More ops skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by ccxt, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.