/install locus
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 mcporter
Step 2: Check if Locus is already configured
mcporter config get locus 2>/dev/null
If configured, skip to Usage. If the user wants to reconfigure, run:
mcporter config remove locus
Step 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 \x3CAPI_KEY>" \
--scope home
Step 5: Verify the connection
mcporter list locus
If 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.sh
Usage
Always discover available tools first:
mcporter list locus --schema
This 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.\x3Ctool_name> param1=value1 param2=value2
For array/object parameters:
mcporter call locus.\x3Ctool_name> --args '{"key": "value"}'
Email → Payment Flow
- Scan inbox for payment-related emails (invoices, bills, splits, reimbursements)
- Identify actionable items with amounts, recipients, and context
- Summarize findings to user
- On user approval, execute payments via available tools
- Always confirm with user before sending any payment
Safety Rules
- Never send payments without explicit user confirmation
- Always show: recipient, token, amount, and memo before executing
- Check available balance before attempting payments
- Double-check recipient addresses — typos mean lost funds
- Confirm large payments (>$100) with extra care
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install locus - 安装完成后,直接呼叫该 Skill 的名称或使用
/locus触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Locus 是什么?
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2262 次。
如何安装 Locus?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install locus」即可一键安装,无需额外配置。
Locus 是免费的吗?
是的,Locus 完全免费(开源免费),可自由下载、安装和使用。
Locus 支持哪些平台?
Locus 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Locus?
由 cdermott7(@cdermott7)开发并维护,当前版本 v1.3.0。