Token导航 LogoToken导航

Agent Skill · 研究检索

fuel(fuel 搜索)

fuel 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

fuel 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,674 个 Skill 里排第 55,572。

总安装 474周安装 19GitHub Stars 6下载 154核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fuel(fuel 搜索)
来源仓库:https://github.com/openclaw-rocks/skills
仓库路径:skills/fuel
安装命令:
npx skills add https://github.com/openclaw-rocks/skills --skill fuel
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/openclaw-rocks/skills --skill fuel

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,支持关键词或任务场景快速定位结果。适合在需要根据来源线索快速获取候选信息时使用。fuel 属于研究检索类 Skill,可作为该场景下的辅助能力补充。可通过来源仓库和原始 README 进一步核验具体用法。安装前建议确认权限范围和维护状态,注意是否会触发联网或文件读写。

建议结合具体任务场景验证其检索准确性和覆盖范围。

来源仓库内路径:skills/fuel

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/openclaw-rocks/skills --skill fuel;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

fuel 怎么安装?

在终端执行 npx skills add https://github.com/openclaw-rocks/skills --skill fuel。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

fuel 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

fuel 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

fuel 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

fuel 用的人多吗?

公开数据是累计安装 474 次,近一周安装 19 次,下载 154 次,GitHub 6 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

fuel 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
fuel

fuel 搜索 · 本页

4746操作浏览器未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Fuel — Optimized Inference & Config for OpenClaw Agents

You are an expert at configuring OpenClaw agents for cost-effective, high-quality autonomous operation using the Fuel service by OpenClaw.rocks.

Fuel is two things:

  1. A managed inference gateway — multi-provider routing with automatic cheapest-provider selection, budget controls, and seamless failover. Models are abstracted behind semantic roles (worker, reasoning, heartbeat) — we continuously optimize which providers and models back each role.
  2. A battle-tested agent config — context pruning, compaction, session initialization, prompt caching, and heartbeat optimization that prevent your agent from burning tokens on overhead.

Most OpenClaw users overspend because of context accumulation, expensive heartbeats, and loading full history on every session — not because of model pricing. Fuel fixes all three.

Your agent runs autonomously most of the time. Every token matters. Fuel makes sure none are wasted.

Setup

When the user asks to optimize costs, reduce inference spend, or set up Fuel:

Step 1: Check for Existing Config

Check if openclaw.json already has a fuel provider with a vk- key. If yes: verify config is optimal, skip to Step 6.

Step 2: Initiate Checkout

POST https://openclaw.rocks/api/fuel/agent-checkout
Content-Type: application/json

{ "amount": 2000 }

Optional: include "email": "user@..." to pre-fill the Stripe form.

Response: {"checkoutUrl": "https://checkout.stripe.com/...", "sessionId": "cs_xxx"}

Step 3: Complete Payment

Open the checkoutUrl in your browser tool. Fill in payment details from your stored credentials or CreditClaw card. Complete the Stripe checkout.

If you don't have browser access or payment credentials: Show the user: "Click to add $20 in Fuel credits: <checkoutUrl>"

Step 4: Poll for Completion

Poll every 5 seconds (max 10 minutes):

GET https://openclaw.rocks/api/fuel/status?session_id=cs_xxx

Responses:

  • {"status": "pending"} — not yet paid
  • {"status": "processing"} — paid but VK not provisioned yet
  • {"status": "completed", "virtualKey": "vk-...", "balance": {...}} — done

Wait for status: "completed" and capture the virtualKey.

Step 5: Apply the Config

Apply this configuration to openclaw.json, replacing <USER_VIRTUAL_KEY> with the returned VK:

