← 返回 Skills 市场
🔌

Longbridge

作者 Longbridge · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
97
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install developers
功能描述
Longbridge platform expert for investment analysis AND developer tasks. TRIGGER on ANY of: (1) any stock/market analysis request in any language — price perf...
使用说明 (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.

安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install developers
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /developers 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug developers
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 97 次。

如何安装 Longbridge?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install developers」即可一键安装,无需额外配置。

Longbridge 是免费的吗?

是的,Longbridge 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Longbridge 支持哪些平台?

Longbridge 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Longbridge?

由 Longbridge(@longbridge)开发并维护,当前版本 v1.0.0。

💬 留言讨论