๐ฏ Introduction: AI-Powered Investment Analysis in Your IDE
Financial markets are complex, data-driven environments where timely analysis can make the difference between profit and loss. Traders, investors, and financial analysts typically juggle multiple platforms, tools, and data sources to research stocks, analyze trends, and make informed decisions.
InvestSkill changes this paradigm by bringing professional-grade investment analysis tools directly into Claude Code, your AI-powered development environment. Instead of switching between trading platforms, financial terminals, and research tools, you can now leverage Claude’s intelligence for comprehensive market analysis without leaving your workflow.
The Vision
InvestSkill represents a new category of AI tooling: context-aware financial analysis. It’s not just about running calculations or fetching dataโit’s about having an AI assistant that understands:
- Market fundamentals and valuation metrics
- Technical chart patterns and indicators
- Macroeconomic trends and their market impacts
- Portfolio construction and optimization
- Sector rotation and relative positioning
All accessible through simple slash commands in Claude Code.
Who Is This For?
- Retail Investors: Individual investors seeking deeper analysis before making trades
- Quantitative Developers: Building algorithmic trading systems and need quick market insights
- Financial Analysts: Professionals who want to automate routine analysis tasks
- Students & Learners: Anyone studying finance, trading, or market analysis
- Developers Building FinTech: Engineers working on financial applications who need market context
โ ๏ธ Important Disclaimer: InvestSkill is an educational tool designed to assist with financial analysis and research. It does not provide financial advice, investment recommendations, or trading signals. Always conduct your own due diligence and consult with qualified financial professionals before making investment decisions.
๐ What Makes InvestSkill Unique?
Problem: The Fragmented Analysis Workflow
Traditional investment analysis involves:
- Multiple Platforms: Yahoo Finance for quotes, TradingView for charts, SEC EDGAR for filings, economic calendars for data
- Context Switching: Constantly moving between tools breaks concentration and slows decision-making
- Manual Integration: Combining fundamental, technical, and economic data requires manual effort
- Limited AI Integration: Existing AI tools don’t understand financial analysis deeply
- Repetitive Research: Performing the same analysis steps for each stock evaluation
Solution: Unified AI-Powered Analysis
InvestSkill solves these challenges by providing:
โ Single Interface: All analysis tools accessible through Claude Code โ Contextual Intelligence: Claude understands financial concepts and relationships โ Workflow Integration: Analyze markets while building trading systems or financial apps โ Comprehensive Coverage: Six specialized analysis skills covering all major dimensions โ Automated Insights: Let AI synthesize complex data into actionable information
๐ฆ The Six Pillars of Financial Analysis
InvestSkill provides six specialized analytical capabilities, each designed to address a specific dimension of market research:
1. Stock Evaluation (/stock-eval)
Purpose: Comprehensive fundamental and valuation analysis Use Case: Quick overview before initiating a position
What It Analyzes:
- Company fundamentals (revenue, earnings, margins)
- Valuation metrics (P/E, P/S, P/B, PEG ratios)
- Growth rates and trends
- Competitive positioning
- Risk factors and concerns
Example Usage:
1/stock-eval AAPL
2# Returns: Comprehensive evaluation of Apple Inc.
3# - Current valuation vs historical averages
4# - Growth trajectory analysis
5# - Competitive moat assessment
6# - Key risk factors
When to Use:
- Before initiating new positions
- Quarterly re-evaluation of holdings
- Comparing investment opportunities
- Due diligence on unfamiliar companies
2. Fundamental Analysis (/fundamental-analysis)
Purpose: Deep-dive financial statement examination Use Case: Understanding a company’s financial health
What It Analyzes:
- Income statement trends (revenue, COGS, operating income)
- Balance sheet strength (assets, liabilities, equity)
- Cash flow analysis (operating, investing, financing)
- Financial ratios (liquidity, leverage, efficiency)
- Year-over-year and quarter-over-quarter comparisons
Example Usage:
1/fundamental-analysis MSFT
2# Returns: Multi-year financial analysis
3# - Revenue and margin trends
4# - Balance sheet health metrics
5# - Cash flow sustainability
6# - Financial ratio comparison to industry
When to Use:
- Value investing research
- Credit risk assessment
- Long-term investment decisions
- Identifying financial red flags
3. Technical Analysis (/technical-analysis)
Purpose: Chart patterns and technical indicators Use Case: Timing entry and exit points
What It Analyzes:
- Price action and trend identification
- Support and resistance levels
- Technical indicators (RSI, MACD, moving averages)
- Chart patterns (head & shoulders, triangles, flags)
- Volume analysis and momentum
Example Usage:
1/technical-analysis TSLA
2# Returns: Technical outlook
3# - Current trend (bullish/bearish/neutral)
4# - Key support and resistance levels
5# - Overbought/oversold conditions
6# - Potential entry/exit zones
When to Use:
- Swing trading setups
- Timing position entries
- Setting stop-loss levels
- Identifying breakout opportunities
4. Economics Analysis (/economics-analysis)
Purpose: US economic indicators assessment Use Case: Understanding macroeconomic backdrop
What It Analyzes:
- GDP growth and economic expansion/contraction
- Inflation metrics (CPI, PCE)
- Employment data (jobs reports, unemployment rate)
- Interest rates and Federal Reserve policy
- Leading economic indicators
Example Usage:
1/economics-analysis
2# Returns: Current economic environment
3# - GDP growth trajectory
4# - Inflation trends and Fed response
5# - Employment health
6# - Recession risk indicators
7# - Market sector implications
When to Use:
- Asset allocation decisions
- Sector rotation strategies
- Risk-on vs risk-off positioning
- Understanding market volatility drivers
5. Portfolio Review (/portfolio-review)
Purpose: Performance analysis and optimization Use Case: Evaluating and improving portfolio construction
What It Analyzes:
- Portfolio composition and diversification
- Risk-adjusted returns (Sharpe ratio, volatility)
- Correlation analysis between holdings
- Sector and asset class allocation
- Rebalancing recommendations
Example Usage:
1/portfolio-review
2# (Provide current holdings)
3# Returns: Portfolio health analysis
4# - Diversification score
5# - Risk concentration areas
6# - Correlation matrix
7# - Optimization suggestions
When to Use:
- Quarterly portfolio reviews
- After major market moves
- Before adding new positions
- Rebalancing decisions
6. Sector Analysis (/sector-analysis)
Purpose: Market positioning and rotation insights Use Case: Understanding sector dynamics and trends
What It Analyzes:
- Sector performance vs market benchmarks
- Relative strength and momentum
- Economic cycle positioning
- Sector rotation patterns
- Industry-specific catalysts
Example Usage:
1/sector-analysis technology
2# Returns: Technology sector outlook
3# - Performance vs S&P 500
4# - Sub-sector leaders/laggards
5# - Cyclical positioning
6# - Key catalysts and headwinds
When to Use:
- Sector rotation strategies
- Market cycle positioning
- Thematic investing research
- Relative value analysis
๐ง Installation & Setup
Getting started with InvestSkill takes just three simple commands:
Step 1: Add the InvestSkill Marketplace
1/plugin marketplace add yennanliu/InvestSkill
This registers the InvestSkill plugin marketplace with your Claude Code installation. You only need to do this once.
Step 2: Install the US Stock Analysis Plugin
1/plugin install us-stock-analysis
This installs the complete suite of six analysis skills into your Claude Code environment.
Step 3: Verify Installation
1/plugin list
You should see us-stock-analysis in your installed plugins list. All six slash commands (/stock-eval, /fundamental-analysis, /technical-analysis, /economics-analysis, /portfolio-review, /sector-analysis) are now available.
Configuration (Optional)
InvestSkill works out of the box, but you can customize behavior through SKILL.md files located in:
~/.claude/skills/us-stock-analysis/
โโโ stock-eval/SKILL.md
โโโ fundamental-analysis/SKILL.md
โโโ technical-analysis/SKILL.md
โโโ economics-analysis/SKILL.md
โโโ portfolio-review/SKILL.md
โโโ sector-analysis/SKILL.md
Each SKILL.md file contains:
- Detailed analysis methodology
- Data sources and references
- Customization options
- Best practices for that analysis type
๐ก Real-World Usage Scenarios
Scenario 1: Pre-Trade Due Diligence
Goal: Evaluate a potential stock purchase
Workflow:
1# Step 1: Quick evaluation
2/stock-eval NVDA
3
4# Step 2: Deep fundamentals
5/fundamental-analysis NVDA
6
7# Step 3: Technical timing
8/technical-analysis NVDA
9
10# Step 4: Economic context
11/economics-analysis
Outcome: Comprehensive understanding of NVDA from multiple angles before making a trade decision.
Scenario 2: Portfolio Optimization
Goal: Improve existing portfolio allocation
Workflow:
1# Step 1: Current portfolio health
2/portfolio-review
3# (Provide current holdings)
4
5# Step 2: Sector concentration check
6/sector-analysis technology
7/sector-analysis healthcare
8/sector-analysis financials
9
10# Step 3: Individual position review
11/stock-eval AAPL
12/stock-eval JNJ
13/stock-eval JPM
Outcome: Identify over-concentrations, correlation risks, and rebalancing opportunities.
Scenario 3: Macro-Driven Trading
Goal: Position portfolio based on economic outlook
Workflow:
1# Step 1: Economic environment
2/economics-analysis
3
4# Step 2: Sector positioning
5/sector-analysis consumer-discretionary
6/sector-analysis utilities
7
8# Step 3: Specific opportunities
9/stock-eval XLY # Consumer Discretionary ETF
10/stock-eval XLU # Utilities ETF
Outcome: Data-driven sector rotation based on macroeconomic trends.
Scenario 4: Building a Trading System
Goal: Develop algorithmic trading signals
Workflow:
1# In your Python trading system
2def generate_signals():
3 # Use Claude Code with InvestSkill for research
4 # /technical-analysis SPY
5 # /economics-analysis
6
7 # Implement signal logic based on insights
8 if rsi < 30 and gdp_growth > 2.0:
9 return "BUY"
10 # ... more logic
Outcome: Combine AI-powered analysis with systematic trading rules.
๐๏ธ Technical Architecture
InvestSkill is built on the Claude Code plugin marketplace infrastructure:
Component Architecture
InvestSkill/
โโโ marketplace.json # Plugin registry
โโโ plugins/
โ โโโ us-stock-analysis/
โ โโโ plugin.json # Plugin metadata
โ โโโ skills/
โ โโโ stock-eval/
โ โ โโโ SKILL.md
โ โโโ fundamental-analysis/
โ โ โโโ SKILL.md
โ โโโ technical-analysis/
โ โ โโโ SKILL.md
โ โโโ economics-analysis/
โ โ โโโ SKILL.md
โ โโโ portfolio-review/
โ โ โโโ SKILL.md
โ โโโ sector-analysis/
โ โโโ SKILL.md
โโโ .github/
โ โโโ workflows/
โ โโโ validate-json.yml
โ โโโ validate-skills.yml
โ โโโ auto-release.yml
โ โโโ greet-first-time.yml
โโโ README.md
Key Technologies
- JSON-based Configuration: Simple, declarative plugin and marketplace definitions
- Markdown Skill Definitions: Human-readable SKILL.md files with frontmatter
- GitHub Actions CI/CD: Automated validation, testing, and release packaging
- SHA256 Checksums: Security verification for all releases
- GitHub Pages: Documentation hosting and distribution
Quality Assurance Pipeline
- JSON Validation: Ensures
marketplace.jsonandplugin.jsonare well-formed - SKILL.md Validation: Verifies frontmatter structure and required fields
- Automated Testing: Validates skill invocation patterns
- Release Packaging: Automatic versioning and checksum generation
- Pull Request Automation: Auto-labeling and contributor greetings
How Skills Are Invoked
When you type /stock-eval AAPL:
- Claude Code recognizes the slash command
- Loads
stock-eval/SKILL.mdprompt template - Injects the ticker symbol (
AAPL) into the template - Claude processes the enriched prompt with financial analysis context
- Returns structured analysis based on the skill’s methodology
This architecture ensures:
- Consistency: Same analysis methodology every time
- Transparency: SKILL.md files are readable and modifiable
- Extensibility: Easy to add new skills or customize existing ones
- Maintainability: Automated CI/CD ensures quality
๐ Best Practices & Tips
1. Combine Multiple Skills for Comprehensive Analysis
Don’t rely on a single skillโuse multiple perspectives:
1# Fundamental + Technical + Economic
2/stock-eval AAPL
3/technical-analysis AAPL
4/economics-analysis
2. Regular Portfolio Reviews
Schedule periodic reviews (e.g., monthly or quarterly):
1# Monthly routine
2/portfolio-review
3/sector-analysis [your concentrated sectors]
4/economics-analysis
3. Document Your Analysis
InvestSkill outputs can be copied into:
- Trading journals
- Investment research notes
- Decision logs for backtesting
4. Understand Limitations
- InvestSkill provides analysis, not advice
- Data quality depends on available sources
- AI can identify patterns but cannot predict the future
- Always verify critical information from primary sources
5. Customize Skill Definitions
Modify SKILL.md files to match your:
- Investment philosophy (value, growth, momentum)
- Risk tolerance
- Time horizons
- Preferred metrics and indicators
6. Integrate with Your Workflow
Use InvestSkill alongside:
- Backtesting frameworks: Validate strategies
- Trading platforms: Execute informed trades
- Portfolio management tools: Track performance
- Research databases: Deep-dive specific topics
๐ฎ Future Roadmap
The InvestSkill project is actively evolving. Planned enhancements include:
Short-Term (Next 3 Months)
- Crypto Analysis Plugin: Bitcoin, Ethereum, and altcoin evaluation
- Options Analysis: Greeks, implied volatility, and strategy evaluation
- Real-Time Data Integration: Live market data via MCP servers
- Backtesting Helpers: Skills for strategy validation
Medium-Term (6-12 Months)
- International Markets: Coverage beyond US stocks
- Fixed Income Analysis: Bond evaluation and yield curve analysis
- Risk Management Tools: VaR, scenario analysis, stress testing
- Machine Learning Integration: Predictive models and signals
Long-Term Vision
- Community Marketplace: Share and discover user-created analysis skills
- Custom MCP Servers: Direct integration with brokers and data providers
- Multi-Asset Analysis: Unified framework for stocks, bonds, crypto, commodities
- Collaborative Research: Share analyses within teams
๐ค Contributing & Community
InvestSkill is an open-source project welcoming contributions from the financial and developer communities.
How to Contribute
- Report Issues: Found a bug or have a feature request? Open an issue
- Submit Pull Requests: Improve existing skills or add new ones
- Share Your Skills: Create custom analysis skills and contribute them
- Improve Documentation: Help others get started with better guides
- Provide Feedback: Share your experience and suggestions
Development Setup
1# Fork and clone the repository
2git clone https://github.com/yennanliu/InvestSkill.git
3cd InvestSkill
4
5# Create a new skill
6mkdir -p plugins/us-stock-analysis/skills/my-new-skill
7cd plugins/us-stock-analysis/skills/my-new-skill
8
9# Create SKILL.md with proper frontmatter
10cat > SKILL.md << 'EOF'
11---
12title: "My New Analysis Skill"
13version: "1.0.0"
14description: "Custom analysis for..."
15---
16
17# Analysis methodology...
18EOF
19
20# Test locally
21/plugin install us-stock-analysis
22/my-new-skill AAPL
23
24# Submit PR when ready
25git checkout -b feature/my-new-skill
26git add .
27git commit -m "Add new skill: my-new-skill"
28git push origin feature/my-new-skill
Community Resources
- GitHub Repository: yennanliu/InvestSkill
- Discussions: Share strategies and ask questions
- Wiki: Detailed documentation and examples
- Issue Tracker: Bug reports and feature requests
๐ Conclusion
InvestSkill represents a new paradigm in financial analysis tooling: AI-native, workflow-integrated, and developer-friendly. By bringing professional investment analysis directly into Claude Code, it eliminates context-switching, accelerates research, and empowers better-informed decision-making.
Key Takeaways
โ Unified Analysis: Six specialized skills covering all major analysis dimensions โ Easy Setup: Three commands to get started โ Flexible: Customize skills to match your investment philosophy โ Open Source: Community-driven and extensible โ Production-Ready: Battle-tested with automated CI/CD
Getting Started Today
1# Install in 30 seconds
2/plugin marketplace add yennanliu/InvestSkill
3/plugin install us-stock-analysis
4/stock-eval AAPL
Whether you’re a retail investor researching your next position, a quantitative developer building trading systems, or a financial analyst automating routine tasks, InvestSkill provides the AI-powered analysis capabilities you needโright where you work.
Remember
InvestSkill is a tool for analysis and education, not a source of financial advice. Markets are inherently unpredictable, and past performance doesn’t guarantee future results. Always:
- Conduct thorough due diligence
- Understand the risks involved
- Diversify your investments
- Consult qualified financial professionals
- Never invest more than you can afford to lose
Ready to transform your investment analysis workflow? Start exploring InvestSkill today and experience the power of AI-driven financial research integrated directly into your development environment.
Project Repository: https://github.com/yennanliu/InvestSkill
Questions or feedback? Open an issue or join the discussion on GitHub!
InvestSkill is an independent open-source project and is not affiliated with any brokerage, financial institution, or investment advisor. Use at your own discretion and responsibility.
