trails
name: trails description: 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-c…
Install / Use
npx skills add BankrBot/skills --skill trailsInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Tags
Our assessment of trails
trails scores 87/100 on our quality scale, 1678th of 2,790 Automation skills we index.
Its SKILL.md is 5.6 KB long, well organised into 13 sections with 3 code examples: a solid amount of guidance for an agent.
With 1,201 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so trails is actively maintained.
- Our last check on 2026-10-11 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-06. Automated pattern scan on 2026-10-06. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
trails compared with similar skills
All 4 of these similar skills score higher than trails; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| trails (this skill)by BankrBot | 87 | 1.2k | 54d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 112.3k | 8d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 81.9k | today | CLAUDE.md |
| Claude-Code-Game-Studiosby Donchitos | 100 | 39.7k | 7d ago | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 103.6k | 2d ago | MCP Server |
Frequently asked questions
- How do I install trails?
- Run
npx skills add BankrBot/skills --skill trails. The install tabs above show the steps for each supported agent. - Which AI agents does trails work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is trails safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is trails still maintained?
- The repository was last updated about 2 months ago, so trails is actively maintained.
Skill content
View source on GitHubname: trails description: 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.
Trails
Cross-chain swap, bridge, and DeFi orchestration powered by Sequence. Agents specify the action — Trails automatically determines the optimal multi-step path across chains.
API Base: https://trails-api.sequence.app/rpc/Trails/<MethodName>
Auth Header: X-Access-Key: $TRAILS_API
Widget: https://demo.trails.build/
Bankr Integration: submit() from @bankr/cli broadcasts on-chain transactions
Environment Variables
export TRAILS_API=<your-sequence-project-access-key> # from https://sequence.build
export BANKR_API_KEY=<your-bankr-key> # from bankr.bot/api-keys
Quick Start
Get a swap quote (USDC on Polygon -> ETH on Base)
BANKR_WALLET=$(curl -s https://api.bankr.bot/agent/me \
-H "X-API-Key: $BANKR_API_KEY" \
| jq -r '.wallets[] | select(.chain == "evm") | .address')
curl -s https://trails-api.sequence.app/rpc/Trails/QuoteIntent \
-H "Content-Type: application/json" \
-H "X-Access-Key: $TRAILS_API" \
-d "{
\"ownerAddress\": \"$BANKR_WALLET\",
\"originChainId\": 137,
\"originTokenAddress\": \"0x3c499c542cef5e3811e1192ce70d8cC03d5c3359\",
\"originTokenAmount\": \"10000000\",
\"destinationChainId\": 8453,
\"destinationTokenAddress\": \"0x0000000000000000000000000000000000000000\",
\"destinationTokenAmount\": \"0\",
\"tradeType\": \"EXACT_INPUT\",
\"options\": { \"slippageTolerance\": 0.005 }
}" | jq '.intent.quote'
Discover yield pools
curl -s https://trails-api.sequence.app/rpc/Trails/GetEarnPools \
-H "Content-Type: application/json" \
-H "X-Access-Key: $TRAILS_API" \
-d '{"chainIds": [137]}' \
| jq '[.pools[] | select(.isActive and .token.symbol == "USDC")] | sort_by(-.tvl) | .[0]'
Task Guide
When the user wants to fund a Bankr wallet
Use the Trails widget URL with the Bankr wallet address as toAddress. See references/trails.md Recipe 1.
When the user wants to swap tokens (same-chain or cross-chain)
- Get Bankr wallet address
- QuoteIntent -> CommitIntent -> submit depositTransaction via Bankr -> ExecuteIntent -> WaitIntentReceipt
See references/trails.md Recipe 2.
When the user wants to deposit into a yield vault
- GetEarnPools to discover pool addresses and APYs
- Approve the pool contract via Bankr submit()
- Deposit via Bankr submit()
See references/trails.md Recipe 3.
When the user asks about supported tokens or chains
Use GetTokenList (body: {"chainIds": [137]}) or GetChains.
When the user asks about token prices
Use GetTokenPrices.
API Methods
| Group | Method | Description |
| --------------------- | ---------------------------------- | ------------------------------------------------ |
| Intent lifecycle | QuoteIntent | Get quote + depositTransaction for a swap/bridge |
| | CommitIntent | Lock the intent, receive intentId |
| | ExecuteIntent | Notify Trails the deposit tx is mined |
| | WaitIntentReceipt | Poll until intent is complete |
| Intent management | GetIntent | Look up intent by ID |
| | GetIntentReceipt | Get final receipt |
| | SearchIntents | List intents by owner/status |
| | GetIntentHistory | Paginated history |
| | AbortIntent | Cancel a pending intent |
| Discovery | GetEarnPools | Active yield pools with APY, TVL, depositAddress |
| | GetChains | Supported chains |
| | GetTokenList | Tokens per chain |
| | GetTokenPrices | USD prices |
| | GetExactInputRoutes | Preview routes for exact-in |
| | GetExactOutputRoutes | Preview routes for exact-out |
| Reference | GetExchangeRate | Fiat conversion |
| | GetTrailsContracts | Contract addresses per chain |
| Utility | Ping / RuntimeStatus / Clock | Health + server time |
Key Notes
originTokenAmountis in base units (e.g.10000000= 10 USDC with 6 decimals)- Use
"0x000...000"for native token addresses submitmust be imported from@bankr/cli/dist/lib/api.js(not re-exported from main entry)- Add
"destinationToAddress"to QuoteIntent to send output to a different wallet than the payer
Related Skills
Agent-Reach
112.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
81.9k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Claude-Code-Game-Studios
39.7kTurn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.
Scrapling
103.6k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
