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.5 $0.00041 $0.00291
Sonnet 5.5 $0.00020 $0.00146
Haiku 4.5 $0.00010 $0.00073

Measured 3mo ago against content hash 7d17413b38b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 3mo ago), licensed Apache-2.0. It adds 102 tokens to every session and 728 once invoked, about $0.0004 per session on Opus 5.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

xfuel-relay-proof-crosschain compared with skills from other repositories

xfuel-relay-proof-crosschain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xfuel-relay-proof-crosschainXFuel-Lab/xfuel-protocolSkill13mo agoApache-2.0A102Claude Code, Codex
agoragentic-interchange-inspectorrhein1/agoragentic-integrationsSkill411mo agoMITA62Cursor
pay-x402-servicenirholas/x402-payments-mcpSkill920d agoApache-2.0A51Claude Code
x402-paymentsANAMIZED/OpenMeshaSkill13mo agononeA39Claude Code, Codex
x402-paymentsnirholas/XActionsSkill6724d agoApache-2.0A55Claude Code, Codex
okx-cex-earnokx/agent-trade-kitSkill5256d agoMITA274Claude Code, Codex
blockrunBlockRunAI/blockrun-mcpSkill392todayMITA244Claude Code