@v587d/capital-generation 2.7.3 → 2.7.5

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 (81) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/README.md +17 -7
  3. package/THIRD_PARTY_NOTICES.md +71 -24
  4. package/capital-config/client.js +4 -4
  5. package/capital-config/package.json +1 -1
  6. package/capital-watchlist/package.json +1 -1
  7. package/chart-ui/package.json +1 -1
  8. package/lib/web-retriever/local-fetch.d.ts +1 -1
  9. package/lib/web-retriever/local-fetch.js +1 -1
  10. package/lib/web-retriever/sources.d.ts +1 -1
  11. package/lib/web-retriever/sources.js +1 -1
  12. package/lib/web-retriever/wind-client.d.ts +1 -1
  13. package/lib/web-retriever/wind-client.js +1 -1
  14. package/package.json +2 -1
  15. package/selected-skills/README.md +6 -1
  16. package/selected-skills/catalog.js +176 -0
  17. package/selected-skills/claude-for-financial-services-cn/LICENSE +201 -0
  18. package/selected-skills/claude-for-financial-services-cn/UPSTREAM.md +173 -0
  19. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-3-statement-model/SKILL.md +287 -0
  20. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-accrual-schedule/SKILL.md +182 -0
  21. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-audit-xls/SKILL.md +231 -0
  22. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-break-trace/SKILL.md +217 -0
  23. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-catalyst-calendar/SKILL.md +258 -0
  24. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-clean-data-xls/SKILL.md +237 -0
  25. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps/SKILL.md +104 -0
  26. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps-analysis/SKILL.md +196 -0
  27. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf/SKILL.md +81 -0
  28. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf-model/SKILL.md +68 -0
  29. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deal-screening/SKILL.md +212 -0
  30. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deck-refresh/SKILL.md +221 -0
  31. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-analysis/SKILL.md +237 -0
  32. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-preview/SKILL.md +239 -0
  33. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-gl-recon/SKILL.md +232 -0
  34. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ib-check-deck/SKILL.md +252 -0
  35. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-idea-generation/SKILL.md +277 -0
  36. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-initiating-coverage/SKILL.md +271 -0
  37. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-lbo-model/SKILL.md +273 -0
  38. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-market-data/SKILL.md +229 -0
  39. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-model-update/SKILL.md +219 -0
  40. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-morning-note/SKILL.md +227 -0
  41. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ppt-template-creator/SKILL.md +231 -0
  42. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-pptx-author/SKILL.md +240 -0
  43. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-roll-forward/SKILL.md +189 -0
  44. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-sector-overview/SKILL.md +257 -0
  45. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-skill-creator/SKILL.md +304 -0
  46. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-tax-loss-harvesting/SKILL.md +200 -0
  47. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-thesis-tracker/SKILL.md +237 -0
  48. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-variance-commentary/SKILL.md +262 -0
  49. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-xlsx-author/SKILL.md +256 -0
  50. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-accrual-schedule/SKILL.md +190 -0
  51. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-break-trace/SKILL.md +182 -0
  52. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-gl-recon/SKILL.md +200 -0
  53. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-nav-tieout/SKILL.md +233 -0
  54. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-roll-forward/SKILL.md +178 -0
  55. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-variance-commentary/SKILL.md +190 -0
  56. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-buyer-list/SKILL.md +198 -0
  57. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-cim-builder/SKILL.md +223 -0
  58. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-competitive-analysis/SKILL.md +233 -0
  59. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-datapack-builder/SKILL.md +232 -0
  60. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-deal-tracker/SKILL.md +151 -0
  61. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-merger-model/SKILL.md +226 -0
  62. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-pitch-deck/SKILL.md +231 -0
  63. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-process-letter/SKILL.md +249 -0
  64. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-strip-profile/SKILL.md +196 -0
  65. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-teaser/SKILL.md +235 -0
  66. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-doc-parse/SKILL.md +252 -0
  67. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-rules/SKILL.md +223 -0
  68. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ai-readiness/SKILL.md +184 -0
  69. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-checklist/SKILL.md +217 -0
  70. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-meeting-prep/SKILL.md +290 -0
  71. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-deal-sourcing/SKILL.md +224 -0
  72. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ic-memo/SKILL.md +230 -0
  73. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-portfolio-monitoring/SKILL.md +214 -0
  74. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-returns-analysis/SKILL.md +176 -0
  75. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-unit-economics/SKILL.md +192 -0
  76. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-value-creation-plan/SKILL.md +193 -0
  77. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-report/SKILL.md +205 -0
  78. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-review/SKILL.md +218 -0
  79. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-financial-plan/SKILL.md +259 -0
  80. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-investment-proposal/SKILL.md +271 -0
  81. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-portfolio-rebalance/SKILL.md +191 -0
