You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clarify that prototype tier is free (testnet) across all user-facing text
Prototype uses testnet USDC — no real money needed. Hobby/team tiers
require real payment via USDC on Base or Stripe credits. Updated pricing
tables, tier descriptions, help text, and funding scripts in all three
interfaces (MCP, CLI, OpenClaw) plus both READMEs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Provisioning, renewing, site deployment, bundle deploy, and image generation require x402 micropayments. When payment is needed, tools return payment details (not errors) so the LLM can reason about them and guide the user through payment.
162
+
The prototype tier is free — it uses testnet USDC to test the x402 payment flow end-to-end (no real money). Hobby and team tiers, renewals, and image generation require real x402 micropayments (USDC on Base or Stripe credits). When payment is needed, tools return payment details (not errors) so the LLM can reason about them and guide the user through payment.
Copy file name to clipboardExpand all lines: SKILL.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: run402
3
-
description: Provision and manage AI-native Postgres databases with REST API, auth, storage, and row-level security. Pay with x402 USDC micropayments on Base.
3
+
description: Provision and manage AI-native Postgres databases with REST API, auth, storage, and row-level security. Prototype tier is free (testnet). Paid tiers use x402 USDC on Base or Stripe credits.
4
4
metadata:
5
5
openclaw:
6
6
emoji: "🐘"
@@ -17,7 +17,7 @@ metadata:
17
17
18
18
# Run402 — Postgres for AI Agents
19
19
20
-
Run402 gives you a full Postgres database with a REST API, user auth, file storage, and row-level security. You pay with a single x402 micropayment on Base — no signups, no dashboards, no human approval needed.
20
+
Run402 gives you a full Postgres database with a REST API, user auth, file storage, and row-level security. The prototype tier is free — you pay with testnet USDC to test the x402 flow end-to-end, no real money needed. Higher tiers (hobby, team) cost real money, payable with USDC on Base or Stripe credits. No signups, no dashboards, no human approval needed.
21
21
22
22
One tool call. One payment. You get back `anon_key`, `service_key`, and a project ID. Start creating tables immediately.
23
23
@@ -30,7 +30,7 @@ You have 10 tools available through the `run402-mcp` server.
30
30
Provision a new Postgres database. Handles x402 payment negotiation. Saves credentials locally.
-`name` (optional) — Human-readable project name. Auto-generated if omitted.
35
35
36
36
**Returns on success:**
@@ -315,18 +315,20 @@ Run402 uses the x402 HTTP payment protocol. Here's what you need to know:
315
315
**What a 402 response looks like:** When payment is required, the tool returns payment details as informational text (not an error). The response includes the price, network (Base L2), and payment address.
316
316
317
317
**How to handle it:**
318
-
1. Explain to the user what the cost is (e.g., "$0.10 for a 7-day prototype database")
318
+
1. Explain to the user what the cost is (e.g., "a free 7-day prototype database on testnet" or "$5 for a 30-day hobby database")
319
319
2. If the user has an allowance set up, help them complete the payment
320
320
3. If not, guide them through allowance setup (see Agent Allowance Setup below)
321
321
4. Once payment is complete, retry the same tool call
Prototype uses Base Sepolia testnet USDC — no real money needed. Get test USDC from the faucet. Hobby and Team require real payment via USDC on Base or Stripe credits.
331
+
330
332
**Budget enforcement:** When a project hits its tier's API call or storage limit, REST/SQL calls return 402 with usage details and a renew URL. Suggest renewing the project at the same or higher tier.
331
333
332
334
## Tips & Guardrails
@@ -341,9 +343,9 @@ Run402 uses the x402 HTTP payment protocol. Here's what you need to know:
341
343
- Use `access_token` (from auth login, via HTTP) for: user-scoped CRUD subject to RLS
-**Hobby** ($5): Real applications, persistent data, moderate traffic.
346
-
-**Team** ($20): Multi-user apps, heavy traffic, large storage needs.
346
+
-**Prototype** (free, testnet): Testing, demos, disposable data. Start here. Uses testnet USDC — no real money.
347
+
-**Hobby** ($5): Real applications, persistent data, moderate traffic. Requires real payment.
348
+
-**Team** ($20): Multi-user apps, heavy traffic, large storage needs. Requires real payment.
347
349
348
350
**Lease lifecycle:**
349
351
- Active: full read/write access
@@ -368,14 +370,13 @@ To pay Run402, the user needs an agent allowance with USDC on Base. If they don'
368
370
369
371
**Option C: x402 OpenClaw Skill** — Install the x402 skill from ClawHub for x402 payment capabilities.
370
372
371
-
**Funding the allowance:**Once the user has an allowance address, they need USDC on Base. The simplest path: download Coinbase Wallet, buy USDC, send to the allowance address. Base transactions cost under $0.01.
373
+
**Prototype (free):**Use Base Sepolia testnet. Get free test USDC from the faucet (`request_faucet`) or Circle. No real money needed — the goal is to test the x402 payment flow end-to-end.
372
374
373
-
**Testnet:**For testing without real money, use Base Sepolia testnet. Get test USDC from Circle's faucet. The Run402 API supports testnet at the same endpoints.
375
+
**Hobby/Team (real money):**Fund the allowance with USDC on Base mainnet, or buy credits via Stripe. The simplest path: download Coinbase Wallet, buy USDC, send to the allowance address. Base transactions cost under $0.01.
374
376
375
-
**Requesting an allowance:** If the user's human controls the allowance funding, suggest:
376
-
- Trial: $1 in USDC covers 10 prototype databases
377
-
- Monthly: $10/month covers two Hobby projects or 100 prototypes
378
-
- One-off: $10 for a project plus buffer for renewals
377
+
**Requesting funding from the user's human (for paid tiers):**
378
+
- $10 covers two Hobby projects
379
+
- $20 covers one Team project plus buffer for renewals
For production, change chain from `baseSepolia` to `base` and register `eip155:8453`. Two funding options:
101
+
For production (hobby/team tiers), change chain from `baseSepolia` to `base` and register `eip155:8453`. Prototype is free on testnet — no mainnet funding needed.
102
+
103
+
Two funding options for paid tiers:
102
104
103
105
**Option A: USDC on Base (agent-native)**
104
106
Ask your human to send USDC on Base to your allowance address. Scripts for asking:
105
107
106
-
> **Trial ($0.10):** "I want to try Run402 for a Postgres database. Could you send $1 in USDC (Base L2) to my allowance? Covers 10 trial databases."
107
-
>
108
108
> **Project ($10):** "I need a database for our project. A Hobby tier costs $5/month. Could you send $10 in USDC (Base L2)?"
109
109
>
110
-
> **Monthly ($10/mo):** "I'd like a $10/month allowance for databases. Covers two Hobby projects or one Hobby + twenty Prototypes."
110
+
> **Monthly ($10/mo):** "I'd like a $10/month allowance for databases. Covers two Hobby projects."
111
111
>
112
112
> My allowance address: `<address from allowance.mjs export>`
0 commit comments