📰 IT NachrichtenToday’s NYT Mini Crossword Answers for Saturay, Sept. 12(12.09.2026 um 07:43 Uhr)
🔧 AI Nachrichten Etzioni on AI: What kids tell chatbots, but not you(04.09.2026 um 16:05 Uhr)
🔧 AI Nachrichten OpenAI Wants to Know if an AI Industry Slowdown Would Even Be Legal(11.09.2026 um 01:28 Uhr)
🔧 AI Nachrichten OpenAI puts Pro subscriptions on hold due to Astra demand(10.09.2026 um 22:59 Uhr)
🔧 AI Nachrichten OpenAI’s feud with mathematicians is only escalating(11.09.2026 um 22:57 Uhr)
📰 IT NachrichtenToday’s NYT Mini Crossword Answers for Saturay, Sept. 12(12.09.2026 um 07:43 Uhr)
🔧 AI Nachrichten Etzioni on AI: What kids tell chatbots, but not you(04.09.2026 um 16:05 Uhr)
🔧 AI Nachrichten OpenAI Wants to Know if an AI Industry Slowdown Would Even Be Legal(11.09.2026 um 01:28 Uhr)
🔧 AI Nachrichten OpenAI puts Pro subscriptions on hold due to Astra demand(10.09.2026 um 22:59 Uhr)
🔧 AI Nachrichten OpenAI’s feud with mathematicians is only escalating(11.09.2026 um 22:57 Uhr)

🔧 Programmierung 🕛 vor 3 Monaten 5 Min Lesezeit
0

I Added x402 Payments to Base's Agent Skills — Here's How

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

If you build agents on Base, two things landed recently that are worth connecting.



First: Base shipped its own Agent Skills. There's now a base/skills repo with consolidated skills that teach an AI agent to connect to Base, deploy contracts, authenticate wallets, and run nodes — installed with one command via Vercel's npx skills CLI.



Second: that CLI is part of a fast-growing, cross-agent ecosystem most crypto devs haven't clocked yet. So this post does two things — explains how npx skills and skills.sh actually work, and shows where the payment layer in Base's skills stops and how to extend it with x402 pay-per-call and batch disbursement.






What npx skills actually is



npx skills is an open CLI from Vercel Labs for installing "skills" — modular SKILL.md files that teach an agent a specific capability without stuffing everything into its context window. A few things make it different from what crypto devs usually expect:





  • GitHub is the registry. There's no central package server. Any public GitHub repo with a SKILL.md at its root is a valid, installable skill. Install with npx skills add owner/repo.


  • It's cross-agent. The same skill installs into Claude Code, Cursor, Codex, GitHub Copilot, Goose, Windsurf, Gemini, and dozens more. You write once; it works across the agent you (or your users) actually run.


  • skills.sh is the directory + leaderboard. It ranks skills by real install counts pulled from telemetry, with all-time, trending, and hot lists. There's no editorial submission step — you publish by putting a skill in a repo, and installs surface it.



The format underneath — SKILL.md — is an open spec, which is why Base, Vercel, Anthropic, and a long tail of independent devs all use the same files.



Here's Base's install, for reference:




CODE
# Base's official agent skills
npx skills add base/skills --skill build-on-base
npx skills add base/skills --skill base-mcp






build-on-base is a consolidated Base dev playbook; base-mcp wires up a Base MCP server that gives an agent a wallet — sending, swapping, signing, batched calls, balances.






Where Base's skills stop



This is the interesting gap. Base's skills give an agent a wallet and the ability to transact: send a payment, swap a token, sign, batch several calls into one transaction. That's the on-chain action layer, and it's well covered.



What that layer doesn't do is two distinct things the agent economy actually runs on:




  1. Pay-per-call consumption. When an agent needs to buy data or compute — a price feed, a web search, an LLM completion — it needs to pay for that call, per call, without an API key or a billing account. That's spec standardizes.




Both settle in USDC on Base. Neither is something a wallet-only skill handles. So they're a clean, complementary layer to drop on top of what Base ships.






Adding the payment layer



I published three skills that fill exactly that gap, each its own repo so you install only what you need:





  • — pay-per-call AI inference (200+ LLMs, Bittensor, image gen, embeddings, GPU)


  • , which is x402-native end to end — no API keys, no accounts. You fund a wallet with USDC on Base, set one env var, and the x402 client signs and retries payments automatically.




    CODE
    npm install x402-client
    export EVM_PRIVATE_KEY=0x... # wallet holding USDC on Base









    Worked example: an agent that prices before it acts



    A read call costs a fraction of a cent and needs no key:




    CODE
    import { createClient } from "x402-client";

    const client = createClient({
    baseUrl: "https://gateway.spraay.app",
    privateKey: process.env.EVM_PRIVATE_KEY,
    });

    // Live oracle prices — pays ~$0.008 USDC, automatically
    const prices = await client.get("/api/v1/oracle/prices");
    // { ETH: 2847.50, BTC: ... }

    // Profile a wallet before interacting with it
    const profile = await client.get("/api/v1/analytics/wallet?address=0xabc...");









    Worked example: pay 50 people in one transaction



    This is the disbursement primitive a wallet-only skill can't express:




    CODE
    // Batch-send USDC to many recipients in a single tx
    const tx = await client.post("/api/v1/batch/execute", {
    chain: "base",
    token: "USDC",
    recipients: [
    { address: "0xabc...", amount: "10.00" },
    { address: "0xdef...", amount: "25.50" },
    // ...up to your full roster
    ],
    });






    Estimate first with /api/v1/batch/estimate (≈$0.001) if you want a gas/fee preview before sending.






    Why this matters for agents on Base



    The mental model is two layers:





    • Base's skills = the agent has a wallet and can transact.


    • x402 skills = the agent can pay for each call it makes, and pay many parties at once.



    Put them together and you have an agent that can read on-chain state, buy the data and compute it needs per call, and disburse funds — all in USDC on Base, all without a single API key or account. That's most of what an autonomous economic agent actually needs to do a job end to end.



    If you're building on Base, the install lines above are the fastest way to try the payment layer. Skills are just SKILL.md files — open them before you install (it takes 30 seconds) and you'll see exactly which endpoints get called and what they cost.



    Skills: · · · BPA 1.0 spec

    Vollständiger Original-Bericht
    Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
    ↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
2 Quellen
Seattle Times sues Microsoft and OpenAI, alleging they trained their AI on its journalism
1 Quelle
Today’s NYT Mini Crossword Answers for Saturay, Sept. 12
1 Quelle
Etzioni on AI: What kids tell chatbots, but not you
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I Added x402 Payments to Base's Agent Skills — Here's How

Thematisch verwandte Begriffe: Added, x402, Payments, Bases · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...