# Defi Portfolio

> Use this skill for a unified view of a wallet's DeFi positions across all Cardano protocols. Triggers on: "show all my positions", "DeFi portfolio", "what do I have open", "total exposure", "all my DeFi", "positions across protocols", "unified portfolio view".

- Skill: `flux-point-studios/defi-portfolio` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add flux-point-studios/defi-portfolio`
- Raw SKILL.md: https://api.skillmd.com/api/skills/flux-point-studios/defi-portfolio/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: flux-point-studios (https://skillmd.com/u/flux-point-studios)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/flux-point-studios/defi-portfolio

---


# Unified DeFi Portfolio

View all DeFi positions across Cardano protocols in one place.

## Capabilities

Aggregates positions from:
- **SaturnSwap**: Open orders + liquidity positions
- **Strike Finance**: Leveraged perp positions
- **Bodega Markets**: Prediction market shares
- **Surf Finance**: Lending/borrowing positions (via pool state)

## Scripts

### Full Portfolio

```bash
node scripts/portfolio.js --address <bech32>
```

Queries all protocols in parallel and shows a unified summary.

## Key Concepts

- Each protocol is queried independently — some may fail without affecting others
- Positions are grouped by protocol and type
- Values are shown in ADA where possible
- Environment variables for each protocol must be set for their section to appear

