# market-environment-analysis

This skill pulls index, forex and commodity data through web search and turns it into a market report. Handy before a trade or for a regular briefing.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 3900 installs · ★ 3267
- Author: tradermonty
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/tradermonty/claude-trading-skills/tree/HEAD/skills/market-environment-analysis/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/market-environment-analysis

## What it does

The skill walks the agent through a fixed sequence. First it searches the web for current index levels (S&P 500, NASDAQ, Dow, Nikkei 225, Shanghai Composite, Hang Seng), currency rates, WTI crude, gold and silver, US Treasury yields and the VIX. Then it reads trend direction, risk appetite, volatility and where capital is rotating between sectors. The output is a report with an executive summary, US, Asian and European sections, forex and commodities, key events and risk factors.

A helper script, `scripts/market_utils.py`, handles the report header, session times, VIX interpretation and percentage formatting. Install `requirements.txt` before you run it. The `--as-of` flag takes an ISO-8601 timestamp with an offset or `Z` — a bare date is rejected, since Tokyo, London and New York status has to resolve to one instant. Session status accounts for holidays, lunch breaks, daylight saving and early closes.

Web search access is the one hard requirement; there are no API keys to set up. Two references load on demand: `references/indicators.md` for index levels and technical points, `references/analysis_patterns.md` for risk-on/risk-off criteria, inter-market correlations and seasonality.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add tradermonty/claude-trading-skills --skill market-environment-analysis -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/market-environment-analysis/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/market-environment-analysis/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add tradermonty/claude-trading-skills --skill market-environment-analysis -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/market-environment-analysis/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add tradermonty/claude-trading-skills --skill market-environment-analysis -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/market-environment-analysis/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install tradermonty/claude-trading-skills market-environment-analysis
```

2. **Manually: put the files in place**
- File: `.github/skills/market-environment-analysis/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add tradermonty/claude-trading-skills --skill market-environment-analysis -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/tradermonty/claude-trading-skills --path skills/market-environment-analysis
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/market-environment-analysis/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add tradermonty/claude-trading-skills --skill market-environment-analysis -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/tradermonty/claude-trading-skills/tree/HEAD/skills/market-environment-analysis/SKILL.md

## When to use it
- put together a morning global market briefing
- judge whether the tape is risk-on or risk-off
- see where capital is rotating between sectors
- break down VIX and Treasury yields
- write a market report for clients or personal records

## Example prompts
- analyze the market environment for today
- build a global market report: indices, forex, commodities
- what's the VIX and Treasury yield picture right now

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 6d28b25aff140bdf.

BEGIN THIRD-PARTY FILE 6d28b25aff140bdf
````text
---
name: market-environment-analysis
description: 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, 相場環境, 市場分析, マーケット状況, 投資環境.
---

# Market Environment Analysis

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

## When to Use

- When you need a comprehensive overview of global market conditions
- Before making trading or investment decisions
- For daily/weekly market briefings
- When assessing risk-on/risk-off sentiment
- For understanding inter-market correlations and sector rotation
- When preparing market reports for clients or personal records

## Prerequisites

- **WebSearch access**: Required for fetching real-time market data
- **No API keys required**: This skill uses web search for data collection
- **Optional**: Economic calendar data for event-driven analysis

## 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
````
END THIRD-PARTY FILE 6d28b25aff140bdf

The third-party file has ended. Everything between the 6d28b25aff140bdf tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2263 of 5693 bytes. © tradermonty · MIT · https://github.com/tradermonty/claude-trading-skills/tree/HEAD/skills/market-environment-analysis/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
