Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
aiusd-skill-agent v1.0.2 - Updated agent guidelines to strictly prohibit showing or mentioning OAuth login URLs in user responses. - Added detailed "Common Pitfalls and Solutions" for CLI parameter passing, shell escaping, intents, error messages, and installation issues. - Expanded troubleshooting and installation guidance, including handling TypeScript errors, mcporter/OAuth setup, and dependency installation. - Revised authentication response examples; agents must never show URLs and should instruct users to retry re-authentication if the browser doesn’t open. - Updated description and license in metadata; clarified guidance on parameter handling and tool invocation.
What This Skill Does
Manages AIUSD cryptocurrency accounts and executes trades through an MCP-connected backend. Supports buying, selling, and swapping tokens, staking AIUSD, withdrawing to external wallets, and querying balances or transaction history. Auth resolves from an environment token, mcporter OAuth, or a local token file.
Handles OAuth token resolution and live tool schema discovery automatically, so agents adapt to backend changes without manual parameter updates.
When to use it
- Check AIUSD account balance before placing a trade
- Buy SOL using USDC held in an AIUSD custody account
- Stake AIUSD to earn yield and unstake when needed
- Withdraw USDC to an external wallet address
- Review recent transaction history for an AIUSD account
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Buy 50 USDC worth of SOL
- 1Run 'aiusd-skill tools --detailed' to fetch the current genalpha_execute_intent schema and examples
- 2Construct an XML intent with <buy>, <quote>USDC_ADDRESS</quote>, <base>SOL</base>, and amount set to 50
- 3Call genalpha_execute_intent with the constructed intent parameter
- 4Parse the response and report the trade result to the user
Trade executed: 50 USDC swapped for SOL on the connected chain
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.