scenario-analyzer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Headline Scenario Analyzer

Headline Scenario Analyzer

Overview

Overview

このスキルは、ニュースヘッドラインを起点として中長期(18ヶ月)の投資シナリオを分析します。 2つの専門エージェント(
scenario-analyst
strategy-reviewer
)を順次呼び出し、 多角的な分析と批判的レビューを統合した包括的なレポートを生成します。
This skill analyzes medium-to-long-term (18-month) investment scenarios starting from news headlines. It sequentially calls two specialized agents (
scenario-analyst
and
strategy-reviewer
) to generate a comprehensive report that integrates multi-faceted analysis and critical reviews.

When to Use This Skill

When to Use This Skill

以下の場合にこのスキルを使用してください:
  • ニュースヘッドラインから中長期の投資影響を分析したい
  • 18ヶ月後のシナリオを複数構築したい
  • セクター・銘柄への影響を1次/2次/3次で整理したい
  • セカンドオピニオンを含む包括的な分析が必要
  • 日本語でのレポート出力が必要
使用例:
/headline-scenario-analyzer "Fed raises interest rates by 50bp, signals more hikes ahead"
/headline-scenario-analyzer "China announces new tariffs on US semiconductors"
/headline-scenario-analyzer "OPEC+ agrees to cut oil production by 2 million barrels per day"
Use this skill in the following cases:
  • Want to analyze medium-to-long-term investment impacts from news headlines
  • Want to build multiple scenarios for 18 months later
  • Want to organize impacts on sectors and stocks into primary/secondary/tertiary levels
  • Need comprehensive analysis including a second opinion
  • Need report output in Japanese
Examples of use:
/headline-scenario-analyzer "Fed raises interest rates by 50bp, signals more hikes ahead"
/headline-scenario-analyzer "China announces new tariffs on US semiconductors"
/headline-scenario-analyzer "OPEC+ agrees to cut oil production by 2 million barrels per day"

Architecture

Architecture

┌─────────────────────────────────────────────────────────────────────┐
│                    Skill(オーケストレーター)                        │
│                                                                      │
│  Phase 1: 準備                                                       │
│  ├─ ヘッドライン解析                                                  │
│  ├─ イベントタイプ分類                                                │
│  └─ リファレンス読み込み                                              │
│                                                                      │
│  Phase 2: エージェント呼び出し                                        │
│  ├─ scenario-analyst(主分析)                                       │
│  └─ strategy-reviewer(セカンドオピニオン)                           │
│                                                                      │
│  Phase 3: 統合・レポート生成                                          │
│  └─ reports/scenario_analysis_<topic>_YYYYMMDD.md                   │
└─────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────────┐
│                    Skill (Orchestrator)                            │
│                                                                      │
│  Phase 1: Preparation                                                │
│  ├─ Headline Analysis                                                │
│  ├─ Event Type Classification                                        │
│  └─ Reference Loading                                                │
│                                                                      │
│  Phase 2: Agent Invocation                                           │
│  ├─ scenario-analyst (Main Analysis)                                │
│  └─ strategy-reviewer (Second Opinion)                              │
│                                                                      │
│  Phase 3: Integration & Report Generation                            │
│  └─ reports/scenario_analysis_<topic>_YYYYMMDD.md                   │
└─────────────────────────────────────────────────────────────────────┘

Workflow

Workflow

Phase 1: 準備

Phase 1: Preparation

Step 1.1: ヘッドライン解析

Step 1.1: Headline Analysis

ユーザーから入力されたヘッドラインを解析します。
  1. ヘッドライン確認
    • 引数としてヘッドラインが渡されているか確認
    • 渡されていない場合はユーザーに入力を求める
  2. キーワード抽出
    • 主要なエンティティ(企業名、国名、機関名)
    • 数値データ(金利、価格、数量)
    • アクション(引き上げ、引き下げ、発表、合意等)
Analyzes the headline input by the user.
  1. Headline Verification
    • Verify if a headline is passed as an argument
    • If not, prompt the user for input
  2. Keyword Extraction
    • Key entities (company names, country names, institution names)
    • Numeric data (interest rates, prices, quantities)
    • Actions (hike, cut, announce, agree, etc.)

Step 1.2: イベントタイプ分類

Step 1.2: Event Type Classification

