@v587d/capital-generation 2.6.5 → 2.7.0

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 (113) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +79 -26
  3. package/THIRD_PARTY_NOTICES.md +43 -0
  4. package/capital-config/client.js +18 -2
  5. package/capital-config/client.src.cjs +161 -20
  6. package/capital-config/index.js +10 -0
  7. package/capital-config/package.json +1 -1
  8. package/capital-watchlist/client.js +48 -7
  9. package/capital-watchlist/client.src.cjs +383 -66
  10. package/capital-watchlist/holding-rules.js +64 -0
  11. package/capital-watchlist/index.js +117 -2
  12. package/capital-watchlist/package.json +2 -1
  13. package/chart-ui/package.json +1 -1
  14. package/lib/agents/selected-skills-provider.d.ts +26 -0
  15. package/lib/agents/selected-skills-provider.js +99 -0
  16. package/lib/index.d.ts +37 -0
  17. package/lib/index.js +45 -11
  18. package/lib/time/tools.d.ts +6 -0
  19. package/lib/time/tools.js +6 -1
  20. package/lib/watchlist/tools.d.ts +52 -0
  21. package/lib/watchlist/tools.js +146 -0
  22. package/lib/web-retriever/local-fetch.d.ts +1 -1
  23. package/lib/web-retriever/local-fetch.js +1 -1
  24. package/lib/web-retriever/wind-client.d.ts +1 -1
  25. package/lib/web-retriever/wind-client.js +1 -1
  26. package/package.json +12 -3
  27. package/preset/capital-generation/agent.patch.yml +7 -0
  28. package/preset/capital-generation/skills/capital-equity-research/SKILL.md +45 -0
  29. package/preset/capital-generation/skills/capital-event-impact/SKILL.md +29 -0
  30. package/preset/capital-generation/skills/capital-portfolio-review/SKILL.md +29 -0
  31. package/selected-skills/README.md +44 -0
  32. package/selected-skills/catalog.js +181 -0
  33. package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/bug_report.md +35 -0
  34. package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/skill_request.md +28 -0
  35. package/selected-skills/china-stock-research-skills/.github/PULL_REQUEST_TEMPLATE.md +15 -0
  36. package/selected-skills/china-stock-research-skills/CHANGELOG.md +59 -0
  37. package/selected-skills/china-stock-research-skills/CONTRIBUTING.md +121 -0
  38. package/selected-skills/china-stock-research-skills/GITHUB_PUBLISHING.md +259 -0
  39. package/selected-skills/china-stock-research-skills/INSTALL.md +151 -0
  40. package/selected-skills/china-stock-research-skills/LICENSE +21 -0
  41. package/selected-skills/china-stock-research-skills/PUBLISH_CHECKLIST.md +165 -0
  42. package/selected-skills/china-stock-research-skills/README.en.md +209 -0
  43. package/selected-skills/china-stock-research-skills/README.md +209 -0
  44. package/selected-skills/china-stock-research-skills/RELEASE_ASSETS.md +222 -0
  45. package/selected-skills/china-stock-research-skills/ROADMAP.md +45 -0
  46. package/selected-skills/china-stock-research-skills/SKILLS.md +85 -0
  47. package/selected-skills/china-stock-research-skills/UPSTREAM.md +11 -0
  48. package/selected-skills/china-stock-research-skills/examples/full-report-flow.md +20 -0
  49. package/selected-skills/china-stock-research-skills/examples/module-select-cases.md +26 -0
  50. package/selected-skills/china-stock-research-skills/examples/quickstart-prompts.md +25 -0
  51. package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/SKILL.md +55 -0
  52. package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/idc-order-ledger-guide.md +34 -0
  53. package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/order-quality-checklist.md +16 -0
  54. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/SKILL.md +75 -0
  55. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/final-output-contract.md +62 -0
  56. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/routing-matrix.md +34 -0
  57. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/sector-overlay-escalation-rules.md +38 -0
  58. package/selected-skills/china-stock-research-skills/skills/financial-health/SKILL.md +54 -0
  59. package/selected-skills/china-stock-research-skills/skills/financial-health/references/idc-balance-sheet-stress-guide.md +31 -0
  60. package/selected-skills/china-stock-research-skills/skills/financial-health/references/red-flag-checklist.md +14 -0
  61. package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/SKILL.md +54 -0
  62. package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/idc-value-chain-and-peers.md +42 -0
  63. package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/moat-grid.md +13 -0
  64. package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/SKILL.md +54 -0
  65. package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/idc-monitoring-indicators.md +33 -0
  66. package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/monitoring-dashboard.md +25 -0
  67. package/selected-skills/china-stock-research-skills/skills/shared/references/analysis-pattern-selector.md +24 -0
  68. package/selected-skills/china-stock-research-skills/skills/shared/references/asset-heavy-ramp-overlay.md +28 -0
  69. package/selected-skills/china-stock-research-skills/skills/shared/references/business-model-transition-overlay.md +28 -0
  70. package/selected-skills/china-stock-research-skills/skills/shared/references/citation-standard.md +48 -0
  71. package/selected-skills/china-stock-research-skills/skills/shared/references/company-disclosure-map.md +37 -0
  72. package/selected-skills/china-stock-research-skills/skills/shared/references/consumer-channel-brand-overlay.md +29 -0
  73. package/selected-skills/china-stock-research-skills/skills/shared/references/cyclical-price-driven-overlay.md +29 -0
  74. package/selected-skills/china-stock-research-skills/skills/shared/references/export-manufacturing-supply-chain-overlay.md +29 -0
  75. package/selected-skills/china-stock-research-skills/skills/shared/references/financial-kpi-dictionary.md +43 -0
  76. package/selected-skills/china-stock-research-skills/skills/shared/references/idc-heavy-asset-transition-overlay.md +73 -0
  77. package/selected-skills/china-stock-research-skills/skills/shared/references/language-output-standard.md +36 -0
  78. package/selected-skills/china-stock-research-skills/skills/shared/references/project-order-business-overlay.md +28 -0
  79. package/selected-skills/china-stock-research-skills/skills/shared/references/regulated-healthcare-policy-overlay.md +29 -0
  80. package/selected-skills/china-stock-research-skills/skills/shared/references/research-output-template.md +50 -0
  81. package/selected-skills/china-stock-research-skills/skills/shared/references/sector-adaptation-checklist.md +42 -0
  82. package/selected-skills/china-stock-research-skills/skills/shared/references/source-registry.md +49 -0
  83. package/selected-skills/china-stock-research-skills/skills/shared/templates/catalyst-calendar.md +5 -0
  84. package/selected-skills/china-stock-research-skills/skills/shared/templates/company-fact-sheet.md +25 -0
  85. package/selected-skills/china-stock-research-skills/skills/shared/templates/evidence-table.md +5 -0
  86. package/selected-skills/china-stock-research-skills/skills/shared/templates/idc-project-ledger.md +5 -0
  87. package/selected-skills/china-stock-research-skills/skills/shared/templates/valuation-scenario-table.md +7 -0
  88. package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/SKILL.md +55 -0
  89. package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/idc-transition-markers.md +27 -0
  90. package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/transition-scorecard.md +13 -0
  91. package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/SKILL.md +55 -0
  92. package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/idc-valuation-overlays.md +31 -0
  93. package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/method-selection.md +14 -0
  94. package/selected-skills/investment-skills/.github/workflows/validate.yml +25 -0
  95. package/selected-skills/investment-skills/.tbd/config.yml +107 -0
  96. package/selected-skills/investment-skills/LICENSE +21 -0
  97. package/selected-skills/investment-skills/Makefile +29 -0
  98. package/selected-skills/investment-skills/README.md +253 -0
  99. package/selected-skills/investment-skills/UPSTREAM.md +12 -0
  100. package/selected-skills/investment-skills/docs/development.md +37 -0
  101. package/selected-skills/investment-skills/docs/roadmap.md +25 -0
  102. package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +192 -0
  103. package/selected-skills/investment-skills/skills/buffett-investment-framework/agents/openai.yaml +4 -0
  104. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/00-source-key.md +82 -0
  105. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/01-decision-posture.md +242 -0
  106. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/02-business-economics.md +188 -0
  107. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/03-management-governance.md +213 -0
  108. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/04-financial-reality.md +192 -0
  109. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/05-valuation.md +166 -0
  110. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/06-capital-allocation.md +238 -0
  111. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/07-risk-monitoring.md +189 -0
  112. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/08-specialized-overlays.md +309 -0
  113. package/selected-skills/investment-skills/skills/buffett-investment-framework/scripts/framework.py +470 -0
