[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M783ECTT0DDX5BVFHY4NKNNG":3,"skill-same:01M783ECTT0DDX5BVFHY4NKNNG":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M783ECTT0DDX5BVFHY4NKNNG","defi-bridge",null,"Moving value between chains with defi_trade.bridge: what it can move, the two-phase guard, in_flight is not failure, and proving arrival by a measured destination balance.","theselfruleorg\u002Fpolyrob","theselfruleorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128891129?v=4","01M783D1MFDP1D5ZXSNZMKHARH","01M783D1NEE9ATD39KJYCRR09J",12,"MIT","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fdata\u002Fprompts\u002Fskills\u002Fdefi-bridge\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: defi-bridge\ndescription: 'Moving value between chains with defi_trade.bridge: what it can move, the two-phase guard, in_flight is not failure, and proving arrival by a measured destination balance.'\nlicense: MIT\nmetadata:\n  polyrob-when: 'Moving funds between chains (bridge)'\n  polyrob-priority: '2'\n  polyrob-triggers: '{\"tool_ids\":[\"defi_trade\"]}'\n  polyrob-version: '4'\n---\n# Bridge — moving value between chains\n\n`defi_trade.bridge` is the\nONE cross-chain move. It takes no `max_spend_usd`: the amount you bridge is the\ndeclaration, and the caps apply to it.\n\n## Moving value between chains — the bridge\n\nYour money is rarely on the chain that holds the opportunity.\n`defi_trade.bridge` moves it there.\n\n**What it does.** Sends the origin chain's **NATIVE asset** (SOL \u002F ETH), or its\n**PINNED USDC** (`token_in=\"usdc\"`), through Relay. **Every direction works**: solana → EVM,\nEVM → EVM (Base → Ethereum, for example), and EVM → solana (native SOL or `usdc`;\nthe arrival is measured in lamports \u002F the SPL balance). solana → solana is not a bridge: use `solana_swap` \u002F `solana_transfer`.\n\nThe **destination** asset may be native OR a token **pinned in the chain\nregistry** — `weth` \u002F `usdc` where that chain has one:\n\n```\ndefi_trade.bridge(from_chain=\"base\", to_chain=\"ethereum\", amount=0.036)\ndefi_trade.bridge(from_chain=\"base\", to_chain=\"ethereum\", amount=0.036,\n                  token_out=\"weth\")\n    # dry_run defaults TRUE — quotes, asserts and simulates, broadcasts nothing\ndefi_trade.bridge(from_chain=\"ethereum\", to_chain=\"solana\", amount=0.1,\n                  token_out=\"usdc\")             # ETH in, USDC on Solana\ndefi_trade.bridge(from_chain=\"base\", to_chain=\"solana\", amount=50,\n                  token_in=\"usdc\", token_out=\"usdc\")   # USDC to USDC\n```\n\nAn **arbitrary token address is refused**, and that is not a bug to work around:\nevery address in the registry was verified on-chain, a supplied one was not. The\nORIGIN is native or the chain's pinned `usdc` (`amount` is then in dollars). On an\nEVM chain a usdc origin first approves EXACTLY the amount to the pinned Relay\ndepository, then deposits; a refused deposit revokes that approval. Any other\norigin token is refused. A chain whose registry row pins no USDC can only send\nits native asset.\n\n⚠️ **Prefer `native` where native routes.** On a chain where ETH is gas AND\nthe asset that routes straight into a position with no allowance,\n`token_out=\"weth\"` costs you more slippage and buys you nothing unless WETH is\nwanted for its own sake.\n\n**Caps, not taps — the bridge is the exception.** The general lane rule for\nthe money verbs is in `trade-execution` (\"The lane and the caps\"). The bridge\ndiffers from it:\n\n- under the autonomous ceiling you run it and report — no tap, whatever\n  `DEFI_TIERED_SPEND_LANE` says;\n- above it, the durable owner queue decides — one tap, and it is the verb's own\n  ask (it names the recipient, the USD value, the arrival floor and the relay id);\n- the owner's own `\u002Fbridge … go` is the owner's act: the ceiling and the pause\n  do not hold it (the caps do);\n- a delegated **sub-agent\u002Fleaf still never bridges**. Report back and let the\n  parent run it. That is not a size question.\n\nRead the dry run's `lane:` line for the verb you are about to use; do not carry\none verb's lane over to another. The caps bind the bridge too, and the one that\nbites on a big move is the **rolling 24h cap**, not the per-transaction one. If a\nbridge refuses on the daily cap, say the NUMBER — how much headroom is left and\nwhen the window rolls — rather than \"refused by PolicyGate\".\n\nThe owner reaches the same rail from chat with `\u002Fbridge \u003Cfrom> \u003Cto> \u003Camount>\n[from usdc] [as \u003Casset>]` (the quote is an action card; Confirm executes it).\nWhen the owner asks you to move value between chains, **that is the answer** —\ndo not say it cannot be done, and do not ask for a tool grant. To put a specific\nbridge to the owner, call `propose_action(command=\"\u002Fbridge \u003Cfrom> \u003Cto>\n\u003Camount>\", why=…)`: the owner gets a card with one Confirm tap. Without\n`propose_action`, follow the command-line rule in `trade-execution`.\n\n**⚠️ The one rule that costs real money if you get it wrong.** A bridge that has\nnot arrived by the deadline comes back as **`in_flight`** — that is neither\nsuccess nor failure.\n\n- **NEVER re-send an `in_flight` bridge.** A re-sent bridge pays twice. The funds\n  are in transit; the deadline expiring is a statement about the clock, not about\n  the money.\n- **NEVER report `in_flight` as failed** — that is what invites the re-send, from\n  you or from the owner.\n- **NEVER report it as arrived** either. That is a lie about money.\n- It is recorded durably and escalated to the owner. Your job is to say plainly:\n  sent, not yet confirmed arrived, here is the id. Then stop.\n- **A watcher re-checks it** and settles it when the destination\n  balance actually moves, so an `in_flight` row is no longer the end of the\n  story. The owner gets that resolution automatically — you do not need to poll\n  it, and you must not re-send while waiting.\n\nAn UNREADABLE destination balance is **unknown, never zero** — a dead RPC\nreturning 0 looks exactly like funds that never arrived, and only one of those is\nan incident. Arrival is proven by MEASURING the destination balance, so \"the\nquote said it would arrive\" is not arrival. INTO Solana the proof is stricter: the\nwallet also trades there, so only the delivering transaction's own balance change\nfor this wallet counts — a swap fill during the wait never passes as the bridge.\n\n**When to bridge at all.** Rarely. Gas and slippage make it a real cost, so it is\nnot a move you make to chase one ticket — bridge when the imbalance is\nstructural, i.e. your buying power sits on a chain you are not hunting on.\n\"I am allowed to\" is not \"I should\".\n\n## If a tool is missing\n\nFollow `harness-manual`; do the read steps you can, and never work around a\nmissing verb with a raw `call`, a browser dapp or another agent.\n\n## Related\n\n`stable-cash`, `trade-execution`.\n","# Bridge — moving value between chains\n\n`defi_trade.bridge` is the\nONE cross-chain move. It takes no `max_spend_usd`: the amount you bridge is the\ndeclaration, and the caps apply to it.\n\n## Moving value between chains — the bridge\n\nYour money is rarely on the chain that holds the opportunity.\n`defi_trade.bridge` moves it there.\n\n**What it does.** Sends the origin chain's **NATIVE asset** (SOL \u002F ETH), or its\n**PINNED USDC** (`token_in=\"usdc\"`), through Relay. **Every direction works**: solana → EVM,\nEVM → EVM (Base → Ethereum, for example), and EVM → solana (native SOL or `usdc`;\nthe arrival is measured in lamports \u002F the SPL balance). solana → solana is not a bridge: use `solana_swap` \u002F `solana_transfer`.\n\nThe **destination** asset may be native OR a token **pinned in the chain\nregistry** — `weth` \u002F `usdc` where that chain has one:\n\n```\ndefi_trade.bridge(from_chain=\"base\", to_chain=\"ethereum\", amount=0.036)\ndefi_trade.bridge(from_chain=\"base\", to_chain=\"ethereum\", amount=0.036,\n                  token_out=\"weth\")\n    # dry_run defaults TRUE — quotes, asserts and simulates, broadcasts nothing\ndefi_trade.bridge(from_chain=\"ethereum\", to_chain=\"solana\", amount=0.1,\n                  token_out=\"usdc\")             # ETH in, USDC on Solana\ndefi_trade.bridge(from_chain=\"base\", to_chain=\"solana\", amount=50,\n                  token_in=\"usdc\", token_out=\"usdc\")   # USDC to USDC\n```\n\nAn **arbitrary token address is refused**, and that is not a bug to work around:\nevery address in the registry was verified on-chain, a supplied one was not. The\nORIGIN is native or the chain's pinned `usdc` (`amount` is then in dollars). On an\nEVM chain a usdc origin first approves EXACTLY the amount to the pinned Relay\ndepository, then deposits; a refused deposit revokes that approval. Any other\norigin token is refused. A chain whose registry row pins no USDC can only send\nits native asset.\n\n⚠️ **Prefer `native` where native routes.** On a chain where ETH is gas AND\nthe asset that routes straight into a position with no allowance,\n`token_out=\"weth\"` costs you more slippage and buys you nothing unless WETH is\nwanted for its own sake.\n\n**Caps, not taps — the bridge is the exception.** The general lane rule for\nthe money verbs is in `trade-execution` (\"The lane and the caps\"). The bridge\ndiffers from it:\n\n- under the autonomous ceiling you run it and report — no tap, whatever\n  `DEFI_TIERED_SPEND_LANE` says;\n- above it, the durable owner queue decides — one tap, and it is the verb's own\n  ask (it names the recipient, the USD value, the arrival floor and the relay id);\n- the owner's own `\u002Fbridge … go` is the owner's act: the ceiling and the pause\n  do not hold it (the caps do);\n- a delegated **sub-agent\u002Fleaf still never bridges**. Report back and let the\n  parent run it. That is not a size question.\n\nRead the dry run's `lane:` line for the verb you are about to use; do not carry\none verb's lane over to another. The caps bind the bridge too, and the one that\nbites on a big move is the **rolling 24h cap**, not the per-transaction one. If a\nbridge refuses on the daily cap, say the NUMBER — how much headroom is left and\nwhen the window rolls — rather than \"refused by PolicyGate\".\n\nThe owner reaches the same rail from chat with `\u002Fbridge \u003Cfrom> \u003Cto> \u003Camount>\n[from usdc] [as \u003Casset>]` (the quote is an action card; Confirm executes it).\nWhen the owner asks you to move value between chains, **that is the answer** —\ndo not say it cannot be done, and do not ask for a tool grant. To put a specific\nbridge to the owner, call `propose_action(command=\"\u002Fbridge \u003Cfrom> \u003Cto>\n\u003Camount>\", why=…)`: the owner gets a card with one Confirm tap. Without\n`propose_action`, follow the command-line rule in `trade-execution`.\n\n**⚠️ The one rule that costs real money if you get it wrong.** A bridge that has\nnot arrived by the deadline comes back as **`in_flight`** — that is neither\nsuccess nor failure.\n\n- **NEVER re-send an `in_flight` bridge.** A re-sent bridge pays twice. The funds\n  are in transit; the deadline expiring is a statement about the clock, not about\n  the money.\n- **NEVER report `in_flight` as failed** — that is what invites the re-send, from\n  you or from the owner.\n- **NEVER report it as arrived** either. That is a lie about money.\n- It is recorded durably and escalated to the owner. Your job is to say plainly:\n  sent, not yet confirmed arrived, here is the id. Then stop.\n- **A watcher re-checks it** and settles it when the destination\n  balance actually moves, so an `in_flight` row is no longer the end of the\n  story. The owner gets that resolution automatically — you do not need to poll\n  it, and you must not re-send while waiting.\n\nAn UNREADABLE destination balance is **unknown, never zero** — a dead RPC\nreturning 0 looks exactly like funds that never arrived, and only one of those is\nan incident. Arrival is proven by MEASURING the destination balance, so \"the\nquote said it would arrive\" is not arrival. INTO Solana the proof is stricter: the\nwallet also trades there, so only the delivering transaction's own balance change\nfor this wallet counts — a swap fill during the wait never passes as the bridge.\n\n**When to bridge at all.** Rarely. Gas and slippage make it a real cost, so it is\nnot a move you make to chase one ticket — bridge when the imbalance is\nstructural, i.e. your buying power sits on a chain you are not hunting on.\n\"I am allowed to\" is not \"I should\".\n\n## If a tool is missing\n\nFollow `harness-manual`; do the read steps you can, and never work around a\nmissing verb with a raw `call`, a browser dapp or another agent.\n\n## Related\n\n`stable-cash`, `trade-execution`.\n",{"name":5,"license":14,"metadata":23,"description":7},{"polyrob-when":24,"polyrob-version":25,"polyrob-priority":26,"polyrob-triggers":27},"Moving funds between chains (bridge)","4","2","{\"tool_ids\":[\"defi_trade\"]}","main","3a595c0e3db5aa91acc53dd80673c4d80e0721d1","data\u002Fprompts\u002Fskills\u002Fdefi-bridge",2,"https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg","https:\u002F\u002Ftheselfrule.org","2026-11-14 16:54:43",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add theselfruleorg\u002Fpolyrob --skill defi-bridge",{"tool":42,"command":43},"bunx","bunx skills add theselfruleorg\u002Fpolyrob --skill defi-bridge",{"tool":45,"command":46},"pnpm","pnpm dlx skills add theselfruleorg\u002Fpolyrob --skill defi-bridge","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fdata\u002Fprompts\u002Fskills\u002Fdefi-bridge\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M783NSEPG1S13E7W3GEQMG6J","echo-basics","How to use the echo tool from the echo fixture pack.","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fpacks\u002Fecho\u002Fpolyrob_echo\u002Fskills\u002Fecho-basics\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M783NM911CND5PQCYDHA9GGV","x-engagement","Operate X account communication on the API rail (the captured-browser rail only where the owner chose it)—read inboxes, post\u002Freply, send DMs, set up the account, with the real write gates and completion evidence","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fx\u002Fpolyrob_x\u002Fskills\u002Fx-engagement\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M783NGQ43PGVT6F9XQR4ZNP2","social-discovery","Discover public X\u002Fsocial accounts and conversations with AnySite first (anysite_describe, then anysite_api), using native X account reads where they are authoritative and preserving write gates","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fx\u002Fpolyrob_x\u002Fskills\u002Fsocial-discovery\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M783NDAEPJT10SD3DNR56H96","polymarket-trading","GATED: place\u002Fcancel Polymarket orders. Owner-only, read-first, >$500 confirmation gate; references crypto-trading-safety","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fmarkets\u002Fpolyrob_markets\u002Fskills\u002Fpolymarket-trading\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M783N8GADTQMKKBQT4Z3JJ84","polymarket-portfolio-review","Read the configured Polymarket account's positions and trade history from the public Data API (no address parameter); summarize exposure and P&L","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fmarkets\u002Fpolyrob_markets\u002Fskills\u002Fpolymarket-portfolio-review\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M783N5KTTTRRRSM7XY8SY4NF","polymarket-market-research","Read Polymarket markets (discover, details, price as implied probability, orderbook, spread, volume) with no wallet","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fmarkets\u002Fpolyrob_markets\u002Fskills\u002Fpolymarket-market-research\u002FSKILL.md",[],[]]