# Send Windfall Inference to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "windfall-inference",
    "name": "Windfall Inference",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/papa-raw/windfall-inference",
    "canonicalUrl": "https://clawhub.ai/papa-raw/windfall-inference",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/windfall-inference",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=windfall-inference",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "LICENSE.md",
      "SKILL.md",
      "acp-service.json",
      "deploy/setup.sh",
      "package-lock.json",
      "package.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/windfall-inference"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/windfall-inference",
    "downloadUrl": "https://openagent3.xyz/downloads/windfall-inference",
    "agentUrl": "https://openagent3.xyz/skills/windfall-inference/agent",
    "manifestUrl": "https://openagent3.xyz/skills/windfall-inference/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/windfall-inference/agent.md"
  }
}
```
## Documentation

### Windfall Inference

Spatially-routed LLM inference gateway for AI agents on Base. Routes every request to the cheapest model on the cleanest energy.

### Setup

Set WINDFALL_API_KEY in your environment. Get one free at:

curl -X POST https://windfall.ecofrontiers.xyz/api/keys \\
  -H "Content-Type: application/json" \\
  -d '{"wallet_address": "YOUR_WALLET"}'

Keys with an ERC-8004 agent identity or Basename get 100 free requests. Anonymous keys get 25.

### Usage

Use as an OpenAI-compatible endpoint. Set these two environment variables:

OPENAI_BASE_URL=https://windfall.ecofrontiers.xyz/v1
OPENAI_API_KEY=wf_YOUR_KEY

Or call directly:

curl https://windfall.ecofrontiers.xyz/v1/chat/completions \\
  -H "Authorization: Bearer $WINDFALL_API_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{
    "model": "auto",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

### x402 Payment (No API Key Needed)

Windfall supports the x402 payment protocol. Any agent with a Base wallet can pay per-request without creating an API key. Send a request without auth and the server returns HTTP 402 with a PAYMENT-REQUIRED header containing USDC payment instructions on Base. Your x402 client handles the rest.

### Routing Modes

greenest (default) — lowest carbon intensity
cheapest — lowest energy cost
balanced — Pareto-weighted cost + carbon

Set via "mode" in the request body or X-Routing-Mode header.

### Models

Default: DeepSeek V3 (auto-selected by engagement classifier). Override with "model" field. 200+ models available via OpenRouter.

### Pricing

Standard: $0.004/request
Premium (Claude, GPT-4): $0.008/request
Green surcharge: +10% for greenest mode
Cache hits: free

### Response Headers

Every response includes:

X-Windfall-Cache — HIT or MISS
X-Windfall-Mode — routing mode used
X-Windfall-Model — model that handled the request
X-Windfall-Node — node that executed the request
X-Windfall-Cost — cost charged
X-Windfall-Saved — savings vs direct API (cache hits)

### Onchain Attestations

Every inference call produces a verifiable EAS attestation on Base with: node location, energy price, carbon intensity, model used, and response hash. Query at base.easscan.org.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: papa-raw
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/windfall-inference)
- [Send to Agent page](https://openagent3.xyz/skills/windfall-inference/agent)
- [JSON manifest](https://openagent3.xyz/skills/windfall-inference/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/windfall-inference/agent.md)
- [Download page](https://openagent3.xyz/downloads/windfall-inference)