Agent skill

Market Environment Analysis

by tradermonty in tradermonty/claude-trading-skills

Comprehensive market environment analysis and reporting tool.

MITAuto-check passedBusiness, Finance & HR

Install Market Environment Analysis

skills CLI
$ npx skills add tradermonty/claude-trading-skills --skill market-environment-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tradermonty/claude-trading-skills market-environment-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tradermonty/claude-trading-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/market-environment-analysis .claude/skills/market-environment-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
market-environment-analysis
GitHub stars
3k
Used in
3 other repos
Token cost
~1.4k tokens
SKILL.md length
492 words
Files
9 (incl. scripts, references)
Skills in repo
74
Repo updated
First seen
Licence
MIT

At a glance

Comprehensive market environment analysis and reporting tool.

  • Works in 3 steps: Initial Data Collection → Market Environment Assessment → Report Structure
  • Keywords like market analysis
  • SKILL.md covers When to Use, Prerequisites, Core Workflow and Script Usage, plus 7 more sections
  • Runs Python scripts from its folder; calls python

What it does

Market Environment Analysis is an agent skill from tradermonty/claude-trading-skills. 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, 相場環境, 市場分析, マーケット状況, 投資環境.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts and reference files (for example `references/analysis_patterns.md`, `references/indicators.md` and `scripts/_market_calendar.py`).

It sits in Business, Finance & HR, covering Stock and market analysis, Trading and backtesting and Market research. The repository describes itself as: Claude Code skills for equity investors and traders — market analysis, technical charting, economic calendars, screeners, and trading strategy development. The licence is MIT.

When your agent uses it

  • Keywords like market analysis
  • Market environment
  • Trading environment
  • Market conditions

Example prompts

  • “/market-environment-analysis”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Initial Data Collection
  2. Market Environment Assessment
  3. Report Structure

What it can do on your machine

Read from SKILL.md and the folder at commit c8d58f0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Market Environment Analysis loads about 1.4k tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 129 tokens; SKILL.md has 492 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~129
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from tradermonty/claude-trading-skills at commit c8d58f0, republished under its MIT licence (© tradermonty). 492 words, ~1,395 tokens.

Download SKILL.mdSave it as .claude/skills/market-environment-analysis/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
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
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

Exchange Calendar and Replay

Install requirements.txt before using scripts/market_utils.py. Its --as-of flag requires an offset-bearing ISO-8601 timestamp (or Z); a bare date is rejected because Tokyo, London, and New York status must share one unambiguous instant. Session status is holiday-, lunch-break-, DST-, and early-close-aware.

Reference Documentation

Key Indicators Interpretation

Load references/indicators.md when you need:

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

Load references/analysis_patterns.md 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
Show full SKILL.md (213 more words)Show less
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

Resources

  • references/indicators.md - Key market indicators and interpretation guides
  • references/analysis_patterns.md - Risk-on/risk-off criteria and inter-market correlations
  • scripts/market_utils.py - Utility functions for report formatting and market status

© tradermonty, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (scripts, references) in skills/market-environment-analysis of tradermonty/claude-trading-skills.

  • SKILL.md
  • references/analysis_patterns.md
  • references/indicators.md
  • requirements.txt
  • scripts/_market_calendar.py
  • scripts/market_utils.py
  • scripts/tests/__init__.py
  • scripts/tests/test_market_calendar_contract.py
  • scripts/tests/test_market_utils.py

Open the folder on GitHubat commit c8d58f0

Used in 3 other repositories

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in tradermonty/claude-trading-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Market Environment Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Market Environment Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Market Environment Analysis this skilltradermonty/claude-trading-skills3k3 repos~1.4kAutomated safety check: PassMIT
Mx Finance Datahiboys/ExploreFinance365—~518Automated safety check: PassNone
Tushare Datazillionare/zillionare3222 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle878—~5.9kAutomated safety check: PassMIT
Openmobius SkillMobiusQuant/OpenMobius-skill697—~7.2kAutomated safety check: PassApache-2.0

