---
name: llmquant-llmquant-portfolio-lab
description: "Router skill for LLMQuant portfolio-lab workflows. Use when the user needs portfolio exposure maps, what-if simulations, scenario states, or virtual portfolio comparisons."
license: "MIT"
metadata:
  decimalai-skill-id: "05571083-f572-4d36-b383-fcd1dfb06c37"
  decimalai-version-id: "a5282bb1-1270-49d8-a04b-98a1db09d339"
  decimalai-version: "1"
  decimalai-body-sha256: "dff398f3cd34e7839ec35bee972df4a47c6ba5900c748c7a8c02fadcdd65971b"
  decimalai-name: "llmquant/llmquant-portfolio-lab"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "finance"
  decimalai-source: "https://app.decimal.ai/s/llmquant-llmquant-portfolio-lab@1/SKILL.md"
---
# LLMQuant Portfolio Lab

This category routes portfolio virtualization workflows: exposure maps, scenario states, and what-if simulations for real or hypothetical portfolios.

## Routing Rules

1. Identify portfolio ID, holdings list, benchmark, scenario, and requested visualization/output.
2. Select the closest workflow below.
3. Open only that workflow and relevant local assets/scripts.
4. Use LLMQuant Data for positions, prices, ETF look-through, factors, scenarios, and risk model outputs.
5. Report as-of dates, model dates, benchmark, missing holdings, and unsupported asset types.

## Workflow Index

| User intent | Workflow |
|---|---|
| Map portfolio exposure by holdings, sectors, factors, geography, ETF look-through, and concentration. | [`workflows/portfolio-exposure-map.md`](workflows/portfolio-exposure-map.md) |
| Simulate adds, trims, hedges, shocks, and virtual portfolio states. | [`workflows/portfolio-what-if-simulator.md`](workflows/portfolio-what-if-simulator.md) |

## LLMQuant Data Contract

Prefer LLMQuant Data when available. The workflows may need these data capabilities:
- Retrieve portfolio holdings, weights, cost basis, asset types, benchmarks, and as-of dates.
- Retrieve factor exposures, sector/geography exposures, ETF look-through holdings, risk model outputs, and scenario simulation results.
- Retrieve prices, correlations, drawdowns, volatility, option Greeks, and hedge context when relevant.
- Compare current, pro forma, and hypothetical portfolio states.

Fallback:
- If portfolio APIs are unavailable, ask for a holdings table or build a structured portfolio input template.
- Do not invent weights, holdings, factor exposures, or scenario returns.
