[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ET4JRJ1QP5YHZKG268Q4YA":3,"skill-same:01M6ET4JRJ1QP5YHZKG268Q4YA":52},{"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":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M6ET4JRJ1QP5YHZKG268Q4YA","trails",null,"Eskyee\u002Fagentbot-opensource","Eskyee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F30862925?v=4","01M6ESSG1VB0FYP310V08SY08K","Esky33","01M6ESSG5ZR55BV28APEN3Y2P6",17,"MIT","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Ftrails\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"---\n\nname: trails\ndescription: Trails — Cross-chain swap, bridge, and DeFi orchestration via Sequence. Use when an agent wants to swap tokens across chains, bridge assets, fund a Bankr wallet from any chain, deposit into yield vaults (Aave, Morpho), get token prices, discover earn pools, or quote cross-chain routes. Integrates with Bankr submit() for on-chain execution. Also use when asked about Trails, Sequence swaps, cross-chain bridging, or DeFi yield deposits.\n\n# Trails\n\nCross-chain swap, bridge, and DeFi orchestration powered by Sequence. Agents specify the action — Trails automatically determines the optimal multi-step path across chains.\n\n**API Base:** `https:\u002F\u002Ftrails-api.sequence.app\u002Frpc\u002FTrails\u002F\u003CMethodName>`\n**Auth Header:** `X-Access-Key: $TRAILS_API`\n**Widget:** `https:\u002F\u002Fdemo.trails.build\u002F`\n**Bankr Integration:** `submit()` from `@bankr\u002Fcli` broadcasts on-chain transactions\n\n## Environment Variables\n\n```bash\nexport TRAILS_API=\u003Cyour-sequence-project-access-key>   # from https:\u002F\u002Fsequence.build\nexport BANKR_API_KEY=\u003Cyour-bankr-key>                  # from bankr.bot\u002Fapi\n```\n\n## Quick Start\n\n### Get a swap quote (USDC on Polygon -> ETH on Base)\n\n```bash\nBANKR_WALLET=$(curl -s https:\u002F\u002Fapi.bankr.bot\u002Fagent\u002Fme \\\n  -H \"X-API-Key: $BANKR_API_KEY\" \\\n  | jq -r '.wallets[] | select(.chain == \"evm\") | .address')\n\ncurl -s https:\u002F\u002Ftrails-api.sequence.app\u002Frpc\u002FTrails\u002FQuoteIntent \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Access-Key: $TRAILS_API\" \\\n  -d \"{\n    \\\"ownerAddress\\\": \\\"$BANKR_WALLET\\\",\n    \\\"originChainId\\\": 137,\n    \\\"originTokenAddress\\\": \\\"0x3c499c542cef5e3811e1192ce70d8cC03d5c3359\\\",\n    \\\"originTokenAmount\\\": \\\"10000000\\\",\n    \\\"destinationChainId\\\": 8453,\n    \\\"destinationTokenAddress\\\": \\\"0x0000000000000000000000000000000000000000\\\",\n    \\\"destinationTokenAmount\\\": \\\"0\\\",\n    \\\"tradeType\\\": \\\"EXACT_INPUT\\\",\n    \\\"options\\\": { \\\"slippageTolerance\\\": 0.005 }\n  }\" | jq '.intent.quote'\n```\n\n### Discover yield pools\n\n```bash\ncurl -s https:\u002F\u002Ftrails-api.sequence.app\u002Frpc\u002FTrails\u002FGetEarnPools \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Access-Key: $TRAILS_API\" \\\n  -d '{\"chainIds\": [137]}' \\\n  | jq '[.pools[] | select(.isActive and .token.symbol == \"USDC\")] | sort_by(-.tvl) | .[0]'\n```\n\n## Task Guide\n\n### When the user wants to fund a Bankr wallet\n\nUse the Trails widget URL with the Bankr wallet address as `toAddress`. See `references\u002Ftrails.md` Recipe 1.\n\n### When the user wants to swap tokens (same-chain or cross-chain)\n\n1. Get Bankr wallet address\n2. QuoteIntent -> CommitIntent -> submit depositTransaction via Bankr -> ExecuteIntent -> WaitIntentReceipt\n\nSee `references\u002Ftrails.md` Recipe 2.\n\n### When the user wants to deposit into a yield vault\n\n1. GetEarnPools to discover pool addresses and APYs\n2. Approve the pool contract via Bankr submit()\n3. Deposit via Bankr submit()\n\nSee `references\u002Ftrails.md` Recipe 3.\n\n### When the user asks about supported tokens or chains\n\nUse `GetTokenList` (body: `{\"chainIds\": [137]}`) or `GetChains`.\n\n### When the user asks about token prices\n\nUse `GetTokenPrices`.\n\n## API Methods\n\n\n| Group                 | Method                             | Description                                      |\n| --------------------- | ---------------------------------- | ------------------------------------------------ |\n| **Intent lifecycle**  | `QuoteIntent`                      | Get quote + depositTransaction for a swap\u002Fbridge |\n|                       | `CommitIntent`                     | Lock the intent, receive intentId                |\n|                       | `ExecuteIntent`                    | Notify Trails the deposit tx is mined            |\n|                       | `WaitIntentReceipt`                | Poll until intent is complete                    |\n| **Intent management** | `GetIntent`                        | Look up intent by ID                             |\n|                       | `GetIntentReceipt`                 | Get final receipt                                |\n|                       | `SearchIntents`                    | List intents by owner\u002Fstatus                     |\n|                       | `GetIntentHistory`                 | Paginated history                                |\n|                       | `AbortIntent`                      | Cancel a pending intent                          |\n| **Discovery**         | `GetEarnPools`                     | Active yield pools with APY, TVL, depositAddress |\n|                       | `GetChains`                        | Supported chains                                 |\n|                       | `GetTokenList`                     | Tokens per chain                                 |\n|                       | `GetTokenPrices`                   | USD prices                                       |\n|                       | `GetExactInputRoutes`              | Preview routes for exact-in                      |\n|                       | `GetExactOutputRoutes`             | Preview routes for exact-out                     |\n| **Reference**         | `GetExchangeRate`                  | Fiat conversion                                  |\n|                       | `GetTrailsContracts`               | Contract addresses per chain                     |\n| **Utility**           | `Ping` \u002F `RuntimeStatus` \u002F `Clock` | Health + server time                             |\n\n\n## Key Notes\n\n- `originTokenAmount` is in base units (e.g. `10000000` = 10 USDC with 6 decimals)\n- Use `\"0x000...000\"` for native token addresses\n- `submit` must be imported from `@bankr\u002Fcli\u002Fdist\u002Flib\u002Fapi.js` (not re-exported from main entry)\n- Add `\"destinationToAddress\"` to QuoteIntent to send output to a different wallet than the payer\n\n",{},"main","82fb6583c8457bf1cbf87293c95642f184e9dbaf","skills\u002Ftrails",2,"https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource","https:\u002F\u002Fagentbot-studio.vercel.app","https:\u002F\u002Fgithub.com\u002FEskyee","https:\u002F\u002Fagentbot.sh","London-based indie founder. \r\nCreator of Agentbot.sh - BaseFM.space","2026-11-05 10:56:50",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Eskyee\u002Fagentbot-opensource --skill trails",{"tool":38,"command":39},"bunx","bunx skills add Eskyee\u002Fagentbot-opensource --skill trails",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Eskyee\u002Fagentbot-opensource --skill trails","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Ftrails\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Ftrails.md","REFERENCE","参考文档",13428,"https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Ftrails\u002Freferences\u002Ftrails.md",[53,61,88,110,134,142],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M6ET5WZACASAB0WXF3RWEA00","provisioning-v1","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fweb\u002Fskills\u002Fprovisioning-v1\u002FSKILL.md",[],[59,60],"provisioning v1","provisioning",{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M6ET5R7WW7NHX7BBH6RR41SH","get-api-docs","Use this skill when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, \"use the OpenAI API\", \"call the Stripe API\", \"use the Anthropic SDK\", \"query Pinecone\", or any time the user asks you to write code against an external service and you need current API reference. Fetch the docs with chub before answering, rather than relying on training knowledge.","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fweb\u002Fskills\u002Fget-api-docs\u002FSKILL.md",[],[68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87],"docs","api","get api docs","get","writing","documentation","training","code","openai","openai api","library","knowledge","write","fetch","example","pinecone","stripe","query","time","anthropic sdk",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M6ET5MHC01R668JHR5N0HGA1","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial deterministic subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fzyfai\u002FSKILL.md",[],[90,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109],"passive","non-custodial","arbitrum","yield","withdraw","Optimization","deposit","defi","deterministic","base","Wallet","use","user","safe","ethereum",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":18},"01M6ET5FA594JNMY39RN003ANW","zerion","Interpreted crypto wallet data for AI agents. Use when an agent needs portfolio values, token positions, DeFi positions, NFT holdings, transaction history, PnL data, token prices, charts, gas prices, swap quotes, or DApp information across 41+ chains. Zerion transforms raw blockchain data into agent-ready JSON with USD values, protocol labels, and enriched metadata. Supports x402 pay-per-request ($0.01 USDC on Base) and API key access. Triggers on mentions of portfolio, wallet analysis, positions, transactions, PnL, profit\u002Floss, DeFi, token balances, NFTs, swap quotes, gas prices, or Zerion.","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fzerion\u002FSKILL.md",[],[112,117,118,119,120,121,122,123,124,125,126,127,105,128,129,130,131,132,133,69],"information","data","ai agents","analysis","x402","transforms","nfts","token","nft","across","usd","ready","portfolio","gas","access","transactions","Charts",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":18},"01M6ET5C758AY90H4E0AWAJ9JR","zapper","Placeholder for Zapper skill.","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fzapper\u002FSKILL.md",[],[136,141],"placeholder",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":18},"01M6ET5965RAA4BZNSWEVK3MGW","yoink","Play Yoink, an onchain capture-the-flag game on Base. Yoink the flag from the current holder, check game stats and leaderboards, view player scores, and compete for the trophy. Uses Bankr for transaction execution.","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fyoink\u002FSKILL.md",[],[144,149,150,151,152,153,104,154,155,156,157,158,159,160,161,162,163],"view","org","compete","transaction","bankr","onchain","check","capture","jq","curl","game","execution","stats","https","play"]