用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/staskh/trading_skills --skill report-stock命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Get account summary from Interactive Brokers including cash balance, buying power, and account value. Use when user asks about their account, balance, buying power, or available cash. Requires TWS or IB Gateway running locally.
Generate tactical collar strategy reports for protecting PMCC positions through earnings or high-risk events. Requires TWS or IB Gateway running locally.
Consolidate IBRK trade CSV files from a directory into a summary report. Groups trades by symbol, underlying, date, strike, buy/sell, and open/close. Outputs both markdown and CSV.
基于 SOC 职业分类
正在显示 SKILL.md
| name | report-stock |
| description | Generate comprehensive stock analysis report (PDF or markdown) with trend, PMCC, and fundamental analysis |
| user_invocable | true |
| arguments | [{"name":"symbols","description":"Stock ticker symbol(s) - single or space-separated list (e.g., AAPL or \"AAPL MSFT GOOGL\")","required":true}] |
| dependencies | ["trading-skills"] |
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:
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.