@skillzmarket/openclaw-skill
v0.1.3
Published
OpenClaw skill for calling monetized AI skills with automatic x402 payments
Maintainers
Readme
@skillzmarket/openclaw-skill
OpenClaw skill for calling monetized AI skills from the Skillz Market with automatic cryptocurrency payments.
Installation
Via ClawHub (recommended)
clawhub install skillzmarketVia npx add-skill
npx add-skill github:skillzmarket/skillVia openskills
npx openskills install skillzmarket/skillManual installation
git clone https://github.com/skillzmarket/skill
cp -r skill ~/.openclaw/skills/skillzmarket
cd ~/.openclaw/skills/skillzmarket && npm installConfiguration
Your wallet private key is required for making x402 payments. Choose one of these methods:
Option 1: OpenClaw Config (Recommended)
Add to ~/.openclaw/openclaw.json:
{
"skills": {
"entries": {
"skillzmarket": {
"apiKey": "0xYOUR_PRIVATE_KEY"
}
}
}
}Why
apiKey? OpenClaw usesapiKeyas the standard config field for skill credentials. It automatically maps to the skill's primary environment variable (SKILLZ_PRIVATE_KEY).
Option 2: Environment Variable
export SKILLZ_PRIVATE_KEY=0xYOUR_PRIVATE_KEYSecurity Notes
- Never commit your private key to version control
- Use a dedicated wallet with limited funds for skill payments
- The private key is used to sign x402 payment transactions on Base (USDC)
Usage
Search for skills
/skillzmarket search translateGet skill details
/skillzmarket info echoCall a skill (with automatic payment)
/skillzmarket call echo {"message": "hello"}Call an endpoint directly
/skillzmarket direct https://skills.example.com/echo {"message": "hello"}How it works
- Skills are registered on the Skillz Market API
- When you call a skill, the CLI looks up the skill's endpoint and price
- The x402 payment protocol automatically handles USDC payments on Base
- You receive the skill's response
Environment Variables
SKILLZ_PRIVATE_KEY- Your wallet private key for payments (required forcallanddirect)SKILLZ_API_URL- Override the API URL (default:https://api.skillz.market)
