# InvestSkill

Professional investment analysis and stock evaluation skills β€” works with Claude Code, Gemini CLI, GitHub Copilot, Cursor, and any AI assistant.

πŸ“– English | ηΉι«”δΈ­ζ–‡η‰ˆ (Traditional Chinese)

Deploy Validate License Website

πŸ“š View Documentation Website

# Install


claude

# add to marketplace
/plugin marketplace add yennanliu/InvestSkill


# install
/plugin install us-stock-analysis


# check installed list

/plugin list

# test
- /us-stock-analysis:fundamental-analysis AAPL # - For fundamental analysis
- /us-stock-analysis:technical-analysis AAPL # - For technical analysis
- /us-stock-analysis:economics-analysis # - For economic context

claude

# Add local marketplace
/plugin marketplace add /Users/yennanliu/InvestSkill

# Install plugin
/plugin install us-stock-analysis@invest-skill

# Overview

InvestSkill is a comprehensive investment analysis toolkit providing professional-grade frameworks for US stock market analysis. It works natively as a Claude Code plugin and also as universal prompts compatible with Gemini CLI, GitHub Copilot, Cursor, and any AI assistant.

# Features

# Installation

# For Users

Add the marketplace and install the plugin:

# Add marketplace from GitHub
/plugin marketplace add yennanliu/InvestSkill

# Install the plugin
/plugin install us-stock-analysis@invest-skill

# For Local Development

# Add local marketplace
/plugin marketplace add /Users/yennanliu/InvestSkill

# Install plugin
/plugin install us-stock-analysis@invest-skill

# Available Skills

# Core Analysis Skills

# Enhanced Data Analysis (New in v1.1.0)

# Advanced Analysis Skills (New in v1.2.0)

# New Skills (v1.3.0)

# Usage Examples

# Core Analysis

# Evaluate a specific stock
/stock-eval AAPL

# Get economic outlook
/economics-analysis

# Deep dive into fundamentals
/fundamental-analysis MSFT

# Deep dive with visualizations
/fundamental-analysis NVDA --visual

# Technical chart analysis
/technical-analysis TSLA

# Technical analysis with chart generation
/technical-analysis GOOGL --chart

# Review portfolio
/portfolio-review [paste your holdings]

# Analyze sectors
/sector-analysis

# Enhanced Data Analysis (v1.1.0)

# Generate HTML/PDF report with visualizations
/report-generator --type comprehensive --data [paste analysis results]

# Analyze earnings call transcript
/earnings-call-analysis AAPL [paste transcript or provide URL]

# Track insider trading activity
/insider-trading TSLA

# Monitor institutional ownership changes
/institutional-ownership MSFT

# Track specific institutional investors
/institutional-ownership META --smart-money

# Advanced Analysis (v1.2.0)

# Dividend safety and income analysis
/dividend-analysis JNJ
/dividend-analysis --portfolio [list of tickers]

# Short squeeze potential
/short-interest GME
/short-interest --scan squeeze-potential

# Options strategy selection
/options-analysis AAPL --strategy bullish
/options-analysis NVDA --earnings
/options-analysis TSLA --iv

# Comprehensive research bundle (chains all skills)
/research-bundle AAPL
/research-bundle NVDA --quick
/research-bundle AAPL,MSFT,GOOGL --compare

# DCF intrinsic value model
/dcf-valuation MSFT
/dcf-valuation NVDA --scenarios
/dcf-valuation GOOGL --visual

# Competitive moat analysis
/competitor-analysis AAPL
/competitor-analysis NVDA --peers AMD,INTC,QCOM
/competitor-analysis GOOGL --moat-only

# Report Generation Workflow

# Step 1: Run fundamental analysis with visualization
/fundamental-analysis AAPL --visual

# Step 2: Generate HTML report from the analysis
/report-generator --type comprehensive

# Step 3: Open HTML file in browser and export to PDF
# The report includes interactive charts and can be printed to PDF

# New Analysis Skills (v1.3.0)

# Analyze a 10-K or 10-Q filing
/financial-report-analyst AAPL 10-K
/financial-report-analyst MSFT 10-Q --section risk-factors
/financial-report-analyst NVDA 10-K --full

