Step-by-Step Guide to Installing the Longbridge Skill and CLI in Codex
Install and authorize Longbridge Skill and the Codex CLI in minutes—connect your AI agent to real-time market data and build an end-to-end AI workflow for trading strategy development.
If you are using Codex to build or run an AI trading bot, this guide will walk you through installing Longbridge Skill and Longbridge CLI, enabling your Agent to access real-time market data and perform AI-driven analysis for trading strategies.
Whether you are a developer or a general user, this article provides clear, copy-and-paste-ready steps that allow you to complete the installation in just a few minutes.
Note: Using Codex requires a VPN connection. In addition, when selecting the working environment, be sure to choose “Work locally” (run locally).
Pre-installation Checklist
A Longbridge account (new users can register during the authorization step)
A Codex environment with VPN enabled
Longbridge Skill installation guide URL: https://open.longbridge.com/skill/install.md
Installation Steps
1. Install Skill and CLI
Paste the following command into the Codex chat box. When the system prompts you to select a working environment, choose “Work locally”:
Install Longbridge SKILL according to the guide: https://open.longbridge.com/skill/install.md
Codex will guide you through installing both Skill and CLI. If the Agent installs only Skill and misses the CLI, continue by entering:
Help me install the CLI
2. Log In for Authorization
After completing the installation of Skill and CLI, enter the following in the Codex chat box:
After installation, log in for authorization directly
Your browser will automatically open the Longbridge login page. Follow the instructions to complete the login and authorization process.
3. Start Using Real-Time Market Data
Once the steps above are completed, you can access Longbridge real-time market data through Codex to perform AI analysis for trading strategies.
FAQs
The Agent installed only Skill and did not install the CLI.
Continue entering “Help me install the CLI” in the chat box, and the Agent will complete the remaining steps.
After installation, the browser did not automatically open the authorization page.
First confirm that both Skill and CLI have been installed successfully, then retry the authorization step.
Not sure whether the installation was successful.
Ask the Agent directly: “Have Longbridge Skill and Longbridge CLI been installed successfully?”
Start using real-time market data now to empower your trading strategy AI. Go to the Longbridge Developers Platform
Disclaimer
The content in this guide (including but not limited to product feature descriptions, sample commands, and data references) is provided for illustrative and reference purposes only and does not constitute any investment advice, investment solicitation, or recommendation to buy or sell securities. Any historical data, case returns, or simulated results do not represent future performance, and investors should not make investment decisions based on such information. Investing involves risks. Investment product prices may rise or fall. Investors should fully understand product risks and seek professional advice.
The AI Agent referenced in this guide is an artificial intelligence tool, not a real human advisor. It is still under continuous development and may malfunction or generate inaccurate, outdated, or misleading information. Users should independently verify its accuracy.
Before publishing any promotional content related to Longbridge AI, creators must comply with the applicable laws and regulations of the relevant local regulatory authorities. They must not provide specific buy or sell recommendations for any securities, guarantee returns, or imply stable returns.






