{
  "supportedInterfaces": [
    {
      "url": "https://clawdcode.net/api/agent/a2a",
      "protocolBinding": "HTTP+JSON",
      "protocolVersion": "1.0.0"
    }
  ],
  "name": "clawdbrowser-perps-agent",
  "description": "ClawdBrowser Perpetuals Trading Agent — Phoenix perpetuals on Solana via Rise SDK. Market data, orderbooks, positions, margin/risk, and unsigned order construction.",
  "version": "2.0.0",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false
  },
  "defaultInputModes": ["text/plain"],
  "defaultOutputModes": ["text/plain", "application/json"],
  "skills": [
    {
      "id": "ListMarkets",
      "name": "ListMarkets",
      "description": "List all available Phoenix perpetual markets with mark price, funding rate, open interest, and status.",
      "tags": ["perps", "markets", "phoenix", "solana"]
    },
    {
      "id": "GetAllTickers",
      "name": "GetAllTickers",
      "description": "Get ticker snapshots for all available Phoenix perpetual markets.",
      "tags": ["perps", "tickers", "phoenix", "markets"]
    },
    {
      "id": "GetTicker",
      "name": "GetTicker",
      "description": "Get a single market snapshot with mark price, funding rate, and open interest.",
      "tags": ["perps", "ticker", "phoenix"]
    },
    {
      "id": "GetOrderbook",
      "name": "GetOrderbook",
      "description": "Get L2 orderbook snapshot for a given symbol with bids and asks.",
      "tags": ["perps", "orderbook", "phoenix"]
    },
    {
      "id": "GetCandles",
      "name": "GetCandles",
      "description": "Get OHLCV candle history for a given market symbol.",
      "tags": ["perps", "candles", "analytics"]
    },
    {
      "id": "GetFundingRates",
      "name": "GetFundingRates",
      "description": "Get current funding rates (1h, 8h, annualized) for a market.",
      "tags": ["perps", "funding", "analytics"]
    },
    {
      "id": "GetPortfolio",
      "name": "GetPortfolio",
      "description": "Get trader portfolio snapshot including positions, collateral, and unrealized PnL.",
      "tags": ["perps", "portfolio", "positions"]
    },
    {
      "id": "GetPositions",
      "name": "GetPositions",
      "description": "Get list of open positions with size, notional, entry/mark price, and PnL.",
      "tags": ["perps", "positions", "portfolio"]
    },
    {
      "id": "GetMarginStatus",
      "name": "GetMarginStatus",
      "description": "Get margin status including collateral, free collateral, maintenance margin, and liquidation risk.",
      "tags": ["perps", "margin", "risk"]
    },
    {
      "id": "GetLiquidationPrice",
      "name": "GetLiquidationPrice",
      "description": "Estimate liquidation price for a position on a given market.",
      "tags": ["perps", "liquidation", "risk"]
    },
    {
      "id": "GetBbo",
      "name": "GetBbo",
      "description": "Get best bid/offer with mark price for a given market symbol.",
      "tags": ["perps", "bbo", "orderbook"]
    },
    {
      "id": "BuildMarketOrder",
      "name": "BuildMarketOrder",
      "description": "Build unsigned market order instructions for a Phoenix perpetual trade.",
      "tags": ["perps", "order", "execution", "trading"]
    },
    {
      "id": "BuildLimitOrder",
      "name": "BuildLimitOrder",
      "description": "Build unsigned limit order instructions at a specific price.",
      "tags": ["perps", "order", "limit", "trading"]
    },
    {
      "id": "BuildStopLoss",
      "name": "BuildStopLoss",
      "description": "Build unsigned stop loss order instructions for risk management.",
      "tags": ["perps", "stop-loss", "risk", "trading"]
    },
    {
      "id": "CancelOrders",
      "name": "CancelOrders",
      "description": "Cancel specific orders or all orders for a given market.",
      "tags": ["perps", "cancel", "order-management"]
    },
    {
      "id": "DepositCollateral",
      "name": "DepositCollateral",
      "description": "Build unsigned deposit instructions to add USDC collateral.",
      "tags": ["perps", "deposit", "collateral"]
    },
    {
      "id": "WithdrawCollateral",
      "name": "WithdrawCollateral",
      "description": "Build unsigned withdraw instructions to remove USDC collateral.",
      "tags": ["perps", "withdraw", "collateral"]
    },
    {
      "id": "QueryReasoningEngine",
      "name": "QueryReasoningEngine",
      "description": "Query the x402 Vertex AI Reasoning Engine for technical analysis, market insights, and trading strategies.",
      "tags": ["ai", "reasoning", "vertex", "analysis"]
    }
  ]
}
