staskh/report-stock
Generate comprehensive stock analysis report (PDF or markdown) with trend, PMCC, and fundamental analysis
npx skills add https://github.com/staskh/trading_skills --skill report-stock
Generates professional reports with comprehensive stock analysis including trend analysis, PMCC viability, and fundamental metrics. Supports both PDF and markdown output formats.
Run the report script for each symbol:
uv run python scripts/report.py SYMBOL
The script returns detailed JSON with:
recommendation - Overall recommendation with strengths/riskscompany - Company info (name, sector, industry, market cap)trend_analysis - Bullish scanner results (score, RSI, MACD, ADX, SMAs)pmcc_analysis - PMCC viability (score, LEAPS/short details, metrics)fundamentals - Valuation, profitability, dividend, balance sheet, earnings historypiotroski - F-Score breakdown with all 9 criteriaspread_strategies - Option spread analysis (vertical spreads, straddle, strangle, iron condor)Step 2a — Write markdown
Read templates/markdown-template.md for formatting instructions. Generate a markdown report from the JSON data and save to sandbox/ as:
sandbox/{SYMBOL}_Analysis_Report_{YYYY-MM-DD}_{HHmm}.md
Step 2b — Convert to PDF (if requested)
Invoke the markdown-to-pdf skill on the markdown file just created:
uv run python .claude/skills/markdown-to-pdf/scripts/markdown_to_pdf.py sandbox/{SYMBOL}_Analysis_Report_{YYYY-MM-DD}_{HHmm}.md
The PDF is written alongside the markdown file with the same basename.
After generating the report, tell the user:
# Single symbol
uv run python scripts/report.py AAPL
# Multiple symbols - run separately
uv run python scripts/report.py AAPL
uv run python scripts/report.py MSFT
All sections defined in templates/markdown-template.md:
10. Investment Summary — strengths and risk factors
11. Disclaimer footer
This skill aggregates data from:
scanner-bullish for trend analysisscanner-pmcc for PMCC viabilityfundamentals for financial data and Piotroski scoreAll timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.
Take staskh/report-stock from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.