Skip to content

Commit 0092f23

Browse files
Ask only for the inputs each endpoint needs (review feedback)
1 parent 437479e commit 0092f23

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎skills/perp-dex-costs/SKILL.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ Unlike skills that prepare or sign swaps on spot DEXs, this skill only reads dat
2929

3030
## How It Works
3131

32-
### 1. Establish the inputs
32+
### 1. Pick the endpoint, then ask only for its inputs
3333

34-
Ask for, or infer from the request, the base asset (`BTC`, `ETH`, `SOL`, `XRP`, `BNB`, `DOGE`, `HYPE`, `SUI`, `LINK`, `AAVE`, `ENA`, `LTC`) and the order size in USD notional. For funding trades, also the size per leg and the holding days (default 7). If the size is missing, ask; do not assume one.
34+
Choose the endpoint from the table in step 2 by what the user asks, then collect only what that endpoint needs:
35+
36+
- `pair` (base asset: `BTC`, `ETH`, `SOL`, `XRP`, `BNB`, `DOGE`, `HYPE`, `SUI`, `LINK`, `AAVE`, `ENA`, `LTC`) for `best_venue`, `trading_cost`, `funding_rates`, `depth` and `delta_neutral`.
37+
- Order size in USD notional for `best_venue` and `trading_cost`; size per leg and holding days (default 7) for `delta_neutral`. Never assume a size for a cost calculation: if it is missing, ask.
38+
- `list_venues` and `live_airdrops` need nothing; `changes` takes optional `days`; `signup_link` takes `venue`.
3539

3640
### 2. Call the matching endpoint
3741

0 commit comments

Comments
 (0)