npx skills add ...
npx skills add bytedance/deer-flow --skill consulting-analysis
Use this skill when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial analysis, industry research, competitive intelligence, investment due diligence, or any consulting-grade analytical report. This skill operates in two phases — (1) generating a structured analysis framework with chapter skeleton, data query requirements, and analysis logic, and (2) after data collection by other skills, producing the final consulting-grade report with structured narratives, embedded charts, and strategic insights.
npx skills add bytedance/deer-flow --skill consulting-analysis
This skill produces professional, consulting-grade research reports in Markdown format, covering domains such as market analysis, consumer insights, brand strategy, financial analysis, industry research, competitive intelligence, investment research, and macroeconomic analysis. It operates across two distinct phases:
The output adheres to McKinsey/BCG consulting voice standards. The report language follows the output_locale setting (default: zh_CN for Chinese).
Strict Adherence Rule: All data presented in the report and visualized in charts MUST be derived directly from the provided Data Summary or External Search Findings.
output_locale with professional consulting toneAlways load this skill when:
Given a research subject (e.g., "Gen-Z Skincare Market Analysis", "NEV Industry Competitive Landscape", "Brand X Consumer Profiling"), produce a complete analysis framework that serves as the blueprint for downstream data collection and final report generation.
| Input | Description | Required |
|---|---|---|
| Research Subject | The topic or question to be analyzed | Yes |
| Scope / Constraints | Geographic scope, time range, industry segment, target audience, etc. | Optional |
| Specific Angles | Any particular angles or hypotheses the user wants explored | Optional |
| Domain | The analytical domain: market, finance, industry, brand, consumer, investment, etc. | Inferred |
| Domain | Typical Dimensions |
|---|---|
| Market Analysis | Market size, growth trends, market segmentation, growth drivers, competitive landscape, consumer profiling |
| Brand Analysis | Brand positioning, market share, consumer perception, marketing strategy, competitor comparison |
| Consumer Insights | Demographic profiling, purchase behavior, decision journey, pain points, scenario analysis |
| Financial Analysis | Macro environment, industry trends, company fundamentals, financial metrics, valuation, risk assessment |
| Industry Research | Value chain analysis, market size, competitive landscape, policy environment, technology trends, entry barriers |
| Investment Due Diligence | Business model, financial health, management assessment, market opportunity, risk factors, exit pathways |
| Competitive Intelligence | Competitor identification, strategic comparison, SWOT analysis, differentiated positioning, market dynamics |
Based on the identified domain and research subject, select one or more professional analysis frameworks to structure the reasoning in each chapter. The chosen frameworks guide the Analysis Logic in the chapter skeleton (Step 1.3).
| Framework | Description | Best For |
|---|---|---|
| SWOT Analysis | Strengths, Weaknesses, Opportunities, Threats | Brand assessment, competitive positioning, strategic planning |
| PEST / PESTEL Analysis | Political, Economic, Social, Technological (+ Environmental, Legal) | Macro-environment scanning, market entry assessment, policy impact analysis |
| Porter's Five Forces | Supplier bargaining power, buyer bargaining power, threat of new entrants, threat of substitutes, industry rivalry | Industry competitive landscape, entry barrier assessment, profit margin analysis |
| Porter's Diamond Model | Factor conditions, demand conditions, related industries, firm strategy & structure | National/regional competitive advantage analysis |
| VRIO Analysis | Value, Rarity, Imitability, Organization | Core competency assessment, resource advantage analysis |
| Framework | Description | Best For |
|---|---|---|
| STP Analysis | Segmentation, Targeting, Positioning | Market segmentation, target market selection, brand positioning |
| BCG Matrix (Growth-Share Matrix) | Stars, Cash Cows, Question Marks, Dogs | Product portfolio management, resource allocation decisions |
| Ansoff Matrix | Market penetration, market development, product development, diversification | Growth strategy selection |
| Product Life Cycle (PLC) | Introduction, growth, maturity, decline | Product strategy formulation, market timing decisions |
| TAM-SAM-SOM | Total / Serviceable / Obtainable Market | Market sizing, opportunity quantification |
| Technology Adoption Lifecycle | Innovators → Early Adopters → Early Majority → Late Majority → Laggards | Emerging technology/category penetration analysis |
| Framework | Description | Best For |
|---|---|---|
| Consumer Decision Journey | Awareness → Consideration → Evaluation → Purchase → Loyalty | Consumer behavior path mapping, touchpoint optimization |
| AARRR Funnel (Pirate Metrics) | Acquisition, Activation, Retention, Revenue, Referral | User growth analysis, conversion rate optimization |
| RFM Model | Recency, Frequency, Monetary | Customer value segmentation, precision marketing |
| Maslow's Hierarchy of Needs | Physiological → Safety → Social → Esteem → Self-actualization | Consumer psychology analysis, product value proposition |
| Jobs-to-be-Done (JTBD) | The "job" a user needs to accomplish in a specific context | Demand insight, product innovation direction |
| Framework | Description | Best For |
|---|---|---|
| DuPont Analysis | ROE = Net Profit Margin × Asset Turnover × Equity Multiplier | Profitability decomposition, financial health diagnosis |
| DCF (Discounted Cash Flow) | Free cash flow discounting | Enterprise/project valuation |
| Comparable Company Analysis | PE, PB, PS, EV/EBITDA multiples comparison | Relative valuation, peer benchmarking |
| EVA (Economic Value Added) | After-tax operating profit - Cost of capital | Value creation capability assessment |
| Framework | Description | Best For |
|---|---|---|
| Benchmarking | Key performance indicator item-by-item comparison | Competitor gap analysis, best practice identification |
| Strategic Group Mapping | Cluster competitors along two key dimensions | Competitive landscape visualization, white-space identification |
| Value Chain Analysis | Primary activities + support activities value decomposition | Cost advantage sources, differentiation opportunity identification |
| Blue Ocean Strategy | Value curve, four-action framework (Eliminate-Reduce-Raise-Create) | Differentiated innovation, new market space creation |
| Perceptual Mapping | Plot brand positions along two consumer-perceived dimensions | Brand positioning analysis, market gap discovery |
| Framework | Description | Best For |
|---|---|---|
| Industry Value Chain | Upstream → Midstream → Downstream decomposition | Industry structure understanding, profit distribution analysis |
| Gartner Hype Cycle | Technology Trigger → Peak of Inflated Expectations → Trough of Disillusionment → Slope of Enlightenment → Plateau of Productivity | Emerging technology maturity assessment |
| GE-McKinsey Matrix | Industry Attractiveness × Competitive Strength | Business portfolio prioritization, investment decisions |
Produce a hierarchical chapter structure. Each chapter must include:
For each chapter, specify exactly what data needs to be collected. This is the bridge to downstream data collection skills.
Each data requirement entry must include:
| Field | Description |
|---|---|
| Data Metric | The specific metric or data point needed (e.g., "China skincare market size 2020-2025 (in billion CNY)") |
| Data Type | Quantitative, Qualitative, or Mixed |
| Suggested Sources | Suggested source categories: Industry reports, financial statements, government statistics, social media, e-commerce platforms, survey data, news |
| Search Keywords | Suggested search queries for data collection agents |
| Priority | P0 (Required) / P1 (Important) / P2 (Supplementary) |
| Time Range | The time period the data should cover |
For each chapter, specify the planned visualization and content structure for the final report:
| Field | Description |
|---|---|
| Visualization Type | Chart type: Line chart, bar chart, pie chart, scatter plot, radar chart, heatmap, Sankey diagram, comparison table, etc. |
| Visualization Title | Descriptive title for the chart |
| Visualization Data Mapping | Which data indicators map to X/Y axes or segments |
| Comparison Table Design | Column headers and comparison dimensions for the data contrast table |
| Argument Structure | The planned "What → Why → So What" narrative outline |
Assemble all outputs into a single, structured Analysis Framework Document:
After the analysis framework is generated, it is handed off to other data collection skills (e.g., deep-research, data-analysis, web search agents) to:
This skill does NOT perform data collection. It only produces the framework (Phase 1) and the final report (Phase 2).
Chart Generation: If a visualization/charting skill is available (e.g., data-analysis, image-generation), chart generation can be deferred to the beginning of Phase 2 — see Step 2.3.
Receive the completed Analysis Framework and Data Package from upstream, and synthesize them into a final consulting-grade report.
| Input | Description | Required |
|---|---|---|
| Analysis Framework | The framework document produced in Phase 1 | Yes |
| Data Summary | Collected data organized per chapter from the data collection phase | Yes |
| Chart Files | Local file paths for generated chart images. If not provided, will be generated in Step 2.3 using available visualization skills | Optional |
| External Search Findings | URLs and summaries for inline citations | Optional |
Verify that all required inputs are present:
If any P0 data is missing, note it in the report and flag for the user.
Map the final report structure from the Analysis Framework:
Before writing the report, generate all planned charts from the Analysis Framework's Visualization & Content Plan. This step ensures every sub-chapter has its "Visual Anchor" ready before narrative writing begins.
Visualization & Content Plan entries from the Analysis Framework to build a chart generation task list:| # | Chapter | Chart Type | Chart Title | Data Mapping | Data Source |
|---|---|---|---|---|---|
| 1 | 2.1 | Line chart | Market Size Trend 2020-2025 | X: Year, Y: Market Size (billion CNY) | Data Requirement #1, #2 |
| 2 | 3.1 | Pie chart | Consumer Age Distribution | Segments: Age groups, Values: Share % | Data Requirement #5 |
| ... | ... | ... | ... | ... | ... |
Prepare Chart Data: For each chart task, extract the corresponding data points from the Data Summary.
CRITICAL: Use ONLY the numbers provided in the Data Summary. Do NOT invent or "smooth" data to make charts look better. If data points are missing, the chart must reflect that reality (e.g., broken line or missing bar), or the chart type must be adjusted.
Delegate to Visualization Skill: Invoke the available visualization/charting skill (e.g., data-analysis) for each chart task with:
charts/chapter_{N}_{chart_index}.pngCollect Chart File Paths: Record all generated chart file paths for embedding in Step 2.4:
Principle: Complete ALL chart generation before starting report writing. This ensures a consistent visual narrative and avoids interleaving generation with writing.
For each sub-chapter, follow the "Visual Anchor → Data Contrast → Integrated Analysis" flow:
 — use the file paths collected in Step 2.3Source Rule: Every number in the table must come from the Data Summary. No hallucinations.
Narrative Rule: Narrative must explain the provided data. Do not make claims unsupported by the inputs.
Each sub-chapter must end with a robust analytical paragraph (min. 200 words) that:
>)Before outputting, confirm the report contains all sections in order:
Additionally verify:
 references are validThe report MUST NOT stop after the Conclusion — it MUST include References as the final section.
output_locale1,000 not 1,000)1., 1.1) directly followed by the title>) to anchor the section.Every insight must connect Data → User Psychology → Strategy Implication:
[Source Title](URL)) when using External Search Findings# Report Title — no introductory text---)User provides: Research subject "Gen-Z Skincare Market Analysis"
Phase 1 output (Analysis Framework):
After data collection, user provides: Analysis Framework + Data Summary with brand metrics + chart file paths.
Phase 2 output (Final Report) follows this flow:
# Gen-Z Skincare Market Deep Analysis Report syntax---) in the document# title — no preamble