Install
$ agentstack add skill-staskh-trading-skills-report-stock ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Stock Analysis Report Generator
Generates professional reports with comprehensive stock analysis including trend analysis, PMCC viability, and fundamental metrics. Supports both PDF and markdown output formats.
Instructions
Step 1: Gather Data
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 2: Generate Report
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.
Step 3: Report Results
After generating the report, tell the user:
- The recommendation (BUY/HOLD/AVOID)
- Key strengths and risks
- The report file path
Example
# 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
Report Contents
All sections defined in templates/markdown-template.md:
- Header — symbol, company name, generated timestamp
- Recommendation — BUY/HOLD/AVOID with strengths and risks
- Company Overview — sector, industry, market cap, beta
- Trend Analysis — bullish score, RSI, MACD, ADX, SMA distances, earnings date, signals list
- Fundamental Analysis — valuation (P/E, P/B, EPS), profitability (margins, ROE, ROA, growth), dividend & balance sheet, earnings history (up to 8 quarters)
- Piotroski F-Score — all 9 criteria with PASS/FAIL
- Insider Trading — net sentiment, buy/sell counts, recent transactions (omitted if no data)
- PMCC Viability — score, IV, LEAPS/short leg details, trade metrics (yield, capital required)
- Option Spread Strategies — bull call, bear put, straddle, strangle, iron condor
- Investment Summary — strengths and risk factors
- Disclaimer footer
Dependencies
This skill aggregates data from:
scanner-bullishfor trend analysisscanner-pmccfor PMCC viabilityfundamentalsfor financial data and Piotroski score
Timezone
All 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.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: staskh
- Source: staskh/trading_skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.