Longbridge Skill Installation Guide
Installation Methods
Method 1: ZIP File (Recommended)
Download the Skill package and install it in your AI client.
After downloading, extract the zip and follow the client-specific guide below to place the files in the right location.
Also available on skills.sh and GitHub.
Method 2: CLI (npx / bunx)
For CLI-based tools, run the following command in your terminal:
# Recommended: install globally and skip the confirmation prompt
npx skills add longbridge/developers -g -y
# If you have Bun installed, use bunx instead of npx:
bunx skills add longbridge/developers -g -y-g— installs the Skill globally, making it available across all your projects (not just the current directory)-y— automatically confirms the installation prompt without requiring manual input
Authorize Your Longbridge Account
The Skill uses the Longbridge CLI to complete OAuth 2.0 authorization. Install the CLI first, then log in.
Step 1: Install the CLI
# macOS (recommended)
brew install --cask longbridge/tap/longbridge-terminal
# Any platform
curl -sSL https://github.com/longbridge/longbridge-terminal/raw/main/install | shStep 2: Complete OAuth Authorization
longbridge loginA browser window opens to the Longbridge login page. Sign in and approve the requested scopes — the token is saved locally, reused automatically, and refreshes when it expires.
Revoking Authorization
To revoke access, go to your Longbridge account → Security Settings → manage authorized apps.
Client Setup
OpenClaw
In the OpenClaw chat, send the following message and OpenClaw will handle the installation automatically:
Install the Longbridge Developers Skill from this zip file: https://open.longbridge.com/skill/longbridge.zipTakes effect immediately — no restart required.
Claude Desktop / Claude.ai
Claude.ai's code execution environment only allows access to a fixed whitelist of domains, so automated installation is not possible. Use the manual method below instead.
- Open Claude.ai and go to Projects
- Create a new project or open an existing one → Project Settings
- Click Add content under Project Knowledge
- Download longbridge.zip and extract it
- Upload the extracted files to Project Knowledge
The Skill will be active in all conversations within that project.
ChatGPT
ChatGPT cannot auto-install Skills during a conversation. Use the GPT configuration page to upload manually.
- Go to ChatGPT → My GPTs → Create a GPT
- Switch to the Configure tab
- Download longbridge.zip and extract it
- Upload the extracted files under Knowledge
- Save and publish the GPT
Cursor
- Open Cursor → Settings → Rules
- Choose Project Rules (current project) or User Rules (global)
- Download longbridge.zip and extract it
- Paste the extracted content into the rules editor, or place the files as described in the README
Claude Code
- Download longbridge.zip and extract it
- Copy the extracted files into
.claude/skills/in your project directory (create the folder if it doesn't exist) - Restart Claude Code or start a new session
The Skill will be available in all Claude Code sessions within that project.
Codex / Zed / Other CLI Tools
Run Method 2 above in your terminal. The Skill configuration will be written to your system and picked up automatically by tools that support project-level context.
Updating the Skill
The Skill content inside longbridge.zip is updated periodically. We recommend checking for updates occasionally to get the latest improvements.
To update, re-download longbridge.zip and overwrite the existing files following the same installation steps.
Verify Installation
After installing, send the following in a conversation:
Use Longbridge to get the current quote for AAPLIf the AI returns live quote data, the installation was successful.
Troubleshooting
AI says it can't find the Longbridge tool
Some clients require a restart or a new conversation to load the Skill. Confirm the installation is complete, then try again in a new session.
Prompted for authorization when querying data
The Skill needs to connect to your Longbridge account. Follow the Authorization Flow above to complete OAuth 2.0 authorization — no API Key configuration required.
Trading operations not working
Confirm your account has OpenAPI trading permissions enabled and is eligible to trade in the target market (HK / US).