Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add XFuel-Lab/xfuel-protocol --skill xfuel-relay-proof-crosschaingit clone --depth 1 https://github.com/XFuel-Lab/xfuel-protocolWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/xfuel-lab/xfuel-protocol/xfuel-relay-proof-crosschain)<a href="https://agentmods.dev/skills/xfuel-lab/xfuel-protocol/xfuel-relay-proof-crosschain"><img src="https://agentmods.dev/badge/skills/xfuel-lab/xfuel-protocol/xfuel-relay-proof-crosschain/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/xfuel-lab/xfuel-protocol/xfuel-relay-proof-crosschain"><img src="https://agentmods.dev/badge/skills/xfuel-lab/xfuel-protocol/xfuel-relay-proof-crosschain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00102 | $0.00728 |
| Opus 5 | $0.00051 | $0.00364 |
| Sonnet 5 | $0.00020 | $0.00146 |
| Haiku 4.5 | $0.00010 | $0.00073 |
Grade A, and why
xfuel-relay-proof-crosschain scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
XFuel: Relay Proof Cross-Chain
Take a settled proof and relay it to a destination domain through Hyperlane, verifying locally and dispatching the cross-chain message.
Prerequisites
- A completed task's proof (
task_id) — fetch viaxfuel-verify-proof. ZK_VERIFIER_ADDRESSand a Theta ETH-RPC URL (THETA_RPC_URL; public or a dedicated Theta node — not ZAN, which does not serve Theta RPC).- Hyperlane must be configured server-side (
setMailbox/configureDomain).
Parameters
| Name | Required | Description |
|---|---|---|
task_id |
yes | Task whose proof to relay. |
circuit_id |
yes | bytes32 circuit identifier the proof was generated for. |
dest_domain |
yes | Destination Hyperlane domain. 964 = Bittensor Mainnet, 945 = Bittensor Testnet. |
fee_wei |
no | Hyperlane message fee (quote from the mailbox). Default 0. |
Procedure
-
Fetch the proof and its public values:
import { XFuelClient } from 'xfuel-sdk'; const client = new XFuelClient({ baseUrl: process.env.XFUEL_API_URL, apiKey: process.env.XFUEL_API_KEY }); const p = await client.getProof(task_id); const { proof, publicInputs: publicValues, nullifier } = p.sp1_proof; -
Build the relay calldata (verified signature:
relayProofCrossChain(bytes32 circuitId, bytes publicValues, bytes proofBytes, bytes32 nullifier, uint32 destDomain)):import { XFuelOnChain } from 'xfuel-sdk/onchain'; const chain = new XFuelOnChain({ rpcUrl: process.env.THETA_RPC_URL, zkVerifierAddress: process.env.ZK_VERIFIER_ADDRESS, }); const call = chain.encodeRelayProofCrossChain(circuit_id, publicValues, proof, nullifier, dest_domain, fee_wei ?? '0'); // -> { to, data, value } -
Submit
callvia the server relayer or sign out-of-band. Return the resultingmessageId/ tx hash.
Failure modes
NoMailboxrevert → Hyperlane mailbox not configured on the verifier.- Nullifier already spent → the proof was already relayed/settled.
- Underpaid
fee_wei→ dispatch reverts; quote the mailbox fee first.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 71 lines · 102 tokens per session scan A 7d17413b38b9
xfuel-relay-proof-crosschain is a skill published in the GitHub repository XFuel-Lab/xfuel-protocol (1 stars, last pushed 11d ago), licensed Apache-2.0. It adds 102 tokens to every session and 728 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
x402-payments
Quote and settle OpenMesha x402 paywalled services (USDC on Base). Use when metering tool calls, outcome fees, or agent-to-agent settlement.
okx-cex-earn
A tool for managing several earning products on OKX, including savings, lending, staking, DeFi, Dual Investment, and AutoEarn. These products can use deposited cryptocurrency to generate returns, with terms that vary by product.
blockrun
Pay-per-call access to AI models, real-time data, media generation and multi-chain RPC over x402 micropayments (USDC on Base or Solana). No API keys, no accounts, no subscriptions. Start here when you have the BlockRun MCP installed and need to know WHICH tool answers a question, how the wallet works, or how to make a…
surf
Surf (asksurf.ai) is RETIRED on BlockRun and the blockrunsurf tool was REMOVED in 0.49.0 — the gateway has answered every /v1/surf/ path with HTTP 410 endpointretired since 2026-09-06. Use this skill to route a former Surf question (on-chain SQL, wallet labels and net worth, CEX order books, social mindshare, news) to…
alchemy-agentic-gateway
Use when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features. Also use when the user mentions "SIWE", "SIWS", "x402", "MPP", "mppx", or "agentic gateway" — this skill covers wallet-based auth flows for Alchemy's x402 and MPP…
messari-alpha-scout
Alpha scouting workflow using Messari x402. Scans mindshare gainers, trending topics, and news to surface emerging narratives and high-momentum assets. Total cost $1.25 USDC per run.