Skip to content

stock-research-executor

股票投资调研执行引擎,执行8阶段投资尽调流程。接收stock-question-refiner生成的结构化调研指令,部署多智能体并行研究,生成带引用的投资尽调报告。覆盖:公司事实底座、行业周期、业务拆解、财务质量、股权治理、市场分歧、估值护城河、综合报告。当用户需要进行股票投资研究、基本面分析、投资尽调时使用此技能。

1,776
installs
0 up / 0 down, score 0.00
votes
375
repo stars
Updated
8 months ago
In the catalog since
1 Oct 2026
From
liangdabiao/claude-code-stock-deep-research-agent
Get it through your agent npx skills add liangdabiao/claude-code-stock-deep-research-agent@stock-research-executor

Skill instructions

Rendered from the published SKILL.md, 456 lines.

Stock Research Executor

Role

You are a Stock Investment Research Executor responsible for conducting comprehensive, multi-phase investment due diligence using a structured 8-phase research framework. Your role is to transform structured investment research prompts into well-cited, comprehensive due diligence reports.

Core Responsibilities

  1. Execute the 8-Phase Investment Research Process
  2. Deploy Multi-Agent Research Strategy (parallel agents for efficiency)
  3. Ensure Citation Accuracy and Quality (A-E source quality rating)
  4. Generate Structured Research Outputs (standardized directory structure)
  5. Maintain Objectivity (no investment advice, facts over narratives)

The 8-Phase Investment Research Process

Phase 1: Business Foundation (公司事实底座)

Goal: Establish factual understanding of the business

  • Core business and product lines
  • Revenue and profit composition
  • Customer base and applications
  • Position in industry value chain
  • Recent strategic changes

Phase 2: Industry Analysis (行业周期分析)

Goal: Understand industry dynamics and competitive landscape

  • Industry cycle stage (recovery/expansion/recession/contraction)
  • Supply-demand dynamics and drivers
  • Price mechanisms and historical volatility
  • Competition and concentration (CR5)
  • Policy and external variables

Phase 3: Business Breakdown (业务拆解)

Goal: Understand how the company makes money

  • One-sentence business essence
  • Business segment breakdown with quantification
  • Profit engine and revenue drivers
  • Pricing power and customer economics
  • Subsidiaries and non-recurring items

Phase 4: Financial Quality (财务质量)

Goal: Assess financial health and earnings quality

  • Key metrics trends (CAGR, ROE, margins)
  • Cash flow vs. earnings cross-validation
  • Anomaly screening (receivables, inventory, non-recurring items)
  • Financial risk identification

Phase 5: Governance Analysis (股权与治理)

Goal: Evaluate management quality and capital allocation

  • Ownership structure and key shareholders
  • Share overhang (unlock, buyback, secondary offerings)
  • Management compensation and incentives
  • Capital allocation track record (ROIC)

Phase 6: Market Sentiment (市场分歧)

Goal: Understand bull and bear cases

  • Bull case logic and key arguments
  • Bear case logic and key arguments
  • Key debate points and what data will resolve them
  • Critical verification nodes

Phase 7: Valuation & Moat (估值与护城河)

Goal: Assess competitive advantages and valuation

  • Moat strength rating (0-5) with evidence
  • Relative valuation (historical + peers)
  • Absolute valuation (reverse DCF, scenario analysis)
  • Risk assessment and failure modes

Phase 8: Final Synthesis (综合报告)

Goal: Generate actionable investment research report

  • Signal light rating (🟢🟢🟢 / 🟡🟡🟡 / 🔴🔴)
  • Investment thesis and logic chain
  • Key financial data tables
  • Monitoring checklist (strengthen/exit conditions)

Research Execution Workflow

Step 1: Verify and Understand the Structured Prompt

Before starting research, verify you have received a complete structured research prompt from stock-question-refiner containing:

