← Back to Skills Marketplace
🔌

Longbridge

by Longbridge · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
97
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install developers
Description
Longbridge platform expert for investment analysis AND developer tasks. TRIGGER on ANY of: (1) any stock/market analysis request in any language — price perf...
README (SKILL.md)

Longbridge Developers Platform

Full-stack financial data and trading platform: CLI, Python/Rust SDK, MCP, and LLM integration.

Official docs: https://open.longbridge.com llms.txt: https://open.longbridge.com/llms.txt

For setup and authentication details, see references/setup.md.


Investment Analysis Workflow

When the user asks about stock performance, portfolio advice, or market analysis:

  1. Get live data via CLI — quotes, positions, K-line history, intraday
  2. Get news/catalysts via CLI — prefer Longbridge first; fall back to WebSearch only if insufficient
  3. Combine — price action + volume + catalyst → analysis + suggestion
# Market data
longbridge quote SYMBOL.US
longbridge positions                # always pull when user asks about "my portfolio"
longbridge kline-history SYMBOL.US --start YYYY-MM-DD --end YYYY-MM-DD --period day
longbridge intraday SYMBOL.US

# News & content (prefer these over WebSearch)
longbridge news SYMBOL.US           # latest news articles
longbridge news-detail \x3Cid>         # full article content
longbridge filing-detail \x3Cid>       # regulatory filing (earnings reports, etc.)
longbridge topics SYMBOL.US         # community discussion
longbridge market-temp              # market sentiment index (0–100)

Only fall back to WebSearch when Longbridge news is insufficient (e.g., breaking news not yet indexed, macro events unrelated to a specific symbol).


Choose the Right Tool

User wants to...                         → Use
─────────────────────────────────────────────────────────────────
Quick quote / one-off data lookup        CLI
Interactive terminal workflows           CLI
Script market data, save to file         CLI + jq  (or Python SDK)
Loops, conditions, transformations       Python SDK (sync)
Async pipelines, concurrent fetches      Python SDK (async)
Production service, high throughput      Rust SDK
Real-time WebSocket subscription loop    SDK (Python or Rust)
Programmatic order strategy              SDK
Talk to AI about stocks (no code)        MCP (hosted or self-hosted)
Use Cursor/Claude for trading analysis   MCP
Add Longbridge API docs to IDE/RAG       LLMs.txt / Markdown API

Symbol Format

\x3CCODE>.\x3CMARKET> — applies to all tools.

Market Suffix Examples
Hong Kong HK 700.HK, 9988.HK, 2318.HK
United States US TSLA.US, AAPL.US, NVDA.US
China Shanghai SH 600519.SH, 000001.SH
China Shenzhen SZ 000568.SZ, 300750.SZ
Singapore SG D05.SG, U11.SG
Crypto HAS BTCUSD.HAS, ETHUSD.HAS

Reference Files

CLI (Terminal)

Always use longbridge --help to list available commands, and longbridge \x3Ccommand> --help for specific options and flags. Do not rely on hardcoded documentation — the CLI's built-in help is always up-to-date.

Python SDK

Rust SDK

AI Integration

  • MCP — hosted service, self-hosted server, setup & auth: references/mcp.md
  • LLMs & Markdown — llms.txt, open.longbridge.com doc Markdown, longbridge.com live news/quote pages (.md suffix + Accept header), Cursor/IDE integration: references/llm.md

Load specific reference files on demand — do not load all at once.

