Skip to content
Agentmart
Submit a tool

portfolio-analysis-agent

Skill by astoreyai

IndexedMIT★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/astoreyai-portfolio-analysis-agent

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
portfolio-analysis-agent
Description
None
License
MIT
Instructions
431 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • missing YAML frontmatter
  • name: missing
  • description: missing

Files (5)

  • README.md
  • SKILL.md
  • analyze-portfolio.md · commands/
  • portfolio-report.md · commands/
  • portfolio_analysis_agent.py

SKILL.md (first lines)

# Portfolio Analysis Agent

**Version**: 1.0.0
**Category**: Financial Analysis / Portfolio Management
**Author**: Claude Code
**Last Updated**: November 22, 2025

## Overview

Comprehensive portfolio analysis system integrating historical trade analysis, forward projections, tax planning, and risk assessment into a unified workflow.

## Features

### 1. **Integrated Analysis**
- Historical trade performance
- Forward projections (3-5 years)
- Tax obligation forecasting
- Risk metric calculation
- Edge identification
- Complete portfolio dashboard

### 2. **Trading Analysis**
- Load Interactive Brokers CSV statements
- Calculate win rate, average returns, profit factor
- Time-of-day edge analysis
- Symbol-level performance
- Position sizing audit

### 3. **Forward Projections**
- Multi-year portfolio growth forecasts
- Scenario analysis (conservative/baseline/aggressive)
- Quarterly tax extraction modeling
- Monthly and quarterly breakdowns

### 4. **Tax Planning**
- Quarterly tax obligation calculations
- Federal + state tax breakdown
- Multi-state comparisons (NY vs FL/TX)
- Payment schedule generation
- Tax reserve tracking

### 5. **Risk Analysis**
- Maximum drawdown calculations
- Sharpe ratio approximations
- Volatility metrics
- Position sizing recommendations
- Stop-loss impact analysis

### 6. **Dashboard & Reporting**
- Comprehensive portfolio dashboard (JSON)
- Markdown and LaTeX reports
- CSV exports of all data
- Google Drive integration
- Performance tracking over time

## Usage

### Complete Portfolio Analysis
```bash
/analyze-portfolio <path-to-csv>
```

**Workflow**:
1. Load IB CSV statement
2. Calculate trading metrics
3. Identify trading edge
4. Run 3-year projections
5. Analyze risk
6. Calculate tax obligations
7. Generate comprehensive report

**Output**:
- `portfolio_analysis_YYYYMMDD.md` - Full report
- `portfolio_dashboard_YYYYMMDD.json` - Dashboard data
- `portfolio_trades.csv` - Trade-by-trade export

### Generate PDF Report
```bash
/portfolio-report --format pdf
```

**Output**:
- Professional LaTeX PDF report (15+ pages)
- Executive summary
- Trade analysis
- Edge identification
- Forward projections
- Tax planning
- Risk assessment
- Recommendations

### Track Performance
```bash
/portfolio-track --month 11
```

**What It Does**:
- Compare actual vs projected performance
- Calculate variance
- Identify deviations
- Update baseline assumptions
- Recalibrate projections

### Edge Analysis Only
```bash
/portfolio-edge-analysis
```

**Output**:
- Time-of-day performance breakdown
- Symbol-level profitability
- Intraday vs swing trade comparison
- Best/worst time windows
- Repeatable pattern identification

## Configuration

Uses `PORTFOLIO_PARAMETERS_COMPLETE.yaml`:

```yaml

From astoreyai/claude-skills, MIT.

More from astoreyai/claude-skills

Signals

Stars
5
Forks
1
Open issues
0
Last commit (this folder)
Nov 26, 2025 (11 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from astoreyai

Cite this page

portfolio-analysis-agent skill. Agent Mart. https://agentmart.dev/skills/astoreyai-portfolio-analysis-agent (last updated 2026-10-24)