360 Secure SkillHub
360 安全技能中心

Uniswap Track Performance

核心功能:追踪Uniswap流动性挖矿(LP)仓位绩效变化,委托portfolio-analyst agent核查仓位状态、手续费累计,识别需关注、超范围或未收手续费的仓位。典型场景:用户询问仓位状况、LP绩效、超范围仓位、收益等问题。输入可指定钱包、链、周期,默认用配置钱包、全链、上次检查周期。输出为结构化绩效摘要,含整体收益、仓位详情及行动建议。

wpank
wpank
热度 49.32
最近更新 2026-05-18 12:00:12
分类:数据依赖:内部调用大模型应用场景:财务 / 报告撰写 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add track-performance
Metadata
name
track-performance
description
Track the performance of Uniswap LP positions over time — check which positions need attention, are out of range, or have uncollected fees. Use when the user asks how their positions are doing.
model
opus
allowed-tools
["Task(subagent_type:portfolio-analyst)"]

Track Performance

Overview

Tracks the performance of Uniswap LP positions with a focus on changes and alerts since the last review. Delegates to the portfolio-analyst agent to check position status, fee accumulation, and identify positions needing attention.

When to Use

Activate when the user asks:

  • "How are my positions doing?"
  • "Check my LP performance"
  • "Any positions need attention?"
  • "Which positions are out of range?"
  • "How much have I earned today?"
  • "Position status update"

Parameters

Parameter Required Default Description
wallet No Configured agent wallet Wallet address to track
chains No All chains Specific chains or "all"
since No Last check Time period: "24h", "7d", "30d"

Workflow

  1. Extract parameters from the user's request: identify wallet, chain filter, and time period.

  2. Delegate to portfolio-analyst: Invoke Task(subagent_type:portfolio-analyst) with a focus on performance tracking and alerts. The agent checks all positions, identifies status changes, and flags positions needing attention.

  3. Present results: Format as a performance summary with actionable alerts.

Output Format

Performance Update (last 24h)

  Overall: +$320 (+0.26%)

  Positions:
    USDC/WETH 0.05% (Ethereum) — IN RANGE ✓
      Fees earned (24h): $180
      Value change:      +$120
      Status: Healthy

    UNI/WETH 0.30% (Ethereum) — OUT OF RANGE ⚠
      Fees earned (24h): $0 (not earning — out of range)
      Value change:      -$50
      Status: Needs rebalance

  Action Items:
    1. Rebalance UNI/WETH position (out of range since 6h ago)
    2. Consider collecting $1,200 in accumulated fees from UNI/WETH

Important Notes

  • Delegates entirely to portfolio-analyst — no direct MCP tool calls.
  • "Out of range" positions are not earning fees and may need rebalancing.
  • Action items are suggestions, not automatic actions.
  • Performance data may be slightly delayed due to RPC/subgraph sync.

Error Handling

Error User-Facing Message Suggested Action
Wallet not configured "No wallet configured." Set WALLET_TYPE + PRIVATE_KEY
No positions found "No Uniswap positions found." Wallet may not have LP'd
Data stale "Position data may be delayed." Try again in a few minutes