Logo Longbridge

Longbridge

Tổ chức
longbridge

13 consolidated agent skills for Longbridge Securities — market data, fundamentals, portfolio, quant for HK/US/A-share/SGhttps://github.com/longbridge/skills

Nhà phát hànhlongbridge
Kho mãskills
Ngôn ngữPython
Bản fork
16
Sao
64
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Longbridge cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    64 sao và 16 bản fork từ kho mã được liên kết.

Longbridge Skills

Make your AI assistant fluent in Longbridge — ask about stock prices, your portfolio, news, and valuations in plain English, 中文, or 繁體, and get answers backed by real Longbridge data.

13 skills covering market data, technical analysis, derivatives, fundamentals, research, portfolio & account, quantitative strategies, watchlist, content, market intelligence, earnings, and value investing across HK / US / A-share / Singapore markets.


Install

Pick whichever fits your workflow:

Fresh install (never installed Longbridge skills before)

bash
# npx — global install
npx skills add longbridge/skills -g

# bun
bunx skills add longbridge/skills -g

# Codex plugin marketplace
codex plugin marketplace add longbridge/skills
codex plugin add longbridge@longbridge-skills

# Claude Code plugin marketplace
/plugin marketplace add longbridge/skills
/plugin install longbridge@longbridge-skills

Upgrading from v1.x (had the old 127-skill version)

⚠️ npx skills add and npx skills update will not remove the 127 old skills — they only add/refresh. Old skills will linger and compete with new triggers. Use the reinstall script instead:

bash
# One-liner — wipes old longbridge-* skills, installs the new 13
curl -fsSL https://raw.githubusercontent.com/longbridge/skills/main/scripts/update.sh | bash

See Full reinstall below for details and dry-run option.

📖 Full guide with prerequisites / verification / FAQ → docs/install.md


Update

npx

bash
# Update all skills
npx skills update -g

# Update a single skill
npx skills update longbridge-market-data -g

bun

bash
bunx skills update -g
bunx skills update longbridge-market-data -g

Full reinstall (use this after a release that renames or consolidates skills)

npx skills update only refreshes skills whose name is unchanged. It does not remove skills that were renamed/removed, and does not add brand-new names — so after a consolidation release you can be left with stale orphan skills plus missing new ones, and their triggers fight each other. To wipe everything Longbridge-related and reinstall the current set cleanly:

One-liner (no clone needed, requires git):

bash
curl -fsSL https://raw.githubusercontent.com/longbridge/skills/main/scripts/update.sh | bash

# preview without changing anything:
curl -fsSL https://raw.githubusercontent.com/longbridge/skills/main/scripts/update.sh | bash -s -- --dry-run

It pulls the latest skills and wipes every old longbridge / longbridge-* entry (directories and dangling symlinks) from each detected agent directory — ~/.claude, ~/.agents, ~/.gemini, ~/.opencode — before installing the current set fresh.

Restart any open agent session afterwards so it re-scans the skills directory.


What you can ask

Once installed, talk to your AI assistant naturally. Examples:

  • "NVDA 现在多少钱" / "What's NVDA's price?" / "700.HK 報價"
  • "我的持仓表现如何" / "How is my portfolio doing this month?"
  • "贵州茅台估值贵不贵" / "Is GOOG expensive vs history?"
  • "NVDA AMD 哪个增速快" / "Compare AAPL vs MSFT vs GOOG"
  • "今天有什么要关注的" / "Give me my morning briefing"
  • "特斯拉最近怎么了" / "Recent news on TSLA"

The right skill is picked automatically based on your question, in the language you used.


What's inside

GroupSkills
Foundationlongbridge — Longbridge CLI / Python SDK / Rust SDK / MCP integration
Market Datalongbridge-market-data — quotes, K-line, depth, capital flow, IPO, exchange rates
Technical Analysislongbridge-technical — Ichimoku, candlestick, SMC, Chan Theory, Elliott Wave, Turtle Trading
Derivativeslongbridge-derivatives — options chain, Greeks, IV, HK warrants
Fundamentalslongbridge-fundamentals — financial statements, valuation, company info, DCF
Researchlongbridge-research — analyst ratings, consensus, insider trades, investment frameworks
Portfoliolongbridge-portfolio — positions, P&L, orders, DCA, risk analysis, rebalancing
Quantlongbridge-quant — pairs trading, multi-factor, ML strategies, statistical methods
Watchlistlongbridge-watchlist — watchlist groups, price alerts, community lists
Contentlongbridge-content — news, filings, topics, SEC EDGAR analysis
Intellongbridge-intel — screener, rankings, anomalies, sector rotation, morning brief, ETF flow
Earningslongbridge-earnings — post-earnings analysis: summary card + full Markdown report
Value Investinglongbridge-value-investing — Graham NCAV/net-net + Buffett moat analysis

Click any name above to see what it can do.

Looking for something non-financial (quizzes, engagement/growth tools)? See longbridge/extras-skills.


Prerequisites

You need one or both of these set up:

  • Longbridge CLI (for live quotes, your holdings, watchlist) — install longbridge-terminal, then run longbridge auth login.
  • Longbridge MCP (for analysis-tier features in fundamentals / research / portfolio / intel) — claude mcp add --transport http longbridge https://mcp.longbridge.com.

Both authenticate with your Longbridge account. Pick "trade" permission during login if you want account-level skills (positions, orders, P&L).


Notes

  • No investment advice. Skills surface data, never recommend buy/sell.
  • Your data stays yours. Account values are private and only shown to you.
  • Languages: ask in 简体中文 / 繁體中文 / English — answers come back in the same language.

For developers

  • CLAUDE.md — repo-level instructions for Claude Code when developing inside this repo
  • docs/architecture.md — how the multilingual triggers + CLI/MCP routing work under the hood
  • docs/install.md — every install path, verification, troubleshooting

Codex plugin development

This repo is also a Codex plugin. The plugin root is the repository root:

For local testing from a checkout:

bash
codex plugin marketplace add .
codex plugin add longbridge@longbridge-skills

Restart Codex or open a new thread after reinstalling so the updated skills are reloaded.

Maintainer rule: skill names are immutable

Once a skill is published, its name / directory slug must never change. Installers match skills by slug, so renaming one does not upgrade the old install — it orphans it: the old skill lingers on every user's machine (stale, and competing for the same triggers) while the new name is never picked up by npx skills update at all.

When a skill needs reorganizing:

  • Prefer adding/editing content under the existing slug rather than renaming it.
  • If a new slug is genuinely unavoidable, treat it as a breaking change: call it out in the release notes and tell users to run the full reinstall (above), which is the only way to clear the orphaned old slugs.

License: MIT.


Dùng MCP Longbridge với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Longbridge, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Longbridge làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Longbridge.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "longbridge-skills": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Longbridge, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Longbridge.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Longbridge giúp tôi làm việc này không?
Longbridge
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Longbridge.

Câu hỏi thường gặp

Máy chủ MCP Longbridge dùng để làm gì?

Longbridge là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Longbridge với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Longbridge với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Longbridge với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Longbridge, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Longbridge với TypingMind?

Longbridge hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Longbridge cung cấp những công cụ nào trong TypingMind?

Longbridge cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Longbridge không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Longbridge yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