scenario-analyzer

scenario-analyzer is a skill for Claude Code from nicepkg/ai-workflow. It costs 135 tokens per session (2,923 once invoked), scanned A, original, MIT.

A financial scenario analysis tool that starts with a news headline and examines possible investment effects over the next 18 months.

In plain words
What is it for?
Use it to explore how interest-rate decisions, tariffs, oil-production changes, and other events could affect sectors and individual stocks.
Why use it?
It helps turn a single event into a structured view of direct, secondary, and wider market consequences, with an additional review of the analysis.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to explore how interest-rate decisions, tariffs, oil-production changes, and other events could affect sectors and individual stocks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nicepkg/ai-workflow/scenario-analyzer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nicepkg/ai-workflow --skill scenario-analyzer
Clone the repo
git clone --depth 1 https://github.com/nicepkg/ai-workflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scenario-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicepkg/ai-workflow/scenario-analyzer/github.svg)](https://agentmods.dev/skills/nicepkg/ai-workflow/scenario-analyzer)
Your own site
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/scenario-analyzer"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/scenario-analyzer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scenario-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/scenario-analyzer"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/scenario-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,923 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00135 $0.02923
Opus 5.5 $0.00054 $0.01169
Sonnet 5.5 $0.00027 $0.00585
Haiku 4.5 $0.00014 $0.00292

Measured 3mo ago against content hash 1477e6597eef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scenario-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

workflows/stock-trader-workflow/.claude/skills/scenario-analyzer/SKILL.md · 318 lines

How it starts

The opening of the file, as written. The whole thing — 318 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Headline Scenario Analyzer

Overview

このスキルは、ニュースヘッドラインを起点として中長期(18ヶ月)の投資シナリオを分析します。 2つの専門エージェント(scenario-analystとstrategy-reviewer)を順次呼び出し、 多角的な分析と批判的レビューを統合した包括的なレポートを生成します。

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"

Architecture

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

Workflow

Phase 1: 準備

Step 1.1: ヘッドライン解析

ユーザーから入力されたヘッドラインを解析します。

  1. ヘッドライン確認

    • 引数としてヘッドラインが渡されているか確認
    • 渡されていない場合はユーザーに入力を求める
  2. キーワード抽出

    • 主要なエンティティ(企業名、国名、機関名)
    • 数値データ(金利、価格、数量)
    • アクション(引き上げ、引き下げ、発表、合意等)
Step 1.2: イベントタイプ分類

ヘッドラインを以下のカテゴリに分類:

カテゴリ 例
金融政策 FOMC、ECB、日銀、利上げ、利下げ、QE/QT
地政学 戦争、制裁、関税、貿易摩擦
規制・政策 環境規制、金融規制、独禁法
テクノロジー AI、EV、再エネ、半導体
コモディティ 原油、金、銅、農産物
企業・M&A 買収、破綻、決算、業界再編

Read the full file on GitHub · 318 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 318 lines · 135 tokens per session scan A 1477e6597eef

Subscribe to this mod's changes

scenario-analyzer is a skill published in the GitHub repository nicepkg/ai-workflow (298 stars, last pushed 10mo ago), licensed MIT. It adds 135 tokens to every session and 2,923 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

scenario-analyzer compared with skills from other repositories

scenario-analyzer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scenario-analyzernicepkg/ai-workflowSkill29810mo agoMITA135Claude Code
budget-allocationopen-octo/octo-agentSkill163todayMITA104Claude Code, Codex
invinoveritasbabyblueviper1/invinoveritasSkill92d agoApache-2.0A175Claude Code, Codex
financial-analysisspytensor/openmoziSkill4403mo agoMITA47Claude Code
polymarketgraniet/kheishSkill20927d agoApache-2.0A33Claude Code, Codex
qcc-risk-screenzhanglunet/qccSkill25mo agoApache-2.0A279Claude Code, Codex
qcc-ownership-tracezhanglunet/qccSkill25mo agoApache-2.0A231Claude Code, Codex