- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add staskh/trading_skills --skill ib-create-consolidated-report -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add staskh/trading_skills --skill ib-create-consolidated-report -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add staskh/trading_skills --skill ib-create-consolidated-report -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add staskh/trading_skills --skill ib-create-consolidated-report -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/staskh/trading_skills/tree/HEAD/.claude/skills/ib-create-consolidated-report来自发布者
Reads all CSV files from a given directory (excluding subdirectories), consolidates trade data by key fields, and generates both markdown and CSV reports.
uv run python scripts/consolidate.py <directory> [--port PORT] [--output-dir OUTPUT_DIR]
directory - Path to directory containing IBRK trade CSV files--port - IB port to fetch unrealized P&L (7497=paper, 7496=live). If not specified, auto-probes both ports (tries 7496 first, then 7497). Defaults to the IB_PORT env var when set (--port still overrides).--output-dir - Output directory for reports (default: sandbox/)Groups trades by:
Aggregates:
Adds column:
Generates two files in the output directory:
consolidated_trades_YYYY-MM-DD_HHMM.md - Markdown report with summary tablesconsolidated_trades_YYYY-MM-DD_HHMM.csv - CSV with all consolidated data# Consolidate trades from IBRK reports directory
uv run python scripts/consolidate.py "C:\Users\avrah\OneDrive\Business\Trading\IBRK reports\2stastrading2025"
# Specify custom output directory
uv run python scripts/consolidate.py "C:\path\to\reports" --output-dir "C:\output"
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.
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.
---name: ib-create-consolidated-reportdescription: Consolidate IBRK trade CSV files from a directory into a summary report. Groups trades by symbol, underlying…---# .claude/skills/ib-create-consolidated-report/SKILL.md常见问题
从发布者处下载 .claude/skills/ib-create-consolidated-report/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/staskh/trading_skills。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。