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.5 | $0.00041 | $0.00291 |
| Sonnet 5.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 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.
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.
- 3mo 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 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.
xfuel-relay-proof-crosschain compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| xfuel-relay-proof-crosschainXFuel-Lab/xfuel-protocol | Skill | 1 | 3mo ago | Apache-2.0 | A | 102 | Claude Code, Codex |
| agoragentic-interchange-inspectorrhein1/agoragentic-integrations | Skill | 41 | 1mo ago | MIT | A | 62 | Cursor |
| pay-x402-servicenirholas/x402-payments-mcp | Skill | 9 | 20d ago | Apache-2.0 | A | 51 | Claude Code |
| x402-paymentsANAMIZED/OpenMesha | Skill | 1 | 3mo ago | none | A | 39 | Claude Code, Codex |
| x402-paymentsnirholas/XActions | Skill | 672 | 4d ago | Apache-2.0 | A | 55 | Claude Code, Codex |
| okx-cex-earnokx/agent-trade-kit | Skill | 525 | 6d ago | MIT | A | 274 | Claude Code, Codex |
| blockrunBlockRunAI/blockrun-mcp | Skill | 392 | today | MIT | A | 244 | Claude Code |