---
name: agentii-ai-portfolio-hedging
description: "portfolio hedging, tail risk hedging, options overlay, correlation regime, downside protection, portfolio insurance, risk mitigation strategy, hedge construction, black swan hedging, volatility hedging"
license: "Apache-2.0"
metadata:
  decimalai-skill-id: "84a97483-729e-4896-bc5e-ab2208e5126c"
  decimalai-version-id: "60920439-76f3-44b7-8e99-212bdd6a9822"
  decimalai-version: "1"
  decimalai-body-sha256: "cf14dd06ca6f9647013a5f160a1b8ace7a90a2efc99626efc3b2283b7d17a49d"
  decimalai-name: "agentii-ai/portfolio-hedging"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "finance"
  decimalai-source: "https://app.decimal.ai/s/agentii-ai-portfolio-hedging@1/SKILL.md"
---
## Defaults

| Parameter | Default Value | Rationale |
|-----------|---------------|-----------|
| parameter_free | true | This skill has no tunable parameters; analysis scope set by temporal_scope frontmatter |

## Preflight

Run canonical pre-flight per `contracts/preflight.md`. Propagate X-Agentii-Trace per `contracts/x-agentii-trace-header.md`.

## Methodology

### Retrieval Scope
structured_only

### Retrieval Strategy
Query knowledge entries for relevant frameworks; query search_by_analogue for historical cases.

### Temporal Scope
See frontmatter temporal_scope block.

### Tool Allowlist
See frontmatter allowed_tools.

### Protocol
See ## Protocol section below.



# Portfolio Hedging

Portfolio strategy analysis powered by spec 037 L3 knowledge base.

## Preflight
Run the canonical pre-flight sequence. See `contracts/preflight.md`.

## Data Source Priority
1. Knowledge entries (L3 strategy frameworks) → 2. `search_by_analogue` for strategy cases → 3. XBRL facts (position/portfolio context)

## Protocol
1. **Strategy Framework** — apply L3 frameworks from `references/knowledge-frameworks.md`
2. **Analogue Retrieval** — query historical cases matching the strategy pattern
3. **Quantitative Analysis** — compute relevant metrics using XBRL + knowledge frameworks

## Methodology

### Retrieval Scope
structured_only

### Retrieval Strategy
Query gold.knowledge_entries for frameworks; query search_by_analogue for historical cases.

### Temporal Scope
See frontmatter temporal_scope.

### Tool Allowlist
See frontmatter allowed_tools.

### Protocol
See ## Protocol section below.

## Output File
`{ticker}/{YYYY-MM-DD_HHMM}_portfolio-hedging_{affix}.md`

## Output Structure

1. **Executive Summary** — key findings in 2-3 sentences
2. **Framework Analysis** — applied frameworks with specific findings
3. **Quantitative Metrics** — relevant calculations and benchmarks
4. **Historical Analogues** — matched cases with citations
5. **Risk Assessment** — key risk factors and mitigants
6. **Coverage Gaps** — data limitations and degraded flags
1. Executive Summary 2. Strategy Framework 3. Quantitative Analysis 4. Historical Analogues 5. Risk Assessment 6. Scenarios

## Error Handling
| No L3 frameworks available | Proceed with standard analysis; flag `knowledge_coverage: degraded` |

## Final Summary (TUI)
Include `### Key Citations` block (0–10 /v/ URLs).

## Memory Load

Load prior context before retrieval. See `contracts/memory-load.md`.

## Snapshot

Post-session synthesis. See `contracts/snapshot-synthesis.md`.

## Output Frontmatter

Structured output per `contracts/output-frontmatter-schema.md`.

## References
`references/knowledge-frameworks.md`, `contracts/citation-and-memory.md`