ヘッドラインを以下のカテゴリに分類:
カテゴリ
金融政策FOMC、ECB、日銀、利上げ、利下げ、QE/QT
地政学戦争、制裁、関税、貿易摩擦
規制・政策環境規制、金融規制、独禁法
テクノロジーAI、EV、再エネ、半導体
コモディティ原油、金、銅、農産物
企業・M&A買収、破綻、決算、業界再編
Classify the headline into the following categories:
CategoryExamples
Monetary PolicyFOMC, ECB, BOJ, rate hike, rate cut, QE/QT
GeopoliticsWar, sanctions, tariffs, trade frictions
Regulation & PolicyEnvironmental regulation, financial regulation, antitrust law
TechnologyAI, EV, renewable energy, semiconductors
CommoditiesCrude oil, gold, copper, agricultural products
Corporate & M&AAcquisition, bankruptcy, earnings results, industry restructuring

Step 1.3: リファレンス読み込み

Step 1.3: Reference Loading

イベントタイプに基づき、関連するリファレンスを読み込みます:
Read references/headline_event_patterns.md
Read references/sector_sensitivity_matrix.md
Read references/scenario_playbooks.md
リファレンス内容:
  • headline_event_patterns.md
    : 過去のイベントパターンと市場反応
  • sector_sensitivity_matrix.md
    : イベント×セクターの影響度マトリクス
  • scenario_playbooks.md
    : シナリオ構築のテンプレートとベストプラクティス

Load relevant references based on the event type:
Read references/headline_event_patterns.md
Read references/sector_sensitivity_matrix.md
Read references/scenario_playbooks.md
Reference Contents:
  • headline_event_patterns.md
    : Past event patterns and market reactions
  • sector_sensitivity_matrix.md
    : Event × sector impact matrix
  • scenario_playbooks.md
    : Scenario building templates and best practices

Phase 2: エージェント呼び出し

Phase 2: Agent Invocation

Step 2.1: scenario-analyst 呼び出し

Step 2.1: Call scenario-analyst

Task toolを使用してメイン分析エージェントを呼び出します。
Task tool:
- subagent_type: "scenario-analyst"
- prompt: |
    以下のヘッドラインについて18ヶ月シナリオ分析を実行してください。

    ## 対象ヘッドライン
    [入力されたヘッドライン]

    ## イベントタイプ
    [分類結果]

    ## リファレンス情報
    [読み込んだリファレンスの要約]

    ## 分析要件
    1. WebSearchで過去2週間の関連ニュースを収集
    2. Base/Bull/Bearの3シナリオを構築(確率合計100%)
    3. 1次/2次/3次影響をセクター別に分析
    4. ポジティブ/ネガティブ影響銘柄を各3-5銘柄選定(米国市場のみ)
    5. 全て日本語で出力
期待する出力:
  • 関連ニュース記事リスト
  • 3シナリオ(Base/Bull/Bear)の詳細
  • セクター影響分析(1次/2次/3次)
  • 銘柄推奨リスト
Call the main analysis agent using the Task tool.
Task tool:
- subagent_type: "scenario-analyst"
- prompt: |
    Please perform an 18-month scenario analysis for the following headline.

    ## Target Headline
    [Input Headline]

    ## Event Type
    [Classification Result]

    ## Reference Information
    [Summary of loaded references]

    ## Analysis Requirements
    1. Collect relevant news from the past 2 weeks using WebSearch
    2. Build 3 scenarios: Base/Bull/Bear (total probability 100%)
    3. Analyze primary/secondary/tertiary impacts by sector
    4. Select 3-5 stocks with positive/negative impacts (US market only)
    5. Output all content in Japanese
Expected Output:
  • List of relevant news articles
  • Details of 3 scenarios (Base/Bull/Bear)
  • Sector impact analysis (primary/secondary/tertiary)
  • Recommended stock list

Step 2.2: strategy-reviewer 呼び出し

Step 2.2: Call strategy-reviewer

scenario-analystの分析結果を受けて、レビューエージェントを呼び出します。
Task tool:
- subagent_type: "strategy-reviewer"
- prompt: |
    以下のシナリオ分析をレビューしてください。

    ## 対象ヘッドライン
    [入力されたヘッドライン]

    ## 分析結果
    [scenario-analystの出力全文]

    ## レビュー要件
    以下の観点でレビューを実施:
    1. 見落とされているセクター/銘柄
    2. シナリオ確率配分の妥当性
    3. 影響分析の論理的整合性
    4. 楽観/悲観バイアスの検出
    5. 代替シナリオの提案
    6. タイムラインの現実性

    建設的かつ具体的なフィードバックを日本語で出力してください。
