Skills setup-services
Set up OpenSpend CLI and optional Coinbase payments-mcp for payment-enabled workflows. Use when openspend is missing, command not found, whoami fails, or user asks to install/update/authenticate.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/albertpurnama/setup-services" ~/.claude/skills/openclaw-skills-setup-services && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/albertpurnama/setup-services" ~/.openclaw/skills/openclaw-skills-setup-services && rm -rf "$T"
manifest:
skills/albertpurnama/setup-services/SKILL.mdsource content
Setup Services
Install and configure OpenSpend CLI, then optionally configure Coinbase Payments MCP for paid workflows.
Trigger conditions and approval
Use this skill when any of the following is true:
failscommand -v openspend
fails due to auth/session stateopenspend whoami- User explicitly asks to install, update, or authenticate OpenSpend CLI
Before install, update, or authentication steps, get explicit user approval.
OpenSpend CLI preflight checks
command -v openspend || echo "openspend not installed" openspend version openspend whoami
OpenSpend CLI setup
- Install OpenSpend CLI.
Preferred method (
homebrew):
brew install promptingcompany/tap/openspend
Alternative method (
curl installer) only with explicit user approval:
curl -fsSL https://openspend.ai/install | sh
- Update existing install when
is already available.openspend
openspend update
- Authenticate and verify CLI session.
openspend auth login -y openspend whoami
Payments MCP setup
- Confirm Node.js and
are available.npx
node -v npx -v
- Add MCP server config in your MCP client configuration (for example
).~/.codex/mcp.json
{ "mcpServers": { "payments": { "command": "npx", "args": ["-y", "@coinbase/payments-mcp"] } } }
- Restart MCP client/session so the server is loaded.
Payments authentication and verification
- Call
first.check_session_status - If not signed in, call
immediately and complete sign-in.show_wallet_app - Confirm wallet access with
andget_wallet_address
.get_wallet_balance
Payment workflow guidance
- For marketplace discovery of paid services, use
, thenbazaar_list
.bazaar_get_resource_details - For non-bazaar endpoints, use
before making a paid call.x402_discover_payment_requirements - Use
for paid requests and keepmake_http_request_with_x402
explicit when guardrails are needed.maxAmountPerRequest - If user asks how to pay for services, route payment through
.@coinbase/payments-mcp
Troubleshooting
- If
is missing after install, ensure your PATH includes the install directory and rerunopenspend
.openspend version - If
fails, verify Node.js installation and rerun withnpx @coinbase/payments-mcp
.npx -y @coinbase/payments-mcp - If auth tools report unauthenticated state, rerun
and complete sign-in in the wallet UI.show_wallet_app - If x402 calls fail, inspect payment requirements first and confirm supported network and available balance.