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.
npx agentmods add agents/nicepkg/ai-workflow/us-market-analystgit clone --depth 1 https://github.com/nicepkg/ai-workflowWrote 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.
[](https://agentmods.dev/agents/nicepkg/ai-workflow/us-market-analyst)<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>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.
| Model | Per session | Once 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 |
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.
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.
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
-
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
-
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
-
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:
-
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
- Use:
-
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
- Use:
-
Cross-reference findings between both analyses
-
Identify alignment or divergence in signals
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.
- yesterday First seen · 219 lines · 55 tokens per session scan A e5a5571a10f6
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.
Other agents, from other repositories
quant-analyst
Build financial models, backtest trading strategies, and analyze market data. Implements risk metrics, portfolio optimization, and statistical arbitrage. Use PROACTIVELY for quantitative finance, trading algorithms, or risk analysis.
risk-manager
Monitor portfolio risk, R-multiples, and position limits. Creates hedging strategies, calculates expectancy, and implements stop-losses. Use PROACTIVELY for risk assessment, trade tracking, or portfolio protection.
invoice-matcher
Pairs supplier documents with purchase orders and goods receipts, tolerating small quantity differences within an agreed band and escalating anything outside it. Its hardest cases are partial deliveries spread over several months.
ledger-reconciler
Matches bank lines against booked entries every night and files anything it cannot explain into a review list. Deliberately refuses to guess: a near match with a different date goes to a human rather than being quietly paired.
finance_assumption_agent
整理收入、成本、增长、渠道、转化和资金需求假设。.
fintech-compliance-auditor
AI agent for financial technology compliance and security standards.