期待する出力:
  • 見落としの指摘
  • シナリオ確率への意見
  • バイアスの指摘
  • 代替シナリオの提案
  • 最終推奨事項

Call the review agent based on the analysis results from scenario-analyst.
Task tool:
- subagent_type: "strategy-reviewer"
- prompt: |
    Please review the following scenario analysis.

    ## Target Headline
    [Input Headline]

    ## Analysis Results
    [Full output from scenario-analyst]

    ## Review Requirements
    Conduct a review from the following perspectives:
    1. Overlooked sectors/stocks
    2. Appropriateness of scenario probability allocation
    3. Logical consistency of impact analysis
    4. Detection of optimistic/pessimistic bias
    5. Proposal of alternative scenarios
    6. Realism of timeline

    Please provide constructive and specific feedback in Japanese.
Expected Output:
  • Points of oversight
  • Opinions on scenario probabilities
  • Points of bias detection
  • Proposals for alternative scenarios
  • Final recommendations

Phase 3: 統合・レポート生成

Phase 3: Integration & Report Generation

Step 3.1: 結果統合

Step 3.1: Result Integration

両エージェントの出力を統合し、最終投資判断を作成します。
統合ポイント:
  1. レビューで指摘された見落としを補完
  2. 確率配分の調整(必要な場合)
  3. バイアスを考慮した最終判断
  4. 具体的なアクションプランの策定
Integrate the outputs from both agents to create the final investment decision.
Integration Points:
  1. Complement omissions pointed out in the review
  2. Adjust probability allocation (if necessary)
  3. Final judgment considering bias
  4. Formulate specific action plans

Step 3.2: レポート生成

Step 3.2: Report Generation

以下の形式で最終レポートを生成し、ファイルに保存します。
保存先:
reports/scenario_analysis_<topic>_YYYYMMDD.md
markdown
undefined
Generate the final report in the following format and save it to a file.
Save Path:
reports/scenario_analysis_<topic>_YYYYMMDD.md
markdown
undefined

ヘッドライン・シナリオ分析レポート

Headline Scenario Analysis Report

分析日時: YYYY-MM-DD HH:MM 対象ヘッドライン: [入力されたヘッドライン] イベントタイプ: [分類カテゴリ]

Analysis Date & Time: YYYY-MM-DD HH:MM Target Headline: [Input Headline] Event Type: [Classification Category]

1. 関連ニュース記事

1. Relevant News Articles

[scenario-analystが収集したニュースリスト]
[News list collected by scenario-analyst]

2. 想定シナリオ概要(18ヶ月後まで)

2. Overview of Assumed Scenarios (Up to 18 Months Later)

Base Case(XX%確率)

Base Case (XX% Probability)

[シナリオ詳細]
[Scenario Details]

Bull Case(XX%確率)

Bull Case (XX% Probability)

[シナリオ詳細]
[Scenario Details]

Bear Case(XX%確率)

Bear Case (XX% Probability)

[シナリオ詳細]
[Scenario Details]

3. セクター・業種への影響

3. Impacts on Sectors & Industries

1次的影響(直接的)

Primary Impact (Direct)

[影響テーブル]
[Impact Table]

2次的影響(バリューチェーン・関連産業)

Secondary Impact (Value Chain & Related Industries)

[影響テーブル]
[Impact Table]

3次的影響(マクロ・規制・技術)

Tertiary Impact (Macro, Regulation, Technology)

[影響テーブル]
[Impact Table]

4. ポジティブ影響が見込まれる銘柄(3-5銘柄)

4. Stocks Expected to Have Positive Impacts (3-5 Stocks)

[銘柄テーブル]
[Stock Table]

5. ネガティブ影響が見込まれる銘柄(3-5銘柄)

5. Stocks Expected to Have Negative Impacts (3-5 Stocks)

[銘柄テーブル]
[Stock Table]

6. セカンドオピニオン・レビュー

6. Second Opinion & Review

[strategy-reviewerの出力]
[Output from strategy-reviewer]

7. 最終投資判断・示唆

7. Final Investment Judgment & Implications

推奨アクション

Recommended Actions

[レビューを踏まえた具体的アクション]
[Specific actions based on review]

リスク要因

Risk Factors

[主要リスクの列挙]
[List of key risks]

モニタリングポイント