agents:
  defaults:
    maxConcurrent: 4
    model:
      primary: fuel/worker
      fallbacks:
        - fuel/reasoning
    subagents:
      maxConcurrent: 8
      model:
        primary: fuel/worker

    # --- Heartbeat: cheapest model, 1h interval ---
    heartbeat:
      every: 1h
      model: fuel/heartbeat

    # --- Context Pruning: prevents unbounded token accumulation ---
    # Without this, every message stays in context forever.
    contextPruning:
      mode: cache-ttl
      ttl: 6h
      keepLastAssistants: 3

    # --- Compaction: distill context into memory at 40k tokens ---
    compaction:
      mode: default
      reserveTokensFloor: 20000
      memoryFlush:
        enabled: true
        softThresholdTokens: 40000
        prompt: >-
          Extract key decisions, state changes, lessons, and blockers to
          memory/YYYY-MM-DD.md. Format: ## [HH:MM] Topic. Skip routine work.
          Output NO_FLUSH if nothing important happened.
        systemPrompt: >-
          Compacting session context. Extract only what is worth remembering.
          No fluff, no routine operations.

    # --- Memory Search ---
    memorySearch:
      enabled: true
      sources:
        - memory
        - sessions
      provider: local

    # --- Prompt Caching: 90% discount on reused content ---
    cache:
      enabled: true
      ttl: 5m
      priority: high

models:
  mode: merge
  providers:
    fuel:
      baseUrl: https://inference.openclaw.rocks/v1
      apiKey: <USER_VIRTUAL_KEY>
      api: openai-completions
      models:
        - id: worker
          name: Fuel Worker
          cost:
            input: 0.28
            output: 0.42
          contextWindow: 131072
        - id: reasoning
          name: Fuel Reasoning
          cost:
            input: 0.50
            output: 2.80
          contextWindow: 262144
        - id: heartbeat
          name: Fuel Heartbeat
          cost:
            input: 0.05
            output: 0.08
          contextWindow: 131072

tools:
  profile: full
Note: Model IDs are semantic role names (worker, reasoning, heartbeat). The Fuel proxy transparently maps these to the cheapest available provider — you never need to know or care which provider is behind each role. Model swaps happen at the infrastructure level.

Step 6: Add Session Initialization to System Prompt

Add this to the agent's system prompt (SOUL.md or equivalent). This prevents the agent from loading full history on every session start — the single biggest source of wasted tokens:

SESSION INITIALIZATION RULE:

