Longbridgeのロゴ

Longbridge

組織
longbridge

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

公開者longbridge
リポジトリskills
言語Python
フォーク
16
スター
64
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Longbridgeは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには64件のスターと16件のフォークがあります。

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.


LongbridgeのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Longbridgeに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Longbridgeをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. LongbridgeのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "longbridge-skills": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてLongbridgeのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. LongbridgeのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Longbridgeを使ってこのタスクを手伝ってもらえますか?
Longbridge
はい、読みました。
Longbridgeで調べた結果をお伝えします。

よくある質問

Longbridge MCPサーバーは何に使いますか?

Longbridgeは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでLongbridge MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでLongbridgeを利用できます。

TypingMindでLongbridge MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Longbridgeを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Longbridge MCPをTypingMindに接続するにはどうすればよいですか?

LongbridgeはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでLongbridge MCPのどのようなツールを利用できますか?

LongbridgeはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Longbridge MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Longbridgeで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