Across Bridge logo

Across Bridge

Organization
Starchild-ai-agent
across-bridge

Bridge ETH and ERC-20 tokens across EVM chains via Across Protocol v3. One function for a quote, one function for the entire end-to-end bridge (approval + deposit + arrival verification). Use when the user wants to move tokens between chains (e.g. "bridge 50 USDC from Base to Arbitrum", "send ETH from Ethereum to Optimism", "move USDT Arbitrum → Base"). Supports Ethereum, Arbitrum, Optimism, Base, Polygon, BSC, Linea, zkSync, Scroll, Mantle. Fast settlement (seconds to minutes).

Overview

PublisherStarchild-ai-agent
Repositoryofficial-skills
Skill nameacross-bridge
Stars
32
Forks
13
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Starchild-ai-agent on GitHub. Read the source before you install it.

Installation

Install the Across Bridge AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Starchild-ai-agent/official-skills/tree/main/across-bridge
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Starchild-ai-agent/official-skills.git /tmp/official-skills
mkdir -p .claude/skills
cp -r /tmp/official-skills/across-bridge .claude/skills/across-bridge
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Across Bridge in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Across Bridge on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Across Bridge is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

🌉 Across Bridge

Bridge tokens between EVM chains using Across Protocol v3. Across is an intent-based bridge: relayers front the liquidity on the destination chain and get repaid on the origin chain, so settlement is fast (seconds to a few minutes) and fees are low (0.05–0.5%).

When to Use

  • Cross-chain token transfer: "bridge 50 USDC from Base to Arbitrum"
  • L1 ↔ L2 movement: "send 0.01 ETH from Ethereum to Optimism"
  • Stablecoin hops: "move USDT from Arbitrum to Base"
  • Speed matters: Across fills in seconds–minutes vs native bridges (7 days)

Supported Chains

Ethereum · Arbitrum · Optimism · Base · Polygon · BSC · Linea · zkSync · Scroll · Mantle

Supported Tokens

ETH · WETH · USDC · USDT · WBTC · DAI

How to Call

All operations are Python functions exposed under core.skill_tools. Because the skill name contains a hyphen, use the _modules dict to access it:

bash
python3 - <<'EOF'
from core.skill_tools import _modules
across = _modules["across-bridge"]
import json
q = across.bridge_quote(from_chain="base", to_chain="arbitrum",
                        token="USDC", amount=1, wallet="0x...")
print(json.dumps(q, indent=2))
EOF

bridge_quote(from_chain, to_chain, token, amount, wallet=None)

Get a live quote — no on-chain action. Returns output amount, fees, estimated fill time, and (if wallet is provided) ready-to-sign approval + bridge transactions.

bridge_execute(from_chain, to_chain, token, amount, wallet, confirm_arrival=True)

One call does everything:

  1. Fetches a fresh quote from Across /swap
  2. Sends ERC-20 approval to the SpokePool (if needed; skipped for native ETH)
  3. Sends the depositV3 bridge transaction
  4. Polls the destination-chain balance until funds arrive (or timeout)

Returns a full receipt with status, output_amount, approval_tx, bridge_tx, and arrival_confirmed.

bridge_status(origin_chain, deposit_tx_hash)

Check the fill status of a submitted deposit via Across's status API.

Workflows

Just get a quote (no execution)

bash
python3 - <<'EOF'
from core.skill_tools import _modules
across = _modules["across-bridge"]
import json
q = across.bridge_quote(from_chain="base", to_chain="arbitrum",
                        token="USDC", amount=50)
print(json.dumps(q, indent=2))
EOF

Key fields in the response:

  • output_amount_human — tokens the recipient will receive
  • fees.total_pct — fee percentage (e.g. 4688000000000000 = 0.47%)
  • estimated_fill_time_sec — expected settlement time
  • needs_approval — whether an ERC-20 approve is required before bridging

Bridge end-to-end (the common case)

bash
python3 - <<'EOF'
from core.skill_tools import _modules
across = _modules["across-bridge"]
import json
r = across.bridge_execute(from_chain="base", to_chain="arbitrum",
                          token="USDC", amount=1,
                          wallet="0x0B52...Eb16")
print(json.dumps(r, indent=2, default=str))
EOF

That single call handles approval + deposit + arrival verification. No need to manually call wallet_transfer or encode calldata — the Across /swap API returns ready-to-sign transactions and this skill dispatches them.

Check status of a submitted deposit

bash
python3 - <<'EOF'
from core.skill_tools import _modules
across = _modules["across-bridge"]
import json
s = across.bridge_status(origin_chain="base", deposit_tx_hash="0x...")
print(json.dumps(s, indent=2))
EOF

Acceptance / Red-Flag Guidance

Good routes:

  • Fee < 0.5% · fill time < 60s · output ≈ input (minus small fee)

Warn the user before proceeding if:

  • Fee > 1% (expensive route or very small amount — min deposit applies)
  • Fill time > 10 minutes (congested route)
  • Amount below limits.min_deposit (quote will flag isAmountTooLow)

Key Facts

  • Native ETH: msg.value carries the amount; no approval step. Across handles wrapping/unwrapping automatically.
  • ERC-20: msg.value = 0; an approve(spokePool, amount) is required first. bridge_execute sends this automatically.
  • Quotes are live from app.across.to/api/swap and valid for ~30s. bridge_execute re-fetches right before broadcasting.
  • Gas is sponsored by default via the Starchild wallet — the user doesn't need native tokens on the origin chain for gas.
  • Settlement: Across relayers typically fill within seconds to a few minutes. bridge_execute polls the destination balance for up to 180s.
  • Wallet: uses the Starchild Agent Wallet (same as the wallet skill). No separate wallet connection needed.

Dependencies

  • requests (pip)
  • core.skill_tools.wallet (platform — for signing/broadcasting)

Tested Routes

This skill was validated with a real on-chain bridge: 1 USDC Base → Arbitrum, confirmed arrived on destination within ~35 seconds, fee 0.47%.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Across Bridge AI skill do?

Bridge ETH and ERC-20 tokens across EVM chains via Across Protocol v3. One function for a quote, one function for the entire end-to-end bridge (approval + deposit + arrival verification). Use when the user wants to move tokens between chains (e.g. "bridge 50 USDC from Base to Arbitrum", "send ETH from Ethereum to Optimism", "move USDT Arbitrum → Base"). Supports Ethereum, Arbitrum, Optimism, Base, Polygon, BSC, Linea, zkSync, Scroll, Mantle. Fast settlement (seconds to minutes).

Why use Across Bridge on TypingMind?

Because you install it once and use it with any model. Across Bridge is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Across Bridge in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Starchild-ai-agent/official-skills/tree/main/across-bridge. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Across Bridge?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Across Bridge?

As many as you like. As long as a model supports skills, you can use Across Bridge with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Across Bridge AI skill free?

It is published on GitHub by Starchild-ai-agent. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