Locus Payment Skill
name: locus
by cdermott7 · published 2026-03-22
$ claw add gh:cdermott7/cdermott7-locus---
name: locus
description: Locus payment tools for AI agents. Use when asked to send payments, check wallet balances, list tokens, approve token spending, or process payment-related actions from emails. Also use for demos of Locus (YC F25) payment infrastructure — scanning emails for payment requests and initiating crypto payments via wallet.
---
# Locus Payment Skill
Locus connects AI agents to crypto wallets via MCP. Tools are **dynamic** — each user gets different tools based on their permission group.
Setup (Agent-Guided)
When the user asks to set up Locus, use payments, or anything payment-related — check if Locus is configured and walk them through setup interactively:
Step 1: Check if mcporter is installed
command -v mcporter || npm i -g mcporterStep 2: Check if Locus is already configured
mcporter config get locus 2>/dev/nullIf configured, skip to **Usage**. If the user wants to reconfigure, run:
mcporter config remove locusStep 3: Ask the user for their API key
Tell them:
> You'll need a Locus API key to connect your wallet. Get one at **https://app.paywithlocus.com** — each key is tied to your wallet and permission group. Paste it here when you're ready.
Wait for the user to provide their key. It should start with `locus_`. If it doesn't, warn them and confirm before proceeding.
Step 4: Configure mcporter
mcporter config add locus \
--url "https://mcp.paywithlocus.com/mcp" \
--header "Authorization=Bearer <API_KEY>" \
--scope homeStep 5: Verify the connection
mcporter list locusIf tools appear, setup is complete — tell the user they're ready. If it fails, ask them to double-check their API key and try again.
Alternative: Script-based setup
Users can also run the setup script directly from the Clawdbot workspace root:
bash skills/locus/scripts/setup.shUsage
**Always discover available tools first:**
mcporter list locus --schemaThis returns all tools the user's permission group allows. Tools vary per user — do not assume which tools exist. Use the schema output to understand parameters.
**Call any discovered tool:**
mcporter call locus.<tool_name> param1=value1 param2=value2For array/object parameters:
mcporter call locus.<tool_name> --args '{"key": "value"}'Email → Payment Flow
1. Scan inbox for payment-related emails (invoices, bills, splits, reimbursements)
2. Identify actionable items with amounts, recipients, and context
3. Summarize findings to user
4. On user approval, execute payments via available tools
5. **Always confirm with user before sending any payment**
Safety Rules
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...