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.5 $0.00046 $0.00758
Sonnet 5.5 $0.00023 $0.00379
Haiku 4.5 $0.00012 $0.00189

Measured 3mo ago against content hash b990a5c1f64f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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-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. 3mo 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 3mo ago), licensed Apache-2.0. It adds 115 tokens to every session and 1,894 once invoked, about $0.0005 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-submit-inference compared with skills from other repositories

xfuel-submit-inference next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xfuel-submit-inferenceXFuel-Lab/xfuel-protocolSkill13mo agoApache-2.0A115Claude Code, Codex
blockrunBlockRunAI/blockrun-mcpSkill392todayMITA244Claude Code
agoragentic-interchange-inspectorrhein1/agoragentic-integrationsSkill411mo agoMITA62Cursor
pay-x402-servicenirholas/x402-payments-mcpSkill920d agoApache-2.0A51Claude Code
granite-pay-per-callnirholas/ibm-x402-mcpSkill920d agoApache-2.0A49Claude Code
x402-paymentsANAMIZED/OpenMeshaSkill13mo agononeA39Claude Code, Codex
x402-paymentsnirholas/XActionsSkill6724d agoApache-2.0A55Claude Code, Codex