@@ -0,0 +1,62 @@
1
+ # Final Output Contract
2
+
3
+ Merge module outputs into one research framework without collapsing evidence layers.
4
+
5
+ Default the merged output to Simplified Chinese. See `skills/shared/references/language-output-standard.md`.
6
+
7
+ ## Required Section Order
8
+
9
+ 1. `公司概览与路由决策`
10
+ 2. `事实`
11
+ 3. `解读`
12
+ 4. `待验证问题`
13
+ 5. `监测指标`
14
+ 6. `情景与估值钩子`
15
+ 7. `来源附录`
16
+
17
+ ## Section Rules
18
+
19
+ ### 1. 公司概览与路由决策
20
+
21
+ - State the company name, ticker, as-of date, and selected patterns.
22
+ - State which core modules were run and why.
23
+ - State which overlays were loaded and why.
24
+
25
+ ### 2. 事实
26
+
27
+ - Include only source-backed facts.
28
+ - Keep the citation with each key statement.
29
+ - Tag the originating module when useful, for example `事实 | financial-health`.
30
+
31
+ ### 3. 解读
32
+
33
+ - Explain what the facts likely mean.
34
+ - Do not convert inference into fact.
35
+ - Refer back to the supporting facts and sources.
36
+
37
+ ### 4. 待验证问题
38
+
39
+ - State what is still unknown.
40
+ - State the next source to check.
41
+ - Keep open questions explicit instead of hiding uncertainty.
42
+
43
+ ### 5. 监测指标
44
+
45
+ - Pull the highest-signal indicators from `risk-warning-catalysts`.
46
+ - Attach thresholds and source paths where possible.
47
+
48
+ ### 6. 情景与估值钩子
49
+
50
+ - Include only the assumptions and method hooks needed for valuation.
51
+ - Do not force an exact target price if the evidence is incomplete.
52
+
53
+ ### 7. 来源附录
54
+
55
+ - List the primary source set.
56
+ - List important secondary source set.
57
+ - Note inaccessible, conflicting, or incomplete evidence.
58
+
59
+ ## Merge Rule
60
+
61
+ - Never merge facts and interpretation into one sentence if that hides the evidence boundary.
62
+ - If two modules conflict, keep both views and explain the difference.
@@ -0,0 +1,34 @@
1
+ # Routing Matrix
2
+
3
+ Use this matrix to decide which core modules to run.
4
+
5
+ ## Pattern to Module Routing
6
+
7
+ | Pattern | Mandatory Modules | Common Optional Modules | Notes |
8
+ | --- | --- | --- | --- |
9
+ | Business-model transition | `strategy-business-transition`, `financial-health` | `risk-warning-catalysts`, `valuation-investment-strategy`, `industry-competition-moat` | Use when legacy and new business overlap |
10
+ | Project or order-driven business | `business-decomposition-order-quality`, `financial-health` | `risk-warning-catalysts`, `valuation-investment-strategy`, `industry-competition-moat` | Revenue quality and cash conversion matter most |
11
+ | Asset-heavy ramp | `financial-health`, `risk-warning-catalysts` | `strategy-business-transition`, `valuation-investment-strategy`, `industry-competition-moat` | Focus on capex, ramp-up, financing, utilization |
12
+ | Cyclical or price-driven business | `industry-competition-moat`, `valuation-investment-strategy`, `risk-warning-catalysts` | `financial-health` | Separate cycle from moat |
13
+ | Consumer channel and brand | `industry-competition-moat`, `business-decomposition-order-quality`, `risk-warning-catalysts` | `financial-health`, `valuation-investment-strategy` | Channel and sell-through quality matter |
14
+ | Regulated healthcare or pharma | `industry-competition-moat`, `risk-warning-catalysts`, `valuation-investment-strategy` | `strategy-business-transition`, `financial-health` | Policy and approval cadence drive risk |
15
+ | Export manufacturing and supply chain | `business-decomposition-order-quality`, `industry-competition-moat`, `financial-health` | `risk-warning-catalysts`, `valuation-investment-strategy` | Customer concentration, FX, and inventory matter |
16
+
17
+ ## Default Rule
18
+
19
+ - If the company clearly matches one or two patterns, route by the matrix above.
20
+ - If the company matches three or more patterns with similar weight, run all six modules.
21
+ - If the business model is unclear, start with `strategy-business-transition`, `financial-health`, and `industry-competition-moat`, then expand.
22
+
23
+ ## Ordering Rule
24
+
25
+ Default order:
26
+
27
+ 1. `strategy-business-transition`
28
+ 2. `business-decomposition-order-quality`
29
+ 3. `financial-health`
30
+ 4. `industry-competition-moat`
31
+ 5. `risk-warning-catalysts`
32
+ 6. `valuation-investment-strategy`
33
+
34
+ Skip a module only when the pattern logic clearly makes it non-essential.
@@ -0,0 +1,38 @@
1
+ # Sector Overlay Escalation Rules
2
+
3
+ Use sector overlays only after the generic pattern is clear.
4
+
5
+ ## Escalation Principle
6
+
7
+ - Start from the generic pattern.
8
+ - Add a sector overlay only when sector-specific variables materially change at least two modules' evidence collection or judgment standard.
9
+
10
+ ## Good Reasons to Escalate
11
+
12
+ - A regulated approval or reimbursement regime determines revenue timing.
13
+ - Channel inventory and same-store behavior determine whether reported growth is real.
14
+ - Commodity pricing, spread, or industry inventory dominate earnings.
15
+ - Export exposure, tariffs, FX, and customer concentration materially reshape profitability.
16
+ - Asset ramp-up, utilization, and financing structure dominate the thesis.
17
+
18
+ ## Typical Overlay Choices
19
+
20
+ | Situation | Overlay |
21
+ | --- | --- |
22
+ | New business replacing old business | `skills/shared/references/business-model-transition-overlay.md` |
23
+ | Revenue depends on contracts or backlog | `skills/shared/references/project-order-business-overlay.md` |
24
+ | Capex, CIP, and utilization dominate | `skills/shared/references/asset-heavy-ramp-overlay.md` |
25
+ | Spread and cycle dominate | `skills/shared/references/cyclical-price-driven-overlay.md` |
26
+ | Brand and channel dominate | `skills/shared/references/consumer-channel-brand-overlay.md` |
27
+ | Policy and approvals dominate | `skills/shared/references/regulated-healthcare-policy-overlay.md` |
28
+ | Export customers and FX dominate | `skills/shared/references/export-manufacturing-supply-chain-overlay.md` |
29
+ | IDC-specific implementation details matter | `skills/shared/references/idc-heavy-asset-transition-overlay.md` |
30
+
31
+ ## Rule for IDC and Similar Examples
32
+
33
+ - IDC is an example overlay, not a default routing assumption.
34
+ - Load it only after the company already matches broader patterns such as `business-model transition`, `project or order-driven business`, or `asset-heavy ramp`.
35
+
36
+ ## Output Reminder
37
+
38
+ State explicitly why each overlay was loaded and which modules it affects.
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: financial-health
3
+ description: Evaluate the financial health of an A-share company through earnings quality, cash conversion, working capital, leverage, and balance-sheet risk. Use this skill when revenue and profit trends diverge from cash flow, when debt and capex matter, or when impairment and receivable quality are major concerns. All outputs must include accessible source links.
4
+ ---
5
+
6
+ # Financial Health
7
+
8
+ Diagnose whether the company's accounting profit is supported by real cash and a resilient balance sheet.
9
+
10
+ ## Non-Negotiable Rules
11
+
12
+ - Tie every ratio back to a public filing.
13
+ - State the reporting period and whether figures are audited or unaudited when known.
14
+ - Separate accounting facts from analytical judgment.
15
+ - Do not produce a target price here.
16
+ - Default every intermediate and final output to Simplified Chinese unless the user explicitly requests another language.
17
+
18
+ ## Read First
19
+
20
+ - `skills/shared/references/source-registry.md`
21
+ - `skills/shared/references/citation-standard.md`
22
+ - `skills/shared/references/financial-kpi-dictionary.md`
23
+ - `skills/shared/references/analysis-pattern-selector.md`
24
+ - `skills/shared/references/language-output-standard.md`
25
+ - `skills/financial-health/references/red-flag-checklist.md`
26
+ - If the company is in an asset-heavy ramp, also load `skills/shared/references/asset-heavy-ramp-overlay.md`.
27
+ - If the company is an IDC or AI-compute asset-ramp case, `skills/shared/references/idc-heavy-asset-transition-overlay.md` and `skills/financial-health/references/idc-balance-sheet-stress-guide.md` are optional example overlays.
28
+
29
+ ## When to Use
30
+
31
+ - Revenue is rising but profit or cash flow is weak.
32
+ - Working capital is expanding faster than sales.
33
+ - Debt, finance cost, guarantees, or capex may threaten the balance sheet.
34
+
35
+ ## Workflow
36
+
37
+ 1. Pull the latest annual, interim, and quarterly reports.
38
+ 2. Build a three-statement view: income statement, cash flow, balance sheet.
39
+ 3. Focus on cash conversion, receivables, contract assets, inventory, capex, debt, finance cost, and impairment.
40
+ 4. Compare current stress points with management explanation.
41
+ 5. Score liquidity, leverage, and earnings quality.
42
+
43
+ ## Required Output
44
+
45
+ - `事实`: key line items, ratio set, debt schedule, impairment, working-capital trend
46
+ - `解读`: main structural problem, risk transmission path, likely breakpoints
47
+ - `待验证问题`: hidden guarantees, collection pace, refinancing schedule, off-balance-sheet items
48
+ - `Health Scorecard`: earnings quality, cash conversion, liquidity, leverage, asset quality
49
+
50
+ ## Boundaries
51
+
52
+ - Do not restate the full industry structure.
53
+ - Do not select valuation methods here.
54
+ - Do not make a portfolio-allocation call.
@@ -0,0 +1,31 @@
1
+ # IDC Balance-Sheet Stress Guide
2
+
3
+ Use this guide when the company is building or buying heavy assets before full monetization.
4
+
5
+ ## Source Priority
6
+
7
+ | Source | What to Validate | URL |
8
+ | --- | --- | --- |
9
+ | Annual and interim reports | Fixed assets, CIP, debt, receivables, contract assets, guarantees | https://www.cninfo.com.cn/new/index |
10
+ | Financing filings | Placement, convertible bond, bank loan, project-fund use | https://www.cninfo.com.cn/new/index |
11
+ | Exchange inquiries and replies | Accounting quality, project economics, impairment rationale | https://www.cninfo.com.cn/new/index |
12
+ | Official company disclosure portal | Supplemental investor materials | Use issuer official investor-relations page |
13
+
14
+ ## Pressure Points
15
+
16
+ - Fixed assets and CIP rise faster than proof of operation income.
17
+ - Receivables and contract assets increase with project delivery claims.
18
+ - Inventory or equipment stock builds ahead of customer acceptance.
19
+ - Finance cost increases before recurring cash flow forms.
20
+ - Legacy-business impairments continue while new capex ramps.
21
+
22
+ ## Questions to Force
23
+
24
+ - How much of the asset build is already producing cash flow?
25
+ - How much debt matures before the project reaches stable monetization?
26
+ - Does disclosed utilization or ramp-up justify the asset base?
27
+ - Is the company funding long-cycle assets with short-cycle liabilities?
28
+
29
+ ## Output Reminder
30
+
31
+ Show the transmission path from asset build -> working capital -> financing pressure -> equity risk, with source links at each step.
@@ -0,0 +1,14 @@
1
+ # Financial Red Flag Checklist
2
+
3
+ Flag these patterns early.
4
+
5
+ | Pattern | Why It Matters |
6
+ | --- | --- |
7
+ | Revenue up, operating cash flow down | Quality of earnings may be weak |
8
+ | Receivables and contract assets outgrow revenue | Delivery or collection quality may be deteriorating |
9
+ | Inventory surges without matching shipment | Demand or execution may be overstated |
10
+ | Finance cost rises while profit weakens | Leverage becomes more dangerous |
11
+ | Repeated impairment on legacy assets | Old business is still dragging the new story |
12
+ | Large short-term debt wall | Refinancing risk may dominate equity value |
13
+
14
+ For every red flag, cite the source and explain the path from accounting item to business risk.
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: industry-competition-moat
3
+ description: Analyze the industry structure, competition, supply-demand balance, and moat of an A-share company. Use this skill when testing whether a company's growth can be sustained, whether its claimed differentiation is real, and which external industry forces could compress returns. All outputs must include accessible source links.
4
+ ---
5
+
6
+ # Industry Competition Moat
7
+
8
+ Place the company inside its real industry structure and test whether it has defensible economics.
9
+
10
+ ## Non-Negotiable Rules
11
+
12
+ - Use public policy, statistics, procurement, and company disclosures to validate industry claims.
13
+ - Separate company claims from third-party validation.
14
+ - State which competitor comparison points are fact and which are inference.
15
+ - Do not repeat detailed company financial scoring here.
16
+ - Default every intermediate and final output to Simplified Chinese unless the user explicitly requests another language.
17
+
18
+ ## Read First
19
+
20
+ - `skills/shared/references/source-registry.md`
21
+ - `skills/shared/references/citation-standard.md`
22
+ - `skills/shared/references/analysis-pattern-selector.md`
23
+ - `skills/shared/references/language-output-standard.md`
24
+ - `skills/shared/references/sector-adaptation-checklist.md`
25
+ - `skills/industry-competition-moat/references/moat-grid.md`
26
+ - If the company is in a policy-sensitive or asset-heavy sector, load the relevant shared overlay first.
27
+ - If the company is an IDC or AI-compute infrastructure case, `skills/shared/references/idc-heavy-asset-transition-overlay.md` and `skills/industry-competition-moat/references/idc-value-chain-and-peers.md` are optional example overlays.
28
+
29
+ ## When to Use
30
+
31
+ - Assess industry attractiveness and rivalry.
32
+ - Compare the company with listed peers and alternative business models.
33
+ - Test whether policy, capital, qualification, data, channel, or switching cost creates a moat.
34
+
35
+ ## Workflow
36
+
37
+ 1. Define the value chain and the company's exact position in it.
38
+ 2. Pull industry-policy and demand data from official sources.
39
+ 3. Select a source-backed peer set and compare capacity, clients, margins, and business model.
40
+ 4. Apply a moat grid and a five-forces style structure.
41
+ 5. Highlight where the company captures value and where it remains vulnerable.
42
+
43
+ ## Required Output
44
+
45
+ - `事实`: industry size, policy tailwind/headwind, peer positions, value-chain role
46
+ - `解读`: moat strength, structural advantage, likely pressure points
47
+ - `待验证问题`: missing peer metrics, uncertain supply additions, unclear regulation
48
+ - `Value Chain Map`: each link labeled strong, medium, or weak capture ability
49
+
50
+ ## Boundaries
51
+
52
+ - Do not run the company's order pipeline in detail.
53
+ - Do not build the risk dashboard here.
54
+ - Do not produce target price or trading plan.
@@ -0,0 +1,42 @@
1
+ # IDC Value Chain and Peer-Screen Guide
2
+
3
+ Use this guide when the company claims to compete in IDC, AI-compute infrastructure, or data-center lifecycle services.
4
+
5
+ ## Official Source Map
6
+
7
+ | Source | What to Validate | URL |
8
+ | --- | --- | --- |
9
+ | MIIT | Policy on green data centers, digital infrastructure, industrial internet | https://www.miit.gov.cn/ |
10
+ | NDRC | Computing-infrastructure and macro policy framework | https://www.ndrc.gov.cn/ |
11
+ | National Bureau of Statistics | Macro and regional demand context | https://www.stats.gov.cn/ |
12
+ | Operator procurement portals | External demand and package structure | https://b2b.10086.cn/ |
13
+ | Exchange disclosures | Peer business model, capex, utilization disclosures | https://www.cninfo.com.cn/new/index |
14
+
15
+ ## Value Chain Buckets
16
+
17
+ - Upstream: equipment, power, cooling, modules, engineering capability
18
+ - Midstream: design, integration, EPC, commissioning
19
+ - Asset owner / operator: self-built or self-operated data-center capacity
20
+ - Demand side: operators, cloud vendors, internet platforms, local state-backed compute demand
21
+
22
+ ## Peer-Screen Logic
23
+
24
+ Do not force a peer set based only on labels such as "IDC" or "AI".
25
+
26
+ Compare peers by:
27
+
28
+ - Revenue model: one-off delivery vs recurring operation
29
+ - Asset intensity: self-owned assets vs light integration model
30
+ - Customer type: operators, cloud, government, enterprise
31
+ - Ramp metric: occupancy, cabinet loading, power-on, utilization, or service revenue mix
32
+ - Financing burden: debt-funded expansion vs lighter model
33
+
34
+ ## Moat Tests
35
+
36
+ - Is the advantage really in manufacturing cost, integration speed, approvals, customer relationship, or scarce power access?
37
+ - Can the claimed moat survive operator pricing pressure or cloud self-build?
38
+ - Is the company earning integration margin, asset yield, or both?
39
+
40
+ ## Output Reminder
41
+
42
+ For every competitive claim, show whether the proof comes from company disclosure, policy, procurement, or third-party validation.
@@ -0,0 +1,13 @@
1
+ # Moat Assessment Grid
2
+
3
+ Use these dimensions and support each with sources.
4
+
5
+ | Dimension | Questions |
6
+ | --- | --- |
7
+ | Cost advantage | Does scale, manufacturing, location, or financing lower cost? |
8
+ | Switching cost | Is the customer locked in by integration, certification, or migration pain? |
9
+ | Capacity or resource access | Is land, energy, quota, license, or supply hard to replicate? |
10
+ | Brand or qualification | Does formal qualification or reputation influence win rates? |
11
+ | Ecosystem position | Does the company sit where multiple parties depend on it? |
12
+
13
+ Label each dimension `Strong`, `Mixed`, or `Weak`, and explain why.
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: risk-warning-catalysts
3
+ description: Build a source-backed monitoring system for risk signals and catalysts in an A-share company. Use this skill when turning static research into an update process covering orders, financing, governance, policy, operations, and sentiment. All outputs must include accessible source links.
4
+ ---
5
+
6
+ # Risk Warning Catalysts
7
+
8
+ Convert research into a live monitoring framework.
9
+
10
+ ## Non-Negotiable Rules
11
+
12
+ - Every risk and catalyst must point to a public source and a monitorable trigger.
13
+ - Distinguish confirmed events from watch items.
14
+ - Use thresholds where possible, not vague language.
15
+ - Do not turn monitoring points into valuation conclusions here.
16
+ - Default every intermediate and final output to Simplified Chinese unless the user explicitly requests another language.
17
+
18
+ ## Read First
19
+
20
+ - `skills/shared/references/source-registry.md`
21
+ - `skills/shared/references/citation-standard.md`
22
+ - `skills/shared/references/analysis-pattern-selector.md`
23
+ - `skills/shared/references/language-output-standard.md`
24
+ - `skills/shared/templates/catalyst-calendar.md`
25
+ - `skills/risk-warning-catalysts/references/monitoring-dashboard.md`
26
+ - If the company is project-driven or asset-ramp sensitive, also load the matching shared overlay.
27
+ - If the company is an IDC or AI-compute case, `skills/shared/references/idc-heavy-asset-transition-overlay.md` and `skills/risk-warning-catalysts/references/idc-monitoring-indicators.md` are optional example overlays.
28
+
29
+ ## When to Use
30
+
31
+ - Build a watchlist after a deep-dive report.
32
+ - Track whether the thesis is improving or deteriorating.
33
+ - Prepare a monthly or event-driven update process.
34
+
35
+ ## Workflow
36
+
37
+ 1. Pull the latest announcements and identify what changed since the last report.
38
+ 2. Map risks by category: execution, finance, governance, policy, customer, technology, litigation.
39
+ 3. Map catalysts by category: orders, policy, financing, asset disposals, utilization, margin improvement.
40
+ 4. Attach a threshold, expected evidence source, and review frequency to each item.
41
+ 5. Build a monthly dashboard and catalyst calendar.
42
+
43
+ ## Required Output
44
+
45
+ - `事实`: confirmed risks, confirmed catalysts, last update status
46
+ - `解读`: which factors matter most to the thesis and why
47
+ - `待验证问题`: which missing data points could change the signal
48
+ - `Dashboard`: metric, threshold, latest value, source, next check date
49
+
50
+ ## Boundaries
51
+
52
+ - Do not restate the full strategy review.
53
+ - Do not recalculate all financial ratios unless needed for a monitor.
54
+ - Do not produce target price or position sizing.
@@ -0,0 +1,33 @@
1
+ # IDC Monitoring Indicators
2
+
3
+ Use this overlay when project execution, power access, and asset ramp-up drive the thesis.
4
+
5
+ ## Source Map
6
+
7
+ | Source | What to Track | URL |
8
+ | --- | --- | --- |
9
+ | Exchange disclosures | Project revision, financing, impairment, guarantees, shareholder actions | https://www.cninfo.com.cn/new/index |
10
+ | Operator procurement portals | Bid wins, package changes, procurement pace | https://b2b.10086.cn/ |
11
+ | MIIT | Policy support or tighter efficiency requirements | https://www.miit.gov.cn/ |
12
+ | National Energy Administration | Power and energy-policy change | https://www.nea.gov.cn/ |
13
+ | Local government websites | Project commencement, completion, park support, energy approval | Use project所在地 official website |
14
+
15
+ ## High-Signal Indicators
16
+
17
+ - Major project revision or cancellation
18
+ - New order wins from operators or cloud-linked customers
19
+ - Ramp metric disclosure: occupancy, rack loading, power-on, or service-income start
20
+ - Operating cash flow deterioration despite delivery growth
21
+ - Short-term debt pressure or new financing announcement
22
+ - Policy or energy constraint affecting target region
23
+
24
+ ## Good Threshold Examples
25
+
26
+ - Two reporting periods of negative operating cash flow during expansion
27
+ - Material increase in contract assets or receivables without matching collection disclosure
28
+ - Delay in project commissioning versus prior disclosed schedule
29
+ - Finance cost growth outpacing gross profit growth
30
+
31
+ ## Output Reminder
32
+
33
+ Build a compact dashboard with one source link per indicator and one next-check action.
@@ -0,0 +1,25 @@
1
+ # Monitoring Dashboard Guide
2
+
3
+ Prefer a compact set of high-signal indicators.
4
+
5
+ ## Suggested Categories
6
+
7
+ - Orders and execution
8
+ - Cash flow and receivables
9
+ - Leverage and refinancing
10
+ - Governance and shareholder behavior
11
+ - Policy and procurement
12
+ - Utilization, commissioning, or ramp-up
13
+
14
+ ## Good Monitor Design
15
+
16
+ - One metric per row
17
+ - One threshold per metric
18
+ - One primary source link
19
+ - One follow-up action if the threshold breaks
20
+
21
+ Example threshold language:
22
+
23
+ - "Operating cash flow stays negative for two consecutive reporting periods"
24
+ - "Short-term debt ratio exceeds 50% without matching refinancing disclosure"
25
+ - "Major project revision or cancellation announced"
@@ -0,0 +1,24 @@
1
+ # Analysis Pattern Selector
2
+
3
+ Use this selector before loading sector-specific overlays.
4
+
5
+ The 6 core skills are generic for A-share stock research. Only load extra overlays when the company clearly matches a reusable pattern.
6
+
7
+ ## Common Patterns
8
+
9
+ | Pattern | When It Applies | Extra Reference |
10
+ | --- | --- | --- |
11
+ | Business-model transition | Legacy business is shrinking while a new growth engine is being built | `skills/shared/references/business-model-transition-overlay.md` |
12
+ | Project or order-driven business | Revenue depends on contracts, backlog, milestones, and customer execution | `skills/shared/references/project-order-business-overlay.md` |
13
+ | Asset-heavy ramp | Fixed assets, CIP, utilization, capex, and financing dominate the thesis | `skills/shared/references/asset-heavy-ramp-overlay.md` |
14
+ | Cyclical or price-driven business | Commodity prices, utilization, spreads, inventory cycles, and supply additions dominate earnings | `skills/shared/references/cyclical-price-driven-overlay.md` |
15
+ | Consumer channel and brand business | Brand power, same-store trends, channels, distribution, repeat purchase, and sell-through matter | `skills/shared/references/consumer-channel-brand-overlay.md` |
16
+ | Regulated healthcare or pharma | Reimbursement, procurement, approvals, product pipeline, and policy changes drive outcomes | `skills/shared/references/regulated-healthcare-policy-overlay.md` |
17
+ | Export manufacturing and supply chain | Overseas demand, customer concentration, tariffs, FX, capacity utilization, and inventory matter | `skills/shared/references/export-manufacturing-supply-chain-overlay.md` |
18
+ | Policy-sensitive industry | Regulation, subsidies, quotas, reimbursement, or licenses matter | Use the sector checklist plus the closest overlay above |
19
+
20
+ ## Important Rule
21
+
22
+ - IDC is not a default assumption.
23
+ - IDC is one concrete example of a company that may match both `business-model transition` and `asset-heavy ramp`.
24
+ - Start from the generic pattern first, then load a sector example overlay only if needed.
@@ -0,0 +1,28 @@
1
+ # Asset-Heavy Ramp Overlay
2
+
3
+ Use this overlay when fixed assets, construction in progress, utilization, and financing pressure dominate the investment case.
4
+
5
+ ## Typical Signals
6
+
7
+ - Fixed assets, CIP, capex, and debt are rising quickly.
8
+ - The company is building capacity ahead of full monetization.
9
+ - Utilization, occupancy, load factor, or commissioning pace is more important than short-term accounting profit.
10
+
11
+ ## Questions to Force
12
+
13
+ - How much of the asset base is already monetizing?
14
+ - Does disclosed utilization support the balance-sheet build?
15
+ - Is long-cycle asset build funded with short-cycle liabilities?
16
+ - What must happen operationally before the asset can earn a fair return?
17
+
18
+ ## Main Sources
19
+
20
+ | Source | What It Validates | URL |
21
+ | --- | --- | --- |
22
+ | Annual and interim reports | Fixed assets, CIP, debt, capex, utilization-related disclosures | https://www.cninfo.com.cn/new/index |
23
+ | Financing filings | Funding path, project economics, maturity schedule | https://www.cninfo.com.cn/new/index |
24
+ | Industry and policy sources | Capacity logic, regulatory constraints, regional resource access | Use relevant ministry or local official website |
25
+
26
+ ## Output Reminder
27
+
28
+ Trace the path from capex -> asset build -> ramp-up -> cash generation -> equity value.
@@ -0,0 +1,28 @@
1
+ # Business-Model Transition Overlay
2
+
3
+ Use this overlay when a listed company is shifting from an old business model to a new one.
4
+
5
+ ## Typical Signals
6
+
7
+ - Legacy business still contributes assets, receivables, litigation, guarantees, or impairments.
8
+ - The company claims a new growth engine but disclosures show an overlap period.
9
+ - Capital allocation, organization, customer mix, and revenue mix are all changing at once.
10
+
11
+ ## Questions to Force
12
+
13
+ - Is the new business changing revenue mix, gross profit mix, and cash-flow mix, or only the story?
14
+ - Is legacy drag shrinking fast enough?
15
+ - Does management fund the transition with equity, debt, or internally generated cash?
16
+ - Which milestone proves the new business is truly commercial, not just announced?
17
+
18
+ ## Main Sources
19
+
20
+ | Source | What It Validates | URL |
21
+ | --- | --- | --- |
22
+ | Prospectus and annual reports | Historical model, original use of proceeds, risk factors | https://www.cninfo.com.cn/new/index |
23
+ | Interim and quarterly reports | Pace of segment migration and balance-sheet change | https://www.cninfo.com.cn/new/index |
24
+ | Financing filings and board resolutions | Capital allocation and strategic commitments | https://www.cninfo.com.cn/new/index |
25
+
26
+ ## Output Reminder
27
+
28
+ Show what has already transitioned, what is still legacy, and what remains unproven.
@@ -0,0 +1,48 @@
1
+ # Citation Standard
2
+
3
+ Every output must separate `Facts`, `Interpretation`, and `Open Questions`.
4
+
5
+ ## Minimum Citation Unit
6
+
7
+ - Every key sentence must carry at least one accessible source link.
8
+ - Every row in a critical table must carry a primary source.
9
+ - Every numeric chart must list the source set below the chart.
10
+
11
+ ## Required Citation Format
12
+
13
+ Use this format inline:
14
+
15
+ ```text
16
+ [来源: 机构或公司, 文档名, 日期, 链接, 页码/章节/公告编号]
17
+ ```
18
+
19
+ Example:
20
+
21
+ ```text
22
+ 2025H1 IDC 业务收入占比达到 100%。[来源: 城地香江, 2025 年半年度报告, 2025-08-XX, https://www.cninfo.com.cn/, 第 X 节]
23
+ ```
24
+
25
+ ## Evidence Tiers
26
+
27
+ - `Tier 1`: statutory filings, regulator releases, exchange disclosures
28
+ - `Tier 2`: ministry data, public procurement notices, public statistics, official association materials
29
+ - `Tier 3`: company websites, media, broker notes, interviews, conference notes
30
+
31
+ ## Judgment Rules
32
+
33
+ - A core investment conclusion must be supported by at least one Tier 1 or Tier 2 source.
34
+ - A Tier 3 source may enrich context but may not be the sole support for a critical conclusion.
35
+ - If different sources conflict, present both and state the conflict explicitly.
36
+
37
+ ## Writing Rules
38
+
39
+ - Tag unverified but plausible reasoning as `Interpretation`, not `Fact`.
40
+ - Tag missing evidence as `Open Question` with a clear next source to check.
41
+ - Preserve the original unit, period, and accounting scope when quoting numbers.
42
+ - Mark whether the figure is audited, reviewed, or unaudited when known.
43
+
44
+ ## Link Rules
45
+
46
+ - Use direct, accessible URLs whenever possible.
47
+ - If a disclosure portal uses a searchable landing page instead of a stable document URL, cite both the portal and enough metadata to re-find the document.
48
+ - Never cite a screenshot without the underlying public URL.
@@ -0,0 +1,37 @@
1
+ # Company Disclosure Map
2
+
3
+ Use this map to locate the right document before analysis starts.
4
+
5
+ ## Core Company Documents
6
+
7
+ | Document Type | Main Questions It Answers | Priority Source |
8
+ | --- | --- | --- |
9
+ | Prospectus | Original business model, fundraising use, risk factors, historical numbers | CNInfo / exchange portal |
10
+ | Annual report | Segment mix, strategy, capex, debt, customers, related parties, litigation | CNInfo / exchange portal |
11
+ | Interim report | Mid-year trend changes, working capital, order execution, updated risks | CNInfo / exchange portal |
12
+ | Quarterly report | Short-cycle revenue, profit, cash flow, balance sheet change | CNInfo / exchange portal |
13
+ | Earnings pre-announcement | Profit warning, asset impairment, one-off events | CNInfo / exchange portal |
14
+ | Board and shareholder resolutions | Financing, guarantees, acquisitions, major capex, asset disposals | CNInfo / exchange portal |
15
+ | Inquiry letters and replies | Accounting quality, unusual contracts, regulators' focus areas | CNInfo / exchange portal |
16
+ | Convertible bond or placement filings | Funding need, project economics, leverage plan, dilution | CNInfo / exchange portal |
17
+
18
+ ## Special Topics
19
+
20
+ | Topic | Typical Documents | Priority Source |
21
+ | --- | --- | --- |
22
+ | Large order and project pipeline | Contract announcements, bid notices, operator procurement portals | Exchange disclosure + procurement portal |
23
+ | Asset impairment and bad debts | Earnings pre-announcement, annual report notes, inquiry replies | CNInfo |
24
+ | Equity pledge and insider actions | Pledge announcements, shareholding change filings | CNInfo |
25
+ | Lawsuits, guarantees, contingencies | Annual report notes, temporary announcements | CNInfo |
26
+ | Capacity and expansion | Fixed-asset filings, local approvals, financing use-of-proceeds | CNInfo + local government portals |
27
+
28
+ ## Retrieval Sequence
29
+
30
+ 1. Pull latest annual, interim, and quarterly reports.
31
+ 2. Pull all major temporary announcements since the latest annual report.
32
+ 3. Pull financing and regulator-question documents if the company is in transition.
33
+ 4. Pull external validation: procurement, policy, statistics, regional approvals.
34
+
35
+ ## Output Reminder
36
+
37
+ When citing a company fact, always mention which disclosure type it came from.