Similar skills

  • Mx Finance Data

    hiboys/ExploreFinance

    基于东方财富数据库,支持自然语言查询金融数据,覆盖A港美、基金、债券等多种资产,含实时行情、公司信息、估值、财务报表等,可用于投资研究、交易复盘、市场监控、行业分析、信用研究、财报审计、资产配置等场景,适配机构与个人多元需求。返回结果包含数据说明及 xlsx 文件。Natural language query for financial data across all markets…

    365 GitHub stars~518 tokensUpdated 3 mo ago
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    322 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    5k GitHub stars~1.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    878 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Openmobius Skill

    MobiusQuant/OpenMobius-skill

    Provides multi-school trading Q&A, chart/OHLCV analysis, annotation, and fresh-market workflows covering ICT/SMC, ChanLun, Wyckoff, Price Action, Order Flow, VSA, and Elliott Wave.

    697 GitHub stars~7.2k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Worth Buy Stocks

    starriv/worth-buy-stocks

    Evaluate US stocks under an Alpaca trend and relative-strength framework, and prioritize defined-risk net-credit income spreads: Bull Put/Bear Call first, Iron Condor second.

    175 GitHub stars~4.5k tokensUpdated 8 days ago
    Business, Finance & HRAuto-check: notes

More from tradermonty/claude-trading-skills

All 74 skills in this repo
  • Technical Analyst

    tradermonty/claude-trading-skills

    This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.

    3k GitHub starsUsed in 4 repos~4.6k tokens
    Auto-check passed
  • Theme Detector

    tradermonty/claude-trading-skills

    Detect and analyze trending market themes across sectors. An agent skill from tradermonty/claude-trading-skills.

    3k GitHub starsUsed in 2 repos~4.9k tokens
    Auto-check passed
  • Trader Memory Core

    tradermonty/claude-trading-skills

    Track investment theses across their lifecycle — from screening idea to closed position with postmortem.

    3k GitHub starsUsed in 2 repos~4.3k tokens
    Auto-check passed
  • Edge Strategy Reviewer

    tradermonty/claude-trading-skills

    Critically review strategy drafts from edge-strategy-designer for edge plausibility, overfitting risk, sample size adequacy, and execution realism.

    3k GitHub starsUsed in 1 repo~988 tokens
    Auto-check passed
  • Sector Analyst

    tradermonty/claude-trading-skills

    This skill should be used when analyzing sector rotation patterns and market cycle positioning.

    3k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Stanley Druckenmiller Investment

    tradermonty/claude-trading-skills

    Druckenmiller Strategy Synthesizer - Integrates 8 upstream skill outputs (Market Breadth, Uptrend Analysis, Market Top, Macro Regime, FTD Detector, VCP Screener, Theme Detector, CANSLIM Screener)…

    3k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed

Questions about Market Environment Analysis

What does Market Environment Analysis do?

Comprehensive market environment analysis and reporting tool. Market Environment Analysis is an agent skill from tradermonty/claude-trading-skills. Comprehensive market environment analysis and reporting tool.

When should I use Market Environment Analysis?

Market Environment Analysis fits situations like: keywords like market analysis; market environment; trading environment; market conditions.

How do I install Market Environment Analysis in Claude Code?

Run `npx skills add tradermonty/claude-trading-skills --skill market-environment-analysis -a claude-code`. Or copy the skill folder (skills/market-environment-analysis in tradermonty/claude-trading-skills) into .claude/skills/market-environment-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Market Environment Analysis in Codex?

Run `npx skills add tradermonty/claude-trading-skills --skill market-environment-analysis -a codex`. Or copy the skill folder (skills/market-environment-analysis in tradermonty/claude-trading-skills) into .agents/skills/market-environment-analysis in your project. Codex loads it when a task matches its description.

Can I use Market Environment Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tradermonty/claude-trading-skills --skill market-environment-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/market-environment-analysis, .gemini/skills/market-environment-analysis, .github/skills/market-environment-analysis and .opencode/skills/market-environment-analysis in your project.

What does Market Environment Analysis need to run?

Going by SKILL.md and its folder, Market Environment Analysis needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Market Environment Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Market Environment Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Market Environment Analysis use?

Market Environment Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Market Environment Analysis use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.5k tokens, read only when the agent opens those files.

What are the alternatives to Market Environment Analysis?

Skills that share tags, products or a category with Market Environment Analysis: Mx Finance Data (hiboys/ExploreFinance, 365 stars), Tushare Data (zillionare/zillionare, 322 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars) and Digital Oracle (komako-workshop/digital-oracle, 878 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Market Environment Analysis?

tradermonty (a GitHub user) maintains it in tradermonty/claude-trading-skills, which has 2,982 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on October 11, 2026.

Source: tradermonty/claude-trading-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.