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-route-computegit 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-route-compute)<a href="https://agentmods.dev/skills/xfuel-lab/xfuel-protocol/xfuel-route-compute"><img src="https://agentmods.dev/badge/skills/xfuel-lab/xfuel-protocol/xfuel-route-compute/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-route-compute"><img src="https://agentmods.dev/badge/skills/xfuel-lab/xfuel-protocol/xfuel-route-compute.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.00093 | $0.00837 |
| Opus 5.5 | $0.00037 | $0.00335 |
| Sonnet 5.5 | $0.00019 | $0.00167 |
| Haiku 4.5 | $0.00009 | $0.00084 |
Grade A, and why
xfuel-route-compute 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 — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
XFuel: Route / Inspect Compute
Preview routing and provider availability before (or instead of) submitting work.
Prerequisites
XFUEL_API_URL,XFUEL_API_KEY. See../_shared/reference/env-and-endpoints.md.
Parameters
| Name | Required | Description |
|---|---|---|
chain_id |
no | Filter intent chain: theta | akash | bittensor | osmosis. |
model |
no | Model slug to check (informational). |
The 6-tier priority router
Tasks route first-available, lowest-cost (see repo AGENTS.md / circuits/theta-inference):
| Tier | Provider | Enabled by env (server-side) |
|---|---|---|
| 1 | Theta EdgeCloud | THETA_EDGECLOUD_API_KEY |
| 2 | RapidAPI inference | THETA_RAPIDAPI_KEY |
| 3 | MCP (local) | THETA_MCP_ENDPOINT |
| 4 | Akash Network | AKASH_* |
| 5 | Render Network | RENDER_API_KEY |
| 6 | AWS Bedrock (last resort) | AWS_* |
Today the public
/task-requestpath may not run the full waterfall — seedocs/design/M2M_ROUTING_UNIFICATION.md. TheroutedTo/provider_tagfields in/task-statusand theTaskSettledwebhook are authoritative for what actually ran.
Procedure
-
Read server health to see configured fees, chains, and listener status:
import { XFuelClient } from 'xfuel-sdk'; const client = new XFuelClient({ baseUrl: process.env.XFUEL_API_URL, apiKey: process.env.XFUEL_API_KEY }); const health = await client.getHealth(); // health.chains, health.message_types, health.fee_config, health.ai_listener -
To learn the actual provider for a task, submit via
xfuel-submit-inferenceand readroutedTo/provider_tagfrom the status/webhook. -
Return a routing preview: enabled tiers (from health/listener status), the default chain, and the fee model (0.5% default).
Cost preview (payment rails)
To preview the price of a task per payment rail before submitting, call
POST /task-quote (read-only): it returns the USDC-via-x402 amount (default rail,
on Base) and the TFUEL amount. Provider routing (this skill) and payment rail
(xfuel-submit-inference payment param) are independent — a task can run on any
tier and settle in USDC or TFUEL. See ../_shared/reference/payments-x402.md.
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 · 82 lines · 93 tokens per session scan A b421f98beb3f
xfuel-route-compute is a skill published in the GitHub repository XFuel-Lab/xfuel-protocol (1 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 93 tokens to every session and 837 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-route-compute compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| xfuel-route-computeXFuel-Lab/xfuel-protocol | Skill | 1 | 3mo ago | Apache-2.0 | A | 93 | Claude Code, Codex |
| agoragentic-deployrhein1/agoragentic-integrations | Skill | 41 | 1mo ago | MIT | A | 45 | Cursor |
| coolifyStuMason/coolify-mcp | Skill | 632 | today | MIT | A | 156 | Claude Code, Codex |
| api-workerscyanheads/obsidian-mcp-server | Skill | 722 | 20d ago | Apache-2.0 | A | 51 | Claude Code |
| ssh-incidentbvisible/mcp-ssh-manager | Skill | 557 | today | MIT | A | 46 | Claude Code, Codex |
| discovery-patternsserac-labs/serac | Skill | 77 | 1mo ago | Apache-2.0 | A | 40 | Claude Code |
| agoragentic-transaction-assurancerhein1/agoragentic-integrations | Skill | 41 | 1mo ago | MIT | A | 65 | Cursor |