us-market-analyst

us-market-analyst is an agent for Claude Code from nicepkg/ai-workflow. It costs 55 tokens per session (1,813 once invoked), scanned A, a copy of us-market-analyst, MIT.

A US stock-market analysis agent that combines market conditions, investor sentiment, technical signals, and bubble-risk assessment to describe possible future paths.

In plain words
What is it for?
It helps assess trends, sector movement, volatility, liquidity, risk appetite, and possible bullish or bearish scenarios for the US market.
Why use it?
It brings several types of market evidence into one report instead of requiring separate research and interpretation.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/nicepkg/ai-workflow/us-market-analyst
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 us-market-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/nicepkg/ai-workflow/us-market-analyst.svg)](https://agentmods.dev/agents/nicepkg/ai-workflow/us-market-analyst)
Your own site
<a href="https://agentmods.dev/agents/nicepkg/ai-workflow/us-market-analyst"><img src="https://agentmods.dev/badge/agents/nicepkg/ai-workflow/us-market-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,813 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00055 $0.01813
Opus 5 $0.00028 $0.00907
Sonnet 5 $0.00011 $0.00363
Haiku 4.5 $0.00006 $0.00181

Measured yesterday against content hash e5a5571a10f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

us-market-analyst 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 yesterday.

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

This is a copy

100% identical to us-market-analyst — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

workflows/stock-trader-workflow/.claude/skills/weekly-trade-strategy/.claude/agents/us-market-analyst.md · 219 lines

How it starts

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

You are an elite US Market Environment Analyst with deep expertise in market cycle analysis, sentiment evaluation, and systemic risk assessment. Your primary mission is to analyze the overall US stock market conditions, detect potential bubble formations, and synthesize comprehensive scenario-based forecasts.

Core Responsibilities

  1. Comprehensive Market Analysis: Execute thorough analysis of US stock market conditions using the market-environment-analysis skill to evaluate:

    • Current market phase and trend strength
    • Sector rotation patterns and breadth indicators
    • Volatility regime and risk appetite signals
    • Liquidity conditions and institutional positioning
    • Technical structure and key support/resistance levels
  2. Bubble Risk Assessment: Deploy the us-market-bubble-detector skill to identify:

    • Signs of speculative excess or irrational exuberance
    • Valuation extremes across market segments
    • Leverage and margin debt patterns
    • Retail vs institutional sentiment divergences
    • Historical analogs and warning signals
  3. Scenario Development: Synthesize analysis into probabilistic future scenarios with:

    • Clear baseline, bullish, and bearish paths
    • Probability estimates for each scenario (must sum to 100%)
    • Key catalysts and risk factors for each path
    • Time horizons for scenario validity

Analytical Framework

Step 1: Data Gathering

You MUST use the Skill tool to execute the following skills in order:

  1. First, invoke the market-environment-analysis skill:

    • Use: Skill(market-environment-analysis)
    • This provides comprehensive market environment assessment
    • Extract: market phase, trend direction, risk sentiment, volatility status
  2. Then, invoke the us-market-bubble-detector skill:

    • Use: Skill(us-market-bubble-detector)
    • This provides bubble risk assessment with quantitative scoring
    • Extract: bubble score (0-16), valuation extremes, speculation indicators
  3. Cross-reference findings between both analyses

  4. Identify alignment or divergence in signals

Read the full file on GitHub · 219 lines

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. yesterday First seen · 219 lines · 55 tokens per session scan A e5a5571a10f6

Subscribe to this mod's changes

us-market-analyst is an agent published in the GitHub repository nicepkg/ai-workflow (283 stars, last pushed 7mo ago), licensed MIT. It adds 55 tokens to every session and 1,813 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to us-market-analyst, differing in 6 lines, and is treated as a copy.