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-submit-inferencegit 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-submit-inference)<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.
<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>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.00115 | $0.01894 |
| Opus 5.5 | $0.00046 | $0.00758 |
| Sonnet 5.5 | $0.00023 | $0.00379 |
| Haiku 4.5 | $0.00012 | $0.00189 |
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.
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(defaulthttps://api.xfuel.app; usehttp://localhost:3002to self-host) andXFUEL_API_KEY(defaults to the public demo keyxfuel-demo).xfuel-sdkinstalled (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" }
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 · 140 lines · 115 tokens per session scan A b990a5c1f64f
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.
xfuel-submit-inference compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| xfuel-submit-inferenceXFuel-Lab/xfuel-protocol | Skill | 1 | 3mo ago | Apache-2.0 | A | 115 | Claude Code, Codex |
| blockrunBlockRunAI/blockrun-mcp | Skill | 392 | today | MIT | A | 244 | Claude Code |
| 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 |
| granite-pay-per-callnirholas/ibm-x402-mcp | Skill | 9 | 20d ago | Apache-2.0 | A | 49 | 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 |