xfuel-relay-proof-crosschain

xfuel-relay-proof-crosschain is a skill for Claude Code, Codex from XFuel-Lab/xfuel-protocol. It costs 102 tokens per session (728 once invoked), scanned A, original, Apache-2.0.

A cross-chain relay for sending a verified XFuel zero-knowledge proof from the Theta blockchain to another supported blockchain through Hyperlane, a cross-chain messaging network.

In plain words
What is it for?
Fetching a task's proof, preparing the relay transaction, selecting a destination such as Bittensor mainnet or testnet, and including the required message fee.
Why use it?
It lets a proof verified on Theta be recognized on a different chain for settlement or other cross-chain use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Fetching a task's proof, preparing the relay transaction, selecting a destination such as Bittensor mainnet or testnet, and including the required message fee.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xfuel-lab/xfuel-protocol/xfuel-relay-proof-crosschain
Install

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.

Any agent
npx skills add XFuel-Lab/xfuel-protocol --skill xfuel-relay-proof-crosschain
Clone the repo
git clone --depth 1 https://github.com/XFuel-Lab/xfuel-protocol

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for xfuel-relay-proof-crosschain

README.md
[![agentmods](https://agentmods.dev/badge/skills/xfuel-lab/xfuel-protocol/xfuel-relay-proof-crosschain/github.svg)](https://agentmods.dev/skills/xfuel-lab/xfuel-protocol/xfuel-relay-proof-crosschain)
Your own site
<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.

agentmods 80×15 button for xfuel-relay-proof-crosschain

Your own site · 80×15
<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>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 728 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 11d ago against content hash 7d17413b38b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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.

packages/agent-skills/xfuel-relay-proof-crosschain/SKILL.md · 71 lines

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 via xfuel-verify-proof.
  • ZK_VERIFIER_ADDRESS and 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

  1. 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;
    
  2. 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 }
    
  3. Submit call via the server relayer or sign out-of-band. Return the resulting messageId / tx hash.

Failure modes

  • NoMailbox revert → 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.

Read the full file on GitHub · 71 lines

Changes

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.

  1. 11d ago First seen · 71 lines · 102 tokens per session scan A 7d17413b38b9

Subscribe to this mod's changes

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.

Related

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.

ANAMIZED/OpenMesha · 39 tokens

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.

okx/agent-trade-kit · 274 tokens

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…

BlockRunAI/blockrun-mcp · 241 tokens

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…

BlockRunAI/blockrun-mcp · 110 tokens

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…

moonpay/skills · 101 tokens

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.

moonpay/skills · 48 tokens