opencode-skills-collection 4.0.69 → 4.0.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +39 -1
  2. package/bundled-skills/api-integration-architect/SKILL.md +241 -0
  3. package/bundled-skills/apify-generate-output-schema/SKILL.md +438 -0
  4. package/bundled-skills/apify-integration-development/SKILL.md +168 -0
  5. package/bundled-skills/apify-integration-development/references/ai-framework-package.md +158 -0
  6. package/bundled-skills/apify-integration-development/references/ai-harness-plugin.md +192 -0
  7. package/bundled-skills/apify-integration-development/references/sdk-integration.md +236 -0
  8. package/bundled-skills/apify-integration-development/references/workflow-automation.md +163 -0
  9. package/bundled-skills/architecture-review/README.md +42 -0
  10. package/bundled-skills/architecture-review/SKILL.md +77 -0
  11. package/bundled-skills/architecture-review/examples.md +11 -0
  12. package/bundled-skills/architecture-review/reference/best-practices.md +7 -0
  13. package/bundled-skills/architecture-review/reference/capabilities.md +20 -0
  14. package/bundled-skills/architecture-review/reference/fallbacks.md +11 -0
  15. package/bundled-skills/architecture-review/reference/graph.md +15 -0
  16. package/bundled-skills/architecture-review/reference/mcp.md +14 -0
  17. package/bundled-skills/architecture-review/reference/workflow.md +15 -0
  18. package/bundled-skills/architecture-review/templates/architecture-review.md +21 -0
  19. package/bundled-skills/code-review-sensei/SKILL.md +177 -0
  20. package/bundled-skills/codebase-onboarding/README.md +42 -0
  21. package/bundled-skills/codebase-onboarding/SKILL.md +77 -0
  22. package/bundled-skills/codebase-onboarding/examples.md +11 -0
  23. package/bundled-skills/codebase-onboarding/reference/best-practices.md +7 -0
  24. package/bundled-skills/codebase-onboarding/reference/capabilities.md +20 -0
  25. package/bundled-skills/codebase-onboarding/reference/fallbacks.md +11 -0
  26. package/bundled-skills/codebase-onboarding/reference/graph.md +15 -0
  27. package/bundled-skills/codebase-onboarding/reference/mcp.md +14 -0
  28. package/bundled-skills/codebase-onboarding/reference/workflow.md +15 -0
  29. package/bundled-skills/codebase-onboarding/templates/repository-onboarding.md +21 -0
  30. package/bundled-skills/connection-auth-rules/SKILL.md +199 -0
  31. package/bundled-skills/connection-auth-rules/fetch_schema.py +320 -0
  32. package/bundled-skills/dependency-analysis/README.md +42 -0
  33. package/bundled-skills/dependency-analysis/SKILL.md +76 -0
  34. package/bundled-skills/dependency-analysis/examples.md +11 -0
  35. package/bundled-skills/dependency-analysis/reference/best-practices.md +7 -0
  36. package/bundled-skills/dependency-analysis/reference/capabilities.md +20 -0
  37. package/bundled-skills/dependency-analysis/reference/fallbacks.md +11 -0
  38. package/bundled-skills/dependency-analysis/reference/graph.md +15 -0
  39. package/bundled-skills/dependency-analysis/reference/mcp.md +14 -0
  40. package/bundled-skills/dependency-analysis/reference/workflow.md +15 -0
  41. package/bundled-skills/dependency-analysis/templates/dependency-review.md +21 -0
  42. package/bundled-skills/devops-pipeline-builder/SKILL.md +200 -0
  43. package/bundled-skills/eas-app-stores/SKILL.md +197 -0
  44. package/bundled-skills/eas-app-stores/agents/openai.yaml +4 -0
  45. package/bundled-skills/eas-app-stores/references/app-store-metadata.md +497 -0
  46. package/bundled-skills/eas-app-stores/references/ios-app-store.md +376 -0
  47. package/bundled-skills/eas-app-stores/references/native-ios.md +167 -0
  48. package/bundled-skills/eas-app-stores/references/play-store.md +244 -0
  49. package/bundled-skills/eas-app-stores/references/testflight.md +62 -0
  50. package/bundled-skills/eas-app-stores/references/workflows.md +120 -0
  51. package/bundled-skills/eas-hosting/SKILL.md +448 -0
  52. package/bundled-skills/eas-hosting/agents/openai.yaml +4 -0
  53. package/bundled-skills/eas-observe/SKILL.md +75 -0
  54. package/bundled-skills/eas-observe/agents/openai.yaml +4 -0
  55. package/bundled-skills/eas-observe/references/metrics.md +98 -0
  56. package/bundled-skills/eas-observe/references/queries.md +403 -0
  57. package/bundled-skills/eas-observe/references/setup.md +476 -0
  58. package/bundled-skills/eas-observe/references/third-party.md +136 -0
  59. package/bundled-skills/eas-simulator/SKILL.md +251 -0
  60. package/bundled-skills/eas-simulator/agents/openai.yaml +4 -0
  61. package/bundled-skills/eas-simulator/references/controllers.md +135 -0
  62. package/bundled-skills/eas-simulator/references/run-your-app.md +240 -0
  63. package/bundled-skills/eas-simulator/references/troubleshooting.md +47 -0
  64. package/bundled-skills/eas-workflows/SKILL.md +119 -0
  65. package/bundled-skills/eas-workflows/agents/openai.yaml +4 -0
  66. package/bundled-skills/eas-workflows/scripts/fetch.js +109 -0
  67. package/bundled-skills/expo-animation/LICENSE +21 -0
  68. package/bundled-skills/expo-animation/RECIPES.md +385 -0
  69. package/bundled-skills/expo-animation/SKILL.md +295 -0
  70. package/bundled-skills/expo-animation/agents/openai.yaml +4 -0
  71. package/bundled-skills/fact-check-x-unified/SKILL.md +178 -0
  72. package/bundled-skills/fact-check-x-unified/agents/openai.yaml +4 -0
  73. package/bundled-skills/fact-check-x-unified/references/acceptance-criteria.md +44 -0
  74. package/bundled-skills/fact-check-x-unified/references/contracts.md +39 -0
  75. package/bundled-skills/fact-check-x-unified/scripts/common.py +31 -0
  76. package/bundled-skills/fact-check-x-unified/scripts/fact_check_x.py +1832 -0
  77. package/bundled-skills/fact-check-x-unified/scripts/trusted_search_config.py +324 -0
  78. package/bundled-skills/fact-check-x-unified/tests/anchor_downgrade_test.py +90 -0
  79. package/bundled-skills/fact-check-x-unified/tests/multi_platform_test.py +369 -0
  80. package/bundled-skills/fact-check-x-unified/tests/smoke_test.py +740 -0
  81. package/bundled-skills/fact-check-x-unified/tests/stage_checkpoint_test.py +103 -0
  82. package/bundled-skills/fact-check-x-unified/tests/trusted_search_config_test.py +156 -0
  83. package/bundled-skills/gpt-taste/SKILL.md +8 -1
  84. package/bundled-skills/hf-cli/SKILL.md +263 -0
  85. package/bundled-skills/huggingface-community-evals/SKILL.md +228 -0
  86. package/bundled-skills/huggingface-community-evals/examples/.env.example +3 -0
  87. package/bundled-skills/huggingface-community-evals/examples/USAGE_EXAMPLES.md +101 -0
  88. package/bundled-skills/huggingface-community-evals/scripts/inspect_eval_uv.py +104 -0
  89. package/bundled-skills/huggingface-community-evals/scripts/inspect_vllm_uv.py +306 -0
  90. package/bundled-skills/huggingface-community-evals/scripts/lighteval_vllm_uv.py +297 -0
  91. package/bundled-skills/huggingface-datasets/SKILL.md +130 -0
  92. package/bundled-skills/jev-social/SKILL.md +182 -0
  93. package/bundled-skills/longbridge-derivatives/SKILL.md +117 -0
  94. package/bundled-skills/longbridge-derivatives/references/option.md +36 -0
  95. package/bundled-skills/longbridge-derivatives/references/options-advanced.md +101 -0
  96. package/bundled-skills/longbridge-derivatives/references/options-pnl.md +74 -0
  97. package/bundled-skills/longbridge-derivatives/references/options-strategy.md +82 -0
  98. package/bundled-skills/longbridge-derivatives/references/options-volatility.md +70 -0
  99. package/bundled-skills/longbridge-derivatives/references/warrant.md +12 -0
  100. package/bundled-skills/longbridge-quant/SKILL.md +151 -0
  101. package/bundled-skills/longbridge-quant/references/correlation.md +51 -0
  102. package/bundled-skills/longbridge-quant/references/execution-model.md +68 -0
  103. package/bundled-skills/longbridge-quant/references/factor-research.md +95 -0
  104. package/bundled-skills/longbridge-quant/references/factor-screen.md +101 -0
  105. package/bundled-skills/longbridge-quant/references/hedging.md +136 -0
  106. package/bundled-skills/longbridge-quant/references/ml-strategy.md +77 -0
  107. package/bundled-skills/longbridge-quant/references/multifactor.md +68 -0
  108. package/bundled-skills/longbridge-quant/references/pairs-trading.md +61 -0
  109. package/bundled-skills/longbridge-quant/references/quant-cli.md +133 -0
  110. package/bundled-skills/longbridge-quant/references/quant-stats.md +150 -0
  111. package/bundled-skills/longbridge-quant/references/seasonality.md +50 -0
  112. package/bundled-skills/longbridge-quant/references/strategy-optimizer.md +68 -0
  113. package/bundled-skills/longbridge-quant/references/volatility-strategy.md +52 -0
  114. package/bundled-skills/longbridge-research/SKILL.md +187 -0
  115. package/bundled-skills/longbridge-research/references/company-profile.md +96 -0
  116. package/bundled-skills/longbridge-research/references/company-tearsheet.md +82 -0
  117. package/bundled-skills/longbridge-research/references/competitive-analysis.md +81 -0
  118. package/bundled-skills/longbridge-research/references/consensus.md +92 -0
  119. package/bundled-skills/longbridge-research/references/coverage-initiation.md +76 -0
  120. package/bundled-skills/longbridge-research/references/defi-yield.md +60 -0
  121. package/bundled-skills/longbridge-research/references/finance-calendar.md +165 -0
  122. package/bundled-skills/longbridge-research/references/financial-planning.md +77 -0
  123. package/bundled-skills/longbridge-research/references/forecast-eps.md +39 -0
  124. package/bundled-skills/longbridge-research/references/fund-holder.md +44 -0
  125. package/bundled-skills/longbridge-research/references/hkipo-analysis.md +101 -0
  126. package/bundled-skills/longbridge-research/references/industry-peers.md +46 -0
  127. package/bundled-skills/longbridge-research/references/industry-rank.md +62 -0
  128. package/bundled-skills/longbridge-research/references/insider-trades.md +48 -0
  129. package/bundled-skills/longbridge-research/references/institution-rating.md +62 -0
  130. package/bundled-skills/longbridge-research/references/investment-ideas.md +69 -0
  131. package/bundled-skills/longbridge-research/references/investment-proposal.md +95 -0
  132. package/bundled-skills/longbridge-research/references/investors.md +87 -0
  133. package/bundled-skills/longbridge-research/references/onchain.md +70 -0
  134. package/bundled-skills/longbridge-research/references/post-investment.md +76 -0
  135. package/bundled-skills/longbridge-research/references/shareholder.md +72 -0
  136. package/bundled-skills/longbridge-research/references/short-positions.md +50 -0
  137. package/bundled-skills/longbridge-research/references/short-trades.md +50 -0
  138. package/bundled-skills/longbridge-research/references/stock-research.md +61 -0
  139. package/bundled-skills/longbridge-research/references/thesis-tracker.md +64 -0
  140. package/bundled-skills/makepad-2-0-animation/SKILL.md +318 -0
  141. package/bundled-skills/makepad-2-0-animation/references/animator-reference.md +433 -0
  142. package/bundled-skills/makepad-2-0-dsl/SKILL.md +492 -0
  143. package/bundled-skills/makepad-2-0-dsl/references/dsl-syntax-reference.md +511 -0
  144. package/bundled-skills/makepad-2-0-dsl/references/extended-guide.md +56 -0
  145. package/bundled-skills/makepad-2-0-dsl/references/property-system.md +757 -0
  146. package/bundled-skills/makepad-2-0-events/SKILL.md +497 -0
  147. package/bundled-skills/makepad-2-0-events/references/event-patterns.md +802 -0
  148. package/bundled-skills/makepad-2-0-events/references/extended-guide.md +590 -0
  149. package/bundled-skills/makepad-2-0-layout/SKILL.md +499 -0
  150. package/bundled-skills/makepad-2-0-layout/references/extended-guide.md +243 -0
  151. package/bundled-skills/makepad-2-0-layout/references/layout-patterns.md +881 -0
  152. package/bundled-skills/makepad-2-0-widgets/SKILL.md +261 -0
  153. package/bundled-skills/makepad-2-0-widgets/references/widget-advanced.md +648 -0
  154. package/bundled-skills/makepad-2-0-widgets/references/widget-catalog.md +547 -0
  155. package/bundled-skills/meeting-distiller-pro/SKILL.md +120 -0
  156. package/bundled-skills/monte-carlo-analyze-root-cause/SKILL.md +12 -1
  157. package/bundled-skills/monte-carlo-asset-health/SKILL.md +12 -1
  158. package/bundled-skills/monte-carlo-context-detection/SKILL.md +170 -0
  159. package/bundled-skills/monte-carlo-context-detection/references/signal-definitions.md +46 -0
  160. package/bundled-skills/remotion-captions/SKILL.md +57 -0
  161. package/bundled-skills/remotion-captions/agents/openai.yaml +7 -0
  162. package/bundled-skills/remotion-captions/assets/remotion-icon.svg +4 -0
  163. package/bundled-skills/remotion-captions/display-captions.md +190 -0
  164. package/bundled-skills/remotion-captions/import-srt-captions.md +73 -0
  165. package/bundled-skills/remotion-captions/transcribe-captions.md +70 -0
  166. package/bundled-skills/remotion-create/SKILL.md +106 -0
  167. package/bundled-skills/remotion-create/agents/openai.yaml +7 -0
  168. package/bundled-skills/remotion-create/assets/remotion-icon.svg +4 -0
  169. package/bundled-skills/remotion-create/tailwind.md +11 -0
  170. package/bundled-skills/remotion-create/video-layout.md +9 -0
  171. package/bundled-skills/remotion-docs/SKILL.md +67 -0
  172. package/bundled-skills/remotion-docs/agents/openai.yaml +7 -0
  173. package/bundled-skills/remotion-docs/assets/remotion-icon.svg +4 -0
  174. package/bundled-skills/remotion-interactivity/SKILL.md +270 -0
  175. package/bundled-skills/remotion-interactivity/agents/openai.yaml +7 -0
  176. package/bundled-skills/remotion-interactivity/assets/remotion-icon.svg +4 -0
  177. package/bundled-skills/remotion-render/SKILL.md +48 -0
  178. package/bundled-skills/remotion-render/agents/openai.yaml +7 -0
  179. package/bundled-skills/remotion-render/assets/remotion-icon.svg +4 -0
  180. package/bundled-skills/remotion-render/transparent-videos.md +106 -0
  181. package/bundled-skills/saas-pricing-strategist/SKILL.md +169 -0
  182. package/bundled-skills/score-eval/SKILL.md +35 -0
  183. package/bundled-skills/writing-guidelines/SKILL.md +60 -0
  184. package/package.json +1 -1
  185. package/skills_index.json +980 -3
