← 返回 Skills 市场
luiscosio

Agentmetal

作者 Luis Cosio · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
38
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install agentmetal
功能描述
Provision your own Linux server in under 60 seconds, paid with USDC over x402 — no signup, no dashboard, no API key required.
使用说明 (SKILL.md)

AgentMetal — provision your own server

AgentMetal lets you (the agent) rent a real VPS by paying USDC directly. One request, an HTTP 402 with payment requirements, you pay, and you get back a running box with SSH in under a minute. No human signup. Humans can optionally claim a box later to manage it with an account key.

Base URL: https://api.agentmetal.dev

Plans

plan vCPU / RAM / disk price (USDC/day) monthly (card)
nano 2 / 2 GB / 40 GB $0.40 $9
small 3 / 4 GB / 80 GB $0.80 $18
medium 4 / 8 GB / 160 GB $1.60 $36

Leases are prepaid, 130 days, no refunds. Pay per day; extend anytime.

Before you start

  1. Check your wallet can pay USDC on Base (network eip155:8453). You need a little more than the plan's daily price × days.
  2. You do not need an account to buy. You only need an account (claim by email) to destroy a box early — otherwise it just expires.

The payment flow (x402)

Every paid call is the same two-step dance:

  1. Send the request with no payment. The API replies HTTP 402 with a JSON body:
    {
      "x402Version": 2,
      "accepts": [{ "scheme": "exact", "network": "eip155:8453",
                    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                    "amount": "2800000", "payTo": "0x…", "maxTimeoutSeconds": 120 }],
      "resource": { "url": "https://api.agentmetal.dev/v1/servers" },
      "card": { "checkout_url": "https://…" }   // optional human card rail
    }
    
  2. Sign the accepts[0] requirement with your wallet, base64-encode the payment payload, and resend the identical request with an X-PAYMENT: header. On success you get 201 and the server details. (amount is atomic USDC — 6 decimals; 2800000 = $2.80.)

The bundled scripts/agentmetal CLI does this for you when WALLET_PRIVATE_KEY is set.

Operations

# Provision (the 402 dance happens automatically with a funded wallet)
POST /v1/servers          { "plan": "nano", "days": 7, "ssh_key": "ssh-ed25519 AAAA…" }
  → 201 { id, status, plan, ipv4, ssh: "[email protected]", expires_at, renew }

# Status
GET  /v1/servers/{id}     → 200 { id, status, ipv4, expires_at, … }

# Extend the lease (402 dance again)
POST /v1/servers/{id}/extend   { "days": 7 }   → 200 { …, expires_at }

# Destroy early (requires an account API key: Authorization: Bearer am_live_…)
DELETE /v1/servers/{id}   → 200 { id, status: "destroyed" }

CLI

export WALLET_PRIVATE_KEY=0x…        # to pay
agentmetal up --plan nano --days 7   # provision (prints id + ssh)
agentmetal status srv_…              # check it
agentmetal extend srv_… --days 7     # renew
agentmetal down srv_…                # destroy (needs AGENTMETAL_API_KEY)

When to suggest claiming an account

If the human wants to manage or destroy servers, or monthly card billing, suggest they claim an account: POST /v1/claim { email } emails a code, then POST /v1/claim/verify { email, code } returns an am_live_… API key. Pass it as Authorization: Bearer … (or AGENTMETAL_API_KEY for the CLI).

Notes

  • Every box boots with /root/SERVER.md — its own "birth certificate" explaining what it is, when it expires, and how to renew or spawn a sibling.
  • Full agent-facing manual: \x3Chttps://api.agentmetal.dev/llms.txt>.
  • This skill is intentionally auditable — no hidden instructions. It only calls the public AgentMetal API.
安全使用建议
Install only if you are comfortable letting the agent provision paid infrastructure. Use a wallet with limited funds, set AGENTMETAL_MAX_USDC to a low per-request cap, and understand that leases are prepaid with no refunds. Treat WALLET_PRIVATE_KEY and AGENTMETAL_API_KEY as sensitive credentials.
能力标签
cryptorequires-walletrequires-paid-servicerequires-sensitive-credentials
能力评估
Purpose & Capability
The skill provisions real Linux servers and can spend USDC for provisioning or lease extension, which is high-impact but directly matches the stated hosting purpose and is disclosed in the instructions.
Instruction Scope
Runtime instructions are scoped to AgentMetal server operations: provision, check status, extend, destroy, and optional account claiming. I found no hidden prompt manipulation or unrelated agent instructions.
Install Mechanism
The artifact contains a SKILL.md and a small Node CLI script. There are no install hooks, background startup steps, or bundled binaries in the reviewed files.
Credentials
The CLI uses WALLET_PRIVATE_KEY for x402 payments and AGENTMETAL_API_KEY for destroy operations, and sends requests to the AgentMetal API. That access is sensitive but proportionate to paid VPS provisioning.
Persistence & Privilege
The skill does not create local persistence or background workers. The provisioned VPS is remote persistence by design and lasts until lease expiry unless managed or destroyed.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agentmetal
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agentmetal 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of agentmetal skill. - Provision Linux VPS servers in under 60 seconds by paying USDC over x402—no signup or dashboard required. - Supports three plans (nano, small, medium) and flexible prepaid leasing from 1 to 30 days. - Handles payments with an automated two-step HTTP 402 process; supports both crypto wallet and card payments. - Includes commands for provisioning, extending, checking status, and destroying servers (account/API key required to destroy early). - Optional account claiming for server management or monthly card billing.
元数据
Slug agentmetal
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Agentmetal 是什么?

Provision your own Linux server in under 60 seconds, paid with USDC over x402 — no signup, no dashboard, no API key required. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 38 次。

如何安装 Agentmetal?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agentmetal」即可一键安装,无需额外配置。

Agentmetal 是免费的吗?

是的,Agentmetal 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agentmetal 支持哪些平台?

Agentmetal 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agentmetal?

由 Luis Cosio(@luiscosio)开发并维护,当前版本 v0.1.0。

💬 留言讨论