Agent skill

market-environment-analysis

Comprehensive market environment analysis and reporting tool. Analyzes global markets including US, European, Asian markets, forex, commodities, and economic indicators. Provides risk-on/risk-off assessment, sector analysis, and technical indicator interpretation. Triggers on keywords like market analysis, market environment, global markets, trading environment, market conditions, investment climate, market sentiment, forex analysis, stock market analysis, 相場環境, 市場分析, マーケット状況, 投資環境.

Stars 149
Forks 27

Install this agent skill to your Project

npx add-skill https://github.com/nicepkg/ai-workflow/tree/main/workflows/stock-trader-workflow/.claude/skills/market-environment-analysis

SKILL.md

Market Environment Analysis

Comprehensive analysis tool for understanding market conditions and creating professional market reports anytime.

Core Workflow

1. Initial Data Collection

Collect latest market data using web_search tool:

  1. Major stock indices (S&P 500, NASDAQ, Dow, Nikkei 225, Shanghai Composite, Hang Seng)
  2. Forex rates (USD/JPY, EUR/USD, major currency pairs)
  3. Commodity prices (WTI crude, Gold, Silver)
  4. US Treasury yields (2-year, 10-year, 30-year)
  5. VIX index (Fear gauge)
  6. Market trading status (open/close/current values)

2. Market Environment Assessment

Evaluate the following from collected data:

  • Trend Direction: Uptrend/Downtrend/Range-bound
  • Risk Sentiment: Risk-on/Risk-off
  • Volatility Status: Market anxiety level from VIX
  • Sector Rotation: Where capital is flowing

3. Report Structure

Standard Report Format:

1. Executive Summary (3-5 key points)
2. Global Market Overview
   - US Markets
   - Asian Markets
   - European Markets
3. Forex & Commodities Trends
4. Key Events & Economic Indicators
5. Risk Factor Analysis
6. Investment Strategy Implications

Script Usage

market_utils.py

Provides common functions for report creation:

bash
# Generate report header
python scripts/market_utils.py

# Available functions:
- format_market_report_header(): Create header
- get_market_session_times(): Check trading hours
- categorize_volatility(vix): Interpret VIX levels
- format_percentage_change(value): Format price changes

Reference Documentation

Key Indicators Interpretation (references/indicators.md)

Reference when you need:

  • Important levels for each index
  • Technical analysis key points
  • Sector-specific focus areas

Analysis Patterns (references/analysis_patterns.md)

Reference when analyzing:

  • Risk-on/Risk-off criteria
  • Economic indicator interpretation
  • Inter-market correlations
  • Seasonality and market anomalies

Output Examples

Quick Summary Version

📊 Market Summary [2025/01/15 14:00]
━━━━━━━━━━━━━━━━━━━━━
【US】S&P 500: 5,123.45 (+0.45%)
【JP】Nikkei 225: 38,456.78 (-0.23%)
【FX】USD/JPY: 149.85 (↑0.15)
【VIX】16.2 (Normal range)

⚡ Key Events
- Japan GDP Flash
- US Employment Report

📈 Environment: Risk-On Continues

Detailed Analysis Version

Start with executive summary, then analyze each section in detail. Key clarifications:

  1. Current market phase (Bullish/Bearish/Neutral)
  2. Short-term direction (1-5 days outlook)
  3. Risk events to monitor
  4. Recommended position adjustments

Important Considerations

Timezone Awareness

  • Consider all major market timezones
  • US markets: Evening to early morning (Asian time)
  • European markets: Afternoon to evening (Asian time)
  • Asian markets: Morning to afternoon (Local time)

Economic Calendar Priority

Categorize by importance:

  • ⭐⭐⭐ Critical (FOMC, NFP, CPI, etc.)
  • ⭐⭐ Important (GDP, Retail Sales, etc.)
  • ⭐ Reference level

Data Source Priority

  1. Official releases (Central banks, Government statistics)
  2. Major financial media (Bloomberg, Reuters)
  3. Broker reports
  4. Analyst consensus estimates

Troubleshooting

Data Collection Notes

  • Check market holidays (holiday calendars)
  • Be aware of daylight saving time changes
  • Distinguish between flash and final data

Market Volatility Response

  1. First organize the facts
  2. Reference historical similar events
  3. Verify with multiple sources
  4. Maintain objective analysis

Customization Options

Adjust based on user's investment style:

  • Day Traders: Intraday charts, order flow focus
  • Swing Traders: Daily/weekly technicals emphasis
  • Long-term Investors: Fundamentals, macro economics focus
  • Forex Traders: Currency correlations, interest rate differentials
  • Options Traders: Volatility analysis, Greeks monitoring

Expand your agent's capabilities with these related and highly-rated skills.

nicepkg/ai-workflow

workflow-creator

Create complete Claude Code workflow directories with curated skills. Use when user wants to (1) create a new workflow for specific use case (media creator, developer, marketer, etc.), (2) set up a Claude Code project with pre-configured skills, (3) download and organize skills from GitHub repositories, or (4) generate README.md and AGENTS.md documentation for workflows. Triggers on phrases like "create workflow", "new workflow", "set up workflow", "build a xxx-workflow".

149 27
Explore
nicepkg/ai-workflow

add-new-skills-to-workflow

Add new skills to an existing workflow and update all related documentation. Use when user wants to add skills from GitHub URLs to a workflow (e.g., "add this skill to the workflow", "为工作流添加技能"). Triggers on adding skills to workflows, updating workflow documentation after skill additions.

149 27
Explore
nicepkg/ai-workflow

remove-old-skills-from-workflow

Guide for removing skills from an existing workflow and updating all related documentation. Use when user wants to remove skills from a workflow (e.g., "remove skill", "delete skill", "移除技能", "删除技能").

149 27
Explore
nicepkg/ai-workflow

legacy-to-ai-ready

Transform legacy codebases into AI-ready projects with Claude Code configurations. Use when (1) analyzing old projects to generate AI coding configurations, (2) creating CLAUDE.md, skills, subagents, slash commands, hooks, or rules for existing projects, (3) user wants to enable vibe coding for a codebase, (4) onboarding new team members with AI-assisted development, (5) user mentions "make project AI-ready", "generate Claude config", or "create coding standards for AI".

149 27
Explore
nicepkg/ai-workflow

skill-downloader

Download and install Claude Code skills from various sources. Supports GitHub repositories, compressed archives (.zip, .tar.gz, .skill), and direct URLs. Use when user wants to download, install, or add a skill from GitHub, URL, or archive file. Triggers on "download skill", "install skill", "add skill from", "get skill".

149 27
Explore
nicepkg/ai-workflow

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

149 27
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results