[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-uniswap-index-bot":3,"mdc-kdt0jz-key":36,"related-org-uniswap-index-bot":1220,"related-repo-uniswap-index-bot":1366},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"index-bot","create and rebalance asset portfolios","This skill should be used when the user asks to \"create an index\", \"build a basket of top assets\", \"buy a weighted basket\", \"make a portfolio of assets\", \"equal-weight basket\", \"rebalance my portfolio\", \"track the top N tokens\", or wants an automated, weighted multi-asset basket that buys in one pass and rebalances on a cadence. Builds the basket spec, delegates each buy and rebalance swap to the swap-integration Trading API flow, and records target weights in state.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"uniswap","Uniswap","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Funiswap.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Portfolio Management","portfolio-management","tag",{"name":17,"slug":18,"type":15},"Web3","web3",{"name":20,"slug":21,"type":15},"Trading","trading",{"name":23,"slug":24,"type":15},"Ethereum","ethereum",215,"https:\u002F\u002Fgithub.com\u002FUniswap\u002Funiswap-ai","2026-07-17T06:04:22.328253","MIT",35,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"AI tools for building on Uniswap — skills, plugins, and agents for any coding agent.","https:\u002F\u002Fgithub.com\u002FUniswap\u002Funiswap-ai\u002Ftree\u002FHEAD\u002Fpackages\u002Fplugins\u002Funiswap-trading-tools\u002Fskills\u002Findex-bot","---\nname: index-bot\ndescription: This skill should be used when the user asks to \"create an index\", \"build a basket of top assets\", \"buy a weighted basket\", \"make a portfolio of assets\", \"equal-weight basket\", \"rebalance my portfolio\", \"track the top N tokens\", or wants an automated, weighted multi-asset basket that buys in one pass and rebalances on a cadence. Builds the basket spec, delegates each buy and rebalance swap to the swap-integration Trading API flow, and records target weights in state.\nallowed-tools: Read, Write, Edit, Glob, Grep, Bash(npm:*), Bash(npx:*), Bash(curl:*), WebFetch, AskUserQuestion\nmodel: sonnet\nlicense: MIT\nmetadata:\n  author: uniswap\n  version: '0.2.0'\nprerequisites:\n  - swap-integration\n  - v4-sdk-integration\n  - viem-integration\n---\n\n# Index Bot\n\nBuild a weighted basket of assets from one instruction, buy the whole basket in one pass, and rebalance on a cadence when weights drift. This skill is a thin strategy layer: it decides what to buy and how much, then delegates every quote, approval, swap, and signing step to existing skills.\n\n> **Runtime Compatibility:** This skill uses `AskUserQuestion` for interactive prompts. If `AskUserQuestion` is not available in your runtime, collect the same parameters through natural language conversation instead.\n\n## Overview\n\nFrom a single prompt (for example \"equal-weight basket of the top 5 RWAs, rebalance weekly\"), index-bot:\n\n1. Parses the basket spec (explicit assets with weights, or a top-N ranking request).\n2. Resolves each asset to a token address and computes per-leg sizing.\n3. Applies guardrails (spend cap, token allowlist, dry-run).\n4. Delegates each buy to the swap-integration Trading API flow on the target chain.\n5. Records target weights and the last rebalance in a state file.\n\nOn a later invocation by the host scheduler, it reads current positions, computes drift versus target weights, generates the adjusting swaps, and delegates them.\n\nThe trigger is twofold: a prompt to create the basket, and the host scheduler (cron or the agent runtime wake-up) for each rebalance run.\n\n## Prerequisites\n\nThis skill does not reimplement swap execution. It depends on:\n\n- **swap-integration** (uniswap-trading): the only execution path. Every buy and rebalance leg goes through its Trading API flow (`check_approval` then `quote` then `swap`, then sign and broadcast). Do not reimplement any of it.\n- **v4-sdk-integration** (uniswap-trading): LP execution, only if a leg also seeds or manages a liquidity position. Default index baskets are spot-only and do not need this.\n- **viem-integration** (uniswap-viem): accounts, signing, transaction broadcast, and reading on-chain balances for the drift calculation.\n\nRead these plugin references before acting and treat them as ground truth:\n\n- selected target-chain template: chainId, chain name, contract addresses, tradable token source, funding constraints, market-data availability, and template-specific caveats. For the reference Robinhood Chain template, see `..\u002F..\u002Freferences\u002Frobinhood-chain.md`.\n- `..\u002F..\u002Freferences\u002Fexecution-model.md`: the Trading API requirement, execution modes, restrictions, and disclaimer rules.\n- `..\u002F..\u002Freferences\u002Fstrategy-state.md`: the shared state file and scheduler pattern.\n\n## Template inputs\n\nThe selected target-chain template must provide:\n\n- chain id, chain name, native gas token, and RPC \u002F read path.\n- deployed Uniswap router, Permit2, and quoter \u002F state-reader addresses needed by delegated execution and valuation.\n- optional v4 PoolManager \u002F PositionManager addresses if the basket also manages LP positions.\n- tradable token resolution rules, including any token list, ranking source, or allowlist source.\n- funding constraints, market-data availability, transfer-restriction caveats, and market-hours guidance.\n\n## Workflow\n\n### Step 1: Parse the basket spec\n\nExtract the basket definition from the prompt:\n\n| Parameter         | Required | Example                                    |\n| ----------------- | -------- | ------------------------------------------ |\n| Assets            | Yes      | explicit list, or \"top 5 RWAs\"             |\n| Weighting         | Yes      | `equal`, or custom weights summing to 1    |\n| Total size        | Yes      | `1000 USDG`, `0.5 ETH`                     |\n| Funding token     | Yes      | the token spent to buy each leg            |\n| Rebalance cadence | Yes      | `weekly`, `monthly`, `none`                |\n| Drift threshold   | No       | rebalance only when a leg drifts > X%      |\n| Spend caps        | Yes      | per-run and per-period caps in token terms |\n\nIf the prompt asks for a top-N ranking (\"top 5 RWAs\"), there is no default ranking source, so do NOT invent or guess a ranking. If the selected template provides an indexer or ranking source and the operator instructs you to use it, use that source. Otherwise ask the user for an explicit asset list via `AskUserQuestion` and proceed from that list. If any other required parameter is missing, including per-run or per-period spend caps, use `AskUserQuestion` with structured options to collect it.\n\n### Step 2: Resolve tokens and per-leg sizing\n\nFor each asset:\n\n1. Resolve the symbol to a token address from the selected target-chain template and its token source. Do not maintain a local registry. If a requested asset cannot resolve from the template's token source, stop and report it rather than guessing.\n2. Compute the target notional per leg: `legNotional = totalSize * weight`. Price any cross-token sizing with Uniswap quotes (Trading API `\u002Fquote` via `swap-integration`, or `V4Quoter` via `v4-sdk-integration`), never an external feed or venue-specific API.\n3. Record the funding-token amount to spend on that leg.\n\nVerify each resolved address is a contract before sizing. If an asset cannot be resolved on the target chain, stop and report it rather than guessing.\n\n### Step 3: Guardrails\n\nBefore any execution:\n\n- Ask the operator for any missing per-run or per-period spend cap using `AskUserQuestion` (or natural language if unavailable); include the funding token or denomination used for comparison. If either cap remains unset, do not enter `autonomous` mode.\n- Confirm the basket total is within the configured spend cap (per run and per period).\n- Confirm every leg token is on the operator's allowlist.\n- Run a dry-run first that prints each planned leg (token, amount, weight) for review.\n- Confirm equity market hours if any leg is a RWA (off-hours liquidity may be thin).\n- Per leg, check the wallet can cover that leg: it must hold enough of the funding token (`tokenIn`) for the leg's buy amount and enough native gas to broadcast. If a leg is short on either, skip that leg and report it, then continue the rest of the basket. Follow the selected template's funding constraints; the skill does not auto-fund, bridge, or top up unless that behavior is explicitly provided outside the skill.\n\n### Step 4: Buy the basket (delegate)\n\nFor each leg, delegate to the swap-integration Trading API flow: `check_approval` then `quote` then `swap`, then sign and broadcast via viem. Pass the target chain id and that chain's router \u002F token addresses from the selected template.\n\nDo NOT reimplement quoting, approvals, swap-body construction, or signing. Sequence legs with a short delay to respect Trading API rate limits, and handle a failed leg without abandoning the rest of the basket (report it and continue).\n\n### Step 5: Record target weights\n\nAfter the buys succeed, write the target weights and the rebalance metadata to the state file (see `..\u002F..\u002Freferences\u002Fstrategy-state.md`). This is what later drift calculations compare against.\n\n### Rebalance loop\n\nOn each scheduled invocation:\n\n1. Read state to load target weights and `lastRebalanceAt`.\n2. Check idempotency: if this cadence period was already rebalanced, skip.\n3. Read current on-chain balances for each leg via viem and value them in the funding token using Uniswap quotes (Trading API `\u002Fquote` via `swap-integration`, or `V4Quoter` \u002F `StateView` via `v4-sdk-integration`) to get current weights. Do not use venue-specific APIs or external price feeds; see `..\u002F..\u002Freferences\u002Fexecution-model.md` (Data and pricing).\n4. Compute drift per leg: `drift = currentWeight - targetWeight`. Compare the absolute drift `|drift|` against the threshold so both overweight (`drift > 0`) and underweight (`drift \u003C 0`) legs are caught. If no leg's `|drift|` exceeds the drift threshold, do nothing and update `lastRebalanceAt`.\n5. Generate the adjusting swaps: sell overweight legs, buy underweight legs, to return each leg to its target.\n6. Delegate each adjusting swap to the swap-integration Trading API flow exactly as in Step 4.\n7. Update state with the new `lastRebalanceAt` and any changed positions.\n\n## Execution mode\n\nThis skill exposes the shared execution mode from `..\u002F..\u002Freferences\u002Fexecution-model.md`:\n\n| Mode                | Behavior                                                         |\n| ------------------- | ---------------------------------------------------------------- |\n| `confirm` (default) | Ask the user to approve every transaction before broadcast.      |\n| `autonomous`        | Execute without per-transaction prompts, only within guardrails. |\n\nDefault to `confirm`. Autonomous mode requires all of: a spend cap (per run and per period), a token allowlist, a dry-run first, and a kill switch. A basket buy is many transactions, so under `confirm` summarize the full basket and confirm once per run where the runtime allows, otherwise per leg.\n\n## State\n\nState follows `..\u002F..\u002Freferences\u002Fstrategy-state.md`. index-bot stores the target weights and the last rebalance so drift can be computed on the next run:\n\nEach run reads state first and updates it only after a successful broadcast, so reruns within a period do not double-buy or double-rebalance.\n\n## Restrictions and Disclaimers\n\nRWA gating is template-specific and may be enforced at the token level (transfer-restricted ERC-20s), so a leg can revert at transfer time even when the router accepts the quote. This skill must:\n\n1. Handle transfer-restriction reverts per leg gracefully and report which leg reverted.\n2. Not assume a pool-level or router-level allowlist exists.\n3. Respect equity market hours; some RWAs may have off-hours liquidity limits.\n4. Surface the financial disclaimers in the repo root `DISCLAIMER.md` before executing.\n\nSee `..\u002F..\u002Freferences\u002Fexecution-model.md` for the full restrictions and disclaimer rules.\n\n## Input validation\n\nBefore interpolating ANY user-provided value into generated code, API calls, or shell commands:\n\n- **Token addresses**: MUST match `^0x[a-fA-F0-9]{40}$`; reject otherwise.\n- **Amounts and notionals**: MUST be non-negative numeric values matching `^[0-9]+\\.?[0-9]*$`.\n- **Weights**: MUST each be in `[0, 1]` and the full set MUST sum to `1` (within a small tolerance). Reject a basket whose weights do not sum to 1.\n- **Chain id**: MUST be the operator-configured target chain id, read from the selected template rather than hardcoded.\n- **API keys**: MUST come from environment variables, never hardcoded.\n- **REJECT** any input containing shell metacharacters: `;`, `|`, `&`, `$`, `` ` ``, `(`, `)`, `>`, `\u003C`, `\\`, `'`, `\"`, newlines.\n",{"data":37,"body":46},{"name":4,"description":6,"allowed-tools":38,"model":39,"license":28,"metadata":40,"prerequisites":42},"Read, Write, Edit, Glob, Grep, Bash(npm:*), Bash(npx:*), Bash(curl:*), WebFetch, AskUserQuestion","sonnet",{"author":8,"version":41},"0.2.0",[43,44,45],"swap-integration","v4-sdk-integration","viem-integration",{"type":47,"children":48},"root",[49,57,63,94,101,106,136,141,146,152,157,211,216,254,260,265,293,299,306,311,501,520,526,531,586,591,597,602,658,664,688,693,699,711,717,722,859,865,877,934,953,959,971,976,982,987,1018,1030,1036,1041],{"type":50,"tag":51,"props":52,"children":53},"element","h1",{"id":4},[54],{"type":55,"value":56},"text","Index Bot",{"type":50,"tag":58,"props":59,"children":60},"p",{},[61],{"type":55,"value":62},"Build a weighted basket of assets from one instruction, buy the whole basket in one pass, and rebalance on a cadence when weights drift. This skill is a thin strategy layer: it decides what to buy and how much, then delegates every quote, approval, swap, and signing step to existing skills.",{"type":50,"tag":64,"props":65,"children":66},"blockquote",{},[67],{"type":50,"tag":58,"props":68,"children":69},{},[70,76,78,85,87,92],{"type":50,"tag":71,"props":72,"children":73},"strong",{},[74],{"type":55,"value":75},"Runtime Compatibility:",{"type":55,"value":77}," This skill uses ",{"type":50,"tag":79,"props":80,"children":82},"code",{"className":81},[],[83],{"type":55,"value":84},"AskUserQuestion",{"type":55,"value":86}," for interactive prompts. If ",{"type":50,"tag":79,"props":88,"children":90},{"className":89},[],[91],{"type":55,"value":84},{"type":55,"value":93}," is not available in your runtime, collect the same parameters through natural language conversation instead.",{"type":50,"tag":95,"props":96,"children":98},"h2",{"id":97},"overview",[99],{"type":55,"value":100},"Overview",{"type":50,"tag":58,"props":102,"children":103},{},[104],{"type":55,"value":105},"From a single prompt (for example \"equal-weight basket of the top 5 RWAs, rebalance weekly\"), index-bot:",{"type":50,"tag":107,"props":108,"children":109},"ol",{},[110,116,121,126,131],{"type":50,"tag":111,"props":112,"children":113},"li",{},[114],{"type":55,"value":115},"Parses the basket spec (explicit assets with weights, or a top-N ranking request).",{"type":50,"tag":111,"props":117,"children":118},{},[119],{"type":55,"value":120},"Resolves each asset to a token address and computes per-leg sizing.",{"type":50,"tag":111,"props":122,"children":123},{},[124],{"type":55,"value":125},"Applies guardrails (spend cap, token allowlist, dry-run).",{"type":50,"tag":111,"props":127,"children":128},{},[129],{"type":55,"value":130},"Delegates each buy to the swap-integration Trading API flow on the target chain.",{"type":50,"tag":111,"props":132,"children":133},{},[134],{"type":55,"value":135},"Records target weights and the last rebalance in a state file.",{"type":50,"tag":58,"props":137,"children":138},{},[139],{"type":55,"value":140},"On a later invocation by the host scheduler, it reads current positions, computes drift versus target weights, generates the adjusting swaps, and delegates them.",{"type":50,"tag":58,"props":142,"children":143},{},[144],{"type":55,"value":145},"The trigger is twofold: a prompt to create the basket, and the host scheduler (cron or the agent runtime wake-up) for each rebalance run.",{"type":50,"tag":95,"props":147,"children":149},{"id":148},"prerequisites",[150],{"type":55,"value":151},"Prerequisites",{"type":50,"tag":58,"props":153,"children":154},{},[155],{"type":55,"value":156},"This skill does not reimplement swap execution. It depends on:",{"type":50,"tag":158,"props":159,"children":160},"ul",{},[161,193,202],{"type":50,"tag":111,"props":162,"children":163},{},[164,168,170,176,178,184,185,191],{"type":50,"tag":71,"props":165,"children":166},{},[167],{"type":55,"value":43},{"type":55,"value":169}," (uniswap-trading): the only execution path. Every buy and rebalance leg goes through its Trading API flow (",{"type":50,"tag":79,"props":171,"children":173},{"className":172},[],[174],{"type":55,"value":175},"check_approval",{"type":55,"value":177}," then ",{"type":50,"tag":79,"props":179,"children":181},{"className":180},[],[182],{"type":55,"value":183},"quote",{"type":55,"value":177},{"type":50,"tag":79,"props":186,"children":188},{"className":187},[],[189],{"type":55,"value":190},"swap",{"type":55,"value":192},", then sign and broadcast). Do not reimplement any of it.",{"type":50,"tag":111,"props":194,"children":195},{},[196,200],{"type":50,"tag":71,"props":197,"children":198},{},[199],{"type":55,"value":44},{"type":55,"value":201}," (uniswap-trading): LP execution, only if a leg also seeds or manages a liquidity position. Default index baskets are spot-only and do not need this.",{"type":50,"tag":111,"props":203,"children":204},{},[205,209],{"type":50,"tag":71,"props":206,"children":207},{},[208],{"type":55,"value":45},{"type":55,"value":210}," (uniswap-viem): accounts, signing, transaction broadcast, and reading on-chain balances for the drift calculation.",{"type":50,"tag":58,"props":212,"children":213},{},[214],{"type":55,"value":215},"Read these plugin references before acting and treat them as ground truth:",{"type":50,"tag":158,"props":217,"children":218},{},[219,232,243],{"type":50,"tag":111,"props":220,"children":221},{},[222,224,230],{"type":55,"value":223},"selected target-chain template: chainId, chain name, contract addresses, tradable token source, funding constraints, market-data availability, and template-specific caveats. For the reference Robinhood Chain template, see ",{"type":50,"tag":79,"props":225,"children":227},{"className":226},[],[228],{"type":55,"value":229},"..\u002F..\u002Freferences\u002Frobinhood-chain.md",{"type":55,"value":231},".",{"type":50,"tag":111,"props":233,"children":234},{},[235,241],{"type":50,"tag":79,"props":236,"children":238},{"className":237},[],[239],{"type":55,"value":240},"..\u002F..\u002Freferences\u002Fexecution-model.md",{"type":55,"value":242},": the Trading API requirement, execution modes, restrictions, and disclaimer rules.",{"type":50,"tag":111,"props":244,"children":245},{},[246,252],{"type":50,"tag":79,"props":247,"children":249},{"className":248},[],[250],{"type":55,"value":251},"..\u002F..\u002Freferences\u002Fstrategy-state.md",{"type":55,"value":253},": the shared state file and scheduler pattern.",{"type":50,"tag":95,"props":255,"children":257},{"id":256},"template-inputs",[258],{"type":55,"value":259},"Template inputs",{"type":50,"tag":58,"props":261,"children":262},{},[263],{"type":55,"value":264},"The selected target-chain template must provide:",{"type":50,"tag":158,"props":266,"children":267},{},[268,273,278,283,288],{"type":50,"tag":111,"props":269,"children":270},{},[271],{"type":55,"value":272},"chain id, chain name, native gas token, and RPC \u002F read path.",{"type":50,"tag":111,"props":274,"children":275},{},[276],{"type":55,"value":277},"deployed Uniswap router, Permit2, and quoter \u002F state-reader addresses needed by delegated execution and valuation.",{"type":50,"tag":111,"props":279,"children":280},{},[281],{"type":55,"value":282},"optional v4 PoolManager \u002F PositionManager addresses if the basket also manages LP positions.",{"type":50,"tag":111,"props":284,"children":285},{},[286],{"type":55,"value":287},"tradable token resolution rules, including any token list, ranking source, or allowlist source.",{"type":50,"tag":111,"props":289,"children":290},{},[291],{"type":55,"value":292},"funding constraints, market-data availability, transfer-restriction caveats, and market-hours guidance.",{"type":50,"tag":95,"props":294,"children":296},{"id":295},"workflow",[297],{"type":55,"value":298},"Workflow",{"type":50,"tag":300,"props":301,"children":303},"h3",{"id":302},"step-1-parse-the-basket-spec",[304],{"type":55,"value":305},"Step 1: Parse the basket spec",{"type":50,"tag":58,"props":307,"children":308},{},[309],{"type":55,"value":310},"Extract the basket definition from the prompt:",{"type":50,"tag":312,"props":313,"children":314},"table",{},[315,339],{"type":50,"tag":316,"props":317,"children":318},"thead",{},[319],{"type":50,"tag":320,"props":321,"children":322},"tr",{},[323,329,334],{"type":50,"tag":324,"props":325,"children":326},"th",{},[327],{"type":55,"value":328},"Parameter",{"type":50,"tag":324,"props":330,"children":331},{},[332],{"type":55,"value":333},"Required",{"type":50,"tag":324,"props":335,"children":336},{},[337],{"type":55,"value":338},"Example",{"type":50,"tag":340,"props":341,"children":342},"tbody",{},[343,362,385,414,431,466,484],{"type":50,"tag":320,"props":344,"children":345},{},[346,352,357],{"type":50,"tag":347,"props":348,"children":349},"td",{},[350],{"type":55,"value":351},"Assets",{"type":50,"tag":347,"props":353,"children":354},{},[355],{"type":55,"value":356},"Yes",{"type":50,"tag":347,"props":358,"children":359},{},[360],{"type":55,"value":361},"explicit list, or \"top 5 RWAs\"",{"type":50,"tag":320,"props":363,"children":364},{},[365,370,374],{"type":50,"tag":347,"props":366,"children":367},{},[368],{"type":55,"value":369},"Weighting",{"type":50,"tag":347,"props":371,"children":372},{},[373],{"type":55,"value":356},{"type":50,"tag":347,"props":375,"children":376},{},[377,383],{"type":50,"tag":79,"props":378,"children":380},{"className":379},[],[381],{"type":55,"value":382},"equal",{"type":55,"value":384},", or custom weights summing to 1",{"type":50,"tag":320,"props":386,"children":387},{},[388,393,397],{"type":50,"tag":347,"props":389,"children":390},{},[391],{"type":55,"value":392},"Total size",{"type":50,"tag":347,"props":394,"children":395},{},[396],{"type":55,"value":356},{"type":50,"tag":347,"props":398,"children":399},{},[400,406,408],{"type":50,"tag":79,"props":401,"children":403},{"className":402},[],[404],{"type":55,"value":405},"1000 USDG",{"type":55,"value":407},", ",{"type":50,"tag":79,"props":409,"children":411},{"className":410},[],[412],{"type":55,"value":413},"0.5 ETH",{"type":50,"tag":320,"props":415,"children":416},{},[417,422,426],{"type":50,"tag":347,"props":418,"children":419},{},[420],{"type":55,"value":421},"Funding token",{"type":50,"tag":347,"props":423,"children":424},{},[425],{"type":55,"value":356},{"type":50,"tag":347,"props":427,"children":428},{},[429],{"type":55,"value":430},"the token spent to buy each leg",{"type":50,"tag":320,"props":432,"children":433},{},[434,439,443],{"type":50,"tag":347,"props":435,"children":436},{},[437],{"type":55,"value":438},"Rebalance cadence",{"type":50,"tag":347,"props":440,"children":441},{},[442],{"type":55,"value":356},{"type":50,"tag":347,"props":444,"children":445},{},[446,452,453,459,460],{"type":50,"tag":79,"props":447,"children":449},{"className":448},[],[450],{"type":55,"value":451},"weekly",{"type":55,"value":407},{"type":50,"tag":79,"props":454,"children":456},{"className":455},[],[457],{"type":55,"value":458},"monthly",{"type":55,"value":407},{"type":50,"tag":79,"props":461,"children":463},{"className":462},[],[464],{"type":55,"value":465},"none",{"type":50,"tag":320,"props":467,"children":468},{},[469,474,479],{"type":50,"tag":347,"props":470,"children":471},{},[472],{"type":55,"value":473},"Drift threshold",{"type":50,"tag":347,"props":475,"children":476},{},[477],{"type":55,"value":478},"No",{"type":50,"tag":347,"props":480,"children":481},{},[482],{"type":55,"value":483},"rebalance only when a leg drifts > X%",{"type":50,"tag":320,"props":485,"children":486},{},[487,492,496],{"type":50,"tag":347,"props":488,"children":489},{},[490],{"type":55,"value":491},"Spend caps",{"type":50,"tag":347,"props":493,"children":494},{},[495],{"type":55,"value":356},{"type":50,"tag":347,"props":497,"children":498},{},[499],{"type":55,"value":500},"per-run and per-period caps in token terms",{"type":50,"tag":58,"props":502,"children":503},{},[504,506,511,513,518],{"type":55,"value":505},"If the prompt asks for a top-N ranking (\"top 5 RWAs\"), there is no default ranking source, so do NOT invent or guess a ranking. If the selected template provides an indexer or ranking source and the operator instructs you to use it, use that source. Otherwise ask the user for an explicit asset list via ",{"type":50,"tag":79,"props":507,"children":509},{"className":508},[],[510],{"type":55,"value":84},{"type":55,"value":512}," and proceed from that list. If any other required parameter is missing, including per-run or per-period spend caps, use ",{"type":50,"tag":79,"props":514,"children":516},{"className":515},[],[517],{"type":55,"value":84},{"type":55,"value":519}," with structured options to collect it.",{"type":50,"tag":300,"props":521,"children":523},{"id":522},"step-2-resolve-tokens-and-per-leg-sizing",[524],{"type":55,"value":525},"Step 2: Resolve tokens and per-leg sizing",{"type":50,"tag":58,"props":527,"children":528},{},[529],{"type":55,"value":530},"For each asset:",{"type":50,"tag":107,"props":532,"children":533},{},[534,539,581],{"type":50,"tag":111,"props":535,"children":536},{},[537],{"type":55,"value":538},"Resolve the symbol to a token address from the selected target-chain template and its token source. Do not maintain a local registry. If a requested asset cannot resolve from the template's token source, stop and report it rather than guessing.",{"type":50,"tag":111,"props":540,"children":541},{},[542,544,550,552,558,560,565,567,573,574,579],{"type":55,"value":543},"Compute the target notional per leg: ",{"type":50,"tag":79,"props":545,"children":547},{"className":546},[],[548],{"type":55,"value":549},"legNotional = totalSize * weight",{"type":55,"value":551},". Price any cross-token sizing with Uniswap quotes (Trading API ",{"type":50,"tag":79,"props":553,"children":555},{"className":554},[],[556],{"type":55,"value":557},"\u002Fquote",{"type":55,"value":559}," via ",{"type":50,"tag":79,"props":561,"children":563},{"className":562},[],[564],{"type":55,"value":43},{"type":55,"value":566},", or ",{"type":50,"tag":79,"props":568,"children":570},{"className":569},[],[571],{"type":55,"value":572},"V4Quoter",{"type":55,"value":559},{"type":50,"tag":79,"props":575,"children":577},{"className":576},[],[578],{"type":55,"value":44},{"type":55,"value":580},"), never an external feed or venue-specific API.",{"type":50,"tag":111,"props":582,"children":583},{},[584],{"type":55,"value":585},"Record the funding-token amount to spend on that leg.",{"type":50,"tag":58,"props":587,"children":588},{},[589],{"type":55,"value":590},"Verify each resolved address is a contract before sizing. If an asset cannot be resolved on the target chain, stop and report it rather than guessing.",{"type":50,"tag":300,"props":592,"children":594},{"id":593},"step-3-guardrails",[595],{"type":55,"value":596},"Step 3: Guardrails",{"type":50,"tag":58,"props":598,"children":599},{},[600],{"type":55,"value":601},"Before any execution:",{"type":50,"tag":158,"props":603,"children":604},{},[605,625,630,635,640,645],{"type":50,"tag":111,"props":606,"children":607},{},[608,610,615,617,623],{"type":55,"value":609},"Ask the operator for any missing per-run or per-period spend cap using ",{"type":50,"tag":79,"props":611,"children":613},{"className":612},[],[614],{"type":55,"value":84},{"type":55,"value":616}," (or natural language if unavailable); include the funding token or denomination used for comparison. If either cap remains unset, do not enter ",{"type":50,"tag":79,"props":618,"children":620},{"className":619},[],[621],{"type":55,"value":622},"autonomous",{"type":55,"value":624}," mode.",{"type":50,"tag":111,"props":626,"children":627},{},[628],{"type":55,"value":629},"Confirm the basket total is within the configured spend cap (per run and per period).",{"type":50,"tag":111,"props":631,"children":632},{},[633],{"type":55,"value":634},"Confirm every leg token is on the operator's allowlist.",{"type":50,"tag":111,"props":636,"children":637},{},[638],{"type":55,"value":639},"Run a dry-run first that prints each planned leg (token, amount, weight) for review.",{"type":50,"tag":111,"props":641,"children":642},{},[643],{"type":55,"value":644},"Confirm equity market hours if any leg is a RWA (off-hours liquidity may be thin).",{"type":50,"tag":111,"props":646,"children":647},{},[648,650,656],{"type":55,"value":649},"Per leg, check the wallet can cover that leg: it must hold enough of the funding token (",{"type":50,"tag":79,"props":651,"children":653},{"className":652},[],[654],{"type":55,"value":655},"tokenIn",{"type":55,"value":657},") for the leg's buy amount and enough native gas to broadcast. If a leg is short on either, skip that leg and report it, then continue the rest of the basket. Follow the selected template's funding constraints; the skill does not auto-fund, bridge, or top up unless that behavior is explicitly provided outside the skill.",{"type":50,"tag":300,"props":659,"children":661},{"id":660},"step-4-buy-the-basket-delegate",[662],{"type":55,"value":663},"Step 4: Buy the basket (delegate)",{"type":50,"tag":58,"props":665,"children":666},{},[667,669,674,675,680,681,686],{"type":55,"value":668},"For each leg, delegate to the swap-integration Trading API flow: ",{"type":50,"tag":79,"props":670,"children":672},{"className":671},[],[673],{"type":55,"value":175},{"type":55,"value":177},{"type":50,"tag":79,"props":676,"children":678},{"className":677},[],[679],{"type":55,"value":183},{"type":55,"value":177},{"type":50,"tag":79,"props":682,"children":684},{"className":683},[],[685],{"type":55,"value":190},{"type":55,"value":687},", then sign and broadcast via viem. Pass the target chain id and that chain's router \u002F token addresses from the selected template.",{"type":50,"tag":58,"props":689,"children":690},{},[691],{"type":55,"value":692},"Do NOT reimplement quoting, approvals, swap-body construction, or signing. Sequence legs with a short delay to respect Trading API rate limits, and handle a failed leg without abandoning the rest of the basket (report it and continue).",{"type":50,"tag":300,"props":694,"children":696},{"id":695},"step-5-record-target-weights",[697],{"type":55,"value":698},"Step 5: Record target weights",{"type":50,"tag":58,"props":700,"children":701},{},[702,704,709],{"type":55,"value":703},"After the buys succeed, write the target weights and the rebalance metadata to the state file (see ",{"type":50,"tag":79,"props":705,"children":707},{"className":706},[],[708],{"type":55,"value":251},{"type":55,"value":710},"). This is what later drift calculations compare against.",{"type":50,"tag":300,"props":712,"children":714},{"id":713},"rebalance-loop",[715],{"type":55,"value":716},"Rebalance loop",{"type":50,"tag":58,"props":718,"children":719},{},[720],{"type":55,"value":721},"On each scheduled invocation:",{"type":50,"tag":107,"props":723,"children":724},{},[725,737,742,787,837,842,847],{"type":50,"tag":111,"props":726,"children":727},{},[728,730,736],{"type":55,"value":729},"Read state to load target weights and ",{"type":50,"tag":79,"props":731,"children":733},{"className":732},[],[734],{"type":55,"value":735},"lastRebalanceAt",{"type":55,"value":231},{"type":50,"tag":111,"props":738,"children":739},{},[740],{"type":55,"value":741},"Check idempotency: if this cadence period was already rebalanced, skip.",{"type":50,"tag":111,"props":743,"children":744},{},[745,747,752,753,758,759,764,766,772,773,778,780,785],{"type":55,"value":746},"Read current on-chain balances for each leg via viem and value them in the funding token using Uniswap quotes (Trading API ",{"type":50,"tag":79,"props":748,"children":750},{"className":749},[],[751],{"type":55,"value":557},{"type":55,"value":559},{"type":50,"tag":79,"props":754,"children":756},{"className":755},[],[757],{"type":55,"value":43},{"type":55,"value":566},{"type":50,"tag":79,"props":760,"children":762},{"className":761},[],[763],{"type":55,"value":572},{"type":55,"value":765}," \u002F ",{"type":50,"tag":79,"props":767,"children":769},{"className":768},[],[770],{"type":55,"value":771},"StateView",{"type":55,"value":559},{"type":50,"tag":79,"props":774,"children":776},{"className":775},[],[777],{"type":55,"value":44},{"type":55,"value":779},") to get current weights. Do not use venue-specific APIs or external price feeds; see ",{"type":50,"tag":79,"props":781,"children":783},{"className":782},[],[784],{"type":55,"value":240},{"type":55,"value":786}," (Data and pricing).",{"type":50,"tag":111,"props":788,"children":789},{},[790,792,798,800,806,808,814,816,822,824,829,831,836],{"type":55,"value":791},"Compute drift per leg: ",{"type":50,"tag":79,"props":793,"children":795},{"className":794},[],[796],{"type":55,"value":797},"drift = currentWeight - targetWeight",{"type":55,"value":799},". Compare the absolute drift ",{"type":50,"tag":79,"props":801,"children":803},{"className":802},[],[804],{"type":55,"value":805},"|drift|",{"type":55,"value":807}," against the threshold so both overweight (",{"type":50,"tag":79,"props":809,"children":811},{"className":810},[],[812],{"type":55,"value":813},"drift > 0",{"type":55,"value":815},") and underweight (",{"type":50,"tag":79,"props":817,"children":819},{"className":818},[],[820],{"type":55,"value":821},"drift \u003C 0",{"type":55,"value":823},") legs are caught. If no leg's ",{"type":50,"tag":79,"props":825,"children":827},{"className":826},[],[828],{"type":55,"value":805},{"type":55,"value":830}," exceeds the drift threshold, do nothing and update ",{"type":50,"tag":79,"props":832,"children":834},{"className":833},[],[835],{"type":55,"value":735},{"type":55,"value":231},{"type":50,"tag":111,"props":838,"children":839},{},[840],{"type":55,"value":841},"Generate the adjusting swaps: sell overweight legs, buy underweight legs, to return each leg to its target.",{"type":50,"tag":111,"props":843,"children":844},{},[845],{"type":55,"value":846},"Delegate each adjusting swap to the swap-integration Trading API flow exactly as in Step 4.",{"type":50,"tag":111,"props":848,"children":849},{},[850,852,857],{"type":55,"value":851},"Update state with the new ",{"type":50,"tag":79,"props":853,"children":855},{"className":854},[],[856],{"type":55,"value":735},{"type":55,"value":858}," and any changed positions.",{"type":50,"tag":95,"props":860,"children":862},{"id":861},"execution-mode",[863],{"type":55,"value":864},"Execution mode",{"type":50,"tag":58,"props":866,"children":867},{},[868,870,875],{"type":55,"value":869},"This skill exposes the shared execution mode from ",{"type":50,"tag":79,"props":871,"children":873},{"className":872},[],[874],{"type":55,"value":240},{"type":55,"value":876},":",{"type":50,"tag":312,"props":878,"children":879},{},[880,896],{"type":50,"tag":316,"props":881,"children":882},{},[883],{"type":50,"tag":320,"props":884,"children":885},{},[886,891],{"type":50,"tag":324,"props":887,"children":888},{},[889],{"type":55,"value":890},"Mode",{"type":50,"tag":324,"props":892,"children":893},{},[894],{"type":55,"value":895},"Behavior",{"type":50,"tag":340,"props":897,"children":898},{},[899,918],{"type":50,"tag":320,"props":900,"children":901},{},[902,913],{"type":50,"tag":347,"props":903,"children":904},{},[905,911],{"type":50,"tag":79,"props":906,"children":908},{"className":907},[],[909],{"type":55,"value":910},"confirm",{"type":55,"value":912}," (default)",{"type":50,"tag":347,"props":914,"children":915},{},[916],{"type":55,"value":917},"Ask the user to approve every transaction before broadcast.",{"type":50,"tag":320,"props":919,"children":920},{},[921,929],{"type":50,"tag":347,"props":922,"children":923},{},[924],{"type":50,"tag":79,"props":925,"children":927},{"className":926},[],[928],{"type":55,"value":622},{"type":50,"tag":347,"props":930,"children":931},{},[932],{"type":55,"value":933},"Execute without per-transaction prompts, only within guardrails.",{"type":50,"tag":58,"props":935,"children":936},{},[937,939,944,946,951],{"type":55,"value":938},"Default to ",{"type":50,"tag":79,"props":940,"children":942},{"className":941},[],[943],{"type":55,"value":910},{"type":55,"value":945},". Autonomous mode requires all of: a spend cap (per run and per period), a token allowlist, a dry-run first, and a kill switch. A basket buy is many transactions, so under ",{"type":50,"tag":79,"props":947,"children":949},{"className":948},[],[950],{"type":55,"value":910},{"type":55,"value":952}," summarize the full basket and confirm once per run where the runtime allows, otherwise per leg.",{"type":50,"tag":95,"props":954,"children":956},{"id":955},"state",[957],{"type":55,"value":958},"State",{"type":50,"tag":58,"props":960,"children":961},{},[962,964,969],{"type":55,"value":963},"State follows ",{"type":50,"tag":79,"props":965,"children":967},{"className":966},[],[968],{"type":55,"value":251},{"type":55,"value":970},". index-bot stores the target weights and the last rebalance so drift can be computed on the next run:",{"type":50,"tag":58,"props":972,"children":973},{},[974],{"type":55,"value":975},"Each run reads state first and updates it only after a successful broadcast, so reruns within a period do not double-buy or double-rebalance.",{"type":50,"tag":95,"props":977,"children":979},{"id":978},"restrictions-and-disclaimers",[980],{"type":55,"value":981},"Restrictions and Disclaimers",{"type":50,"tag":58,"props":983,"children":984},{},[985],{"type":55,"value":986},"RWA gating is template-specific and may be enforced at the token level (transfer-restricted ERC-20s), so a leg can revert at transfer time even when the router accepts the quote. This skill must:",{"type":50,"tag":107,"props":988,"children":989},{},[990,995,1000,1005],{"type":50,"tag":111,"props":991,"children":992},{},[993],{"type":55,"value":994},"Handle transfer-restriction reverts per leg gracefully and report which leg reverted.",{"type":50,"tag":111,"props":996,"children":997},{},[998],{"type":55,"value":999},"Not assume a pool-level or router-level allowlist exists.",{"type":50,"tag":111,"props":1001,"children":1002},{},[1003],{"type":55,"value":1004},"Respect equity market hours; some RWAs may have off-hours liquidity limits.",{"type":50,"tag":111,"props":1006,"children":1007},{},[1008,1010,1016],{"type":55,"value":1009},"Surface the financial disclaimers in the repo root ",{"type":50,"tag":79,"props":1011,"children":1013},{"className":1012},[],[1014],{"type":55,"value":1015},"DISCLAIMER.md",{"type":55,"value":1017}," before executing.",{"type":50,"tag":58,"props":1019,"children":1020},{},[1021,1023,1028],{"type":55,"value":1022},"See ",{"type":50,"tag":79,"props":1024,"children":1026},{"className":1025},[],[1027],{"type":55,"value":240},{"type":55,"value":1029}," for the full restrictions and disclaimer rules.",{"type":50,"tag":95,"props":1031,"children":1033},{"id":1032},"input-validation",[1034],{"type":55,"value":1035},"Input validation",{"type":50,"tag":58,"props":1037,"children":1038},{},[1039],{"type":55,"value":1040},"Before interpolating ANY user-provided value into generated code, API calls, or shell commands:",{"type":50,"tag":158,"props":1042,"children":1043},{},[1044,1062,1079,1105,1115,1125],{"type":50,"tag":111,"props":1045,"children":1046},{},[1047,1052,1054,1060],{"type":50,"tag":71,"props":1048,"children":1049},{},[1050],{"type":55,"value":1051},"Token addresses",{"type":55,"value":1053},": MUST match ",{"type":50,"tag":79,"props":1055,"children":1057},{"className":1056},[],[1058],{"type":55,"value":1059},"^0x[a-fA-F0-9]{40}$",{"type":55,"value":1061},"; reject otherwise.",{"type":50,"tag":111,"props":1063,"children":1064},{},[1065,1070,1072,1078],{"type":50,"tag":71,"props":1066,"children":1067},{},[1068],{"type":55,"value":1069},"Amounts and notionals",{"type":55,"value":1071},": MUST be non-negative numeric values matching ",{"type":50,"tag":79,"props":1073,"children":1075},{"className":1074},[],[1076],{"type":55,"value":1077},"^[0-9]+\\.?[0-9]*$",{"type":55,"value":231},{"type":50,"tag":111,"props":1080,"children":1081},{},[1082,1087,1089,1095,1097,1103],{"type":50,"tag":71,"props":1083,"children":1084},{},[1085],{"type":55,"value":1086},"Weights",{"type":55,"value":1088},": MUST each be in ",{"type":50,"tag":79,"props":1090,"children":1092},{"className":1091},[],[1093],{"type":55,"value":1094},"[0, 1]",{"type":55,"value":1096}," and the full set MUST sum to ",{"type":50,"tag":79,"props":1098,"children":1100},{"className":1099},[],[1101],{"type":55,"value":1102},"1",{"type":55,"value":1104}," (within a small tolerance). Reject a basket whose weights do not sum to 1.",{"type":50,"tag":111,"props":1106,"children":1107},{},[1108,1113],{"type":50,"tag":71,"props":1109,"children":1110},{},[1111],{"type":55,"value":1112},"Chain id",{"type":55,"value":1114},": MUST be the operator-configured target chain id, read from the selected template rather than hardcoded.",{"type":50,"tag":111,"props":1116,"children":1117},{},[1118,1123],{"type":50,"tag":71,"props":1119,"children":1120},{},[1121],{"type":55,"value":1122},"API keys",{"type":55,"value":1124},": MUST come from environment variables, never hardcoded.",{"type":50,"tag":111,"props":1126,"children":1127},{},[1128,1133,1135,1141,1142,1148,1149,1155,1156,1162,1163,1169,1170,1176,1177,1183,1184,1190,1191,1197,1198,1204,1205,1211,1212,1218],{"type":50,"tag":71,"props":1129,"children":1130},{},[1131],{"type":55,"value":1132},"REJECT",{"type":55,"value":1134}," any input containing shell metacharacters: ",{"type":50,"tag":79,"props":1136,"children":1138},{"className":1137},[],[1139],{"type":55,"value":1140},";",{"type":55,"value":407},{"type":50,"tag":79,"props":1143,"children":1145},{"className":1144},[],[1146],{"type":55,"value":1147},"|",{"type":55,"value":407},{"type":50,"tag":79,"props":1150,"children":1152},{"className":1151},[],[1153],{"type":55,"value":1154},"&",{"type":55,"value":407},{"type":50,"tag":79,"props":1157,"children":1159},{"className":1158},[],[1160],{"type":55,"value":1161},"$",{"type":55,"value":407},{"type":50,"tag":79,"props":1164,"children":1166},{"className":1165},[],[1167],{"type":55,"value":1168},"`",{"type":55,"value":407},{"type":50,"tag":79,"props":1171,"children":1173},{"className":1172},[],[1174],{"type":55,"value":1175},"(",{"type":55,"value":407},{"type":50,"tag":79,"props":1178,"children":1180},{"className":1179},[],[1181],{"type":55,"value":1182},")",{"type":55,"value":407},{"type":50,"tag":79,"props":1185,"children":1187},{"className":1186},[],[1188],{"type":55,"value":1189},">",{"type":55,"value":407},{"type":50,"tag":79,"props":1192,"children":1194},{"className":1193},[],[1195],{"type":55,"value":1196},"\u003C",{"type":55,"value":407},{"type":50,"tag":79,"props":1199,"children":1201},{"className":1200},[],[1202],{"type":55,"value":1203},"\\",{"type":55,"value":407},{"type":50,"tag":79,"props":1206,"children":1208},{"className":1207},[],[1209],{"type":55,"value":1210},"'",{"type":55,"value":407},{"type":50,"tag":79,"props":1213,"children":1215},{"className":1214},[],[1216],{"type":55,"value":1217},"\"",{"type":55,"value":1219},", newlines.",{"items":1221,"total":1365},[1222,1237,1250,1263,1276,1283,1296,1309,1323,1334,1344,1355],{"slug":1223,"name":1223,"fn":1224,"description":1225,"org":1226,"tags":1227,"stars":25,"repoUrl":26,"updatedAt":1236},"configurator","configure auction smart contract parameters","Configure CCA (Continuous Clearing Auction) smart contract parameters through an interactive bulk form flow. Use when user says \"configure auction\", \"cca auction\", \"setup token auction\", \"auction configuration\", \"continuous auction\", or mentions CCA contracts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1228,1231,1232,1235],{"name":1229,"slug":1230,"type":15},"Configuration","configuration",{"name":23,"slug":24,"type":15},{"name":1233,"slug":1234,"type":15},"Smart Contracts","smart-contracts",{"name":17,"slug":18,"type":15},"2026-07-17T06:08:08.974641",{"slug":1238,"name":1238,"fn":1239,"description":1240,"org":1241,"tags":1242,"stars":25,"repoUrl":26,"updatedAt":1249},"copy-trade","copy trades from crypto wallets","This skill should be used when the user asks to \"copy trades from\" a wallet, \"mirror a wallet\", \"follow this address\", set up \"copy trading\", \"track and replicate a trader\", or mirror another account's swaps bounded by guardrails. Watches a target wallet and mirrors its trades, filtered by chain, asset match, position size, and the follower's own portfolio state.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1243,1246,1247,1248],{"name":1244,"slug":1245,"type":15},"Automation","automation",{"name":23,"slug":24,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},"2026-07-17T06:04:21.974052",{"slug":1251,"name":1251,"fn":1252,"description":1253,"org":1254,"tags":1255,"stars":25,"repoUrl":26,"updatedAt":1262},"dca-bot","automate dollar cost average token purchases","This skill should be used when the user wants to \"dca into\" a token, \"buy X every day\", set up a \"recurring buy\", \"dollar cost average\" into an asset, \"schedule a buy\", or \"auto-buy on a dip\". Buys a fixed amount into a token on a schedule, optionally only when a condition holds (for example only when ETH is below a price threshold). The host agent's scheduler wakes the skill on a cadence; each wake is one self-contained run.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1256,1257,1260,1261],{"name":1244,"slug":1245,"type":15},{"name":1258,"slug":1259,"type":15},"DeFi","defi",{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},"2026-07-17T06:05:37.160647",{"slug":1264,"name":1264,"fn":1265,"description":1266,"org":1267,"tags":1268,"stars":25,"repoUrl":26,"updatedAt":1275},"deployer","deploy Uniswap CCA smart contracts","Deploy CCA (Continuous Clearing Auction) smart contracts using the Factory pattern. Use when user says \"deploy auction\", \"deploy cca\", \"factory deployment\", or wants to deploy a configured auction.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1269,1272,1273,1274],{"name":1270,"slug":1271,"type":15},"Deployment","deployment",{"name":23,"slug":24,"type":15},{"name":1233,"slug":1234,"type":15},{"name":17,"slug":18,"type":15},"2026-07-17T06:08:09.661977",{"slug":4,"name":4,"fn":5,"description":6,"org":1277,"tags":1278,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1279,1280,1281,1282],{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"slug":1284,"name":1284,"fn":1285,"description":1286,"org":1287,"tags":1288,"stars":25,"repoUrl":26,"updatedAt":1295},"liquidity-planner","plan and create liquidity positions","This skill should be used when the user asks to \"provide liquidity\", \"create LP position\", \"add liquidity to pool\", \"become a liquidity provider\", \"create v3 position\", \"create v4 position\", \"concentrated liquidity\", \"set price range\", or mentions providing liquidity, LP positions, or liquidity pools on Uniswap. Generates deep links to create positions in the Uniswap interface.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1289,1290,1291,1294],{"name":1258,"slug":1259,"type":15},{"name":23,"slug":24,"type":15},{"name":1292,"slug":1293,"type":15},"Liquidity","liquidity",{"name":17,"slug":18,"type":15},"2026-07-17T06:08:09.315325",{"slug":1297,"name":1297,"fn":1298,"description":1299,"org":1300,"tags":1301,"stars":25,"repoUrl":26,"updatedAt":1308},"lp-integration","integrate Uniswap liquidity provisioning","Integrate Uniswap liquidity provisioning (LP) into applications via the LP REST API. Use when the user says \"LP API\", \"liquidity provisioning API\", \"provide liquidity programmatically\", \"create LP position via API\", \"add liquidity via API\", \"increase liquidity\", \"decrease liquidity\", \"remove liquidity\", \"claim LP fees\", \"collect LP fees\", \"manage LP positions in code\", or mentions building a backend, bot, or frontend that creates or manages Uniswap v2\u002Fv3\u002Fv4 liquidity positions through an API. Also use when debugging LP API calls (e.g. \u002Flp\u002Fcreate, \u002Flp\u002Fcheck_approval, \u002Flp\u002Fincrease, \u002Flp\u002Fdecrease, \u002Flp\u002Fclaim_fees), unexpected response fields, the approval or EIP-712 permit flow, or transaction-building errors for liquidity positions. For generating deep links to the Uniswap web app instead of calling the API, use the liquidity-planner skill; for using the Uniswap v4 SDK directly rather than the REST API, use the v4-sdk-integration skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1302,1305,1306,1307],{"name":1303,"slug":1304,"type":15},"API Development","api-development",{"name":1258,"slug":1259,"type":15},{"name":1292,"slug":1293,"type":15},{"name":17,"slug":18,"type":15},"2026-07-17T06:08:13.704465",{"slug":1310,"name":1310,"fn":1311,"description":1312,"org":1313,"tags":1314,"stars":25,"repoUrl":26,"updatedAt":1322},"pay-with-any-token","pay HTTP 402 challenges with Uniswap","Pay HTTP 402 payment challenges using tokens via the Tempo CLI and Uniswap Trading API. Use when the user encounters a 402 Payment Required response, needs to fulfill a machine payment, mentions \"MPP\", \"Tempo payment\", \"pay for API access\", \"HTTP 402\", \"x402\", \"machine payment protocol\", \"pay-with-any-token\", \"use tempo\", \"tempo request\", or \"tempo wallet\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1315,1316,1319,1320],{"name":1258,"slug":1259,"type":15},{"name":1317,"slug":1318,"type":15},"Payments","payments",{"name":20,"slug":21,"type":15},{"name":1321,"slug":1321,"type":15},"x402","2026-07-17T06:04:29.756086",{"slug":1324,"name":1324,"fn":1325,"description":1326,"org":1327,"tags":1328,"stars":25,"repoUrl":26,"updatedAt":1333},"pay-with-app","pay 402 payment challenges","Pay HTTP 402 payment challenges issued by OKX's Agent Payments Protocol (APP) on X Layer using tokens from any chain via the Uniswap Trading API. Use this skill whenever the user encounters a 402 challenge whose network resolves to X Layer (chain 196), mentions \"APP\", \"Agent Payments Protocol\", \"OKX agent payment\", \"OKX Onchain OS\", \"OKX agentic wallet\", \"x402 on X Layer\", \"USDT0\", \"x42\", \"Instant Payment\", \"Batch Payment\", \"pay for X Layer API\", or wants to pay an OKX-backed merchant. Even when the user does not explicitly say APP, prefer this skill for any 402 challenge whose network resolves to X Layer (chain 196). For 402 challenges on other chains (Ethereum, Base, Arbitrum, Tempo) use pay-with-any-token instead.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1329,1330,1331,1332],{"name":1303,"slug":1304,"type":15},{"name":1317,"slug":1318,"type":15},{"name":17,"slug":18,"type":15},{"name":1321,"slug":1321,"type":15},"2026-07-17T06:07:38.795043",{"slug":43,"name":43,"fn":1335,"description":1336,"org":1337,"tags":1338,"stars":25,"repoUrl":26,"updatedAt":1343},"integrate Uniswap swap functionality","Integrate Uniswap swaps into applications. Use when user says \"integrate swaps\", \"uniswap\", \"trading api\", \"add swap functionality\", \"build a swap frontend\", \"create a swap script\", \"smart contract swap integration\", \"use Universal Router\", \"Trading API\", or mentions swapping tokens via Uniswap.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1339,1340,1341,1342],{"name":1303,"slug":1304,"type":15},{"name":1258,"slug":1259,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},"2026-07-17T06:08:10.354222",{"slug":1345,"name":1345,"fn":1346,"description":1347,"org":1348,"tags":1349,"stars":25,"repoUrl":26,"updatedAt":1354},"swap-planner","plan and execute token swaps","This skill should be used when the user asks to \"swap tokens\", \"trade ETH for USDC\", \"exchange tokens on Uniswap\", \"buy tokens\", \"sell tokens\", \"convert ETH to stablecoins\", \"find memecoins\", \"discover tokens\", \"research tokens\", \"tokens to buy\", \"find tokens to swap\", \"what should I buy\", or mentions swapping, trading, researching, discovering, buying, or exchanging tokens on any Uniswap-supported chain. Supports both known token swaps and token discovery workflows (discovery uses keyword search and web search — there is no live \"trending\" feed). Generates deep links to execute swaps in the Uniswap interface.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1350,1351,1352,1353],{"name":1258,"slug":1259,"type":15},{"name":1292,"slug":1293,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},"2026-07-17T06:08:10.008152",{"slug":1356,"name":1356,"fn":1357,"description":1358,"org":1359,"tags":1360,"stars":25,"repoUrl":26,"updatedAt":1364},"v4-hook-generator","generate Uniswap v4 hook contracts","Generate Uniswap v4 hook contracts via OpenZeppelin MCP. Use when building custom swap logic, async swaps, hook-owned liquidity, custom curves, dynamic fees, MEV protection, limit orders, or oracle hooks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1361,1362,1363],{"name":23,"slug":24,"type":15},{"name":1233,"slug":1234,"type":15},{"name":17,"slug":18,"type":15},"2026-07-17T06:04:19.17669",19,{"items":1367,"total":1417},[1368,1375,1382,1389,1396,1403,1410],{"slug":1223,"name":1223,"fn":1224,"description":1225,"org":1369,"tags":1370,"stars":25,"repoUrl":26,"updatedAt":1236},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1371,1372,1373,1374],{"name":1229,"slug":1230,"type":15},{"name":23,"slug":24,"type":15},{"name":1233,"slug":1234,"type":15},{"name":17,"slug":18,"type":15},{"slug":1238,"name":1238,"fn":1239,"description":1240,"org":1376,"tags":1377,"stars":25,"repoUrl":26,"updatedAt":1249},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1378,1379,1380,1381],{"name":1244,"slug":1245,"type":15},{"name":23,"slug":24,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"slug":1251,"name":1251,"fn":1252,"description":1253,"org":1383,"tags":1384,"stars":25,"repoUrl":26,"updatedAt":1262},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1385,1386,1387,1388],{"name":1244,"slug":1245,"type":15},{"name":1258,"slug":1259,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"slug":1264,"name":1264,"fn":1265,"description":1266,"org":1390,"tags":1391,"stars":25,"repoUrl":26,"updatedAt":1275},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1392,1393,1394,1395],{"name":1270,"slug":1271,"type":15},{"name":23,"slug":24,"type":15},{"name":1233,"slug":1234,"type":15},{"name":17,"slug":18,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":1397,"tags":1398,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1399,1400,1401,1402],{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"slug":1284,"name":1284,"fn":1285,"description":1286,"org":1404,"tags":1405,"stars":25,"repoUrl":26,"updatedAt":1295},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1406,1407,1408,1409],{"name":1258,"slug":1259,"type":15},{"name":23,"slug":24,"type":15},{"name":1292,"slug":1293,"type":15},{"name":17,"slug":18,"type":15},{"slug":1297,"name":1297,"fn":1298,"description":1299,"org":1411,"tags":1412,"stars":25,"repoUrl":26,"updatedAt":1308},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1413,1414,1415,1416],{"name":1303,"slug":1304,"type":15},{"name":1258,"slug":1259,"type":15},{"name":1292,"slug":1293,"type":15},{"name":17,"slug":18,"type":15},15]