@@ -0,0 +1,190 @@
1
+ ---
2
+ name: china-variance-commentary
3
+ description: Write variance commentary for A-share fund performance and portfolio changes. Adapts the original variance-commentary skill for fund accounting and Chinese fund reporting conventions. Triggers on "基金业绩点评", "组合表现分析", "variance commentary fund", "基金表现分析", "业绩归因", or "commentary on [fund] performance".
4
+ ---
5
+
6
+ # china-variance-commentary
7
+
8
+ ## Purpose
9
+
10
+ Write professional **基金业绩点评** — structured variance commentary on fund performance and portfolio changes.
11
+
12
+ ## Data Sources
13
+
14
+ ### Tier 0 — 万得 Wind(最全面付费数据)
15
+ - 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
16
+ - MCP 服务:`wind-mcp`(需 `WIND_API_KEY` 密钥,以 `ak_` 开头)
17
+ - 优势:全市场覆盖面最广、数据最全面、包含研报和量化分析
18
+ - 密钥申请:https://aifinmarket.wind.com.cn/#/home
19
+
20
+ ### Tier 1 — 同花顺 iFind(付费精确数据)/ AkShare MCP(Tier-2 免费备选)
21
+
22
+ ```python
23
+ get_fund_data(fund_code) → Fund NAV, performance
24
+ get_quote(ticker) → Individual security performance
25
+ get_index_data("000001") → Benchmark data
26
+ ```
27
+
28
+ ### Secondary Sources
29
+ - 基金公司 — fund performance data
30
+ - 托管行 — custody data
31
+ - Wind / Choice — performance analytics
32
+
33
+ ## Workflow
34
+
35
+ ### Step 1: Gather Performance Data
36
+
37
+ **Performance snapshot:**
38
+
39
+ | Metric | Period | Benchmark | Active Return |
40
+ |--------|--------|-----------|--------------|
41
+ | 净值增长率 | X.XX% | X.XX% | X.XX% |
42
+ | 年化收益率 | X.XX% | X.XX% | X.XX% |
43
+ | 波动率 | X.XX% | X.XX% | |
44
+ | 夏普比率 | X.XX | | |
45
+ | 最大回撤 | X.XX% | | |
46
+ | 卡尔马比率 | X.XX | | |
47
+
48
+ ### Step 2: Attribution Analysis
49
+
50
+ **Performance attribution:**
51
+
52
+ | Factor | Contribution | Description |
53
+ |--------|-------------|-------------|
54
+ | 资产配置 (Allocation) | X.XX% | Sector/security weight decisions |
55
+ | 个股选择 (Selection) | X.XX% | Security picking within sectors |
56
+ | 交互效应 (Interaction) | X.XX% | Combined effect |
57
+
58
+ ### Step 3: Sector Attribution
59
+
60
+ **Sector performance:**
61
+
62
+ | Sector | Weight | Return | Contribution | Benchmark Weight | Benchmark Return | Allocation Effect | Selection Effect |
63
+ |--------|--------|--------|-------------|-----------------|-----------------|-----------------|-----------------|
64
+ | | | | | | | | |
65
+ | **Total** | **100%** | | | | | | |
66
+
67
+ ### Step 4: Top/Bottom Contributors
68
+
69
+ **Best/worst performers:**
70
+
71
+ | # | Security | Ticker | Weight | Period Return | Contribution |
72
+ |---|----------|--------|--------|--------------|-------------|
73
+ | 1 (Best) | | | | | |
74
+ | 2 | | | | | |
75
+ | 3 | | | | | |
76
+ | ... | | | | | |
77
+ | (Worst) | | | | | |
78
+ | (2nd Worst) | | | | | |
79
+ | (3rd Worst) | | | | | |
80
+
81
+ ### Step 5: Risk Analysis
82
+
83
+ **Risk metrics:**
84
+
85
+ | Metric | Value | Benchmark | Assessment |
86
+ |--------|-------|-----------|-----------|
87
+ | 波动率 | X.XX% | X.XX% | Higher/Lower |
88
+ | 最大回撤 | X.XX% | X.XX% | |
89
+ | 下行偏差 | X.XX% | X.XX% | |
90
+ | VaR (95%) | X.XX% | | |
91
+ | Beta | X.XX | | |
92
+ | Alpha | X.XX% | | |
93
+
94
+ ### Step 6: Holdings Changes
95
+
96
+ **Changes since last period:**
97
+
98
+ | Action | Security | Ticker | Reason | Impact |
99
+ |--------|----------|--------|--------|--------|
100
+ | New buy | | | | |
101
+ | Add to | | | | |
102
+ | Reduce | | | | |
103
+ | Sold | | | | |
104
+
105
+ ### Step 7: Market Context
106
+
107
+ **Market environment:**
108
+
109
+ | Factor | Current | Prior Period | Change |
110
+ |--------|---------|-------------|--------|
111
+ | 上证指数 | | | |
112
+ | 沪深300 | | | |
113
+ | 创业板指 | | | |
114
+ | 北向资金 | | | |
115
+ | 成交量 | | | |
116
+
117
+ ### Step 8: Commentary
118
+
119
+ **Standard format:**
120
+
121
+ ```
122
+ 【业绩点评】[Fund Name] [Period]
123
+ 报告期:[Date]
124
+ 单位净值:¥X.XXXX
125
+ 净值增长率:+/-X.XX%
126
+ 基准收益率:+/-X.XX%
127
+ 超额收益:+/-X.XX%
128
+
129
+ 一、业绩概览
130
+ [Overall performance summary]
131
+
132
+ 二、归因分析
133
+ [Attribution breakdown]
134
+
135
+ 三、行业分析
136
+ [Sector attribution]
137
+
138
+ 四、重仓股表现
139
+ [Top/bottom contributors]
140
+
141
+ 五、风险指标
142
+ [Risk metrics]
143
+
144
+ 六、持仓变动
145
+ [Changes in portfolio]
146
+
147
+ 七、市场回顾
148
+ [Market context]
149
+
150
+ 八、展望
151
+ [Forward outlook]
152
+ ```
153
+
154
+ ## China-Specific Considerations
155
+
156
+ ### Fund Benchmarks
157
+
158
+ | Fund Type | Typical Benchmark |
159
+ |-----------|------------------|
160
+ | 股票型基金 | 沪深300 / 创业板指 |
161
+ | 债券型基金 | 中债综合指数 |
162
+ | 混合型基金 | 沪深300 × 50% + 中债 × 50% |
163
+ | 指数基金 | Tracking index |
164
+ | QDII | Relevant foreign index |
165
+
166
+ ### Performance Presentation
167
+
168
+ | Convention | China Practice |
169
+ |-----------|----------------|
170
+ | Return calculation | Geometric |
171
+ | Benchmark | Contractual |
172
+ | Reporting frequency | Daily for public funds |
173
+ | Risk metrics | Standard set |
174
+
175
+ ## Quality Checks
176
+
177
+ Before delivering:
178
+ - [ ] Performance data accurate
179
+ - [ ] Attribution complete
180
+ - [ ] Top/bottom contributors identified
181
+ - [ ] Risk metrics calculated
182
+ - [ ] Holdings changes documented
183
+ - [ ] Market context current
184
+ - [ ] Commentary balanced
185
+ > **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
186
+ > - `ifind-only` (strict): Use iFind only, error if unavailable
187
+ > - `ifind-fallback` (default): iFind preferred, fallback to AkShare
188
+ > - `akshare-only`: Skip iFind, use AkShare only
189
+ > - `wind-only`: Wind only, error if unavailable
190
+ > - `wind-fallback`: Wind first, fallback to iFind → AkShare
@@ -0,0 +1,198 @@
1
+ ---
2
+ name: china-buyer-list
3
+ description: Build a list of potential strategic and financial acquirers for A-share sell-side M&A mandates. Adapted from the original buyer-list skill for Chinese market acquirer universe. Triggers on "A股买方名单", "潜在收购方", "buyer list China", "strategic buyers China", "who would buy this A-share company", or "build buyer universe".
4
+ ---
5
+
6
+ # china-buyer-list
7
+
8
+ ## Purpose
9
+
10
+ Build **A股潜在收购方名单**, identifying both strategic and financial buyers for a sell-side M&A mandate.
11
+
12
+ ## Data Sources
13
+
14
+ ### Tier 0 — 万得 Wind(最全面付费数据)
15
+ - 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
16
+ - MCP 服务:`wind-mcp`(需 `WIND_API_KEY` 密钥,以 `ak_` 开头)
17
+ - 优势:全市场覆盖面最广、数据最全面、包含研报和量化分析
18
+ - 密钥申请:https://aifinmarket.wind.com.cn/#/home
19
+
20
+ ### Tier 1 — 同花顺 iFind(付费精确数据)/ AkShare MCP(Tier-2 免费备选)
21
+
22
+ ```python
23
+ get_industry_stocks(industry="...") → Industry peer list
24
+ get_quote(ticker) → Valuation for comparable analysis
25
+ get_financials(ticker, "income") → Revenue for size comparison
26
+ ```
27
+
28
+ ### Secondary Sources
29
+ - 巨潮公告 — M&A history
30
+ - Wind / Choice — transaction database
31
+ - 券商研报 — sector M&A analysis
32
+ - 企查查 / 天眼查 — corporate structure, related entities
33
+
34
+ ## Workflow
35
+
36
+ ### Step 1: Define Target Profile
37
+
38
+ **Target characteristics:**
39
+ - Industry / sector
40
+ - Revenue size
41
+ - Geography
42
+ - Growth profile
43
+ - Ownership structure (listed / unlisted, controlling shareholder)
44
+
45
+ ### Step 2: Build Strategic Buyer Universe
46
+
47
+ **Strategic buyer categories:**
48
+
49
+ | Category | Rationale | Examples |
50
+ |----------|-----------|---------|
51
+ | 同业龙头 (Industry peers) | Horizontal integration, market share | 白酒: 头部酒企 |
52
+ | 上下游整合 (Vertical integration) | Supply chain control | 车企 → 电池厂 |
53
+ | 多元化集团 (Conglomerates) | Diversification | 华润, 招商局 |
54
+ | 国企整合 (SOE consolidation) | Policy-driven consolidation | 央企/国企 |
55
+ | 民企扩张 (Private expansion) | Growth through M&A | 美的, 海尔 |
56
+
57
+ **For each potential strategic buyer:**
58
+ - Strategic rationale (why would they buy?)
59
+ - Fit assessment (complementarity, synergies)
60
+ - Financial capacity (cash, debt capacity)
61
+ - Historical M&A activity
62
+ - Regulatory approval likelihood
63
+
64
+ ### Step 3: Build Financial Sponsor Universe
65
+
66
+ **Financial buyer categories:**
67
+
68
+ | Category | Description | Typical China Players |
69
+ |----------|-------------|----------------------|
70
+ | 私募股权 (PE) | Traditional buyout funds | 高瓴, 红杉, 鼎晖, 中信产业基金 |
71
+ | 产业基金 (Industry funds) | Sector-specific | 国家集成电路产业投资基金 |
72
+ | 并购基金 (Buyout funds) | A-share focused | 中金, 中信, 华泰联合 |
73
+ | 国资平台 (SOE investment arms) | Policy-driven | 地方国资, 国投 |
74
+
75
+ **Screening criteria:**
76
+ - Fund size vs deal size
77
+ - Sector focus alignment
78
+ - Track record in China
79
+ - Currency availability (RMB vs USD)
80
+ - Hold period preference
81
+ - Regulatory approval track record
82
+
83
+ ### Step 4: Assess Buyer Fit
84
+
85
+ **Fit scoring matrix:**
86
+
87
+ | Buyer | Strategic Fit | Financial Capacity | Reg. Risk | Historical Activity | Overall Score |
88
+ |-------|---------------|-------------------|-----------|---------------------|---------------|
89
+ | | 1-5 | 1-5 | 1-5 | 1-5 | |
90
+
91
+ **Scoring criteria:**
92
+ - Strategic fit: How natural is the combination?
93
+ - Financial capacity: Can they afford it?
94
+ - Regulatory risk: Likelihood of approval?
95
+ - Historical activity: Do they acquire actively?
96
+
97
+ ### Step 5: Prioritize Outreach
98
+
99
+ **Priority tiers:**
100
+
101
+ | Tier | Criteria | Approach |
102
+ |------|----------|----------|
103
+ | Tier 1 | High strategic fit, strong capacity, low reg risk | Direct outreach first |
104
+ | Tier 2 | Good fit, some hurdles | Secondary outreach |
105
+ | Tier 3 | Possible fit, significant challenges | Contingency / backup |
106
+
107
+ **Outreach considerations:**
108
+ - Relationship warmth (existing connections)
109
+ - Cultural/language compatibility
110
+ - Deal team familiarity with buyer
111
+ - Expected timeline
112
+
113
+ ### Step 6: Document the List
114
+
115
+ **Standard buyer list format:**
116
+
117
+ ```
118
+ 【目标公司】潜在收购方名单
119
+
120
+ 一、战略买方
121
+
122
+ 1. [Buyer Name]
123
+ 属性:[国企/民企/外企]
124
+ 逻辑:[Why they would buy]
125
+ 历史并购:[Relevant deals]
126
+ 风险:[Regulatory / Integration risks]
127
+ 优先级:[Tier 1/2/3]
128
+
129
+ 2. ...
130
+
131
+ 二、财务买方
132
+
133
+ 1. [Fund Name]
134
+ 类型:[PE/产业基金/并购基金]
135
+ 规模:[AUM]
136
+ 重点行业:[Sector focus]
137
+ 投资偏好:[Deet size, hold period]
138
+ 优先级:[Tier 1/2/3]
139
+
140
+ 2. ...
141
+ ```
142
+
143
+ ## China-Specific Considerations
144
+
145
+ ### Strategic Buyer Landscape
146
+
147
+ **Key strategic buyer types in China:**
148
+
149
+ | Type | Description | Typical Targets |
150
+ |------|-------------|-----------------|
151
+ | 央企集团 | Central SOE conglomerates | Large industrials, resources |
152
+ | 地方国企 | Provincial/municipal SOEs | Regional champions |
153
+ | 头部民企 | Leading private companies | Adjacent businesses |
154
+ | 互联网巨头 | Alibaba, Tencent, ByteDance | Tech, media, consumer |
155
+ | 金融机构 | Banks, insurers | Financial services |
156
+ | 地产集团 | Real estate developers | Diversification targets |
157
+
158
+ ### Financial Sponsor Landscape
159
+
160
+ | Fund Type | Typical Size | Focus | Example Funds |
161
+ |-----------|-------------|-------|---------------|
162
+ | 美元基金 (USD funds) | Large | Growth, buyout | 高瓴, 红杉, Hillhouse |
163
+ | 人民币基金 (RMB funds) | Medium | Domestic focus | 中信产业基金, 鼎晖 |
164
+ | 产业基金 (Industry funds) | Large | National strategic | 大基金 (半导体) |
165
+ | 并购基金 (Buyout funds) | Medium | A-share M&A | 中金资本 |
166
+
167
+ ### Regulatory Considerations
168
+
169
+ - **经营者集中申报**: SAMR review for deals above thresholds
170
+ - **外资安全审查**: Foreign investment review (if applicable)
171
+ - **国有股权转让**: 国有资产评估, 产权交易所挂牌
172
+ - **反垄断**: Market share thresholds
173
+ - **行业准入**: Sector-specific approvals
174
+
175
+ ### Common Transaction Patterns
176
+
177
+ | Pattern | Description | Frequency |
178
+ |---------|-------------|-----------|
179
+ | 借壳上市 | Backdoor listing | Moderate |
180
+ | 吸并 | Merger of equals or absorption | Moderate |
181
+ | 协议转让 | Block trade / agreement transfer | Common for control |
182
+ | 要约收购 | General offer for remaining shares | Required for >30% |
183
+ | 定增 | Private placement | Common for acquisitions |
184
+
185
+ ## Quality Checks
186
+
187
+ Before delivering:
188
+ - [ ] Buyer universe comprehensive (both strategic and financial)
189
+ - [ ] Each buyer assessed for fit
190
+ - [ ] Regulatory risks considered
191
+ - [ ] Prioritization logical
192
+ - [ ] Contact approach appropriate
193
+ > **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
194
+ > - `ifind-only` (strict): Use iFind only, error if unavailable
195
+ > - `ifind-fallback` (default): iFind preferred, fallback to AkShare
196
+ > - `akshare-only`: Skip iFind, use AkShare only
197
+ > - `wind-only`: Wind only, error if unavailable
198
+ > - `wind-fallback`: Wind first, fallback to iFind → AkShare
@@ -0,0 +1,223 @@
1
+ ---
2
+ name: china-cim-builder
3
+ description: Structure and draft Confidential Information Memorandums (CIMs) for A-share sell-side M&A processes. Organizes company information into professional, investor-ready documents with Chinese market context. Triggers on "A股CIM", "保密信息备忘录", "CIM China", "confidential memorandum A-share", or "offering memorandum [company]".
4
+ ---
5
+
6
+ # china-cim-builder
7
+
8
+ ## Purpose
9
+
10
+ Draft **A股并购CIM (Confidential Information Memorandum)** for sell-side M&A processes — comprehensive, confidential company overviews for potential buyers.
11
+
12
+ ## Data Sources
13
+
14
+ ### Tier 0 — 万得 Wind(最全面付费数据)
15
+ - 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
16
+ - MCP 服务:`wind-mcp`(需 `WIND_API_KEY` 密钥,以 `ak_` 开头)
17
+ - 优势:全市场覆盖面最广、数据最全面、包含研报和量化分析
18
+ - 密钥申请:https://aifinmarket.wind.com.cn/#/home
19
+
20
+ ### Tier 1 — 同花顺 iFind(付费精确数据)/ AkShare MCP(Tier-2 免费备选)
21
+
22
+ ```python
23
+ get_stock_info(ticker) → Company profile
24
+ get_quote(ticker) → Valuation snapshot
25
+ get_historical_data(ticker) → Trading history
26
+ get_financials(ticker, "income", "annual") → Historical P&L
27
+ get_financials(ticker, "balance", "annual") → Historical BS
28
+ get_financials(ticker, "cashflow", "annual") → Historical CF
29
+ get_industry_stocks(industry="...") → Industry peers
30
+ ```
31
+
32
+ ### Secondary Sources
33
+ - **巨潮** — full annual reports, announcements
34
+ - **公司官网** — IR materials, presentations
35
+ - **券商研报** — existing research
36
+ - **企查查 / 天眼查** — corporate structure, subsidiaries
37
+
38
+ ## Workflow
39
+
40
+ ### Step 1: Define CIM Scope
41
+
42
+ **CIM types:**
43
+
44
+ | Type | Use | Typical Length |
45
+ |------|-----|---------------|
46
+ | Full CIM | Comprehensive sell-side | 50-100 pages |
47
+ | Summary CIM | Initial teaser + overview | 15-25 pages |
48
+ | Teaser | Anonymous preview | 1-2 pages |
49
+ | Management presentation | Buyer meeting | 20-40 slides |
50
+
51
+ ### Step 2: Standard CIM Structure
52
+
53
+ **A-share CIM sections:**
54
+
55
+ ```
56
+ 一、交易概述 (Transaction Overview)
57
+ - 交易背景
58
+ - 交易结构
59
+ - 时间表
60
+
61
+ 二、公司概览 (Company Overview)
62
+ - 公司简介
63
+ - 发展历程
64
+ - 业务模式
65
+ - 组织结构
66
+ - 管理层介绍
67
+
68
+ 三、行业分析 (Industry Analysis)
69
+ - 市场规模
70
+ - 发展趋势
71
+ - 竞争格局
72
+ - 政策环境
73
+
74
+ 四、经营分析 (Operating Analysis)
75
+ - 业务拆分
76
+ - 核心竞争优势
77
+ - 客户结构
78
+ - 渠道网络
79
+ - 供应链
80
+
81
+ 五、财务分析 (Financial Analysis)
82
+ - 历史财务表现
83
+ - 财务比率分析
84
+ - 盈利质量
85
+ - 现金流分析
86
+
87
+ 六、估值分析 (Valuation Analysis)
88
+ - 交易比较 (可比交易)
89
+ - 交易倍数 (Trading comps)
90
+ - DCF估值
91
+ - 估值区间
92
+
93
+ 七、风险因素 (Risk Factors)
94
+ - 行业风险
95
+ - 公司风险
96
+ - 市场风险
97
+ - 政策风险
98
+
99
+ 八、附录 (Appendices)
100
+ - 详细财务报表
101
+ - 管理层简历
102
+ - 术语表
103
+ ```
104
+
105
+ ### Step 3: Gather Content
106
+
107
+ **For each section:**
108
+
109
+ 1. **Company overview**: From 巨潮 annual report + AkShare
110
+ 2. **Financials**: From AkShare / 巨潮 (3-5 years)
111
+ 3. **Industry**: From research reports, industry data
112
+ 4. **Competitive position**: Peer comparison via AkShare
113
+ 5. **Management**: From 年报 / 公司官网
114
+ 6. **Valuation**: Built from comps + DCF
115
+
116
+ ### Step 4: Write the CIM
117
+
118
+ **Writing guidelines:**
119
+ - Professional, neutral tone
120
+ - Factual, avoid superlatives
121
+ - Balanced presentation (include risks)
122
+ - Chinese business English appropriate for cross-border
123
+ - Chinese terminology where buyers expect it
124
+
125
+ **Key sections detail:**
126
+
127
+ #### Company Overview
128
+ - History and evolution
129
+ - Current structure (corporate org chart)
130
+ - Core business lines with revenue contribution
131
+ - Geographic footprint
132
+ - Key milestones
133
+
134
+ #### Industry Analysis
135
+ - Market size and growth trajectory
136
+ - Supply/demand dynamics
137
+ - Regulatory framework
138
+ - Technology trends
139
+ - Entry barriers
140
+
141
+ #### Financial Analysis
142
+ - 5-year historical summary
143
+ - Key ratio trends
144
+ - Revenue bridge (growth decomposition)
145
+ - Margin analysis
146
+ - Balance sheet quality
147
+ - Cash flow profile
148
+
149
+ #### Valuation
150
+ - Comparable transactions (precedent deals)
151
+ - Trading comparables
152
+ - DCF summary
153
+ - Valuation range and rationale
154
+
155
+ ### Step 5: Quality Standards
156
+
157
+ **CIM quality checklist:**
158
+
159
+ | Section | Requirement |
160
+ |---------|-------------|
161
+ | Confidentiality | Prominent watermark and notice |
162
+ | Executive summary | Compelling, concise (1-2 pages) |
163
+ | Financials | Complete, consistent, sourced |
164
+ | Industry | Contextual, data-backed |
165
+ | Risks | Comprehensive, not minimized |
166
+ | Formatting | Professional, consistent |
167
+ | Graphics | Charts, tables, org charts |
168
+
169
+ ## China-Specific Considerations
170
+
171
+ ### Regulatory Disclosures
172
+
173
+ **Mandatory disclosure content:**
174
+ - 关联交易 (related party transactions) — flag prominently
175
+ - 对外担保 (guarantees to third parties)
176
+ - 重大诉讼仲裁 (material litigation)
177
+ - 股权质押 (share pledges)
178
+ - 同业竞争 (competitive businesses of related parties)
179
+
180
+ ### Ownership Structure
181
+
182
+ **Common in China CIMs:**
183
+ - 股权结构图 (ownership structure diagram)
184
+ - 实际控制人 (actual controller identification)
185
+ - 一致行动人 (concert party arrangements)
186
+ - 股权激励 (ESOP/scheme details)
187
+ - 限售股 (restricted shares, lock-up schedule)
188
+
189
+ ### Industry-Specific Content
190
+
191
+ | Industry | Special CIM Sections |
192
+ |----------|---------------------|
193
+ | 白酒 | 批价历史, 渠道库存, 品牌矩阵 |
194
+ | 半导体 | 产能规划, 技术路线, 客户认证 |
195
+ | 新能源 | 技术迭代, 产能规划, 补贴依赖 |
196
+ | 医药 | 管线组合, 临床数据, 集采风险 |
197
+ | 房地产 | 土储质量, 去化率, 融资结构 |
198
+
199
+ ### Valuation Context
200
+
201
+ **A-share premium context:**
202
+ - A-share companies often trade at premium to H-shares
203
+ - Liquidity premium for listed targets
204
+ - Control premium expectations (20-40%)
205
+ - 私有化 premium requirements (30-50%)
206
+
207
+ ## Quality Checks
208
+
209
+ Before finalizing:
210
+ - [ ] Confidentiality notices prominent
211
+ - [ ] All financial data sourced
212
+ - [ ] Industry context complete
213
+ - [ ] Risk factors comprehensive
214
+ - [ ] Valuation analysis sound
215
+ - [ ] Regulatory items flagged
216
+ - [ ] Formatting professional
217
+ - [ ] No identifying information leaked (if teaser phase)
218
+ > **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
219
+ > - `ifind-only` (strict): Use iFind only, error if unavailable
220
+ > - `ifind-fallback` (default): iFind preferred, fallback to AkShare
221
+ > - `akshare-only`: Skip iFind, use AkShare only
222
+ > - `wind-only`: Wind only, error if unavailable
223
+ > - `wind-fallback`: Wind first, fallback to iFind → AkShare