@v587d/capital-generation 2.7.3 → 2.7.4
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.
- package/CHANGELOG.md +72 -0
- package/README.md +6 -6
- package/THIRD_PARTY_NOTICES.md +65 -18
- package/capital-config/client.js +4 -4
- package/capital-config/package.json +1 -1
- package/capital-watchlist/package.json +1 -1
- package/chart-ui/package.json +1 -1
- package/lib/web-retriever/local-fetch.d.ts +1 -1
- package/lib/web-retriever/local-fetch.js +1 -1
- package/lib/web-retriever/sources.d.ts +1 -1
- package/lib/web-retriever/sources.js +1 -1
- package/lib/web-retriever/wind-client.d.ts +1 -1
- package/lib/web-retriever/wind-client.js +1 -1
- package/package.json +2 -1
- package/selected-skills/README.md +6 -1
- package/selected-skills/catalog.js +176 -0
- package/selected-skills/claude-for-financial-services-cn/LICENSE +201 -0
- package/selected-skills/claude-for-financial-services-cn/UPSTREAM.md +173 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-3-statement-model/SKILL.md +287 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-accrual-schedule/SKILL.md +182 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-audit-xls/SKILL.md +231 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-break-trace/SKILL.md +217 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-catalyst-calendar/SKILL.md +258 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-clean-data-xls/SKILL.md +237 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps/SKILL.md +104 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps-analysis/SKILL.md +196 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf/SKILL.md +81 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf-model/SKILL.md +68 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deal-screening/SKILL.md +212 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deck-refresh/SKILL.md +221 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-analysis/SKILL.md +237 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-preview/SKILL.md +239 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-gl-recon/SKILL.md +232 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ib-check-deck/SKILL.md +252 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-idea-generation/SKILL.md +277 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-initiating-coverage/SKILL.md +271 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-lbo-model/SKILL.md +273 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-market-data/SKILL.md +229 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-model-update/SKILL.md +219 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-morning-note/SKILL.md +227 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ppt-template-creator/SKILL.md +231 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-pptx-author/SKILL.md +240 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-roll-forward/SKILL.md +189 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-sector-overview/SKILL.md +257 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-skill-creator/SKILL.md +304 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-tax-loss-harvesting/SKILL.md +200 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-thesis-tracker/SKILL.md +237 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-variance-commentary/SKILL.md +262 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-xlsx-author/SKILL.md +256 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-accrual-schedule/SKILL.md +190 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-break-trace/SKILL.md +182 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-gl-recon/SKILL.md +200 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-nav-tieout/SKILL.md +233 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-roll-forward/SKILL.md +178 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-variance-commentary/SKILL.md +190 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-buyer-list/SKILL.md +198 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-cim-builder/SKILL.md +223 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-competitive-analysis/SKILL.md +233 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-datapack-builder/SKILL.md +232 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-deal-tracker/SKILL.md +151 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-merger-model/SKILL.md +226 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-pitch-deck/SKILL.md +231 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-process-letter/SKILL.md +249 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-strip-profile/SKILL.md +196 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-teaser/SKILL.md +235 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-doc-parse/SKILL.md +252 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-rules/SKILL.md +223 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ai-readiness/SKILL.md +184 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-checklist/SKILL.md +217 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-meeting-prep/SKILL.md +290 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-deal-sourcing/SKILL.md +224 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ic-memo/SKILL.md +230 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-portfolio-monitoring/SKILL.md +214 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-returns-analysis/SKILL.md +176 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-unit-economics/SKILL.md +192 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-value-creation-plan/SKILL.md +193 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-report/SKILL.md +205 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-review/SKILL.md +218 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-financial-plan/SKILL.md +259 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-investment-proposal/SKILL.md +271 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-portfolio-rebalance/SKILL.md +191 -0
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: china-sector-overview
|
|
3
|
+
description: Comprehensive A-share sector and industry landscape reports — market size, competitive positioning, policy environment, key A-share players, trading multiples, and thematic trends. Adapted from the original sector-overview skill for Chinese market structure and terminology. Triggers on "A股行业分析", "行业研究", "板块分析", "sector overview China", "A-share sector deep dive", "白酒/半导体/新能源 行业分析", or "[industry] landscape China".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# china-sector-overview
|
|
7
|
+
|
|
8
|
+
> 本文件相对上游 `d7585ca` 快照做过合规改写(取数与凭据口径),逐条记在快照根目录的 UPSTREAM.md;方法论、阈值与输出模板未改。
|
|
9
|
+
|
|
10
|
+
## Purpose
|
|
11
|
+
|
|
12
|
+
Create comprehensive **A股行业/板块深度报告** covering market dynamics, competitive positioning, regulatory environment, key players, trading multiples, and thematic trends.
|
|
13
|
+
|
|
14
|
+
## Data Sources
|
|
15
|
+
|
|
16
|
+
A sector report needs a lot of numbers, and none of them is fetched from here. This plugin routes every retrieval through one entry — the main agent delegates it to the role that owns structured data or web and disclosure material — and holds no data-service key inside a report.
|
|
17
|
+
|
|
18
|
+
Hand the retrieval roles one brief per family of material:
|
|
19
|
+
|
|
20
|
+
- 板块成分股:the constituent list for the industry being covered, by its Chinese industry name
|
|
21
|
+
- 成分股行情与财务:最新价、市值、PE / PB、收入与利润率 for the top names, all on one shared as-of date
|
|
22
|
+
- 大盘基准:index history, 涨幅榜 / 成交额榜 for where the sector sits in the tape
|
|
23
|
+
- 行业新闻与政策:recent sector news and the policy documents that move it
|
|
24
|
+
- 口径材料:the statistics and filings the report quotes — 国家统计局 / 海关总署 output and trade figures, 行业协会 (中汽协, 硅业分会 etc.) sector counts, 巨潮 filings behind the competitive picture, 券商研报 for frameworks and forecast ranges
|
|
25
|
+
|
|
26
|
+
| 材料 | 用来支撑 |
|
|
27
|
+
|------|----------|
|
|
28
|
+
| 国家统计局 / 海关总署 | industry output, 进出口 |
|
|
29
|
+
| 行业协会 | sector-specific volumes and prices |
|
|
30
|
+
| 巨潮资讯 | company filings for competitive analysis |
|
|
31
|
+
| 券商研报 | analyst frameworks and forecast ranges — treat as one house's view, not as consensus |
|
|
32
|
+
| 东方财富行业板块 | industry classification and sector index constituents |
|
|
33
|
+
|
|
34
|
+
In a role-split host, delegate with those briefs rather than reaching for a feed from here. What does not come back is written up as a gap in that section; a sector size or growth rate is never rounded off from memory.
|
|
35
|
+
|
|
36
|
+
## Workflow
|
|
37
|
+
|
|
38
|
+
### Step 1: Define Scope & Angle
|
|
39
|
+
|
|
40
|
+
**Clarify:**
|
|
41
|
+
- Sector / industry focus (e.g., 白酒, 半导体, 新能源汽车)
|
|
42
|
+
- Angle (e.g., investment theme, competitive analysis, turnaround story)
|
|
43
|
+
- Geographic scope (A-share only, or include HK-listed / US-listed Chinese)
|
|
44
|
+
- Time horizon (cyclical analysis, secular trends, near-term trade)
|
|
45
|
+
|
|
46
|
+
### Step 2: Market Size & Structure
|
|
47
|
+
|
|
48
|
+
**Industry overview:**
|
|
49
|
+
|
|
50
|
+
| Metric | Data | Source |
|
|
51
|
+
|--------|------|--------|
|
|
52
|
+
| Total market size | 市场规模 (亿元/亿元) | 国家统计局, 行业协会 |
|
|
53
|
+
| Growth rate | 同比增速 / CAGR | Historical data |
|
|
54
|
+
| Market share | CR5, CR10 concentration | Company filings |
|
|
55
|
+
| Penetration rate | For new industries | Industry reports |
|
|
56
|
+
| Export/import | 进出口数据 | 海关总署 |
|
|
57
|
+
|
|
58
|
+
**A-share representation:**
|
|
59
|
+
- Number of listed companies in sector
|
|
60
|
+
- Total market cap (总市值 / 流通市值)
|
|
61
|
+
- Average PE / PB multiples
|
|
62
|
+
- Liquidity (average daily turnover)
|
|
63
|
+
|
|
64
|
+
### Step 3: Competitive Landscape
|
|
65
|
+
|
|
66
|
+
**Peer mapping:**
|
|
67
|
+
|
|
68
|
+
Ask the host's retrieval path for the 板块成分股 list of the industry being covered, by its Chinese industry name, and take the constituents from what comes back.
|
|
69
|
+
|
|
70
|
+
**For each major player, retrieve:** 最新价 / 市值 / 倍数, 收入与利润率的历史序列, and the business description — one brief per field family, same as-of date across the whole peer set.
|
|
71
|
+
|
|
72
|
+
**Competitive analysis table:**
|
|
73
|
+
|
|
74
|
+
| Company | Ticker | Market Cap (亿) | Revenue (亿) | YoY Growth | Gross Margin | Net Margin | PE (TTM) | Market Share |
|
|
75
|
+
|---------|--------|----------------|-------------|------------|-------------|------------|----------|-------------|
|
|
76
|
+
| | | | | | | | | |
|
|
77
|
+
|
|
78
|
+
**Competitive positioning:**
|
|
79
|
+
- Market share trends (gaining or losing)
|
|
80
|
+
- Product positioning (premium, mid-tier, mass market)
|
|
81
|
+
- Geographic footprint (national vs regional)
|
|
82
|
+
- Distribution strength (渠道能力)
|
|
83
|
+
- Brand equity (品牌力)
|
|
84
|
+
|
|
85
|
+
### Step 4: Trading Multiples & Valuation
|
|
86
|
+
|
|
87
|
+
**Sector multiples:**
|
|
88
|
+
|
|
89
|
+
| Metric | Current | 1Y High | 1Y Low | 5Y Average | Historical High | Historical Low |
|
|
90
|
+
|--------|---------|---------|--------|------------|----------------|----------------|
|
|
91
|
+
| Average PE | | | | | | |
|
|
92
|
+
| Average PB | | | | | | |
|
|
93
|
+
| Average PS | | | | | | |
|
|
94
|
+
| EV/EBITDA | | | | | | |
|
|
95
|
+
|
|
96
|
+
**Multiple dispersion:**
|
|
97
|
+
- Premium names (high multiple vs sector)
|
|
98
|
+
- Value names (low multiple vs sector)
|
|
99
|
+
- Historical range and where we are in cycle
|
|
100
|
+
|
|
101
|
+
### Step 5: Policy Environment
|
|
102
|
+
|
|
103
|
+
**China-specific policy analysis:**
|
|
104
|
+
|
|
105
|
+
| Policy Area | Current Status | Impact |
|
|
106
|
+
|-------------|---------------|--------|
|
|
107
|
+
| 产业政策 | 支持/限制/中性 | Direct sector impact |
|
|
108
|
+
| 环保政策 | 双碳目标 | Cost structure impact |
|
|
109
|
+
| 监管政策 | 集采/反垄断 | Margin / market share impact |
|
|
110
|
+
| 补贴政策 | 新能源/半导体补贴 | Competitiveness impact |
|
|
111
|
+
| 货币政策 | 宽松/中性/紧缩 | Financing cost impact |
|
|
112
|
+
|
|
113
|
+
**Key regulatory bodies:**
|
|
114
|
+
- 发改委 (NDRC) — industrial policy, pricing
|
|
115
|
+
- 工信部 (MIIT) — manufacturing, tech, telecom
|
|
116
|
+
- 生态环境部 (MEE) — environmental compliance
|
|
117
|
+
- 卫健委 (NHC) — healthcare, pharmaceuticals
|
|
118
|
+
- 证监会 (CSRC) — capital markets
|
|
119
|
+
- 央行 (PBoC) — monetary policy
|
|
120
|
+
|
|
121
|
+
### Step 6: Key Drivers & Trends
|
|
122
|
+
|
|
123
|
+
**Secular trends (3-5 year):**
|
|
124
|
+
- Technology adoption (技术替代)
|
|
125
|
+
- Consumption upgrade/downgrade (消费升级/降级)
|
|
126
|
+
- Demographic shifts (人口结构)
|
|
127
|
+
- Supply chain localization (供应链国产化)
|
|
128
|
+
- Environmental transition (双碳/ESG)
|
|
129
|
+
|
|
130
|
+
**Cyclical factors:**
|
|
131
|
+
- Inventory cycles (库存周期)
|
|
132
|
+
- Capacity utilization (产能利用率)
|
|
133
|
+
- Pricing trends (价格趋势)
|
|
134
|
+
- Demand momentum (需求 momentum)
|
|
135
|
+
|
|
136
|
+
### Step 7: Investment Themes
|
|
137
|
+
|
|
138
|
+
**Thematic angles:**
|
|
139
|
+
|
|
140
|
+
1. **Policy-driven**: 国产替代, 新基建, 乡村振兴
|
|
141
|
+
2. **Demand-driven**: 消费升级, 老龄化, 出海
|
|
142
|
+
3. **Supply-driven**: 产能出清, 行业整合, 龙头集中
|
|
143
|
+
4. **Technology-driven**: AI应用, 新能源, 生物医药创新
|
|
144
|
+
|
|
145
|
+
**For each theme:**
|
|
146
|
+
- Investment thesis
|
|
147
|
+
- Key names to express the theme
|
|
148
|
+
- Timeline and catalysts
|
|
149
|
+
- Risks and headwinds
|
|
150
|
+
|
|
151
|
+
### Step 8: Trading Ideas
|
|
152
|
+
|
|
153
|
+
**Ideas shortlist (from sector overview):**
|
|
154
|
+
|
|
155
|
+
| Idea | Ticker | Direction | Thesis | Catalyst | Risk |
|
|
156
|
+
|------|--------|-----------|--------|----------|------|
|
|
157
|
+
| | | Long / Short | | | |
|
|
158
|
+
|
|
159
|
+
### Step 9: Report Structure
|
|
160
|
+
|
|
161
|
+
**Standard A-share sector overview format:**
|
|
162
|
+
|
|
163
|
+
```
|
|
164
|
+
【XX证券】[行业] 深度报告:[标题]
|
|
165
|
+
|
|
166
|
+
一、行业概述
|
|
167
|
+
市场规模、增速、发展阶段
|
|
168
|
+
|
|
169
|
+
二、竞争格局
|
|
170
|
+
主要玩家、市场份额、竞争要素
|
|
171
|
+
|
|
172
|
+
三、政策环境
|
|
173
|
+
监管框架、产业政策、影响分析
|
|
174
|
+
|
|
175
|
+
四、财务分析
|
|
176
|
+
行业盈利能力、ROE、杠杆水平
|
|
177
|
+
|
|
178
|
+
五、估值分析
|
|
179
|
+
当前 multiples vs 历史 vs 国际对标
|
|
180
|
+
|
|
181
|
+
六、核心驱动因素
|
|
182
|
+
长期趋势、短期催化、周期位置
|
|
183
|
+
|
|
184
|
+
七、投资建议
|
|
185
|
+
重点标的、目标价、评级
|
|
186
|
+
|
|
187
|
+
八、风险提示
|
|
188
|
+
政策风险、需求风险、竞争风险
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
## China-Specific Considerations
|
|
192
|
+
|
|
193
|
+
### A-share Market Structure
|
|
194
|
+
|
|
195
|
+
| Feature | Description | Implication |
|
|
196
|
+
|---------|-------------|-------------|
|
|
197
|
+
| 涨跌停限制 | ±10% (main), ±20% (创业板/科创板) | Price discovery slower |
|
|
198
|
+
| 散户占比高 | Retail ~60-80% of turnover | More sentiment-driven |
|
|
199
|
+
| 政策驱动 | Government announcements move markets | Monitor policy closely |
|
|
200
|
+
| 板块轮动 | Sector rotation common | Timing important |
|
|
201
|
+
| 北向资金 | Foreign inflows tracked daily | Sentiment indicator |
|
|
202
|
+
|
|
203
|
+
### Industry Classification
|
|
204
|
+
|
|
205
|
+
**Common sector classifications:**
|
|
206
|
+
- 申万行业分类 (SW Industry) — most widely used
|
|
207
|
+
- 中信行业分类 (CITIC) — alternative
|
|
208
|
+
- 证监会行业分类 — regulatory standard
|
|
209
|
+
- 东方财富行业 — data vendor specific
|
|
210
|
+
|
|
211
|
+
**Ask for constituents by the Chinese industry name, and say in the brief which classification's buckets you mean (申万 / 中信 / 证监会 / 东方财富), since the same sector splits differently across them.**
|
|
212
|
+
|
|
213
|
+
### Sector-Specific Metrics
|
|
214
|
+
|
|
215
|
+
| Sector | Key Metrics |
|
|
216
|
+
|--------|-------------|
|
|
217
|
+
| 白酒 | 批价, 库存, 回款, 动销, 渠道库存 |
|
|
218
|
+
| 半导体 | 产能利用率, 出货量, ASP, 库存天数 |
|
|
219
|
+
| 新能源汽车 | 交付量, 单车收入, 电池成本, 渗透率 |
|
|
220
|
+
| 医药 | 创新药收入, 研发费用率, 集采中标 |
|
|
221
|
+
| 银行 | NIM, 不良率, 拨备覆盖率, ROE |
|
|
222
|
+
| 券商 | 经纪/投行/资管收入, 股基交易量, 两融余额 |
|
|
223
|
+
| 光伏 | 硅料/组件价格, 排产, 海外出货 |
|
|
224
|
+
| 房地产 | 销售额, 拿地, 融资成本, 去化周期 |
|
|
225
|
+
| 食品饮料 | 动销, 库存, 提价能力 |
|
|
226
|
+
| 互联网 | DAU/MAU, ARPU, 收入增速, 利润率 |
|
|
227
|
+
|
|
228
|
+
### Policy Risk Framework
|
|
229
|
+
|
|
230
|
+
**High policy-sensitivity sectors:**
|
|
231
|
+
1. 医药 — 集采 (volume-based procurement)
|
|
232
|
+
2. 互联网 — 反垄断, 数据安全
|
|
233
|
+
3. 教育 — 双减 (reduced private tutoring)
|
|
234
|
+
4. 金融 — 监管周期, 利率政策
|
|
235
|
+
5. 房地产 — 三道红线, 限购限贷
|
|
236
|
+
6. 新能源 — 补贴退坡, 产能过剩
|
|
237
|
+
|
|
238
|
+
**Policy risk assessment:**
|
|
239
|
+
- Current policy stance (支持/中性/限制)
|
|
240
|
+
- Upcoming regulatory events
|
|
241
|
+
- Historical policy impact patterns
|
|
242
|
+
- Best/worst case scenarios
|
|
243
|
+
|
|
244
|
+
## Quality Checks
|
|
245
|
+
|
|
246
|
+
Before delivering:
|
|
247
|
+
- [ ] Industry definition clear and consistent
|
|
248
|
+
- [ ] Market size data sourced (统计局 or industry association)
|
|
249
|
+
- [ ] Competitive landscape covers top 5-10 players
|
|
250
|
+
- [ ] Financials came back through the host's retrieval path, or the gap is named in that section
|
|
251
|
+
- [ ] Valuation multiples calculated consistently
|
|
252
|
+
- [ ] Policy environment analyzed
|
|
253
|
+
- [ ] Investment themes articulated
|
|
254
|
+
- [ ] Ideas shortlist included (3-5 names)
|
|
255
|
+
- [ ] Risk factors specific to China market included
|
|
256
|
+
> 取数档位(接哪家数据服务、用哪个密钥)由宿主的凭据域决定:这份行业报告不配置它,也不向使用者索取凭据。
|
|
257
|
+
> Step 8 的 Long / Short 一览与第七节的重点标的、目标价、评级是把上面这些材料写成结论的**推演练习**:本插件不据它下单,也不给仓位。
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: china-skill-creator
|
|
3
|
+
description: Create new China-specific financial skills following the established patterns and conventions. Use this meta-skill to scaffold new china-* skills that integrate with iFind MCP (Tier-1) and AkShare MCP (Tier-2 fallback), follow CAS accounting standards, and adapt workflows for the Chinese market. Triggers on "创建中国skill", "新建A股skill", "create china skill", "new china-skill", "制作skill", or when creating any new china-* skill.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# china-skill-creator
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Create new **china-* skills** — scaffold and template new skills for the China financial services plugin ecosystem.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
Use this skill when:
|
|
15
|
+
- Creating a new china-* skill from scratch
|
|
16
|
+
- Adapting an existing plugins/ skill to China context
|
|
17
|
+
- Extending the china/ directory with new capabilities
|
|
18
|
+
- Ensuring consistency with existing china-* skill patterns
|
|
19
|
+
|
|
20
|
+
## Skill Creation Pattern
|
|
21
|
+
|
|
22
|
+
### Step 1: Choose Vertical
|
|
23
|
+
|
|
24
|
+
**Vertical mapping:**
|
|
25
|
+
|
|
26
|
+
| Original Vertical | China Vertical | Path |
|
|
27
|
+
|-------------------|----------------|------|
|
|
28
|
+
| `financial-analysis/` | `china-finance/` | `china/vertical-plugins/china-finance/skills/` |
|
|
29
|
+
| `equity-research/` | `china-finance/` | `china/vertical-plugins/china-finance/skills/` |
|
|
30
|
+
| `investment-banking/` | `investment-banking/` | `china/vertical-plugins/investment-banking/skills/` |
|
|
31
|
+
| `private-equity/` | `private-equity/` | `china/vertical-plugins/private-equity/skills/` |
|
|
32
|
+
| `wealth-management/` | `wealth-management/` | `china/vertical-plugins/wealth-management/skills/` |
|
|
33
|
+
| `fund-admin/` | `fund-admin/` | `china/vertical-plugins/fund-admin/skills/` |
|
|
34
|
+
| `operations/` | `operations/` | `china/vertical-plugins/operations/skills/` |
|
|
35
|
+
|
|
36
|
+
### Step 2: Name Convention
|
|
37
|
+
|
|
38
|
+
**Naming rules:**
|
|
39
|
+
- All China skills prefix: `china-`
|
|
40
|
+
- Mirror original skill name: `china-[original-name]`
|
|
41
|
+
- Lowercase with hyphens: `china-3-statement-model`
|
|
42
|
+
- Directory matches skill name
|
|
43
|
+
|
|
44
|
+
**Examples:**
|
|
45
|
+
| Original | China Version |
|
|
46
|
+
|----------|--------------|
|
|
47
|
+
| `comps-analysis` | `china-comps-analysis` |
|
|
48
|
+
| `earnings-analysis` | `china-earnings-analysis` |
|
|
49
|
+
| `client-report` | `china-client-report` |
|
|
50
|
+
|
|
51
|
+
### Step 3: Frontmatter Template
|
|
52
|
+
|
|
53
|
+
**Required frontmatter:**
|
|
54
|
+
|
|
55
|
+
```yaml
|
|
56
|
+
---
|
|
57
|
+
name: china-[skill-name]
|
|
58
|
+
description: [Chinese + English description]. Triggers on "A股[keywords]", "[Chinese keywords]", "[English keywords]", or "[example usage]".
|
|
59
|
+
---
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
**Frontmatter rules:**
|
|
63
|
+
- `name`: lowercase with hyphens, prefixed `china-`
|
|
64
|
+
- `description`: Include Chinese trigger words and English fallback
|
|
65
|
+
- Must include `---` delimiters
|
|
66
|
+
|
|
67
|
+
### Step 4: SKILL.md Structure Template
|
|
68
|
+
|
|
69
|
+
**Standard structure:**
|
|
70
|
+
|
|
71
|
+
```markdown
|
|
72
|
+
---
|
|
73
|
+
name: china-[skill-name]
|
|
74
|
+
description: [description with triggers]
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
# china-[skill-name]
|
|
78
|
+
|
|
79
|
+
## Purpose
|
|
80
|
+
|
|
81
|
+
[One-line description in Chinese + English]
|
|
82
|
+
|
|
83
|
+
## Data Sources
|
|
84
|
+
|
|
85
|
+
### Tier 0 — 万得 Wind(最全面付费数据)
|
|
86
|
+
- 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
|
|
87
|
+
- MCP 服务:`wind-mcp`(需 `WIND_API_KEY` 密钥,以 `ak_` 开头)
|
|
88
|
+
- 优势:全市场覆盖面最广、数据最全面、包含研报和量化分析
|
|
89
|
+
- 密钥申请:https://aifinmarket.wind.com.cn/#/home
|
|
90
|
+
|
|
91
|
+
### Tier 1 — 同花顺 iFind(付费精确数据) / AkShare(Tier-2 免费备选)
|
|
92
|
+
|
|
93
|
+
\```python
|
|
94
|
+
get_quote(ticker) → [what it returns]
|
|
95
|
+
get_financials(ticker, "income") → [what it returns]
|
|
96
|
+
\```
|
|
97
|
+
|
|
98
|
+
### Secondary Sources
|
|
99
|
+
- 巨潮 — [usage]
|
|
100
|
+
- 上交所/深交所 — [usage]
|
|
101
|
+
- Wind / Choice — [usage]
|
|
102
|
+
|
|
103
|
+
## Workflow
|
|
104
|
+
|
|
105
|
+
### Step 1: [Step Name]
|
|
106
|
+
|
|
107
|
+
[Content]
|
|
108
|
+
|
|
109
|
+
### Step 2: [Step Name]
|
|
110
|
+
|
|
111
|
+
[Content]
|
|
112
|
+
|
|
113
|
+
[... more steps ...]
|
|
114
|
+
|
|
115
|
+
## China-Specific Considerations
|
|
116
|
+
|
|
117
|
+
### [Topic]
|
|
118
|
+
|
|
119
|
+
[China-specific guidance]
|
|
120
|
+
|
|
121
|
+
## Quality Checks
|
|
122
|
+
|
|
123
|
+
Before delivering:
|
|
124
|
+
- [ ] [Check 1]
|
|
125
|
+
- [ ] [Check 2]
|
|
126
|
+
- [ ] [Check 3]
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Step 5: China Adaptation Checklist
|
|
130
|
+
|
|
131
|
+
When adapting from original skill:
|
|
132
|
+
|
|
133
|
+
| Adaptation Area | China-Specific Changes |
|
|
134
|
+
|----------------|----------------------|
|
|
135
|
+
| Data sources | Replace Western sources with iFind/AkShare/巨潮/同花顺 |
|
|
136
|
+
| Accounting | US GAAP → CAS |
|
|
137
|
+
| Tax | US tax → 25% China corporate tax |
|
|
138
|
+
| Currency | USD → CNY (¥) |
|
|
139
|
+
| Units | $M → 万元 / 亿元 |
|
|
140
|
+
| Terminology | English → Chinese (归母净利润, etc.) |
|
|
141
|
+
| Market | US markets → A-share (主板/创业板/科创板) |
|
|
142
|
+
| Regulations | SEC → CSRC / 证监会 |
|
|
143
|
+
| Industry | US sectors → 东方财富 categories |
|
|
144
|
+
| Reporting | 10-K/Q → 年报/季报 |
|
|
145
|
+
|
|
146
|
+
### Step 6: Required Sections
|
|
147
|
+
|
|
148
|
+
Every china-* SKILL.md must include:
|
|
149
|
+
|
|
150
|
+
| Section | Required? | Content |
|
|
151
|
+
|---------|-----------|---------|
|
|
152
|
+
| `name` | ✓ | Frontmatter, `china-` prefix |
|
|
153
|
+
| `description` | ✓ | Chinese + English, triggers |
|
|
154
|
+
| `## Purpose` | ✓ | One-line description |
|
|
155
|
+
| `## Data Sources` | ✓ | iFind MCP (primary) + AkShare (fallback) |
|
|
156
|
+
| `## Workflow` | ✓ | Step-by-step process |
|
|
157
|
+
| `## China-Specific Considerations` | ✓ | China adaptations |
|
|
158
|
+
| `## Quality Checks` | ✓ | Pre-delivery checklist |
|
|
159
|
+
|
|
160
|
+
### Step 7: Data Source Tool Reference (iFind + AkShare)
|
|
161
|
+
|
|
162
|
+
**Commonly used tools:**
|
|
163
|
+
|
|
164
|
+
```python
|
|
165
|
+
# Market data
|
|
166
|
+
get_quote(ticker) → Current quote
|
|
167
|
+
get_historical_data(ticker) → Historical prices
|
|
168
|
+
get_index_data(index_code) → Index data
|
|
169
|
+
get_market_overview() → Market summary
|
|
170
|
+
|
|
171
|
+
# Financials
|
|
172
|
+
get_financials(ticker, "income") → Income statement
|
|
173
|
+
get_financials(ticker, "balance") → Balance sheet
|
|
174
|
+
get_financials(ticker, "cashflow") → Cash flow
|
|
175
|
+
|
|
176
|
+
# Industry & peers
|
|
177
|
+
get_industry_stocks(industry="...") → Industry peers
|
|
178
|
+
get_stock_info(ticker) → Company info
|
|
179
|
+
|
|
180
|
+
# Funds
|
|
181
|
+
get_fund_data(fund_code) → Fund data
|
|
182
|
+
|
|
183
|
+
# News (china-news MCP — separate server)
|
|
184
|
+
get_stock_news(ticker="{{TICKER}}") → Individual stock news
|
|
185
|
+
get_market_headlines(top_n=20) → Market headlines
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Step 8: Common Patterns
|
|
189
|
+
|
|
190
|
+
**CAS Accounting terms to use:**
|
|
191
|
+
- 营业收入 (Revenue, net of VAT)
|
|
192
|
+
- 营业成本 (COGS)
|
|
193
|
+
- 归母净利润 (Net income to parent)
|
|
194
|
+
- 扣非净利润 (Non-GAAP net income)
|
|
195
|
+
- 经营现金流 (Operating CF)
|
|
196
|
+
- 资本支出 (CapEx)
|
|
197
|
+
- EPS (每股收益)
|
|
198
|
+
- ROE (净资产收益率)
|
|
199
|
+
- 毛利率 (Gross margin)
|
|
200
|
+
- 净利率 (Net margin)
|
|
201
|
+
|
|
202
|
+
**A-share conventions:**
|
|
203
|
+
- Stock codes: 6-digit (e.g., "600519", "000001")
|
|
204
|
+
- No exchange prefix
|
|
205
|
+
- 主板/创业板/科创板/北交所
|
|
206
|
+
- 涨跌停: ±10% (±20% for 创业板/科创板)
|
|
207
|
+
- 千元 / 万元 / 亿元 units
|
|
208
|
+
|
|
209
|
+
**Tax conventions:**
|
|
210
|
+
- Corporate tax: 25% (15% for 高新技术企业)
|
|
211
|
+
- VAT: 13% (standard), excluded from revenue
|
|
212
|
+
- Stamp duty: 0.05% on seller
|
|
213
|
+
- Dividend tax: 20% (10% for >1 year holding)
|
|
214
|
+
|
|
215
|
+
### Step 9: Forbidden Patterns
|
|
216
|
+
|
|
217
|
+
**Never use in china-* skills:**
|
|
218
|
+
|
|
219
|
+
Western data sources, indices, and filing systems must be replaced with China-native equivalents (iFind / AkShare / 巨潮 / 上交所 / 深交所 / 中证指数 / 东方财富 / 企查查 / 晨星中国). The `check-china.py` validation script enforces this — any skill containing these patterns will fail validation.
|
|
220
|
+
|
|
221
|
+
See the "China Adaptation Checklist" (Step 5) for the full mapping.
|
|
222
|
+
|
|
223
|
+
### Step 10: Validation
|
|
224
|
+
|
|
225
|
+
**After creating a new skill:**
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
# Check for forbidden patterns
|
|
229
|
+
cd china && python3 scripts/check-china.py
|
|
230
|
+
|
|
231
|
+
# Sync to agent bundles
|
|
232
|
+
python3 scripts/sync-china-skills.py
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
## Quick-Start Template
|
|
236
|
+
|
|
237
|
+
```markdown
|
|
238
|
+
---
|
|
239
|
+
name: china-[name]
|
|
240
|
+
description: [Chinese description with triggers].
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
# china-[name]
|
|
244
|
+
|
|
245
|
+
## Purpose
|
|
246
|
+
|
|
247
|
+
[Chinese + English description]
|
|
248
|
+
|
|
249
|
+
## Data Sources
|
|
250
|
+
|
|
251
|
+
### Tier 0 — 万得 Wind(最全面付费数据)
|
|
252
|
+
- 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
|
|
253
|
+
- MCP 服务:`wind-mcp`(需 `WIND_API_KEY` 密钥,以 `ak_` 开头)
|
|
254
|
+
- 优势:全市场覆盖面最广
|
|
255
|
+
- 密钥申请:https://aifinmarket.wind.com.cn/#/home
|
|
256
|
+
|
|
257
|
+
### Tier 1 — 同花顺 iFind(付费精确数据) / AkShare(Tier-2 免费备选)
|
|
258
|
+
|
|
259
|
+
\```python
|
|
260
|
+
get_quote(ticker) → [description]
|
|
261
|
+
\```
|
|
262
|
+
|
|
263
|
+
### Secondary Sources
|
|
264
|
+
- 巨潮 — [usage]
|
|
265
|
+
|
|
266
|
+
## Workflow
|
|
267
|
+
|
|
268
|
+
### Step 1: [Name]
|
|
269
|
+
|
|
270
|
+
[Content]
|
|
271
|
+
|
|
272
|
+
### Step 2: [Name]
|
|
273
|
+
|
|
274
|
+
[Content]
|
|
275
|
+
|
|
276
|
+
## China-Specific Considerations
|
|
277
|
+
|
|
278
|
+
[Content]
|
|
279
|
+
|
|
280
|
+
## Quality Checks
|
|
281
|
+
|
|
282
|
+
Before delivering:
|
|
283
|
+
- [ ] [Check 1]
|
|
284
|
+
- [ ] [Check 2]
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
## Example: Creating a New Skill
|
|
288
|
+
|
|
289
|
+
**Scenario:** Create `china-portfolio-optimization`
|
|
290
|
+
|
|
291
|
+
1. **Choose vertical:** `china-finance` (financial analysis)
|
|
292
|
+
2. **Create directory:** `china/vertical-plugins/china-finance/skills/china-portfolio-optimization/`
|
|
293
|
+
3. **Create SKILL.md:** Use template above
|
|
294
|
+
4. **Add China adaptations:**
|
|
295
|
+
- Use A-share universe
|
|
296
|
+
- Consider 涨跌停 limits
|
|
297
|
+
- Factor in 北向资金 flows
|
|
298
|
+
- Use 东方财富 sector classifications
|
|
299
|
+
5. **Sync:** Run `sync-china-skills.py`
|
|
300
|
+
6. **Validate:** Run `check-china.py`
|
|
301
|
+
> **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
|
|
302
|
+
> - `ifind-only` (strict): Use iFind only, error if unavailable
|
|
303
|
+
> - `ifind-fallback` (default): iFind preferred, fallback to AkShare
|
|
304
|
+
> - `akshare-only`: Skip iFind, use AkShare only
|