Agent Code Analyzer
ruvnet/ruflo
Agent skill for code-analyzer - invoke with $agent-code-analyzer
Skill that analyzes 18-month scenarios from a news headline.
$ npx skills add tradermonty/claude-trading-skills --skill scenario-analyzer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install tradermonty/claude-trading-skills scenario-analyzer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/tradermonty/claude-trading-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/scenario-analyzer .claude/skills/scenario-analyzer && rm -rf skills-srcUse ~/.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/
Install the "scenario-analyzer" agent skill from https://github.com/tradermonty/claude-trading-skills/tree/main/skills/scenario-analyzer into .claude/skills/scenario-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scenario-analyzer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/tradermonty/claude-trading-skills/tree/main/skills/scenario-analyzerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add tradermonty/claude-trading-skills --skill scenario-analyzer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install tradermonty/claude-trading-skills scenario-analyzer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tradermonty/claude-trading-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/scenario-analyzer .agents/skills/scenario-analyzer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "scenario-analyzer" agent skill from https://github.com/tradermonty/claude-trading-skills/tree/main/skills/scenario-analyzer into .agents/skills/scenario-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scenario-analyzer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tradermonty/claude-trading-skills --skill scenario-analyzer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install tradermonty/claude-trading-skills scenario-analyzer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tradermonty/claude-trading-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/scenario-analyzer .cursor/skills/scenario-analyzer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "scenario-analyzer" agent skill from https://github.com/tradermonty/claude-trading-skills/tree/main/skills/scenario-analyzer into .cursor/skills/scenario-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scenario-analyzer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/tradermonty/claude-trading-skills.git --path skills/scenario-analyzer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add tradermonty/claude-trading-skills --skill scenario-analyzer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install tradermonty/claude-trading-skills scenario-analyzer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tradermonty/claude-trading-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/scenario-analyzer .gemini/skills/scenario-analyzer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "scenario-analyzer" agent skill from https://github.com/tradermonty/claude-trading-skills/tree/main/skills/scenario-analyzer into .gemini/skills/scenario-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scenario-analyzer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install tradermonty/claude-trading-skills scenario-analyzerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add tradermonty/claude-trading-skills --skill scenario-analyzer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/tradermonty/claude-trading-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/scenario-analyzer .github/skills/scenario-analyzer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "scenario-analyzer" agent skill from https://github.com/tradermonty/claude-trading-skills/tree/main/skills/scenario-analyzer into .github/skills/scenario-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scenario-analyzer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tradermonty/claude-trading-skills --skill scenario-analyzer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install tradermonty/claude-trading-skills scenario-analyzer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tradermonty/claude-trading-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/scenario-analyzer .opencode/skills/scenario-analyzer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "scenario-analyzer" agent skill from https://github.com/tradermonty/claude-trading-skills/tree/main/skills/scenario-analyzer into .opencode/skills/scenario-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scenario-analyzer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
scenario-analyzerSkill that analyzes 18-month scenarios from a news headline.
Scenario Analyzer is an agent skill from tradermonty/claude-trading-skills. Skill that analyzes 18-month scenarios from a news headline. Runs the primary analysis with the scenario-analyst agent and obtains a second opinion with the strategy-reviewer agent. Generates a comprehensive English report covering 1st/2nd/3rd-order impacts, recommended stocks, and a critical review. Example: /scenario-analyzer "Fed raises rates by 50bp" Triggers: news analysis, scenario analysis, 18-month outlook, medium-to-long-term investment strategy
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `references/headline_event_patterns.md`, `references/scenario_playbooks.md` and `references/sector_sensitivity_matrix.md`).
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.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit eab8d5c. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Scenario Analyzer loads about 2.6k tokens when it runs, and up to ~9.2k if it reads all its reference files. Until then it costs about 119 tokens; SKILL.md has 670 words of instructions outside code blocks.
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.
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.
The full file from tradermonty/claude-trading-skills at commit eab8d5c, republished under its MIT licence (© tradermonty). 670 words, ~2,567 tokens.
.claude/skills/scenario-analyzer/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.This skill analyzes medium-to-long-term (18-month) investment scenarios
starting from a news headline. It invokes two specialized agents in sequence
(scenario-analyst and strategy-reviewer) and integrates multi-angle
analysis with a critical review into a comprehensive report.
Use this skill when:
Examples:
/scenario-analyzer "Fed raises interest rates by 50bp, signals more hikes ahead"
/scenario-analyzer "China announces new tariffs on US semiconductors"
/scenario-analyzer "OPEC+ agrees to cut oil production by 2 million barrels per day"┌─────────────────────────────────────────────────────────────────────┐
│ Skill (orchestrator) │
│ │
│ Phase 1: Preparation │
│ ├─ Headline parsing │
│ ├─ Event type classification │
│ └─ Reference loading │
│ │
│ Phase 2: Agent invocation │
│ ├─ scenario-analyst (primary analysis) │
│ └─ strategy-reviewer (second opinion) │
│ │
│ Phase 3: Integration & report generation │
│ └─ reports/scenario_analysis_<topic>_YYYYMMDD.md │
└─────────────────────────────────────────────────────────────────────┘Parse the headline provided by the user.
Headline check
Keyword extraction
Classify the headline into one of the following categories:
| Category | Examples |
|---|---|
| Monetary Policy | FOMC, ECB, BOJ, rate hike, rate cut, QE/QT |
| Geopolitics | War, sanctions, tariffs, trade friction |
| Regulation & Policy | Environmental regulation, financial regulation, antitrust |
| Technology | AI, EV, renewables, semiconductors |
| Commodities | Crude oil, gold, copper, agricultural products |
| Corporate & M&A | Acquisitions, bankruptcies, earnings, industry restructuring |
Based on the event type, load the relevant references:
Read references/headline_event_patterns.md
Read references/sector_sensitivity_matrix.md
Read references/scenario_playbooks.mdReference contents:
headline_event_patterns.md: Historical event patterns and market reactionssector_sensitivity_matrix.md: Event × sector impact-magnitude matrixscenario_playbooks.md: Scenario-construction templates and best practicesUse the Agent tool to invoke the primary analysis agent.
Agent tool:
- subagent_type: "scenario-analyst"
- prompt: |
Perform an 18-month scenario analysis for the following headline.
## Target Headline
[the input headline]
## Event Type
[classification result]
## Reference Information
[summary of the loaded references]
## Analysis Requirements
1. Use WebSearch to collect related news from the past 2 weeks
2. Construct 3 scenarios — Base/Bull/Bear (probabilities sum to 100%)
3. Analyze 1st/2nd/3rd-order impacts by sector
4. Select 3-5 positive- and 3-5 negative-impact stocks (US market only)
5. Output everything in EnglishExpected output:
Using the scenario-analyst's results, invoke the review agent.
Agent tool:
- subagent_type: "strategy-reviewer"
- prompt: |
Review the following scenario analysis.
## Target Headline
[the input headline]
## Analysis Result
[the full scenario-analyst output]
## Review Requirements
Review from the following angles:
1. Overlooked sectors/stocks
2. Validity of the scenario probability allocation
3. Logical consistency of the impact analysis
4. Detection of optimism/pessimism bias
5. Proposal of alternative scenarios
6. Realism of the timeline
Output constructive and specific feedback in English.Expected output:
Integrate the output of both agents to produce the final investment judgment.
Integration points:
Generate the final report in the following format and save it to a file.
Save location: reports/scenario_analysis_<topic>_YYYYMMDD.md
# Headline Scenario Analysis Report
**Analyzed at**: YYYY-MM-DD HH:MM
**Target headline**: [the input headline]
**Event type**: [classification category]
---
## 1. Related News Articles
[news list collected by scenario-analyst]
## 2. Scenario Overview (through 18 months out)
### Base Case (XX% probability)
[scenario details]
### Bull Case (XX% probability)
[scenario details]
### Bear Case (XX% probability)
[scenario details]
## 3. Sector / Industry Impact
### 1st-Order Impact (direct)
[impact table]
### 2nd-Order Impact (value chain / related industries)
[impact table]
### 3rd-Order Impact (macro / regulation / technology)
[impact table]
## 4. Stocks Expected to Benefit (3-5 tickers)
[stock table]
## 5. Stocks Expected to Be Hurt (3-5 tickers)
[stock table]
## 6. Second Opinion / Review
[strategy-reviewer output]
## 7. Final Investment Judgment & Implications
### Recommended Actions
[concrete actions informed by the review]
### Risk Factors
[list of key risks]
### Monitoring Points
[indicators / events to follow]
---
**Generated by**: scenario-analyzer skill
**Agents**: scenario-analyst, strategy-reviewerreports/ directory if it does not existscenario_analysis_<topic>_YYYYMMDD.md (e.g., scenario_analysis_venezuela_20260104.md)This skill generates the following file:
| File | Format | Description |
|---|---|---|
reports/scenario_analysis_<topic>_YYYYMMDD.md | Markdown | Comprehensive scenario analysis report |
Output contents:
references/headline_event_patterns.md - Event patterns and market reactionsreferences/sector_sensitivity_matrix.md - Sector sensitivity matrixreferences/scenario_playbooks.md - Scenario-construction templatesscenario-analyst - Primary scenario analysisstrategy-reviewer - Second opinion / reviewreports/ directoryreports/scenario_analysis_<topic>_YYYYMMDD.mdreports/scenario_analysis_fed_rate_hike_20260104.mdreports/ directory if it does not existConfirm the following before finalizing the report:
© tradermonty, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts, references) in skills/scenario-analyzer of tradermonty/claude-trading-skills.
Open the folder on GitHubat commit eab8d5c
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in tradermonty/claude-trading-skills, which our catalogue first saw on October 7, 2026.
Scenario Analyzer 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Scenario Analyzer this skilltradermonty/claude-trading-skills | 3k | 1 repos | ~2.6k | Automated safety check: Pass | MIT | |
| Agent Code Analyzerruvnet/ruflo | 74k | 2 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Agent Pagerank Analyzerruvnet/ruflo | 74k | 2 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Agent Performance Analyzerruvnet/ruflo | 74k | 2 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Diff Analyzeruvnet/ruflo | 74k | — | ~450 | Automated safety check: Notes | MIT | |
| Competitor News MonitorNousResearch/hermes-agent | 252k | — | ~1.2k | Automated safety check: Pass | MIT |
ruvnet/ruflo
Agent skill for code-analyzer - invoke with $agent-code-analyzer
ruvnet/ruflo
Agent skill for pagerank-analyzer - invoke with $agent-pagerank-analyzer
ruvnet/ruflo
Agent skill for performance-analyzer - invoke with $agent-performance-analyzer
ruvnet/ruflo
Analyze git diffs for risk scoring, reviewer recommendations, and change classification.
NousResearch/hermes-agent
Watch named companies for material news; cited digests. An agent skill from NousResearch/hermes-agent.
alsk1992/CloddsBot
Monitor news and correlate with prediction market movements. An agent skill from alsk1992/CloddsBot.
tradermonty/claude-trading-skills
This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.
tradermonty/claude-trading-skills
Detect and analyze trending market themes across sectors. An agent skill from tradermonty/claude-trading-skills.
tradermonty/claude-trading-skills
Track investment theses across their lifecycle — from screening idea to closed position with postmortem.
tradermonty/claude-trading-skills
Critically review strategy drafts from edge-strategy-designer for edge plausibility, overfitting risk, sample size adequacy, and execution realism.
tradermonty/claude-trading-skills
This skill should be used when analyzing sector rotation patterns and market cycle positioning.
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)…
Skill that analyzes 18-month scenarios from a news headline. Scenario Analyzer is an agent skill from tradermonty/claude-trading-skills. Skill that analyzes 18-month scenarios from a news headline.
Run `npx skills add tradermonty/claude-trading-skills --skill scenario-analyzer -a claude-code`. Or copy the skill folder (skills/scenario-analyzer in tradermonty/claude-trading-skills) into .claude/skills/scenario-analyzer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add tradermonty/claude-trading-skills --skill scenario-analyzer -a codex`. Or copy the skill folder (skills/scenario-analyzer in tradermonty/claude-trading-skills) into .agents/skills/scenario-analyzer in your project. Codex loads it when a task matches its description.
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 scenario-analyzer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scenario-analyzer, .gemini/skills/scenario-analyzer, .github/skills/scenario-analyzer and .opencode/skills/scenario-analyzer in your project.
Going by SKILL.md and its folder, Scenario Analyzer needs Python for the scripts in its folder. Our summary lists: Python 3.
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.
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.
Scenario Analyzer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k 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 6.6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Scenario Analyzer: Agent Code Analyzer (ruvnet/ruflo, 74k stars), Agent Pagerank Analyzer (ruvnet/ruflo, 74k stars), Agent Performance Analyzer (ruvnet/ruflo, 74k stars) and Diff Analyze (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
tradermonty (a GitHub user) maintains it in tradermonty/claude-trading-skills, which has 2,977 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on October 9, 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.