Usage Guidance
This skill appears to be a coherent Longbridge data/trading assistant, but review these points before installing or enabling it: 1) Expect the agent to call your Longbridge tools and, when triggered, to fetch account positions and live data — ensure you want the agent to access that info and confirm the agent asks before placing orders. 2) The skill is instruction-only; it assumes the Longbridge CLI/SDK and OAuth tokens live on the host. If you install the CLI follow your normal security policies (prefer package manager installs or verify the install script source rather than piping unknown scripts directly). 3) Check OAuth scopes when connecting MCP or the CLI (least-privilege) and verify token storage on your client. 4) Note small doc inconsistencies (OAuth vs. API-key examples) — if you rely on API keys vs OAuth, validate the auth method in your environment. If you want stronger guarantees, require the agent to ask for explicit permission before any account/positions queries or order operations.
Capability Analysis
Type: OpenClaw Skill Name: developers Version: 1.0.0 The skill bundle provides a comprehensive interface for the Longbridge financial platform but is classified as suspicious due to high-risk installation patterns and broad data-access triggers. Specifically, references/setup.md and references/cli/overview.md recommend a 'curl | sh' installation method, which is a significant supply-chain vulnerability. Additionally, SKILL.md defines overly broad triggers that instruct the AI agent to automatically retrieve sensitive account information, such as portfolio positions (via 'longbridge positions'), upon any mention of stock tickers or market analysis, increasing the risk of unintended exposure of private financial data.
Capability Assessment
Purpose & Capability
Name/description, CLI examples, Python/Rust SDK references, and MCP docs all consistently describe a Longbridge financial-data + developer integration. The declared lack of required env vars/binaries is coherent because this is an instruction-only skill that expects the platform or user to have the Longbridge CLI/SDKs available.
Instruction Scope
Runtime instructions tell the agent to call local 'longbridge' CLI, SDK methods, and the MCP server and instruct the agent to “always pull when user asks about 'my portfolio'.” That implies automatically accessing account positions and order endpoints (sensitive user account data) when invoked. The skill does not explicitly require user confirmation for data pulls in every case (though some docs recommend confirmation for order placement). This is expected behavior for a trading assistant, but it is scope-sensitive: users should expect the agent to read account positions and live market data when those triggers fire.
Install Mechanism
The skill has no install spec (lowest risk). The included docs recommend installing the CLI via Homebrew or via a curl | sh installer pointing at a GitHub raw URL. Curl|sh installs are common but inherently riskier than vetted package installs; the skill itself doesn't perform downloads, it only documents them.
Credentials
The skill declares no required env vars, but the reference files contain many environment variable names (SDK overrides, LONGBRIDGE_HTTP_URL, token cache paths, and examples referencing API key envs). Most references are proportional to a data/trading SDK, but there is a small inconsistency: some examples show OAuth/browser flows while a few examples call Config.from_apikey_env or Config.from_apikey_env-like functions (API-key-based config), which mixes auth models and could confuse implementers. No unrelated secrets (e.g., AWS keys) are requested.
Persistence & Privilege
always:false and no install spec. The skill is instruction-only and doesn't request permanent agent inclusion or modify other skills. It references client-side token caches (e.g., ~/.longbridge/openapi/tokens) which are typical for OAuth-based SDKs but does not itself persist data.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install developers
  3. After installation, invoke the skill by name or use /developers
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Longbridge skill 1.0.0 introduces comprehensive support for investment analysis and developer operations across global markets. - Supports stock/market analysis requests, ticker mentions, portfolio queries, and market data via CLI. - Enables code samples and guidance for Python and Rust SDK usage, including order strategies and data fetching. - Covers setup and workflow for Longbridge’s CLI, MCP server, and LLM/RAG integrations. - Provides up-to-date command usage guidelines and links to detailed reference files for each tool. - Handles HK, US, CN (SH/SZ), SG, and Crypto markets using a unified symbol format.
Metadata
Slug developers
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Longbridge?

Longbridge platform expert for investment analysis AND developer tasks. TRIGGER on ANY of: (1) any stock/market analysis request in any language — price perf... It is an AI Agent Skill for Claude Code / OpenClaw, with 97 downloads so far.

How do I install Longbridge?

Run "/install developers" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Longbridge free?

Yes, Longbridge is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Longbridge support?

Longbridge is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Longbridge?

It is built and maintained by Longbridge (@longbridge); the current version is v1.0.0.

💬 Comments