portfolio
Installation
SKILL.md
Portfolio Overview & Optimization
Display a comprehensive DeFi portfolio dashboard aggregating token balances, staking positions, Troves vault positions, Endur liquid staking (LST), lending positions, DCA orders, and confidential Tongo balances — all with USD valuations. Rebalance the portfolio to a target allocation via automated batch swaps.
Prerequisites
- Active session required.
- For rebalancing: sufficient token balances + gas for batch swap transactions.
Rules
- Use
portfolioas the FIRST command when the user asks "what do I have?" or wants an overall assessment. - The
portfoliocommand is read-only — it never modifies any on-chain state. - USD prices are sourced from the StarkZap SDK and may have slight variations.
- For
portfolio-rebalance, ALWAYS use--simulatefirst to preview the plan before executing. - Target allocations must sum to 100%. If they don't, inform the user and ask them to adjust.
- After rebalancing, run
portfolioagain to confirm the new allocation.