# Multi-method stock valuation (DCF + comps + EV multiples)
/stock-valuation AAPL
/stock-valuation MSFT --methods dcf,cca,ev-ebitda
/stock-valuation NVDA --full --visual
/stock-valuation GOOGL --quick

# Cross-AI Compatibility

InvestSkill v1.3.0 introduces universal prompt files that work with any AI assistant β€” not just Claude Code.

# Universal Prompts (prompts/ directory)

All 18 analysis frameworks are available as standalone markdown prompts in the prompts/ directory. Use them with any AI tool:

prompts/
β”œβ”€β”€ financial-report-analyst.md   # 10-K/10-Q analysis
β”œβ”€β”€ stock-valuation.md            # Multi-method valuation
β”œβ”€β”€ stock-eval.md                 # Comprehensive evaluation
β”œβ”€β”€ fundamental-analysis.md       # Financial statement analysis
β”œβ”€β”€ technical-analysis.md         # Chart and indicator analysis
β”œβ”€β”€ dcf-valuation.md              # DCF intrinsic value model
β”œβ”€β”€ economics-analysis.md         # US macro analysis
β”œβ”€β”€ earnings-call-analysis.md     # Transcript analysis
β”œβ”€β”€ insider-trading.md            # Form 4 analysis
β”œβ”€β”€ institutional-ownership.md    # 13F analysis
β”œβ”€β”€ competitor-analysis.md        # Moat and competitive analysis
β”œβ”€β”€ dividend-analysis.md          # Dividend safety analysis
β”œβ”€β”€ short-interest.md             # Short squeeze analysis
β”œβ”€β”€ options-analysis.md           # Greeks and strategy
β”œβ”€β”€ portfolio-review.md           # Portfolio analysis
β”œβ”€β”€ sector-analysis.md            # Sector rotation
└── research-bundle.md            # Full chained analysis

# Using with Gemini CLI

# Gemini CLI reads GEMINI.md automatically for project context
gemini

# Reference a prompt file directly
> @prompts/stock-valuation.md Analyze NVDA using all valuation methods

# Financial report analysis
> @prompts/financial-report-analyst.md [paste your 10-K text here]

# Using with GitHub Copilot

The .github/copilot-instructions.md file configures Copilot with InvestSkill’s analysis frameworks. Open a chat and ask:

# In Copilot Chat
Analyze AAPL using the stock-valuation framework

# Reference a prompt file
Use the framework in prompts/fundamental-analysis.md to analyze MSFT

# Using with Cursor

The .cursor/rules/invest-skill.mdc file is automatically loaded by Cursor. Use the AI chat:

# Cursor AI Chat
@prompts/financial-report-analyst.md Analyze this 10-Q section: [paste text]

# Or just ask naturally β€” Cursor knows the frameworks
Perform a DCF valuation of NVDA using the InvestSkill methodology

# Using with Any AI Assistant (ChatGPT, Claude.ai, etc.)