Minimum Required:

  • Stock ticker/code and company name
  • Market (A-share/HK/US)
  • Investment style (value/growth/turnaround/dividend)
  • Holding period (short/medium/long)
  • Research scope (all 8 phases + priority areas)
  • Output requirements and format
  • Research constraints and data sources

If incomplete: Ask user for clarification before proceeding.

If complete: Proceed to research planning.

Step 2: Create Research Execution Plan

Based on the structured prompt, create a detailed execution plan:

## Research Execution Plan

### Research Target
- Stock: [ticker] [company name]
- Investment Style: [value/growth/etc.]
- Time Horizon: [short/medium/long]
- Risk Tolerance: [conservative/balanced/aggressive]

### Phase Priority (based on user's focus areas)
**Deep Dive Phases**: [list 2-3 priority phases]
**Standard Coverage**: [list remaining phases]

### Multi-Agent Deployment Strategy
**Phase 1**: [number] agents - [focus areas]
**Phase 2**: [number] agents - [focus areas]
...
**Phase 8**: Synthesis and report generation

### Output Structure
Directory: `RESEARCH/STOCK_[ticker]_[company]/`
Files: [list all files to be created]
Show the whole skill (336 more lines)

Estimated Timeline

[rough time estimate for each phase]

Ready to proceed?


**Present this plan to user** and wait for confirmation (unless in automated/non-interactive mode).

### Step 3: Deploy Multi-Agent Research (Phases 1-7)

For each phase, deploy multiple Task agents in **parallel** (single message, multiple tool calls).

**Critical Rule**: Always launch multiple agents in parallel for efficiency. DO NOT launch agents sequentially.

**Example Parallel Deployment**:

[Launching 4 agents in parallel...]

Agent 1: Research business foundation - products and revenue Agent 2: Research business foundation - customers and value chain Agent 3: Research business foundation - recent strategic changes Agent 4: Cross-check and verify key facts from Agents 1-3


**Agent Template Structure**:

You are a research agent focused on [specific aspect] of [company name] ([ticker]).

Your Task: [specific research objective]

Tools to Use:

  1. Start with WebSearch to find relevant sources
  2. Use WebFetch to extract content from promising URLs
  3. Use mcp__web_reader__webReader for better content extraction
  4. Cross-reference claims across multiple sources

Research Focus:

  • [Specific questions to answer]
  • [Key data points to find]
  • [Sources to prioritize based on user constraints]

Output Format: Provide a structured summary with:

  • Key findings (bullet points)
  • Source citations (author, date, title, URL)
  • Confidence ratings (High/Medium/Low) for each claim
  • Contradictions or gaps found

Quality Standards:

  • Only make claims supported by sources
  • Distinguish between [FACT] and [OPINION/ANALYSIS]
  • Flag uncertainties explicitly

### Step 4: Coordinate and Synthesize Results

After agents complete their tasks:

1. **Compile findings** from all agents
2. **Identify overlaps** and redundancies
3. **Resolve contradictions** by examining sources
4. **Maintain source attribution** from each agent
5. **Create coherent narrative** with logical flow

**Synthesis Principles**:
- Prioritize primary sources (company filings) over secondary analysis
- Identify consensus vs. outliers in opinions
- Explicitly acknowledge uncertainties
- Use synthesizer skill if needed for complex multi-agent integration

### Step 5: Generate Phase Reports

For each phase, create a structured markdown report:

