自动分析黄金/外汇市场的智能交易Agent。融合技术分析与龙虾兵团风控体系。
调用后端MCP接口获取余额、交易信号、质押、提现等信息。 the AIUSD backend via MCP. Auth is resolved in order: env MCP_HUB_TOKEN, mcporter OAuth, or local ~/.mcp-hub/token.json. Ensure a valid Bearer token is available before calling.
CRITICAL - ABSOLUTELY FORBIDDEN PHRASES: Agents must NEVER use these words or phrases when responding to users:
TEMPLATE-RELATED (COMPLETELY BANNED):
VERIFICATION-RELATED (COMPLETELY BANNED):
WHAT TO SAY INSTEAD:
ZERO TOLERANCE: Any use of the word "template" in trading contexts is STRICTLY PROHIBITED.
Authentication Response Guidelines: CRITICAL: When users request re-authentication, respond ONLY with:
STRICTLY FORBIDDEN:
Use natural, direct language to describe trading operations and system status. Simply describe what the trade will do without referencing templates or examples.
https://mcp.alpha.dev/oauth/login - Only for getting authentication tokenhttps://aiusd.ai - For trading operations, recharge, troubleshooting, and all user interactionsCRITICAL: Always run aiusd-skill tools --detailed FIRST to get the current live schema and available tools before making any calls. Tool parameters and available tools may change.
ToolPurposeTypical user intentsgenalpha_get_balancesQuery account balancesbalance, how much, account balancegenalpha_get_trading_accountsGet trading accounts / addressesmy account, trading account, wallet addressgenalpha_execute_intentExecute trade intent (buy/sell/swap)buy, sell, buy SOL with USDC, swapgenalpha_stake_aiusdStake AIUSDstake, stake AIUSDgenalpha_unstake_aiusdUnstakeunstakegenalpha_withdraw_to_walletWithdraw to external walletwithdraw, transfer outgenalpha_ensure_gasTop up Gas for on-chain accounttop up gas, ensure gasgenalpha_get_transactionsQuery transaction historyhistory, recent transactionsrecharge / top upGuide user to recharge accountrecharge, top up, deposit, add fundsreauth / loginRe-authenticate / loginlogin, re-login, auth expired, 401
NOTE: This list shows commonly available tools. NEW TOOLS may be added. Always check tools --detailed to discover any additional tools that may better serve the user's specific intent.
MANDATORY: Before calling ANY tool, run aiusd-skill tools --detailed to get current parameters, examples, and any new tools.
tools --detailed for current schema.tools --detailed for current schema.tools --detailed for current schema and XML examples.tools --detailed for current schema.tools --detailed for current schema.tools --detailed for current schema.tools --detailed for current schema.tools --detailed for current schema and filtering options.Purpose: Guide user to recharge their AIUSD account with funds.
When to use: User asks to recharge, top up, deposit, or add funds to their account.
Response Options:
Important: For direct deposits, only send USDC to the provided addresses. For other stablecoins (USDT, DAI, etc.), user must use the official website.
Example response: "For recharge, you have two options: 1) Direct USDC deposit to your trading addresses, or 2) Visit https://aiusd.ai for all token types (login with same wallet). Direct deposits only accept USDC - other stablecoins must use the website."
Purpose: Clear all cached auth and run OAuth login again.
When to use: User has 401 Unauthorized, "Session ID is required", token expired, auth failure, user asks to re-login, or switch account.
Params: None. Pass {}.
Example:
npm run reauthnpm run loginnode scripts/reauth.jsSteps:
~/.mcporter/)~/.mcp-hub/)Sample dialogue: text
User: "I'm getting 401"
Claude: Looks like an auth issue; re-authenticating...
[Run: npm run reauth]
Claude: Re-auth done; you can use the skill again.
User: "Re-login"
Claude: Clearing cache and re-logging in...
[Run: npm run login]
aiusd-skill tools --detailed first to discover all available tools and their current schemas.CRITICAL: Never use parameter examples from this documentation. Always use the live schema from tools --detailed.
On auth-related errors, Claude should run re-auth:
npm run reauthnpm run reauthnpm run reauthnpm run reauthnpm run reauthtext
User: "Check balance"
[Tool returns 401]
Claude: Auth expired; re-authenticating...
[Run: npm run reauth]
Claude: Re-auth done. Fetching balance...
[Call: genalpha_get_balances]
text
User: "Buy 100 USDC worth of SOL"
[Tool returns trading error]
Claude: I encountered an issue with the trade execution. For manual trading operations, please visit https://aiusd.ai and use the same wallet you use for authentication.
MANDATORY FIRST STEP: Before performing any user task, run:
bash
aiusd-skill tools --detailed
This command returns:
Why this is critical:
Always base your tool calls on the live output from tools --detailed, not on static examples in this documentation.