Copy the content of any prompts/*.md file and paste it as a system prompt or at the start of your conversation:

# Copy prompts/stock-valuation.md content
# Paste into any AI chat, then:
"Analyze AAPL using the framework above"

# Structure

InvestSkill/
β”œβ”€β”€ .claude-plugin/
β”‚   └── marketplace.json              # Marketplace configuration
β”œβ”€β”€ .cursor/
β”‚   └── rules/
β”‚       └── invest-skill.mdc          # Cursor AI rules (v1.3.0)
β”œβ”€β”€ .github/
β”‚   └── copilot-instructions.md       # GitHub Copilot workspace config (v1.3.0)
β”œβ”€β”€ prompts/                           # Universal prompts β€” work with any AI (v1.3.0)
β”‚   β”œβ”€β”€ financial-report-analyst.md
β”‚   β”œβ”€β”€ stock-valuation.md
β”‚   β”œβ”€β”€ stock-eval.md
β”‚   β”œβ”€β”€ fundamental-analysis.md
β”‚   β”œβ”€β”€ technical-analysis.md
β”‚   β”œβ”€β”€ dcf-valuation.md
β”‚   β”œβ”€β”€ economics-analysis.md
β”‚   β”œβ”€β”€ earnings-call-analysis.md
β”‚   β”œβ”€β”€ insider-trading.md
β”‚   β”œβ”€β”€ institutional-ownership.md
β”‚   β”œβ”€β”€ competitor-analysis.md
β”‚   β”œβ”€β”€ dividend-analysis.md
β”‚   β”œβ”€β”€ short-interest.md
β”‚   β”œβ”€β”€ options-analysis.md
β”‚   β”œβ”€β”€ portfolio-review.md
β”‚   β”œβ”€β”€ sector-analysis.md
β”‚   └── research-bundle.md
β”œβ”€β”€ plugins/
β”‚   └── us-stock-analysis/
β”‚       β”œβ”€β”€ .claude-plugin/
β”‚       β”‚   └── plugin.json           # Plugin manifest
β”‚       β”œβ”€β”€ skills/
β”‚       β”‚   β”œβ”€β”€ stock-eval/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ economics-analysis/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ fundamental-analysis/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ technical-analysis/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ portfolio-review/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ sector-analysis/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ report-generator/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ earnings-call-analysis/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ insider-trading/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ institutional-ownership/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ dividend-analysis/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ short-interest/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ options-analysis/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ research-bundle/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ dcf-valuation/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ competitor-analysis/
β”‚       β”‚   β”‚   └── SKILL.md
β”‚       β”‚   β”œβ”€β”€ financial-report-analyst/
β”‚       β”‚   β”‚   └── SKILL.md          # New v1.3.0: 10-K/10-Q report analysis
β”‚       β”‚   └── stock-valuation/
β”‚       β”‚       └── SKILL.md          # New v1.3.0: Multi-method valuation
β”‚       └── README.md
β”œβ”€β”€ GEMINI.md                          # Gemini CLI project instructions (v1.3.0)
β”œβ”€β”€ LICENSE
└── README.md

# Report Generation

InvestSkill v1.1.0 introduces professional report generation capabilities with interactive visualizations.

# Features

# Workflow

  1. Run Analysis with Visualization

    /fundamental-analysis AAPL --visual
    

    This generates analysis with chart data tables

  2. Generate HTML Report

    /report-generator --type comprehensive
    

    Creates investment-report-AAPL-20260217-143022.html

  3. Export to PDF

    • Browser: Open HTML β†’ Print β†’ Save as PDF
    • Command Line: wkhtmltopdf report.html report.pdf
    • Node.js: Use Playwright or Puppeteer

# Report Templates

# Visualization Types

# CI/CD & Automation

This project includes comprehensive GitHub Actions workflows for quality assurance and automated releases.

# Automated Workflows

Validation (validate.yml)

PR Checks (pr-check.yml)

Auto Release (release.yml)

Auto Labeling (label-pr.yml)

First-Time Contributor Greetings (greetings.yml)

# Creating a Release

To create a new release:

  1. Update version numbers:

    # Update plugins/us-stock-analysis/.claude-plugin/plugin.json
    # Update .claude-plugin/marketplace.json
    
  2. Update CHANGELOG.md:

    ## [1.1.0] - 2026-02-16
    ### Added
    - New feature description
    
  3. Commit changes:

    git add .
    git commit -m "chore: bump version to 1.1.0"
    git push origin main
    
  4. Create and push tag:

    git tag v1.1.0
    git push origin v1.1.0
    
  5. GitHub Actions will automatically:

    • Validate the plugin structure
    • Create distribution packages
    • Generate release notes
    • Publish the release with artifacts

# Validation Badges

Add these badges to show build status (update username/repo):

![Validate](https://github.com/yennanliu/InvestSkill/actions/workflows/validate.yml/badge.svg)
![Release](https://github.com/yennanliu/InvestSkill/actions/workflows/release.yml/badge.svg)

# Contributing

Contributions are welcome! Please read our Contributing Guide for detailed information.

Quick Start:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'feat: add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

See CONTRIBUTING.md for detailed guidelines on:

# Publishing

To share this marketplace with others:

  1. Push to GitHub:
git add .
git commit -m "Initial plugin marketplace setup"
git push origin main
  1. Users can then add your marketplace:
/plugin marketplace add yennanliu/InvestSkill

# Roadmap

# License

MIT License - see LICENSE file for details.

# Disclaimer

This plugin provides educational analysis and is not financial advice. Always consult with qualified financial advisors before making investment decisions. Past performance does not guarantee future results.

# Resources

# Support

For issues, questions, or suggestions, please open an issue on GitHub.