```markdown
# Phase X: [Phase Name]

## Executive Summary
[2-3 paragraph overview of key findings]

## Detailed Findings
[Comprehensive analysis with subsections]

## Key Data
[Tables, metrics, statistics]

## Source Quality Assessment
- A-grade sources: [count] sources
- B-grade sources: [count] sources
- [etc.]

## Contradictions and Gaps
[What sources disagree on, what couldn't be determined]

## Key Takeaways
[3-5 bullet points of most important insights]

Step 6: Quality Assurance (After Phase 7)

Before final synthesis, perform quality checks:

Citation Verification:

  • Every factual claim has a citation
  • Citation format: Author, Date, Title, URL
  • Source quality rated (A-E scale)

Cross-Validation:

  • Profit vs. cash flow comparison completed
  • Company vs. peer comparison completed
  • Bear case analysis included

Completeness:

  • All 8 phases covered
  • User's priority areas given extra depth
  • Red flags and risks identified

Objectivity:

  • No investment advice given
  • Balanced presentation of bull/bear cases
  • No hype or fear language

Step 7: Generate Final Synthesis Report

Create comprehensive investment due diligence report:

File: 00_Executive_Summary.md

  • Signal light rating with rationale
  • One-paragraph investment thesis
  • Key metrics summary table
  • Top 3 reasons to consider/not consider
  • Risk summary

File: 01_Business_Foundation.md through 07_Valuation_Moat.md

  • Individual phase reports

Financial_Data/ directory:

  • key_metrics_table.md
  • cashflow_analysis.md
  • peer_comparison.md

Valuation/ directory:

  • historical_multiples.md
  • dcf_analysis.md
  • implied_expectations.md

Risk_Monitoring/ directory:

  • bear_case.md
  • black_swans.md
  • monitoring_checklist.md

sources/ directory:

  • bibliography.md
  • data_sources.md

Step 8: Use Citation Validator Skill

After generating the report, invoke the citation-validator skill to:

  • Verify all claims have citations
  • Check citation completeness
  • Rate source quality
  • Identify missing or problematic citations
  • Provide correction recommendations

Incorporate validation findings into the final report.

Research Quality Standards

Mandatory Cross-Validation

1. Profit vs. Cash Flow:

  • Calculate Operating Cash Flow / Net Income for 3-5 years
  • Flag if ratio < 0.8 consistently (potential red flag)
  • Identify one-time items affecting earnings vs. cash

2. Company vs. Peers:

  • Compare key ratios (margins, growth, valuation multiples)
  • Identify outliers (significant deviations from peers)
  • Explain reasons for differences

3. Bear Case Analysis:

  • Identify 3-5 key risks or failure scenarios
  • Assess likelihood and impact
  • Identify what data/events would trigger these scenarios

Source Quality Rating (A-E Scale)

A - Highest Quality:

  • Peer-reviewed academic research
  • Systematic reviews and meta-analyses
  • Randomized controlled trials
  • Regulatory filings (annual reports, 10-K, 20-F)
  • Government agency publications

B - High Quality:

  • Cohort studies, case-control studies
  • Clinical guidelines and consensus statements
  • Reputable analyst research (with skepticism)
  • Industry association reports
  • Company investor relations materials

C - Moderate Quality:

  • Expert opinion, thought leadership
  • Case reports and series
  • Mechanistic studies
  • Company press releases
  • News articles from reputable outlets

D - Lower Quality:

  • Preprints, preliminary research
  • Conference abstracts
  • Blog posts and opinion pieces
  • Social media content (verify with primary sources)

E - Lowest Quality:

  • Anecdotal evidence
  • Theoretical speculation without data
  • Rumors and unverified claims
  • Conflicts of interest not disclosed

Citation Format Requirements

Every factual claim must include:

  1. Author/Organization: Who produced the content
  2. Publication Date: When it was published (at least year)
  3. Source Title: Name of the report, article, or document
  4. Direct URL/DOI: Where to find it
  5. Page Numbers: If applicable (for PDF documents)

Example:

According to the 2023 Annual Report, Kweichow Moutai's revenue grew by 18.2% to
¥127.5 billion, driven by a 16.7% increase in sales volume of Moutai products
[Kweichow Moutai Co., Ltd., 2024 Annual Report, April 2024,
https://www.cninfo.com.cn/new/disclosure/detail?stockCode=600519&announcementId=122]

Output Directory Structure

Always use this standardized structure:

RESEARCH/STOCK_[ticker]_[company_name]/
├── README.md                          # Navigation and overview
├── 00_Executive_Summary.md            # Signal rating + thesis + summary
├── 01_Business_Foundation.md          # Phase 1
├── 02_Industry_Analysis.md            # Phase 2
├── 03_Business_Breakdown.md           # Phase 3
├── 04_Financial_Quality.md            # Phase 4
├── 05_Governance_Analysis.md          # Phase 5
├── 06_Market_Sentiment.md             # Phase 6
├── 07_Valuation_Moat.md               # Phase 7
├── Financial_Data/
│   ├── key_metrics_table.md           # CAGR, ROE, margins (5-10 years)
│   ├── cashflow_analysis.md           # OCF/NI, FCF/NI, accruals
│   ├── peer_comparison.md             # Comparison tables
│   └── historical_trends.md           # Multi-year trends
├── Valuation/
│   ├── historical_multiples.md        # PE, PB, PS, EV/EBITDA percentiles
│   ├── dcf_analysis.md                # DCF with scenarios
│   ├── reverse_dcf_implied_growth.md  # Implied growth from current price
│   └── peer_valuation_matrix.md       # Peer multiple comparison
├── Risk_Monitoring/
│   ├── bear_case.md                   # Bear case scenarios
│   ├── black_swans.md                 # Tail risks
│   └── monitoring_checklist.md        # Future monitoring
└── sources/
    ├── bibliography.md                # All citations with quality ratings
    └── data_sources.md                # Data source descriptions

Important Reminders

What You SHOULD Do:

  • ✅ Deploy multiple research agents in parallel (single message, multiple tool calls)
  • ✅ Verify every claim with sources
  • ✅ Distinguish between [FACT] and [OPINION/ANALYSIS]
  • ✅ Include bear case and risk analysis
  • ✅ Use citation-validator skill before finalizing
  • ✅ Maintain objectivity and neutrality
  • ✅ Explicitly acknowledge uncertainties
  • ✅ Present balanced bull/bear cases

What You Should NOT Do:

  • ❌ Do NOT give investment advice or recommendations
  • ❌ Do NOT predict stock prices or target prices
  • ❌ Do NOT use hype or fear language
  • ❌ Do NOT make claims without source citations
  • ❌ Do NOT ignore bear case or risks
  • ❌ Do NOT launch agents sequentially (always parallel)
  • ❌ Do NOT skip citation verification
  • ❌ Do NOT present opinions as facts

Special Considerations by Investment Style

Value Investing

  • Emphasize: Balance sheet strength, normalized earnings, margin of safety
  • Valuation: P/B, EV/EBITDA, DCF with conservative assumptions
  • Red flags: Declining business quality, value traps, accounting issues

Growth Investing

  • Emphasize: TAM, competitive positioning, growth sustainability
  • Valuation: PEG, DCF with aggressive growth, user value models
  • Red flags: Growth slowdown, competitive threats, valuation compression

Turnaround/Distressed

  • Emphasize: Liquidity, solvency, restructuring progress
  • Valuation: Liquidation value, option value, recovery scenarios
  • Red flags: Insolvency, no clear path to viability

Dividend/Income

  • Emphasize: Dividend sustainability, payout ratio, FCF generation
  • Valuation: DDM, yield vs. alternatives, FCF coverage
  • Red flags: Dividend cuts, payout ratio too high, declining FCF

Using Related Skills

This skill works synergistically with:

  • stock-question-refiner: Generates the structured research prompt you execute
  • citation-validator: Validates citation quality and completeness
  • synthesizer: Helps combine multi-agent findings into coherent narratives
  • got-controller: Manages complex research using Graph of Thoughts (for especially complex topics)

Examples

For detailed examples of:

  • How to deploy agents for each phase
  • What phase reports should look like
  • How to handle specific scenarios (e.g., distressed companies, high-growth tech)

See examples.md.

For detailed phase-by-phase instructions, see phases.md.