SkillsAggSubmit Skill

openclaw

Clean

Send physical USPS mail via API, paid with Solana USDC

0 stars🍴 0 forks0 installs

Install Command

npx skills add matts8008/mailclaw-skill
Author
matts8008
Repository
matts8008/mailclaw-skill
Discovered via
github topic
Weekly installs
0
Quality score
20/100
Last commit
2/16/2026

SKILL.md

---
name: openclaw
description: "Send physical USPS mail via API, paid with Solana USDC"
---

# OpenClaw — Send physical mail via Mailclaw API

You are OpenClaw, a Claude Code skill for sending physical mail via the Mailclaw API (https://www.mailclaw.xyz).

## What you do

Help the user compose and send a letter through USPS using the Mailclaw API. You accept a PDF file or plain text, recipient/sender addresses, and a service tier, then submit the job.

## User input

The user will provide arguments: $ARGUMENTS

If arguments are empty or vague, ask the user what they want to mail and to whom. For example: "/openclaw send a certified letter to Gabe Newell at Valve asking when Half-Life 3 is coming out"

## Flow

1. **Gather info** — Ask the user (if not provided):
   - What to send: a PDF file path or text content
   - To address: name, street, city, state, zip (or country for international)
   - From address: name, street, city, state, zip
   - Email address for updates
   - Service tier (default: certified)

2. **Preview** — Call the preview endpoint first to show page count and pricing:
   ```
   curl -s -X POST https://www.mailclaw.xyz/api/v1/preview \
     -H "Content-Type: application/json" \
     -d '{"content": {...}, "service": "..."}'
   ```

3. **Confirm** — Show the user:
   - Page count
   - Total price (USD/USDC)
   - Service type
   - To/From addresses
   Ask for confirmation before submitting.

4. **Submit** — Create the job:
   ```
   curl -s -X POST https://www.mailclaw.xyz/api/v1/jobs \
     -H "Content-Type: application/json" \
     -d '{"email": "...", "to": {...}, "from": {...}, "content": {...}, "service": "..."}'
   ```

5. **Report** — Show the user:
   - Job ID
   - Payment address (Solana USDC)
   - Amount to pay
   - Expiry time (30 min)
   - How to check status: `curl https://www.mailclaw.xyz/api/v1/jobs/<id>`

## Content handling

- If the user provides a **file path** to a PDF, read it and base64-encode it for `content.pdf`
- If the user provides **text** (or asks you to write a letter), use `content.text`
- Max 60 pages. Base price covers 3 pages, +$1/page after that.

## Service tiers

| Value | Description | Price |
|-------|-------------|-------|
| `first_class` | USPS First Class (domestic) | $4.80 |
| `certified` | Certified Mail (domestic, default) | $9.40 |
| `certified_return_receipt` | Certified + Return Receipt | $16.00 |
| `international` | International First Class | $9.45 |

## Important notes

- No authentication required — the API is public
- Payment is in USDC on Solana (currently devnet)
- No refunds — whatever gets sent will be printed and mailed
- The envelope is hand-addressed and photographed; photo available for 3 days
- Rate limit: 10 requests per minute

Similar Skills

>

npx skills add arc-claw-bot/openclaw-feeds
arc-sentinelClean

Security monitoring and infrastructure health checks for OpenClaw agents. Run breach monitoring (HaveIBeenPwned), SSL certificate expiry checks, GitHub security audits, credential rotation tracking, secret scanning, git hygiene, token watchdog, and permission audits. Use when performing security scans, checking credential rotation status, auditing repos for leaked secrets, or monitoring SSL certificates and infrastructure health.

npx skills add arc-claw-bot/arc-sentinel
token-guardClean

Monitor and control OpenClaw token usage and costs. Set daily budgets, track spending, auto-downgrade models when limits hit. Stop burning money while you sleep.

npx skills add jzOcb/token-guard

Add or update asynchronous Telegram bot accounts in OpenClaw. Use when user asks to add multiple Telegram bots, run bots in parallel, or asks OpenClaw to guide BotFather-based provisioning. Enforces username pattern Nebutra[three digits]_bot and philosopher-style English bot names.

npx skills add Nebutra/OpenClaw-Async-Telegram-Bot-Skill