Specialized skill for financial stock analysis, technical indicators, chart generation, sentiment analysis, and market intelligence
/plugin marketplace add ai-align/finance-plugin/plugin install ai-align-finance-plugin@ai-align/finance-pluginThis skill inherits all available tools. When active, it can use any tool Claude has access to.
requirements.txtscripts/core/__init__.pyscripts/core/__pycache__/__init__.cpython-314.pycscripts/core/__pycache__/cache.cpython-314.pycscripts/core/__pycache__/data_fetcher.cpython-314.pycscripts/core/__pycache__/market_handler.cpython-314.pycscripts/core/cache.pyscripts/core/data_fetcher.pyscripts/core/market_handler.pyscripts/fundamental/__init__.pyscripts/main.pyscripts/portfolio/__init__.pyscripts/sentiment/__init__.pyscripts/technical/__init__.pyscripts/technical/__pycache__/__init__.cpython-314.pycscripts/technical/__pycache__/indicators.cpython-314.pycscripts/technical/__pycache__/signals.cpython-314.pycscripts/technical/indicators.pyscripts/technical/signals.pyscripts/utils/__init__.pyA comprehensive skill for financial stock analysis with technical indicators, real-time data fetching, chart generation, sentiment analysis, and multi-market support.
Trend Indicators:
Momentum Indicators:
Volatility Indicators:
Volume Indicators:
The skill generates the following signals:
When a user requests stock analysis, follow this workflow:
Basic price queries:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker AAPLpython3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker TSLATechnical analysis queries:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker AAPL --technicalpython3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker TSLA --technicalpython3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker MSFT --technicalChart generation queries:
data['chart'] fieldSentiment analysis queries:
data['news_sentiment'] valuesHistorical data queries:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker AAPL --period 6mo --technicalMulti-market queries:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker 0700.HK --technicalpython3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker 600519.SS --technicalThe script returns structured JSON with the following format:
{
"metadata": {
"ticker": "AAPL",
"market": "us",
"timestamp": "2026-01-07T10:30:00Z",
"currency": "USD",
"cached": false
},
"price": {
"current": 185.23,
"change": 0.73,
"change_pct": 0.40,
"open": 184.50,
"high": 186.00,
"low": 183.75,
"volume": 52341000
},
"technical": {
"indicators": {
"rsi_14": 62.5,
"macd": {"macd": 2.34, "signal": 1.89, "histogram": 0.45},
"bb_upper": 190.50,
"bb_middle": 185.00,
"bb_lower": 179.50,
"sma_20": 183.20,
"sma_50": 182.34,
"sma_200": 175.67
},
"signals": {
"rsi_signal": "neutral",
"macd_signal": "bullish",
"bb_signal": "normal",
"trend": "uptrend",
"recommendation": "buy"
}
},
"chart": "/path/to/chart.png",
"news_sentiment": {
"average_polarity": 0.45,
"average_subjectivity": 0.62,
"headlines": [...]
},
"history": [...]
}
Based on the data returned:
For price-only queries:
For technical analysis queries:
For chart queries:
"chart" field with a file path. You must display this image to the user using markdown: For sentiment queries:
"news_sentiment" to describe market moodExample interpretation:
User: "Is AAPL overbought right now?"
[After running the command and getting JSON output]
Response: "Apple (AAPL) is currently trading at $185.23, up 0.40% today. Based on technical analysis:
- RSI is at 62.5, which is in neutral territory (not overbought). Overbought would be above 70.
- The price is near the middle Bollinger Band at $185.00, suggesting normal volatility.
- MACD shows a bullish signal with a positive histogram of 0.45.
- The stock is in an uptrend, trading above its 50-day SMA of $182.34.
Overall recommendation: BUY. The stock shows bullish momentum without being overextended."
The skill automatically detects the market from the ticker format:
The system automatically adjusts timezone and currency based on the market.
# Basic price check
python3 main.py --ticker AAPL
# Technical analysis
python3 main.py --ticker AAPL --technical
# Custom time period (1mo, 6mo, 1y, max)
python3 main.py --ticker AAPL --period 3mo --technical
# Custom interval (1d, 1wk, 1mo)
python3 main.py --ticker AAPL --period 6mo --interval 1d
# Disable caching (force fresh data)
python3 main.py --ticker AAPL --technical --no-cache
${CLAUDE_PLUGIN_ROOT} - This environment variable points to the correct plugin directoryerror field, explain the error to the userIf the command fails or returns an error:
Example 1: Basic Price Check
User: "What's the current price of Apple stock?"
Command: python3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker AAPL
Response: "Apple (AAPL) is currently trading at $185.23 USD, up $0.73 (0.40%) today."
Example 2: Technical Analysis
User: "Should I buy Tesla stock?"
Command: python3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker TSLA --technical
Response: "Tesla (TSLA) is trading at $235.50. Based on technical analysis:
- RSI: 45.2 (neutral - neither overbought nor oversold)
- MACD: Bullish signal (histogram: +1.23)
- Trend: Uptrend (price above 50-day SMA)
- Bollinger Bands: Trading in normal range
Overall recommendation: BUY. The stock shows bullish momentum with neutral RSI, suggesting room for upside without being overextended."
Example 3: Chart Generation
User: "Show me a chart of AAPL"
Command: python3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker AAPL
Response: "Here's the candlestick chart for Apple (AAPL):

The chart shows recent price action with 50-day and 200-day moving averages overlaid."
Example 4: Sentiment Analysis
User: "What is the sentiment for Tesla?"
Command: python3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker TSLA
Response: "Tesla (TSLA) news sentiment analysis:
- Average Polarity: 0.45 (Positive)
- Average Subjectivity: 0.62 (Moderately Subjective)
Recent headlines show a generally positive sentiment toward Tesla, indicating favorable market perception."
Example 5: Hong Kong Stock
User: "Analyze Tencent stock"
Command: python3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker 0700.HK --technical
Response: "Tencent Holdings (0700.HK) is trading at 385.00 HKD in the Hong Kong market..."
Example 6: Historical Trend
User: "How has Microsoft performed over the last 6 months?"
Command: python3 ${CLAUDE_PLUGIN_ROOT}/skills/stock-analyzer/scripts/main.py --ticker MSFT --period 6mo --technical
Response: "Microsoft (MSFT) is currently at $420.15. Over the past 6 months:
- Strong uptrend: Price well above 200-day SMA ($380.25)
- RSI at 68: Approaching overbought but still in bullish territory
- MACD: Positive and rising
The stock has gained approximately 11% over the 6-month period, showing consistent upward momentum."
This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.