xfuel-submit-inference

xfuel-submit-inference is a skill for Claude Code, Codex from XFuel-Lab/xfuel-protocol. It costs 115 tokens per session (1,894 once invoked), scanned A, original, Apache-2.0.

A service for sending an AI model or computing task through XFuel and receiving a result with an on-chain receipt and zero-knowledge proof. Payment is normally made in USDC, a digital dollar, through x402 on Base.

In plain words
What is it for?
Submitting prompts or other inputs to supported models, choosing a routing chain, setting the fee, and receiving a proof-backed settlement record.
Why use it?
It provides a recorded result whose settlement can be checked with a proof, instead of relying only on an unverified response from a compute provider.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Submitting prompts or other inputs to supported models, choosing a routing chain, setting the fee, and receiving a proof-backed settlement record.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xfuel-lab/xfuel-protocol/xfuel-submit-inference
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-submit-inference
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-submit-inference

README.md
[![agentmods](https://agentmods.dev/badge/skills/xfuel-lab/xfuel-protocol/xfuel-submit-inference/github.svg)](https://agentmods.dev/skills/xfuel-lab/xfuel-protocol/xfuel-submit-inference)
Your own site
<a href="https://agentmods.dev/skills/xfuel-lab/xfuel-protocol/xfuel-submit-inference"><img src="https://agentmods.dev/badge/skills/xfuel-lab/xfuel-protocol/xfuel-submit-inference/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-submit-inference

Your own site · 80×15
<a href="https://agentmods.dev/skills/xfuel-lab/xfuel-protocol/xfuel-submit-inference"><img src="https://agentmods.dev/badge/skills/xfuel-lab/xfuel-protocol/xfuel-submit-inference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,894 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.00115 $0.01894
Opus 5 $0.00057 $0.00947
Sonnet 5 $0.00023 $0.00379
Haiku 4.5 $0.00012 $0.00189

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

Security

Grade A, and why

xfuel-submit-inference 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 9d 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-submit-inference/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

XFuel: Submit Verifiable Inference

Run an AI inference/compute task through XFuel's router and receive a settled, proof-backed receipt. Prefer the SDK over raw HTTP. Money + proofs live on Base.

Prerequisites

  • XFUEL_API_URL (default https://api.xfuel.app; use http://localhost:3002 to self-host) and XFUEL_API_KEY (defaults to the public demo key xfuel-demo).
  • xfuel-sdk installed (npm install xfuel-sdk). See ../_shared/reference/env-and-endpoints.md.

Parameters

Name Required Description
model yes (inference) Live catalog id, e.g. xfuel/auto or theta/glm_5_2 (list via GET /v1/models). Retired llama-* names are rejected, not remapped. Maps to SDK modelId.
input recommended Prompt/string. You compute input_hash = keccak256(input) (the SDK takes input_hash, not the raw input).
sender yes Caller address (settlement attribution).
amount no Gross fee in USDC 6 decimals (10000 = $0.01). Default 1000000 ($1.00).
chain_id no base (default) | theta | bittensor | akash | osmosis. base = settlement home; others are routing / optional-rail hints.
proof_system no sp1 (default settlement proof). zkgpt is a retired/dev scaffold — not the Tier-3 path.
callback_url no Webhook to receive the TaskSettled event instead of polling.
payment no Payment rail. Default USDC via x402 ({ rail: 'usdc', network: 'base' }). Optional legacy rails may exist if the server enables them.
subnet_id yes if chain_id=bittensor Bittensor subnet UID.

Payment rail (USDC via x402 is the default)

XFuel's default rail is USDC via x402 — agent-native payment on Base against a machine-parseable 402 challenge. The SDK never holds keys.

// Default — USDC via x402 (agent-side wallet signs; SDK never holds keys)
"payment": { "rail": "usdc", "asset": "USDC", "network": "base", "maxAmount": "50000" }

Read the full file on GitHub · 140 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. 9d ago First seen · 140 lines · 115 tokens per session scan A b990a5c1f64f

Subscribe to this mod's changes

xfuel-submit-inference is a skill published in the GitHub repository XFuel-Lab/xfuel-protocol (1 stars, last pushed 9d ago), licensed Apache-2.0. It adds 115 tokens to every session and 1,894 once invoked, about $0.0006 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

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

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

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

opik-instrument

Add Opik tracing to an existing app and verify a real trace lands. Installs the Opik package, detects the language and LLM framework, adds the minimum tracing, runs a safe representative path, confirms a trace in Opik, and returns the trace link. Use for "instrument my code", "add opik tracing", "add observability"…

comet-ml/opik-mcp · 101 tokens

aba-precision-protocol

FOUNDATIONAL BEHAVIORAL PROTOCOL — ABA-based precision execution rules. Every prompt processed must follow these rules. Mistakes caught late create intermittent reinforcement of wrong patterns. Stop-fix-verify before proceeding.

dcostenco/prism-coder · 48 tokens