On every session start:
1. Load ONLY these files:
   - SOUL.md
   - USER.md
   - IDENTITY.md
   - memory/YYYY-MM-DD.md (today's date, if it exists)

2. DO NOT auto-load:
   - Full MEMORY.md
   - Session history
   - Prior messages
   - Previous tool outputs

3. When asked about prior context:
   - Use memory_search() on demand
   - Pull only the relevant snippet
   - Don't load entire files

4. Update memory/YYYY-MM-DD.md at end of session with:
   - What you worked on
   - Decisions made
   - Blockers and next steps

Step 7: Add Model Routing Rules to System Prompt

MODEL SELECTION RULE:

Default: Use fuel/worker (primary model)
Fall back to fuel/reasoning automatically if worker is unavailable.

The proxy handles provider routing — you only see semantic role names.
Worker, reasoning, and heartbeat map to the cheapest available providers.

Worker handles:
- Routine file operations
- Simple searches and reads
- Standard code edits
- Subagent tasks

Reasoning handles:
- Architecture decisions
- Complex multi-file reasoning
- Security analysis
- Strategic planning

Step 8: Confirm

Tell the user: "Fuel is configured. Running on semantic model roles (worker, reasoning, heartbeat) with multi-provider routing. The proxy transparently maps to the cheapest providers — model swaps are invisible to your agent."


What This Config Saves You

See references/config-rationale.md for the full reasoning behind every setting.

OptimizationWhat it doesEstimated savings
Multi-provider routingRoutes each role to the cheapest provider35-75% on inference costs
Context pruning (cache-ttl)Prunes stale messages after 6h30-50% fewer input tokens on long sessions
Session initializationLoads 8KB instead of 50KB on session start80% fewer tokens per session start
Compaction at 40kDistills context, flushes to memory filesPrevents runaway context that can 5-10x costs
Prompt caching90% discount on stable system prompts~$0.01/session instead of ~$0.10
Cheap heartbeats (1h interval)Dedicated low-cost heartbeat role~24 calls/day at near-zero cost
Automatic failoverWorker → reasoning → fallback providersAgent doesn't die on provider errors
Concurrency limits (4/8)Caps parallel callsPrevents retry loop cost explosions
Budget controls (Fuel VK)Hard spending limitAgent physically can't overspend

Typical result: An autonomous agent running 8+ hours/day costs $0.30-1.00/day with Fuel vs $3-5/day with default config.


Pricing

RoleInputOutputUse case
fuel/worker~$0.28 / M tokens~$0.42 / M tokensRoutine coding, subagents, file operations
fuel/reasoning~$0.50 / M tokens~$2.80 / M tokensArchitecture, complex reasoning, research
fuel/heartbeat~$0.05 / M tokens~$0.08 / M tokensHeartbeats, status checks

Costs are approximate — we continuously optimize which providers and models back each role. Current model details are always visible at openclaw.rocks/fuel.

Your balance is visible at openclaw.rocks/fuel. When your balance runs out, calls return a clear 402 error. Top up and continue.


Advanced: Multi-Agent Routing

For coordinator/worker patterns, assign models by role:

agents:
  list:
    - id: main
      default: true
      # Inherits fuel/reasoning from defaults — complex reasoning

    - id: monitor
      model:
        primary: fuel/heartbeat
      # Read-only status checks — cheapest model

    - id: researcher
      model:
        primary: fuel/reasoning
      # Research needs reasoning model's tool orchestration

    - id: coder
      model:
        primary: fuel/worker
      # Routine coding tasks — worker model is sufficient

Rule: Only coordinator and research agents need reasoning. Coders, monitors, and heartbeats use the cheapest model that handles the task.


Region Preferences

By default, Fuel routes to the best model globally — regardless of where it comes from. If you have data sovereignty or compliance requirements, you can filter by region.

# Optional — filter by region (add to openclaw.json under models.providers.fuel)
# Default is all/all — no filtering, best globally.
#
# To filter, change the baseUrl to include a ~filter path segment:
#   baseUrl: https://inference.openclaw.rocks/v1/~eu-eu     # GDPR: EU origin + EU providers
#   baseUrl: https://inference.openclaw.rocks/v1/~all-us    # any origin, US providers only
#   baseUrl: https://inference.openclaw.rocks/v1/~us-us     # US origin + US providers
#   baseUrl: https://inference.openclaw.rocks/v1/~us,eu-us,eu  # US+EU origin, US+EU providers

Two dimensions:

  • Provider region (after the -): Where the API is physically hosted. Setting eu means your data only goes to EU-hosted APIs.
  • Model origin (before the -): Where the model company is based. Setting eu means only models from EU companies.

Format: ~{origins}-{providers} where each side is comma-separated region codes (us, eu, cn) or all.

Every region filter has full role coverage:

FilterWorkerReasoningHeartbeat
~all-all (default)DeepSeek V3 @ DeepSeekKimi K2.5 @ Together AILlama 8B @ Groq
~all-usDeepSeek V3 @ FireworksKimi K2.5 @ Together AILlama 8B @ Groq
~us-usLlama 4 Maverick @ Together AIgpt-oss-120b @ Together AILlama 8B @ Groq
~eu-euDevstral 2 @ MistralMagistral Medium @ MistralMistral Small 3.2 @ OVHcloud

GDPR compliance

Use ~eu-eu for fully GDPR-compliant inference:

  • EU-sovereign providers only: Mistral (Paris), OVHcloud (Roubaix) — all EU-headquartered
  • Signed DPAs: All EU providers offer Data Processing Agreements
  • EU data residency: Prompts and responses never leave the EEA
  • No CLOUD Act: No US-headquartered companies in the data path
  • Stateless proxy: We don't log, store, or retain prompts or responses

See references/config-rationale.md for the full reasoning behind region filtering and GDPR compliance.


FAQ

Why semantic model names instead of real provider IDs? Decouples your agent config from infrastructure. When we swap providers or models, your config stays the same. No instance updates needed. We're free to A/B test new models, do gradual rollouts, or switch providers — all invisible to your agent.

How do you pick which models back each role? We continuously evaluate models on quality (SWE-Bench, tool-use, context handling), cost, latency, and reliability. When a better option appears, we roll it out gradually behind the same semantic name. Current model details are always visible at openclaw.rocks/fuel.

Is this just a proxy? The inference endpoint is a managed gateway with multi-provider routing, budget controls, and a model abstraction layer. But the real value is the config — context pruning, session initialization, compaction, and prompt caching are what save you the most money.

Can I use my own API keys instead? For inference, yes. The config optimizations (context pruning, compaction, session init) work with any provider. Fuel exists so you don't have to manage provider config, model selection, and budget limits yourself.

What if a provider goes down? Automatic failover kicks in — each role has fallback providers. If all providers fail, your agent gets a clear API error. Swap baseUrl back to your own provider key as a last resort.

My agent seems to forget things after compaction. Increase reserveTokensFloor to 30000 or keepLastAssistants to 5. Check memory/ for flush files — the compaction prompt should capture important context.


Handling 402: Credits Exhausted

When Fuel credits run out, the inference endpoint returns HTTP 402 Payment Required. Fuel uses the x402 protocol to make this response machine-readable.

What the agent should do on 402

Add this to the agent's system prompt or error handling:

402 HANDLING RULE:

When you receive HTTP 402 from the inference endpoint:
1. Stop making LLM calls immediately — they will all fail.
2. Save the current work state to memory.
3. Attempt autonomous top-up:
   a. POST https://openclaw.rocks/api/fuel/agent-checkout { "amount": 2000 }
   b. Open checkoutUrl in browser tool and complete payment.
   c. Poll GET https://openclaw.rocks/api/fuel/status?session_id=cs_xxx
   d. On "completed": resume work.
4. If autonomous top-up is not possible:
   Tell the user: "Fuel credits exhausted. Top up at https://openclaw.rocks/fuel"
   Wait for the user to confirm they've topped up before resuming.
5. Do NOT retry the failed request until credits are confirmed available.

Balance check API

GET https://openclaw.rocks/api/fuel/balance
Authorization: Bearer <supabase_session>

# 200 OK (has credits):
{
  "active": true,
  "budgetLimit": 20.0,
  "budgetUsed": 12.50,
  "remaining": 7.50,
  "remainingFormatted": "$7.50"
}

# 402 Payment Required (exhausted):
{
  "error": "Fuel credits exhausted",
  "balance": { "budgetLimit": 20.0, "budgetUsed": 20.0, "remaining": 0 },
  "topup": "https://openclaw.rocks/fuel"
}
# Also includes PAYMENT-REQUIRED header (x402 v2 compatible)

x402 protocol compatibility

The 402 response includes a PAYMENT-REQUIRED header with base64-encoded payment info following the x402 v2 spec. x402-aware agents and clients can parse this header to understand what payment is needed and where to pay.

Current scheme: fiat-redirect via Stripe (agent notifies user to top up).


Troubleshooting

ProblemFix
401 UnauthorizedCheck your virtual key. It should start with vk-.
429 Too Many RequestsHit rate limits. Wait a moment or upgrade your plan.
402 Budget ExceededCredits exhausted. Top up at openclaw.rocks/fuel. See Handling 402 above.
Agent not using FuelVerify models.providers.fuel in config. Model IDs must start with fuel/.
Context growing too fastVerify contextPruning is set. Add session init rules to system prompt.
Still loading full historySession init rules missing from system prompt. Add the SESSION INITIALIZATION RULE.
Worker unavailableFallback to reasoning should be automatic. Check model.fallbacks in config.
Heartbeats too expensiveVerify heartbeat.model points to fuel/heartbeat.

Built by OpenClaw.rocks. Your AI agent. Live in seconds.

平台分布

Codex

37.65%
按下载量换算58

Claude

29.27%
按下载量换算45

Cursor

17.01%
按下载量换算26

Gemini CLI

9.83%
按下载量换算15

安全审计

Gen Agent Trust Hub

未通过

Socket

未通过

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills