Why a Skill?
The skill bridges the gap between the CLI and your agent. Without it, the agent would need to figure out whichfdx commands exist, what parameters they take, and how to chain them together. The skill provides:
- Tool discovery — the agent knows which
fdxcommands are available and uses--helpto learn parameters on demand - Workflow guidance — authentication flows, pre-operation checklists, safety confirmations before irreversible operations
- Protocol knowledge — the full x402 payment flow, including when to use
authorizePaymentvsgetX402Content - Two service areas — both Wallet (
fdx wallet) and Prism (fdx prism) operations in a single skill
The skill is a single
SKILL.md file with reference documents. It doesn’t add runtime dependencies — it teaches the agent how to use the CLI you’ve already installed.Installation
Step 1: Install the CLI:What the Agent Can Do
Once the skill is installed, your agent handles all of this through natural language: Wallet operations:“Set up my wallet” — authentication via email OTP
“Show my balance on Base” — balances across all chains
“Send 10 USDC to 0x1234…abcd on Arbitrum” — token transfers with safety confirmations
“Swap 5 USDC for ETH” — DEX swaps with quote-first flow
“Find yield strategies for my USDC” — DeFi discovery, deposit, and withdrawal
“Access the premium API at https://api.example.com/data” — x402 paymentsPrism merchant operations:
“Set up my merchant account” — onboarding and configuration
“Create a new Point of Service” — payment acceptance setup
“Show my payment history” — earnings and settlement detailsThe skill guides the agent to confirm with you before any irreversible operation (transfers, swaps, deposits) and to check balances before executing.
How It Works
The skill is not a wrapper or abstraction layer. It’s a set of instructions that teach the agent:- Check prerequisites — is
fdxinstalled? Is the user authenticated? - Use
--helpliberally — discover tool parameters dynamically rather than hardcoding them - Follow safety patterns — check balances, confirm with the human, verify chain matches recipient
- Handle authentication — autonomous path (with email inbox access) or human-assisted path
- Consult reference docs — deeper guidance on specific topics (x402 flow, chain capabilities, troubleshooting) loaded only when needed
fdx commands via bash and parses structured JSON output. All wallet operations use fdx wallet <method>, all Prism operations use fdx prism <method>.
Skill vs MCP
The skill and the MCP server provide access to the same underlying capabilities. Choose based on your agent’s environment:| Approach | How it works | Best for |
|---|---|---|
| Skill | Agent runs fdx CLI commands via bash | Agents with shell access — Claude Code, OpenClaw, autonomous agents |
| MCP | Agent connects to https://mcp.fd.xyz via MCP protocol | MCP-native clients — Claude Desktop, Cursor, Windsurf |
CLI Reference
Full CLI documentation and configuration
Skills Repository
Source code and contributing guidelines