[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H0DY156HT215BZN8T6GFCP":3,"skill-same:01M6H0DY156HT215BZN8T6GFCP":64},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M6H0DY156HT215BZN8T6GFCP","0xklen-size-concentrated-liquidity-range",null,"jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-size-concentrated-liquidity-range\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-size-concentrated-liquidity-range\u002FSKILL.md",[],[19,20,21],"liquidity","size","0xklen size concentrated liquidity range","2026-11-10 10:12:30",false,"---\nname: size-concentrated-liquidity-range\ndescription: Use when providing Uniswap v3-style concentrated liquidity: choosing ticks, converting a price range to sqrt-price bounds, and computing capital efficiency and in-range divergence loss of the position.\n---\n\n# Size concentrated liquidity range\n\nConcentrated liquidity earns fees only while price is inside the chosen range; a narrower range raises the fee APR but goes out of range faster and enlarges the divergence loss at the edge.\n\n## Procedure\n\n1. Price to tick: `tick = log(price_quote_per_base) \u002F log(1.0001)`, floored to a multiple of the pool's tick spacing (60 = 0.3% pools, 10 = 0.05%, 1 = 0.01%). Inverse: `price = 1.0001^tick`.\n\n2. Convert bounds to sqrt-price X96: `sqrtPriceX96 = sqrt(price) * 2^96`, widening to the nearest usable tick at or outside the target so the range never inverts.\n\n3. Capital efficiency versus full range = `1 \u002F (1 - sqrt(Pa\u002FPb))`. For ETH at 2,000 with range [1,800, 2,200]:\n\n   python3 -c \"import math; Pa,Pb=1800,2200; print(1\u002F(1-math.sqrt(Pa\u002FPb)))\"\n   15.62...\n\n   So ~15.6x the fee-earning depth of a full-range position for the same capital.\n\n4. Token split: `amount0 = L*(1\u002FsqrtP - 1\u002FsqrtPb)` (base, active below the range) and `amount1 = L*(sqrtP - sqrtPa)` (quote). Choose `L` so the two amounts equal your deposit.\n\n5. In-range divergence loss is bounded by the range: exiting below `Pa` leaves the position 100% base, and the loss versus holding equals the range width. Recompute the loss at both edges before depositing.\n\n6. Fee APR, not APY: `fee_apr = volume_24h * fee_tier * your_share \u002F your_capital`. Out-of-range time earns zero, so multiply by the expected in-range fraction.\n\n## Pitfalls\n\n- Forgetting the position converts to 100% of the underperforming asset at each edge — a tight range is a leveraged mean-reversion bet.\n- Setting bounds on the wrong-side price: Uniswap prices token1\u002Ftoken0, and the base\u002Fquote order flips when token0 is the stable.\n- Ignoring tick-spacing rounding: a range \"set\" at 1,999 rounds to 1,980 and widens your risk.\n\n## Verification\n\n    cast call $POOL \"slot0()(uint160,int24,uint16,uint16,uint16,uint8,bool)\" --rpc-url $RPC\n\nTake return[0] as sqrtPriceX96, compute `price = (sqrtX96\u002F2^96)^2`, and confirm the current tick lies inside [tickLower, tickUpper].\n\nReport the range, capital efficiency, token split, and fee APR with the slot0 read.\n","# Size concentrated liquidity range\n\nConcentrated liquidity earns fees only while price is inside the chosen range; a narrower range raises the fee APR but goes out of range faster and enlarges the divergence loss at the edge.\n\n## Procedure\n\n1. Price to tick: `tick = log(price_quote_per_base) \u002F log(1.0001)`, floored to a multiple of the pool's tick spacing (60 = 0.3% pools, 10 = 0.05%, 1 = 0.01%). Inverse: `price = 1.0001^tick`.\n\n2. Convert bounds to sqrt-price X96: `sqrtPriceX96 = sqrt(price) * 2^96`, widening to the nearest usable tick at or outside the target so the range never inverts.\n\n3. Capital efficiency versus full range = `1 \u002F (1 - sqrt(Pa\u002FPb))`. For ETH at 2,000 with range [1,800, 2,200]:\n\n   python3 -c \"import math; Pa,Pb=1800,2200; print(1\u002F(1-math.sqrt(Pa\u002FPb)))\"\n   15.62...\n\n   So ~15.6x the fee-earning depth of a full-range position for the same capital.\n\n4. Token split: `amount0 = L*(1\u002FsqrtP - 1\u002FsqrtPb)` (base, active below the range) and `amount1 = L*(sqrtP - sqrtPa)` (quote). Choose `L` so the two amounts equal your deposit.\n\n5. In-range divergence loss is bounded by the range: exiting below `Pa` leaves the position 100% base, and the loss versus holding equals the range width. Recompute the loss at both edges before depositing.\n\n6. Fee APR, not APY: `fee_apr = volume_24h * fee_tier * your_share \u002F your_capital`. Out-of-range time earns zero, so multiply by the expected in-range fraction.\n\n## Pitfalls\n\n- Forgetting the position converts to 100% of the underperforming asset at each edge — a tight range is a leveraged mean-reversion bet.\n- Setting bounds on the wrong-side price: Uniswap prices token1\u002Ftoken0, and the base\u002Fquote order flips when token0 is the stable.\n- Ignoring tick-spacing rounding: a range \"set\" at 1,999 rounds to 1,980 and widens your risk.\n\n## Verification\n\n    cast call $POOL \"slot0()(uint160,int24,uint16,uint16,uint16,uint8,bool)\" --rpc-url $RPC\n\nTake return[0] as sqrtPriceX96, compute `price = (sqrtX96\u002F2^96)^2`, and confirm the current tick lies inside [tickLower, tickUpper].\n\nReport the range, capital efficiency, token split, and fee APR with the slot0 read.\n",{},"main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Fpayments\u002F0xklen-size-concentrated-liquidity-range",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-15 02:28:10",{"source":7,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill 0xklen-size-concentrated-liquidity-range",{"tool":42,"command":43},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill 0xklen-size-concentrated-liquidity-range",{"tool":45,"command":46},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill 0xklen-size-concentrated-liquidity-range","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-size-concentrated-liquidity-range\u002FSKILL.md",true,[50,54,60],{"path":51,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":15},"LICENSE","许可证",1063,{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"SOURCE.md","REFERENCE","参考文档",359,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-size-concentrated-liquidity-range\u002FSOURCE.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"TRUST.auto.yaml",2217,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-size-concentrated-liquidity-range\u002FTRUST.auto.yaml",[65,74,82,90,98,106],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":73},"01M7DTKCERMV0RNX3HZJP4CZ26","troves","Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say \"Troves\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":73},"01M7DTK6CJSMGC8KCQHGNYFZBD","trade","Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say \"swap\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":73},"01M7DTJZ6A0X4PAW3Y8W4J9K64","staking","Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say \"stake\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":73},"01M7DTJSDZJKCDMW7GHRF4BRH5","send","Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say \"pay 10 STRK to 0x...\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":73},"01M7DTJG1E480D51ZQ7WKDQ26K","portfolio","View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks \"what do I have\", \"show me everything\", \"how much am I worth\", \"my positions\", \"my investments\", \"rebalance my portfolio\", \"I want 50% ETH\", \"optimize my holdings\", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say \"portfolio\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":73},"01M7DTJ7M8TE9R2N36HFBZDGVD","multi-swap","Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions \"two swaps\", \"three swaps\", \"swap X and Y at the same time\", or wants to convert multiple tokens in a single call.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FSKILL.md",[],[]]