@@ -0,0 +1,101 @@
1
+ # longbridge-hkipo-analysis
2
+
3
+ Prompt-only 港股打新分析。给定一只新股代码或公司名,输出「推荐打新 / 中性观望 / 建议回避」三档评级 + 四维评分明细 + 招股书精华 + 风险提示 + 申购手数参考;或在日历模式下输出未来 4 周打新日程表 + 评级速览。报告结尾固定输出「数据来源明细」附录,每一行注明来源(Longbridge CLI 子命令 / MCP 工具 / WebSearch URL)、抓取时间和数据期间。
4
+
5
+ > **Independence statement (mandatory)**: this skill is an independent打新 analysis framework. It is **not** affiliated with the issuer, the sponsoring underwriters, the HKEx, or any cornerstone investor. The rating is model-derived and never a buy / sell recommendation; arrange margin financing (孖展) only after independently understanding the leverage risk.
6
+
7
+ ## Cognitive frame (do not skip)
8
+
9
+ 港股打新分析与二级市场分析的关键区别是 **可用数据窗口非常窄**(招股期通常 3–5 个工作日),且分析对象是「**尚未上市**」或「**刚上市**」的标的,没有 K 线、没有历史财报趋势可读。三件事每次输出都必须明确:
10
+
11
+ 1. **评级是给散户的决策锚,不是预测**。"推荐 / 中性 / 回避" 是基于四维评分的当下判断,不预测首日涨跌幅。任何"预计首日 +XX%"的写法都违反护栏。
12
+ 2. **数据缺失要披露,不要编造**。招股书未披露的(如尚未公布的回拨倍数、未定的基石名单)必须显式标"招股书未披露 / 待公告",对应维度按"信息不足"降级,而非用行业均值占位。
13
+ 3. **孖展(融资打新)必须单独提示**。一旦用户问"打几手"或"借钱打",输出必须包含一行杠杆风险提示,且不得默认推荐孖展方案。
14
+
15
+ 四种情形要能分辨:
16
+
17
+ - **招股期内 + 数据齐全** → 走单股完整分析(场景一),输出四维评分 + 招股书精华 + 申购参考。
18
+ - **没有具体标的,只问"最近"** → 走日历模式(场景二),输出未来 4 周打新日程 + 每只一句话评级。
19
+ - **已上市 ≤ 30 天,用户问"没打中追不追"** → 走次新股追涨模式(场景四),加入暗盘 / 首日实际表现 / 当前价位与发行价偏离度,参考目标价区间,不出具"追 / 不追"指令。
20
+ - **已上市 > 30 天** → 拒绝接管,建议改用 `longbridge-stock-research` / `longbridge-fundamental`,本 Skill 不覆盖。
21
+
22
+ ## Workflow
23
+
24
+ 1. **识别模式**。从用户输入判定走「单股」「日历」还是「次新股」分支。模糊或多公司命中时先反问消歧;纯公司名时尝试自动解析为 `<CODE>.HK`,多匹配则列出让用户确认。
25
+ 2. **市场合法性检查**。本 Skill 只接受港股主板 / GEM 标的。若输入是 `.US` / `.SH` / `.SZ` / `.SG`,直接拒绝并建议改用 `longbridge-ipo` + 对应市场的分析 Skill。
26
+ 3. **工具发现(必做)**。每次执行前先 `longbridge --help` 拿当前可用子命令清单,再按 [§CLI](#cli) 的"数据需求 → 语义关键词"映射选择具体子命令。**不要把子命令名 / 标志名硬编码进对话**,CLI 会随版本演进。
27
+ 4. **并行拉取数据**。按当前模式拉取必需项(详见 [§CLI](#cli))。CLI 命令缺失 → 走 [§MCP fallback](#mcp-fallback);MCP 工具也没有 → 走 [§WebSearch fallback](#websearch-fallback-only-for-data-longbridge-does-not-provide);仍然拿不到 → 在对应维度标记"数据不可得",**不要降级到行业均值或猜测**。
28
+ 5. **数据一致性检查**。在评分之前做下列轻量校验:
29
+ - 招股书发行价区间、招股期间、上市日期与 `ipo detail` 字段一致;不一致取最新一条并在附录注明冲突。
30
+ - 基石比例、超购倍数、回拨档位若来自不同来源,必须显示各自来源行。
31
+ - 货币:所有金额按招股书原币(默认 HKD)展示,若用户持仓币种不同,附加备注汇率换算口径而不是默默换算。
32
+ 6. **四维评分**。按 `references/scoring.md` 的指标卡片、阈值、权重打分(满分 10 分);权重总和 120%,归一化输出。三档评级的硬阈值见 `references/scoring.md` §Pass/reject matrix。**任一关键数据缺失(发行价、基石比例、超购倍数中至少两项缺失)时,不出评级,仅出"数据不足,无法评级"**。
33
+ 7. **招股书精华提取(标准模式 = 详细输出)**。按 `references/scoring.md` §Prospectus extraction 的章节优先级,从招股书提取 TAM / 财务三年趋势 / 募资用途 / 增长驱动 / 管理层背景 / 风险因素。所有数字必须可溯源到原文章节。
34
+ 8. **风险与申购参考**。3 条具体风险(不接受"市场风险"这种空话,须挂钩具体业务 / 财务 / 监管事实)+ 申购手数参考分稳健型 / 进取型两档,进取型须显式标杠杆放大损失。
35
+ 9. **输出报告**。按 `references/output.md` 的对应模板(单股 / 日历 / 次新股 / 拒绝 / 数据不足)渲染,**结尾必为「数据来源明细」附录**,附录之后是免责声明。
36
+
37
+ ## CLI
38
+
39
+ > 工具发现优先:`longbridge --help` 看当前可用子命令;构造调用前再 `longbridge <subcommand> --help` 核对参数。**下面列出的子命令是"语义示例",以 `--help` 输出为准。**
40
+
41
+ 按数据需求分类(语义关键词 → 示例子命令):
42
+
43
+ | 数据需求 | 语义关键词 | 示例子命令 |
44
+ | -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
45
+ | 港股 IPO 日历 | `ipo` + `calendar` / `subscriptions` / `wait-listing` / `listed` | `longbridge ipo calendar --format json` / `longbridge ipo subscriptions --format json` / `longbridge ipo wait-listing --format json` / `longbridge ipo listed --format json` |
46
+ | 单只新股招股书摘要、发行价、时间线、基石、超购倍数 | `ipo` + `detail` | `longbridge ipo detail <SYMBOL> --format json` |
47
+ | 招股书章节级数据(财务摘要 / 募资用途 / 风险因素 / 管理层 / 锁定期) | 先 `longbridge ipo --help` 看 `ipo` 子命令族能否覆盖;典型情况 `ipo detail` 已展开主要章节字段 | `longbridge ipo --help` → 选合适子命令 → `longbridge ipo <sub> <SYMBOL> --format json`;仍缺章节 → WebSearch 拿 HKEXnews 原文 |
48
+ | 同业上市公司估值(PE / PS / PB 均值与中位数) | `valuation` / `peer` / `peer-comparison` | `longbridge peer-comparison <SYMBOL> --format json` / `longbridge valuation <SYMBOL> --format json` |
49
+ | 近期港股新股首日表现(用于计算近 3 月破发率) | `ipo` + `listed` + `performance` | `longbridge ipo listed --format json` |
50
+ | 恒生指数近月行情(市场时机维度) | `index-quote` / `kline` + HSI | `longbridge index-quote HSI.HK --format json` / `longbridge kline HSI.HK --period day --count 60 --format json` |
51
+ | 同行业板块近月平均涨跌 | `sector-monitor` / `industry-overview` | `longbridge sector-monitor --format json` / `longbridge industry-overview <SECTOR> --format json` |
52
+ | 基石投资者公告 / 招股相关舆情 | `news` / `topic` | `longbridge news <SYMBOL> --format json` / `longbridge topic <SYMBOL> --format json` |
53
+ | 公司基础信息(行业归属 / 注册地) | `basicinfo` / `company-profile` | `longbridge basicinfo <SYMBOL> --format json` / `longbridge company-profile <SYMBOL> --format json` |
54
+ | 次新股模式:上市后实际行情 + 暗盘相关数据 | `quote` / `kline` / `derivatives` / `ipo` + `grey market` | `longbridge quote <SYMBOL> --format json` / `longbridge kline <SYMBOL> --period day --count 60 --format json` |
55
+
56
+ 并行调用:模式确定后,单股 / 次新股模式默认并行拉取 `ipo detail`、`peer-comparison`、`ipo listed`(破发率)、`index-quote HSI.HK`、`news`、`basicinfo`;招股书更深章节缺失时再按 `longbridge ipo --help` 选具体子命令补拉,仍缺则 WebSearch HKEXnews。日历模式只拉 `ipo subscriptions` + `ipo wait-listing` + `ipo listed`(计算近期破发率作为市场时机锚)。
57
+
58
+ ### WebSearch fallback — only for data Longbridge does not provide
59
+
60
+ WebSearch 是兜底,**不是默认路径**。仅在 Longbridge CLI + MCP 都拿不到时使用,且必须在附录显式标 `[WebSearch — <publisher>, <date>, <url>]`,禁止伪造来源。
61
+
62
+ | 缺失数据 | WebSearch 查询模式 | 可接受的来源权威 |
63
+ | ----------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------ |
64
+ | 港交所披露易招股书原文链接 | `"<公司名>" 招股书 site:hkexnews.hk` | HKEXnews(披露易) |
65
+ | 行业 TAM / 增速 | `"<行业名>" 市场规模 2030` / `"<industry>" market size 2030 Frost Sullivan` | 招股书引用机构(弗若斯特沙利文 / 灼识 / 艾瑞)、Gartner、IDC |
66
+ | 主承销商近 3 年港股 IPO 承销排名 | `"<投行名>" 香港 IPO 承销 排名 2024` / `"HK IPO league table" 2024 sponsor` | Dealogic、Refinitiv、HKEx 年报 |
67
+ | 基石投资者公告原文 / 历史投资记录 | `"<基石投资者名>" "<公司名>" 基石` | 港交所披露、彭博、路透、公司新闻稿 |
68
+ | 暗盘成交价 / 灰市报价(次新股模式) | `"<公司名>" 暗盘 报价 / grey market price` | 富途、辉立、耀才、华盛等公开暗盘平台报价(注明平台与时间戳) |
69
+ | 近 3 个月港股新股破发率(CLI 数据不够时) | `"港股新股" "破发率" 2025` / `"HK IPO first-day return" YTD` | 智通财经、华兴、HKEx 月报 |
70
+ | 监管 / 政策风险(特定行业) | `"<sector>" 港股 监管 2025` | SFC、HKEx、FT、Reuters |
71
+
72
+ 每条 WebSearch 引用必须在附录写明 publisher + 报告 / 文章名 + 日期 + URL + 抓取时间;任何"无法核实出处"的数字一律按"数据不可得"处理。
73
+
74
+ ## Output
75
+
76
+ 输出由 `references/output.md` 模板驱动,按用户输入语言整体翻译后发出。三类主报告 + 两类异常报告:
77
+
78
+ - **场景 A — 单只新股深度分析**(招股期内或刚开始招股):评级条 → 核心数据卡 → 四维评分明细 → 招股书精华(行业空间 / 商业模式 / 三年财务表 / 募资用途 / 增长驱动 / 管理层)→ 3 条具体风险 → 申购手数参考(稳健 / 进取,附孖展提示)→ 延伸查询入口 → **数据来源明细附录** → 免责声明。
79
+ - **场景 B — 打新日历**:未来 4 周日程表(公司名 / 截止日 / 上市日 / 募资规模 / 评级)→ 1–2 只重点关注 + 一句话理由 → 市场整体打新环境评估(基于近 3 月破发率) → **数据来源明细附录** → 免责声明。
80
+ - **场景 C — 次新股追涨**:上市首日实际表现(开 / 收 / 振幅 / 当前价偏离发行价幅度)→ 简化四维(重点强调"市场时机"与"基本面展望")→ 参考目标价区间(基于同业估值倒推,明确标"区间"非"目标点")→ 3 条具体风险(强调追高与流动性)→ **数据来源明细附录** → 免责声明。
81
+ - **异常 D — 数据不足,无法评级**:列出已尝试拉取但缺失的关键字段 → 引导用户等待招股截止日下午(超购倍数公告)或刷新数据源 → **数据来源明细附录**(仍然印出已成功获取的部分) → 免责声明。
82
+ - **异常 E — 拒绝接管**:非港股 / 已上市 > 30 天 / 介绍上市 / SPAC 等,给出原因与替代 Skill 推荐,不再进入分析。
83
+
84
+ 字数约束:场景 A 快速模式(仅评级 + 核心数据 + 四维评分 + 风险 + 申购参考)≤ 400 字;详细模式(含完整招股书精华)≤ 2000 字。场景 B / C / D / E ≤ 800 字。
85
+
86
+ > **数据来源明细附录是强制输出**。无论评级、日历、追涨、数据不足、拒绝接管哪条分支,都必须以「数据来源明细」结尾,每一行须包含:字段类别 / 来源(CLI 子命令 / MCP 工具 / WebSearch URL)/ 抓取时间(YYYY-MM-DD HH:MM)/ 数据期间。WebSearch 行必须额外给出 publisher + 报告名 + 文章日期。任何数据缺失项必须在附录里以 `[unavailable]` 或 `[未披露 — 等待公告]` 注明。
87
+
88
+ ## Error handling
89
+
90
+ | Situation | 简体回复 | 繁體回覆 | English reply |
91
+ | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
92
+ | `command not found: longbridge` | 回退到 MCP;若 MCP 也不可用,请安装 longbridge-terminal。 | 回退到 MCP;若 MCP 也不可用,請安裝 longbridge-terminal。 | Fall back to MCP; if MCP unavailable install longbridge-terminal. |
93
+ | stderr `not logged in` / `unauthorized` | 本 Skill 公开数据无需登录;若是 `ipo orders` / `ipo profit-loss` 等账户接口,请运行 `longbridge auth login` 并选择 Trade 权限。 | 本 Skill 公開數據無需登入;若是 `ipo orders` / `ipo profit-loss` 等帳戶接口,請執行 `longbridge auth login` 並選擇 Trade 權限。 | Public data needs no login; for `ipo orders` / `ipo profit-loss` run `longbridge auth login` with Trade scope. |
94
+ | 非港股 IPO 输入 | 本 Skill 仅覆盖港股主板与 GEM,美股 / A 股请用 `longbridge-ipo` + 对应市场的分析 Skill。 | 本 Skill 僅覆蓋港股主板與 GEM,美股 / A 股請用 `longbridge-ipo` + 對應市場的分析 Skill。 | This skill covers HK Main Board + GEM only; for US / A-share IPOs use `longbridge-ipo` + a market-specific analysis skill. |
95
+ | 已上市 > 30 天的标的 | 本 Skill 已不覆盖,请改用 `longbridge-stock-research` / `longbridge-fundamental`。 | 本 Skill 已不覆蓋,請改用 `longbridge-stock-research` / `longbridge-fundamental`。 | Out of scope; switch to `longbridge-stock-research` / `longbridge-fundamental`. |
96
+ | 介绍上市 / SPAC / 债券上市 | 本 Skill 仅评估有募资的常规 IPO,不分析介绍上市 / SPAC / 债券。 | 本 Skill 僅評估有募資的常規 IPO,不分析介紹上市 / SPAC / 債券。 | Listings without fundraising (介绍上市 / SPAC / bond listing) are out of scope. |
97
+ | 关键数据 ≥ 2 项缺失(发行价、基石、超购倍数) | 不出评级,仅出「数据不足,无法评级」并在附录列出缺失项。 | 不出評級,僅出「資料不足,無法評級」並在附錄列出缺失項。 | Do not emit a rating; emit "Insufficient data — no rating" and list missing fields in the appendix. |
98
+ | 超购倍数尚未公布(招股期未结束) | 在「发行质量」维度标「等待招股截止日下午公告」,不强行评分。 | 在「發行質量」維度標「等待招股截止日下午公告」,不強行評分。 | Tag the "Issue quality" dimension "awaiting close-of-book disclosure"; do not force-score. |
99
+ | WebSearch 找不到引用源 | 该数据点附录写 `[unavailable]`,对应章节给定性描述而非编造数字。 | 該數據點附錄寫 `[unavailable]`,對應章節給定性描述而非編造數字。 | Tag the row `[unavailable]`; qualitative discussion only — never fabricate. |
100
+ | 用户问孖展具体杠杆产品 | 本 Skill 不推荐具体孖展产品;提示杠杆风险并引导至客服或 Longbridge 孖展页面。 | 本 Skill 不推薦具體孖展產品;提示槓桿風險並引導至客服或 Longbridge 孖展頁面。 | This skill does not recommend specific margin products; surface leverage risk and redirect to support / Longbridge margin page. |
101
+ | 其他 stderr | 原样透传错误,不静默重试。 | 原樣透傳錯誤,不靜默重試。 | Surface stderr verbatim; never silently retry. |
@@ -0,0 +1,46 @@
1
+ # industry-peers
2
+
3
+ ```
4
+ Industry peer group tree for a BK `counter_id`
5
+
6
+ Returns the hierarchical sub-sector tree for an industry group, with stock count, daily change, and YTD change at each level.
7
+
8
+ Use `industry-rank` to discover industry Counter IDs, then pass one here.
9
+
10
+ Example: longbridge industry-peers BK/US/IN00258 Example: longbridge industry-peers BK/HK/IN20337
11
+
12
+ Usage: longbridge industry-peers [OPTIONS] <SYMBOL>
13
+
14
+ Arguments:
15
+ <SYMBOL>
16
+ BK `counter_id` from `industry-rank`, e.g. BK/US/IN00258
17
+
18
+ Options:
19
+ --market <MARKET>
20
+ Market override (default: inferred from symbol suffix)
21
+
22
+ --format <FORMAT>
23
+ Output format: 'pretty' for human-readable, 'json' for AI agents and scripting
24
+
25
+ [default: pretty]
26
+ [possible values: table, json]
27
+
28
+ -v, --verbose
29
+ Print verbose request info (host, elapsed) to stderr, prefixed with `*` like curl -v
30
+
31
+ --lang <LANG>
32
+ Language for content fetched from longbridge.com: zh-CN or en. Defaults to system LANG env var, then en
33
+
34
+ -h, --help
35
+ Print help (see a summary with '-h')
36
+ ```
37
+
38
+ ## Usage
39
+
40
+ ```bash
41
+ # Run with JSON output for AI agents
42
+ longbridge industry-peers --format json
43
+
44
+ # See all options
45
+ longbridge industry-peers --help
46
+ ```
@@ -0,0 +1,62 @@
1
+ # industry-rank
2
+
3
+ ```
4
+ Industry ranking list by market and indicator
5
+
6
+ Returns a ranked list of industries. The "Counter ID" column contains BK `counter_ids` (e.g. BK/US/IN00258) that can be passed directly to `industry-peers` to explore the sub-sector hierarchy for that industry.
7
+
8
+ Example: longbridge industry-rank --market US Example: longbridge industry-rank --market HK --indicator market-cap Example: longbridge industry-rank --market US --indicator revenue --limit 10
9
+
10
+ Usage: longbridge industry-rank [OPTIONS] --market <MARKET>
11
+
12
+ Options:
13
+ --market <MARKET>
14
+ Market: US | HK | SG | CN
15
+
16
+ [possible values: US, HK, SG, CN]
17
+
18
+ --indicator <INDICATOR>
19
+ Ranking indicator (default: leading-gainer)
20
+
21
+ [default: leading-gainer]
22
+ [possible values: leading-gainer, today-trend, popularity, market-cap, revenue, revenue-growth, net-profit, net-profit-growth]
23
+
24
+ --sort-type <SORT_TYPE>
25
+ Display mode: single (default, flat list) | multi (hierarchical)
26
+
27
+ Possible values:
28
+ - single: Flat single-level list (default)
29
+ - multi: Hierarchical multi-level tree
30
+
31
+ [default: single]
32
+
33
+ --count <COUNT>
34
+ Number of results (default: 20)
35
+
36
+ [default: 20]
37
+
38
+ --format <FORMAT>
39
+ Output format: 'pretty' for human-readable, 'json' for AI agents and scripting
40
+
41
+ [default: pretty]
42
+ [possible values: table, json]
43
+
44
+ -v, --verbose
45
+ Print verbose request info (host, elapsed) to stderr, prefixed with `*` like curl -v
46
+
47
+ --lang <LANG>
48
+ Language for content fetched from longbridge.com: zh-CN or en. Defaults to system LANG env var, then en
49
+
50
+ -h, --help
51
+ Print help (see a summary with '-h')
52
+ ```
53
+
54
+ ## Usage
55
+
56
+ ```bash
57
+ # Run with JSON output for AI agents
58
+ longbridge industry-rank --format json
59
+
60
+ # See all options
61
+ longbridge industry-rank --help
62
+ ```
@@ -0,0 +1,48 @@
1
+ # insider-trades
2
+
3
+ ```
4
+ SEC Form 4 insider trades for a US-listed company
5
+
6
+ Shows non-derivative transactions (direct stock buys, sells, grants, etc.) filed by corporate insiders (officers, directors, 10% owners) with the SEC. Only US-listed equities are supported (data source: SEC EDGAR Form 4).
7
+
8
+ Transaction types: BUY (P) | SELL (S) | GRANT (A) | DISP (D) | TAX (F) | EXERCISE (M/X) | GIFT (G)
9
+
10
+ Example: longbridge insider-trades TSLA.US Example: longbridge insider-trades AAPL.US --count 40 Example: longbridge insider-trades NVDA.US --format json
11
+
12
+ Usage: longbridge insider-trades [OPTIONS] <SYMBOL>
13
+
14
+ Arguments:
15
+ <SYMBOL>
16
+ Symbol in <CODE>.<MARKET> format (US market only, e.g. TSLA.US AAPL.US)
17
+
18
+ Options:
19
+ --count <COUNT>
20
+ Number of Form 4 filings to fetch (default: 20)
21
+
22
+ [default: 20]
23
+
24
+ --format <FORMAT>
25
+ Output format: 'pretty' for human-readable, 'json' for AI agents and scripting
26
+
27
+ [default: pretty]
28
+ [possible values: table, json]
29
+
30
+ -v, --verbose
31
+ Print verbose request info (host, elapsed) to stderr, prefixed with `*` like curl -v
32
+
33
+ --lang <LANG>
34
+ Language for content fetched from longbridge.com: zh-CN or en. Defaults to system LANG env var, then en
35
+
36
+ -h, --help
37
+ Print help (see a summary with '-h')
38
+ ```
39
+
40
+ ## Usage
41
+
42
+ ```bash
43
+ # Run with JSON output for AI agents
44
+ longbridge insider-trades --format json
45
+
46
+ # See all options
47
+ longbridge insider-trades --help
48
+ ```
@@ -0,0 +1,62 @@
1
+ # institution-rating
2
+
3
+ ```
4
+ Institution rating overview and target price summary
5
+
6
+ Without a subcommand: returns rating distribution (Strong Buy / Buy / Hold / Underperform / Sell) and the current average target price. Subcommands: detail Example: longbridge institution-rating TSLA.US Example: longbridge institution-rating detail TSLA.US Example: longbridge institution-rating TSLA.US --views Example: longbridge institution-rating TSLA.US --format json
7
+
8
+ Usage: longbridge institution-rating [OPTIONS] [SYMBOL] [COMMAND]
9
+
10
+ Commands:
11
+ detail Historical institution rating and target price detail
12
+ help Print this message or the help of the given subcommand(s)
13
+
14
+ Arguments:
15
+ [SYMBOL]
16
+ Symbol in <CODE>.<MARKET> format. Omit when using a subcommand
17
+
18
+ Options:
19
+ --history
20
+ Show rating history (target price and rating changes over time)
21
+
22
+ --views
23
+ Show monthly buy/hold/sell distribution timeline instead of latest snapshot
24
+
25
+ --industry-rank
26
+ Show industry-wide rating ranking instead of per-symbol summary
27
+
28
+ --page <PAGE>
29
+ Page number for --industry-rank results (default: 1)
30
+
31
+ [default: 1]
32
+
33
+ --count <COUNT>
34
+ Number of records to show (default: 20); applies to --history and --industry-rank
35
+
36
+ [default: 20]
37
+
38
+ --format <FORMAT>
39
+ Output format: 'pretty' for human-readable, 'json' for AI agents and scripting
40
+
41
+ [default: pretty]
42
+ [possible values: table, json]
43
+
44
+ -v, --verbose
45
+ Print verbose request info (host, elapsed) to stderr, prefixed with `*` like curl -v
46
+
47
+ --lang <LANG>
48
+ Language for content fetched from longbridge.com: zh-CN or en. Defaults to system LANG env var, then en
49
+
50
+ -h, --help
51
+ Print help (see a summary with '-h')
52
+ ```
53
+
54
+ ## Usage
55
+
56
+ ```bash
57
+ # Run with JSON output for AI agents
58
+ longbridge institution-rating --format json
59
+
60
+ # See all options
61
+ longbridge institution-rating --help
62
+ ```
@@ -0,0 +1,69 @@
1
+ # longbridge-investment-ideas
2
+
3
+ Surfaces actionable investment ideas through a multi-lens screening process: value, momentum, fundamental improvement, and thematic catalysts — outputting a prioritised candidate list with brief rationale for each idea.
4
+
5
+ ## Workflow
6
+
7
+ 1. Clarify parameters with the user if not provided:
8
+ - **Market**: US / HK / A-share / SG (or multiple)
9
+ - **Theme / sector** (optional): e.g. AI, EV, healthcare, energy
10
+ - **Style**: value / growth / momentum / contrarian / short ideas
11
+ 2. Fetch the relevant universe (index constituents or sector ETF).
12
+ 3. For top candidates, fetch valuation indices and recent 60-day price momentum.
13
+ 4. Apply the selected screening lens (see below) to rank candidates.
14
+ 5. For top 5–8 ideas, fetch news to validate the narrative.
15
+ 6. Output a ranked candidate list with rationale.
16
+
17
+ ## Screening lenses
18
+
19
+ | Lens | Signal | CLI data |
20
+ | ----------------------- | --------------------------------------------- | ------------------------------------------ |
21
+ | Value | Low PE / PB vs industry median | `longbridge industry-valuation` |
22
+ | Momentum | Top 60-day price return in universe | `longbridge kline --period day --count 60` |
23
+ | Fundamental improvement | Revenue acceleration / margin expansion (QoQ) | `longbridge financial-report --kind IS` |
24
+ | Thematic | Recent policy / product catalyst in news | `longbridge news` |
25
+
26
+ ## CLI
27
+
28
+ > If you're unsure of exact flag names or defaults, run `longbridge <subcommand> --help` first.
29
+
30
+ ```bash
31
+ # Fetch universe (index constituents)
32
+ longbridge constituent <INDEX_SYMBOL> --format json
33
+
34
+ # Valuation indices for screening (PE, PB, momentum)
35
+ longbridge calc-index <SYMBOL> --format json
36
+
37
+ # 60-day daily price for momentum calculation
38
+ longbridge kline <SYMBOL> --period day --count 60 --format json
39
+
40
+ # News for narrative validation
41
+ longbridge news <SYMBOL> --format json
42
+ ```
43
+
44
+ ## Output
45
+
46
+ **Screening parameters**: market, theme, style lens, date
47
+
48
+ **Idea candidate table**:
49
+
50
+ | Rank | Symbol | Company | Market Cap | Lens | Key Signal | Rationale |
51
+ | ---- | ------- | ------- | ---------- | ------------------- | --------------------------- | --------- |
52
+ | 1 | NVDA.US | NVIDIA | $2.5T | Momentum + Thematic | +40% in 60d; AI capex cycle | ... |
53
+
54
+ For each top idea, add a one-paragraph 分析摘要 / Analysis summary covering:
55
+
56
+ - 近期催化剂或关注事项 / Recent catalysts or watchpoints(供参考)
57
+ - 关键指标与事件 / Key metrics and events
58
+ - Key risk (one-liner bear case)
59
+
60
+ > 以上内容仅供参考,不构成投资建议。投资决策请结合自身风险承受能力独立判断。/ The above is for reference only and does not constitute investment advice.
61
+
62
+ ## Error handling
63
+
64
+ | Situation | Simplified Chinese | Traditional Chinese / English |
65
+ | -------------------------------- | -------------------------------------------- | ----------------------------------------------------------------- |
66
+ | `command not found: longbridge` | 回退到 MCP;否则提示安装 longbridge-terminal | 回退到 MCP;否則提示安裝 / Fall back to MCP; prompt to install |
67
+ | `not logged in` / `unauthorized` | 请运行 `longbridge auth login` | 請運行 `longbridge auth login` / Run `longbridge auth login` |
68
+ | No market or theme specified | 请告知目标市场和投资风格 | 請告知目標市場和投資風格 / Please specify target market and style |
69
+ | Other stderr | 原样展示错误,不重试 | 原樣展示,不重試 / Surface verbatim, no silent retry |
@@ -0,0 +1,95 @@
1
+ # longbridge-investment-proposal
2
+
3
+ Generate a structured investment proposal for a single stock opportunity.
4
+
5
+ ## Workflow
6
+
7
+ 1. Extract the target symbol; normalise to `<CODE>.<MARKET>`.
8
+ 2. Gather data in parallel:
9
+ - Company profile (name, business, employees, founding, IPO date)
10
+ - Latest financials (revenue, net income, EPS, ROE, gross margin, FCF)
11
+ - Valuation multiples (PE, PB, EV-EBITDA, PEG)
12
+ - Analyst consensus (target price, rating distribution)
13
+ - Recent news and catalysts
14
+ 3. Synthesise into the proposal structure below.
15
+ 4. Flag data gaps explicitly rather than fabricating figures.
16
+
17
+ > If unsure of exact flag names, run `longbridge <subcommand> --help` before proceeding.
18
+
19
+ ## CLI
20
+
21
+ ```bash
22
+ # Company profile
23
+ longbridge company <SYMBOL> --format json
24
+
25
+ # Financial statements
26
+ longbridge financial-report <SYMBOL> --kind ALL --format json
27
+
28
+ # Valuation multiples
29
+ longbridge valuation <SYMBOL> --format json
30
+
31
+ # Analyst consensus
32
+ longbridge consensus <SYMBOL> --format json
33
+
34
+ # Recent news
35
+ longbridge news <SYMBOL> --format json
36
+ ```
37
+
38
+ ## Output structure
39
+
40
+ ```
41
+ # Investment Proposal: <Company Name> (<SYMBOL>)
42
+ Date: <today>
43
+
44
+ ## Executive Summary
45
+ One-paragraph verdict: Buy / Hold / Avoid, price target, key thesis.
46
+
47
+ ## Company Overview
48
+ Business description, market, employees, listing date.
49
+
50
+ ## Investment Thesis
51
+ 1. <Core point 1>
52
+ 2. <Core point 2>
53
+ 3. <Core point 3>
54
+ [4–5 if applicable]
55
+
56
+ ## Financial Analysis
57
+ | Metric | LTM | YoY Δ |
58
+ |---------------|---------|--------|
59
+ | Revenue | | |
60
+ | Net Income | | |
61
+ | EPS | | |
62
+ | Gross Margin | | |
63
+ | ROE | | |
64
+ | FCF | | |
65
+
66
+ ## Valuation
67
+ | Multiple | Current | Industry Median | Assessment |
68
+ |------------|---------|-----------------|------------|
69
+ | PE | | | |
70
+ | PB | | | |
71
+ | EV/EBITDA | | | |
72
+
73
+ Target price rationale and upside / downside.
74
+
75
+ ## Catalysts & Timeline
76
+ - Near-term (0–3 months): ...
77
+ - Medium-term (3–12 months): ...
78
+
79
+ ## Risk Factors
80
+ - <Risk 1>
81
+ - <Risk 2>
82
+ - <Risk 3>
83
+
84
+ ## Position Recommendation
85
+ Suggested entry range, position size, stop-loss level, review trigger.
86
+ ```
87
+
88
+ ## Error handling
89
+
90
+ | Situation | 简体回复 | 繁體回復 | English reply |
91
+ | ------------------------------- | -------------------------------------------- | -------------------------------------------- | --------------------------------------------------------- |
92
+ | Symbol not found | 未找到该代码,请确认市场和代码格式。 | 找不到該代碼,請確認市場和代碼格式。 | Symbol not found — verify the exchange and ticker. |
93
+ | Financials unavailable | 财务数据暂不可用,提案中该部分留空。 | 財務數據暫不可用,提案中該部分留空。 | Financials unavailable — that section will be left blank. |
94
+ | `command not found: longbridge` | 请安装 longbridge-terminal 或通过 MCP 连接。 | 請安裝 longbridge-terminal 或透過 MCP 連線。 | Install longbridge-terminal or connect via MCP. |
95
+ | `not logged in` | 请运行 `longbridge auth login`。 | 請執行 `longbridge auth login`。 | Run `longbridge auth login`. |
@@ -0,0 +1,87 @@
1
+ # longbridge-investors
2
+
3
+ Prompt-only skill. Provides a **fund-manager–centric** view of SEC 13F filings via the Longbridge CLI — who the biggest players are, what a specific manager holds, and how their portfolio changed quarter over quarter.
4
+
5
+ ## CLI
6
+
7
+ Run `longbridge investors --help` to verify exact flags before use. Common calls:
8
+
9
+ ```bash
10
+ # Top-50 active fund managers by AUM (includes CIK for each)
11
+ longbridge investors --format json
12
+
13
+ # Full portfolio snapshot for a specific manager
14
+ longbridge investors <CIK> --format json
15
+ longbridge investors 0001067983 --format json # Berkshire Hathaway (Buffett)
16
+ longbridge investors 0001364742 --format json # BlackRock
17
+
18
+ # Limit to top N positions by market value
19
+ longbridge investors <CIK> --top 20 --format json
20
+
21
+ # Quarter-over-quarter holding changes
22
+ longbridge investors changes <CIK> --format json
23
+ longbridge investors changes 0001067983 --format json
24
+
25
+ # Help
26
+ longbridge investors --help
27
+ ```
28
+
29
+ Well-known CIKs (verify via the top-50 list first):
30
+
31
+ | Manager | CIK |
32
+ | ---------------------------- | ---------- |
33
+ | Berkshire Hathaway (Buffett) | 0001067983 |
34
+ | BlackRock | 0001364742 |
35
+
36
+ ## Workflow
37
+
38
+ 1. **Identify intent**: ranking → run `investors`; portfolio snapshot → run `investors <CIK>`; changes → run `investors changes <CIK>`.
39
+ 2. **Resolve CIK** if not provided: run `longbridge investors --format json` to get the top-50 list and find the matching manager's CIK.
40
+ 3. **Fetch data** concurrently where possible.
41
+ 4. **Present results**:
42
+ - Ranking: table of rank / manager name / AUM / CIK.
43
+ - Portfolio snapshot: table of symbol / shares / market value / % of portfolio; note filing date and reporting period.
44
+ - Changes: group by action (NEW / ADDED / REDUCED / EXITED); show symbol, shares delta, value delta.
45
+ 5. Cite **Longbridge Securities / SEC 13F**; add disclaimer.
46
+
47
+ ## Output
48
+
49
+ **Ranking** — _Top-50 institutional investors_
50
+
51
+ ```
52
+ Rank | Manager | AUM (USD B) | CIK
53
+ 1 | BlackRock | 10,200 | 0001364742
54
+ 2 | Vanguard Group | 8,400 | 0000102909
55
+
56
+ ```
57
+
58
+ **Portfolio snapshot** — _Berkshire Hathaway as of {filing date}_
59
+
60
+ ```
61
+ Symbol | Shares (M) | Market Value (USD M) | % Portfolio
62
+ AAPL.US | 905.6 | 174,300 | 47.2%
63
+ BAC.US | 1,032.8 | 35,100 | 9.5%
64
+
65
+ ```
66
+
67
+ **Changes** — _Berkshire Hathaway: Q4 2024 → Q1 2025_
68
+
69
+ ```
70
+ NEW: OXY.US (+18.9M shares, +$1.1B)
71
+ ADDED: AAPL.US (+3.2M, +$620M)
72
+ REDUCED: BYD.US (−5.0M, −$280M)
73
+ EXITED: HPQ.US (−7.2M, −$195M)
74
+ ```
75
+
76
+ ⚠️ 13F 数据滞后约 45 天,仅供参考,不构成投资建议。
77
+ ⚠️ 13F 數據滯後約 45 天,僅供參考,不構成投資建議。
78
+ ⚠️ 13F filings lag ~45 days. For reference only. Not investment advice.
79
+
80
+ ## Error handling
81
+
82
+ | Situation | 简体中文回复 | 繁體中文 / English |
83
+ | ------------------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
84
+ | `command not found: longbridge` | 回退到 MCP;如也不可用,请安装 longbridge-terminal。 | 回退到 MCP;如也不可用,請安裝 longbridge-terminal。/ Fall back to MCP; if unavailable, install longbridge-terminal. |
85
+ | `investors` returns empty | "暂无 13F 数据,CIK 可能有误,请用 `longbridge investors` 列出前50名确认。" | "暫無 13F 數據,請確認 CIK。" / "No 13F data — verify CIK via `longbridge investors`." |
86
+ | CIK not found in top-50 | 提示用户运行 `longbridge investors --format json` 获取完整 CIK 列表。 | 提示用戶查看完整 CIK 列表。/ Ask user to run `longbridge investors` for the full CIK list. |
87
+ | Other stderr | 直接显示原始错误,不静默重试。 | 顯示原始錯誤。/ Surface verbatim — do not retry silently. |