deepbook-cli

Operate the DeepBook CLI for data reads, config management, and on-chain trades.

1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/mcxross/deepbook-cli --skill deepbook-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deepbook-cli
Source: https://github.com/mcxross/deepbook-cli/tree/main/skills
Command: npx skills add https://github.com/mcxross/deepbook-cli --skill deepbook-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines end-to-end usage of the DeepBook CLI for market data access, configuration management, and on-chain trading.

Core Features & Use Cases

  • Reads market data via REST/SSE, with global config and account management.
  • Executes on-chain trades (spot, swap, margin) and balance-manager operations from a single CLI.
  • Supports multi-network usage (mainnet/testnet) and provider switching for reads/streams.

Quick Start

Install the DeepBook CLI, configure your defaults, and start issuing commands to fetch data and execute trades.

Frequently Asked Questions about deepbook-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute on-chain trades using the DeepBook CLI?

To execute on-chain trades with the DeepBook CLI, you use specific subcommands for spot, swap, and margin trading. The CLI handles the entire end-to-end trading operation after you configure your wallet and account defaults.

Can I stream blockchain market data via REST or SSE on testnet?

Yes, you can stream blockchain market data on testnet and mainnet. The DeepBook CLI supports provider reads and streams via REST and SSE, allowing you to switch providers for your data requirements.

What do I need to configure before fetching market data from DeepBook?

Before fetching market data from DeepBook, you need to install the CLI and configure persistent global defaults. This setup includes wallet and account management to enable seamless data reads and on-chain trades.

How do I manage my balance and accounts for margin trading on DeepBook?

You can manage your balance and accounts for margin trading using dedicated subcommands. The DeepBook CLI provides specific balance-manager workflows and account tasks to handle configurations for your on-chain activities.

Does the DeepBook CLI support multi-network switching between mainnet and testnet?

Yes, the DeepBook CLI supports multi-network usage, allowing you to switch between mainnet and testnet. This enables flexible provider switching for reads, streams, and on-chain trade execution across different environments.