Monitoring Points

[フォローすべき指標・イベント]

生成: scenario-analyzer skill エージェント: scenario-analyst, strategy-reviewer
undefined
[Indicators & events to follow]

Generated by: scenario-analyzer skill Agents: scenario-analyst, strategy-reviewer
undefined

Step 3.3: レポート保存

Step 3.3: Save Report

  1. reports/
    ディレクトリが存在しない場合は作成
  2. scenario_analysis_<topic>_YYYYMMDD.md
    として保存(例:
    scenario_analysis_venezuela_20260104.md
  3. 保存完了をユーザーに通知
  4. プロジェクトルートに直接保存しないこと

  1. Create the
    reports/
    directory if it does not exist
  2. Save as
    scenario_analysis_<topic>_YYYYMMDD.md
    (e.g.,
    scenario_analysis_venezuela_20260104.md
    )
  3. Notify the user upon successful saving
  4. Do not save directly to the project root

Resources

Resources

References

References

  • references/headline_event_patterns.md
    - イベントパターンと市場反応
  • references/sector_sensitivity_matrix.md
    - セクター感応度マトリクス
  • references/scenario_playbooks.md
    - シナリオ構築テンプレート
  • references/headline_event_patterns.md
    - Event patterns and market reactions
  • references/sector_sensitivity_matrix.md
    - Sector sensitivity matrix
  • references/scenario_playbooks.md
    - Scenario building templates

Agents

Agents

  • scenario-analyst
    - メインシナリオ分析
  • strategy-reviewer
    - セカンドオピニオン・レビュー

  • scenario-analyst
    - Main scenario analysis
  • strategy-reviewer
    - Second opinion & review

Important Notes

Important Notes

言語

Language

  • 全ての分析・出力は日本語で行う
  • 銘柄ティッカーは英語表記を維持
  • All analysis and output are conducted in Japanese
  • Maintain English notation for stock tickers

対象市場

Target Market

  • 銘柄選定は米国市場上場銘柄のみ
  • ADR含む
  • Stock selection is limited to US-listed stocks only
  • Includes ADRs

時間軸

Timeline

  • シナリオは18ヶ月を対象
  • 0-6ヶ月/6-12ヶ月/12-18ヶ月の3フェーズで記述
  • Scenarios cover a period of 18 months
  • Describe in 3 phases: 0-6 months / 6-12 months / 12-18 months

確率配分

Probability Allocation

  • Base + Bull + Bear = 100%
  • 各シナリオの確率は根拠とともに記述
  • Base + Bull + Bear = 100%
  • Describe the probability of each scenario along with its rationale

セカンドオピニオン

Second Opinion

  • 必須で実行(strategy-reviewerを常に呼び出す)
  • レビュー結果は最終判断に反映
  • Mandatory execution (always call strategy-reviewer)
  • Reflect review results in the final judgment

出力先(重要)

Output Path (Important)

  • 必ず
    reports/
    ディレクトリ配下に保存すること
  • パス:
    reports/scenario_analysis_<topic>_YYYYMMDD.md
  • 例:
    reports/scenario_analysis_fed_rate_hike_20260104.md
  • reports/
    ディレクトリが存在しない場合は作成すること
  • プロジェクトルートに直接保存してはならない

  • Always save under the
    reports/
    directory
  • Path:
    reports/scenario_analysis_<topic>_YYYYMMDD.md
  • Example:
    reports/scenario_analysis_fed_rate_hike_20260104.md
  • Create the
    reports/
    directory if it does not exist
  • Do not save directly to the project root

Quality Checklist

Quality Checklist

レポート完成前に以下を確認:
  • ヘッドラインが正しく解析されているか
  • イベントタイプの分類が適切か
  • 3シナリオの確率合計が100%か
  • 1次/2次/3次影響の論理的繋がりがあるか
  • 銘柄選定に具体的な根拠があるか
  • strategy-reviewerのレビューが含まれているか
  • レビューを踏まえた最終判断が記載されているか
  • レポートが正しいパスに保存されたか
Check the following before completing the report:
  • Is the headline correctly analyzed?
  • Is the event type classification appropriate?
  • Does the total probability of the 3 scenarios equal 100%?
  • Is there a logical connection between primary/secondary/tertiary impacts?
  • Is there a specific rationale for stock selection?
  • Does it include the review from strategy-reviewer?
  • Is the final judgment based on the review included?
  • Is the report saved to the correct path?