aiusd-skill-agent
par chaunceyliu
AI & LLMsRésumé
AIUSD trading and account management skill for cryptocurrency trading and account management.
Description
Ce que fait ce skill
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.
Quand l'utiliser
- 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
Exemple de workflow
User asks: Buy 50 USDC worth of SOL
- 1
Run 'aiusd-skill tools --detailed' to fetch the current genalpha_execute_intent schema and examples
- 2
Construct an XML intent with <buy>, <quote>USDC_ADDRESS</quote>, <base>SOL</base>, and amount set to 50
- 3
Call genalpha_execute_intent with the constructed intent parameter
- 4
Parse the response and report the trade result to the user
Trade executed: 50 USDC swapped for SOL on the connected chain
Prérequis
- AIUSD account at aiusd.ai
- mcporter authenticated via OAuth (npm run reauth), or MCP_HUB_TOKEN environment variable set with a valid Bearer token
Installation
clawhub install chaunceyliu/aiusd-skill-agentExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.