From grimoire-vm
Fetches Across Protocol bridge quotes, routes, and deposit status via Grimoire venue CLI. Useful for cross-chain bridging strategies, spell metrics, and deposit tracking.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire-vm:grimoire-acrossThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to query Across Protocol bridge data for cross-chain strategy inputs.
Use this skill to query Across Protocol bridge data for cross-chain strategy inputs.
Preferred invocations:
grimoire venue across ...npx -y @grimoirelabs/cli venue across ... (no-install)bun run packages/cli/src/index.ts venue across ... (repo-local)grimoire-across ... (direct binary from @grimoirelabs/venues)Recommended preflight:
grimoire venue doctor --adapter across --chain 1 --rpc-url <rpc> --jsongrimoire venue across info — adapter metadata and supported chainsgrimoire venue across chains — list supported bridge chainsgrimoire venue across quote --asset <symbol|address> --from <chainId> --to <chainId> --amount <wei> [--recipient <address>] — get a bridge quote with fees and limitsgrimoire venue across status --tx-hash <hash> [--api-url <url>] — check deposit status by origin tx hashgrimoire venue across routes --asset <symbol> — list available bridge routes for an assetgrimoire venue across info
grimoire venue across chains
grimoire venue across quote --asset USDC --from 1 --to 8453 --amount 1000000000
grimoire venue across quote --asset WETH --from 42161 --to 1 --amount 500000000000000000
grimoire venue across status --tx-hash 0xabc123...
grimoire venue across routes --asset USDC
grimoire venue across routes --asset WETH
| Chain | ID |
|---|---|
| Ethereum | 1 |
| Optimism | 10 |
| Polygon | 137 |
| Base | 8453 |
| Arbitrum | 42161 |
The quote command returns:
inputAmount / outputAmount — amounts in smallest unit (wei)estimatedFillTimeSec — expected bridge timeisAmountTooLow — whether the amount is below minimumlimits.minDeposit / limits.maxDeposit / limits.maxDepositInstantfees.lpFee / fees.relayerGasFee / fees.relayerCapitalFee / fees.totalRelayFeeroute.spokePoolAddress — spoke pool contract usedAcross exposes quote_out for bridge output comparisons:
across_out = metric("quote_out", across, USDC, "to_chain=8453,amount=1000000")
Selector fields:
to_chainamount (defaults to 1 unit of input asset), asset_out (defaults to input asset)When writing bridge actions in .spell files targeting Across, use with clauses:
across.bridge(USDC, params.amount, 8453) with (
max_slippage=50,
require_quote=true,
)
| Constraint | Type | Description |
|---|---|---|
max_slippage | integer (bps) | Maximum slippage in basis points (converted to min_output) |
min_output | integer (wei) | Explicit minimum output amount floor |
require_quote | boolean | Fail if quote fetch fails |
require_simulation | boolean | Fail if simulation unavailable |
max_gas | integer (wei) | Validate gas estimate against cap |
1000000000.status command queries the Across public API (https://app.across.to/api/deposits/status).--format json in automation; the CLI defaults to toon format for interactive use.npx claudepluginhub franalgaba/grimoire --plugin grimoire-vmGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.