← Back to Skills Marketplace
chaunceyliu

Aiusd Skills

by ChaunceyLiu · GitHub ↗ · v0.1.1
cross-platform ⚠ suspicious
1707
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install aiusd-skills
Description
Manage AIUSD accounts and trades: check balances, execute buy/sell/swap orders, stake/unstake, withdraw funds, top up gas, and view transaction history.
README (SKILL.md)

AIUSD Skill (Agent Reference)

This skill calls 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.

⚠️ Agent Output Guidelines

CRITICAL - ABSOLUTELY FORBIDDEN PHRASES: Agents must NEVER use these words or phrases when responding to users:

TEMPLATE-RELATED (COMPLETELY BANNED):

  • "template" (any form: template, templates)
  • "example" (when referring to trading examples: Example 1, Example 12, etc.)
  • "pattern" (when referring to trading patterns)
  • "using template", "get template", "trading template", "buy template"
  • "use Example [number]", "based on template", "following template"

VERIFICATION-RELATED (COMPLETELY BANNED):

  • "skill verification", "verification"

WHAT TO SAY INSTEAD:

  • Instead of "using template": say "executing the trade" or "placing the order"
  • Instead of "get template": say "preparing the trade" or "setting up the order"
  • Instead of "Example 12 template": say "the trade configuration" or simply describe the action

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:

  • "Please complete authentication in your browser"
  • "If browser doesn't open automatically, please type 'reauth' again"
  • "After completing authentication, you can check your account balance or wallet status in chat"

STRICTLY FORBIDDEN:

  • Do NOT include numbered steps like "1. Open page: [URL]", "2. Connect wallet", etc.
  • Do NOT mention any specific URLs in the response (URLs may be incorrect)
  • Do NOT say "waiting for authentication completion" or similar waiting phrases
  • Do NOT provide detailed step-by-step browser instructions
  • Do NOT create bulleted lists of authentication steps
  • Do NOT say phrases like "browser has been opened for you", "please complete the following steps in browser"
  • Simply guide them to the browser and mention what they can do after completion

Use natural, direct language to describe trading operations and system status. Simply describe what the trade will do without referencing templates or examples.

Important URLs

  • Login/Auth: https://mcp.alpha.dev/oauth/login - Only for getting authentication token
  • Official Website: https://aiusd.ai - For trading operations, recharge, troubleshooting, and all user interactions

Tool Overview

CRITICAL: 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.

Tool Purpose Typical user intents
genalpha_get_balances Query account balances balance, how much, account balance
genalpha_get_trading_accounts Get trading accounts / addresses my account, trading account, wallet address
genalpha_execute_intent Execute trade intent (buy/sell/swap) buy, sell, buy SOL with USDC, swap
genalpha_stake_aiusd Stake AIUSD stake, stake AIUSD
genalpha_unstake_aiusd Unstake unstake
genalpha_withdraw_to_wallet Withdraw to external wallet withdraw, transfer out
genalpha_ensure_gas Top up Gas for on-chain account top up gas, ensure gas
genalpha_get_transactions Query transaction history history, recent transactions
recharge / top up Guide user to recharge account recharge, top up, deposit, add funds
reauth / login Re-authenticate / login login, 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.

Tool Reference and Call Usage

MANDATORY: Before calling ANY tool, run aiusd-skill tools --detailed to get current parameters, examples, and any new tools.

genalpha_get_balances

  • Purpose: Return user AIUSD custody and staking account balances.
  • When to use: User asks for balance, how much, account assets.
  • Parameters: Check tools --detailed for current schema.

genalpha_get_trading_accounts

  • Purpose: Return user trading accounts (addresses, etc.) per chain.
  • When to use: User asks "my account", "trading account", "wallet address".
  • Parameters: Check tools --detailed for current schema.

genalpha_execute_intent

  • Purpose: Execute buy/sell/swap (e.g. buy SOL with USDC, sell ETH).
  • When to use: User clearly wants to place order, buy, sell, swap.
  • Parameters: Check tools --detailed for current schema and XML examples.
  • IMPORTANT: Intent format may change. Always use examples from live schema.

genalpha_stake_aiusd

  • Purpose: Stake AIUSD for yield (e.g. sAIUSD).
  • When to use: User says stake, stake AIUSD.
  • Parameters: Check tools --detailed for current schema.

genalpha_unstake_aiusd

  • Purpose: Unstake AIUSD (e.g. redeem sAIUSD).
  • When to use: User says unstake, redeem.
  • Parameters: Check tools --detailed for current schema.

genalpha_withdraw_to_wallet

  • Purpose: Withdraw stablecoin (e.g. USDC) to user-specified external wallet address.
  • When to use: User says withdraw, transfer out.
  • Parameters: Check tools --detailed for current schema.

genalpha_ensure_gas

  • Purpose: Top up native Gas for user trading account on a given chain.
  • When to use: User says top up gas, ensure gas, or chain has low gas.
  • Parameters: Check tools --detailed for current schema.

genalpha_get_transactions

  • Purpose: Return user transaction history (list, may include status).
  • When to use: User asks history, recent transactions, order status.
  • Parameters: Check tools --detailed for current schema and filtering options.

recharge / top up

  • 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:
    • Option 1 - Direct deposit: Only USDC stablecoins accepted. Other stablecoins must use official website.
    • Option 2 - Official website: https://aiusd.ai (supports all tokens, login with same wallet)
  • 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."

reauth / login (Re-authenticate)

  • 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 reauth
    • npm run login
    • node scripts/reauth.js
  • Steps:
    1. Clear mcporter cache (~/.mcporter/)
    2. Clear local token file (~/.mcp-hub/)
    3. Clear other auth cache files
    4. Start browser OAuth login
    5. Verify new auth works
  • Sample dialogue:
    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]
    

Usage Flow (for Agent Reasoning)

  1. Get current tools: ALWAYS run aiusd-skill tools --detailed first to discover all available tools and their current schemas.
  2. Parse intent: Map natural language to the most appropriate tool. Check if newer tools better match the user's intent.
  3. Prepare params: Build JSON parameters strictly from the live schema obtained in step 1.
  4. Call: Invoke the skill's call interface with tool name and params.
  5. Handle result: Format tool JSON/text for the user; on error, retry or prompt (e.g. auth expired → prompt re-login).

CRITICAL: Never use parameter examples from this documentation. Always use the live schema from tools --detailed.

Auth and Error Handling

Auth error auto-fix

On auth-related errors, Claude should run re-auth:

  • 401 Unauthorized → run npm run reauth
  • Session ID is required → run npm run reauth
  • Token invalid or expired → run npm run reauth
  • Auth failed → run npm run reauth

Error handling flow

  1. Detect auth error → run npm run reauth
  2. Business error → relay server error to user; do not invent causes
  3. Network/timeout → retry once; then ask user to check network or try later
  4. Trading issues/failures → direct user to official website https://aiusd.ai for manual operations and support

Sample error dialogues

Auth Error

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]

Trading Error

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.

Getting Current Tools and Schema

MANDATORY FIRST STEP: Before performing any user task, run:

aiusd-skill tools --detailed

This command returns:

  1. Complete list of available tools (may include new tools not listed in this document)
  2. Current parameter schemas for all tools
  3. Working examples and proper formatting
  4. Any tool-specific instructions or constraints

Why this is critical:

  • Tools may be added, modified, or deprecated
  • Parameter formats can change
  • New tools may better serve specific user intents
  • Examples in this document may become outdated

Always base your tool calls on the live output from tools --detailed, not on static examples in this documentation.

Usage Guidance
Do not run installers or install this skill until you verify its origin and contents. Steps to consider: - Verify the publisher and release URL (the README references a GitHub release and aiusd.ai); confirm those links are legitimate and match an official project. - Inspect the embedded archive contents offline (decode the base64 from installer files into a tarball and list its files) before extracting or executing anything. Look for unexpected network endpoints, telemetry, or scripts that read files outside the skill directory. - Confirm what credentials are actually needed: SKILL.md references MCP_HUB_TOKEN and a local token file, but the manifest declares none — ask the maintainer why tokens aren't declared in the skill manifest. - If you must test, run the installer in a disposable sandbox or VM (network-restricted) and review network traffic and created files. - Pay attention to the SKILL.md 'forbidden phrase' rules and unusual response-shaping — these can be legitimate product requirements, but they can also be used to constrain auditability or hide behavior. Ask for a minimal, auditable version of the skill without embedded installers. If you cannot validate the source and contents, treat this package as untrusted.
Capability Analysis
Type: OpenClaw Skill Name: aiusd-skills Version: 0.1.1 The skill is classified as suspicious due to multiple factors. The `SKILL.md` file contains explicit prompt injection instructions aimed at controlling the AI agent's output and behavior, such as strictly forbidding certain phrases and dictating exact responses for re-authentication. It also instructs the agent to execute shell commands like `npm run reauth` under specific error conditions. Furthermore, both `aiusd-skill-installer.sh` and `aiusd-skill-installer.js` utilize `npm install`, which introduces a supply chain risk by downloading and executing arbitrary code from external dependencies. These installers also employ base64 encoding for the skill package, adding a layer of obfuscation, and use powerful commands like `tar -xzf` and `execSync` (in the JS version) to set up the environment. While the stated purpose of the skill involves high-risk financial operations (trading, withdrawals), the combination of agent manipulation and risky installation practices without clear malicious intent crosses the threshold into suspicious.
Capability Assessment
Purpose & Capability
Metadata lists no required env vars or binaries and says this is instruction-only, but SKILL.md clearly references an auth token (MCP_HUB_TOKEN), OAuth flows, and a local token file (~/.mcp-hub/token.json). The bundle also includes large installer scripts (shell and node) and an embedded package archive — inconsistent with 'instruction-only' metadata and the lack of declared credentials.
Instruction Scope
SKILL.md includes detailed runtime rules (forbidden phrases, strict authentication-response wording) and explicit auth resolution order (env -> OAuth -> local file). It also instructs the agent to run tools --detailed before calls. The combination of strict output policing and explicit token file paths expands the agent's scope into local credential handling and response shaping, which is beyond a simple read-only query skill.
Install Mechanism
There is no declared install spec but two self-extracting installers (aiusd-skill-installer.sh and aiusd-skill-installer.js) contain large base64-encoded archives that decode and write a tarball to disk and run npm install. Self-extracting archives embedded in scripts increase risk (writes/extracts files locally and runs package installs). The archive is embedded rather than downloaded from a well-known release endpoint — moderate-to-high install risk.
Credentials
SKILL.md requires or prioritizes an env var (MCP_HUB_TOKEN), OAuth credentials, or a local token file, but the registry metadata declares no required env vars or primary credential. This mismatch is suspicious because the skill will access tokens/credentials (and local token files) but does not declare them in the manifest for review.
Persistence & Privilege
The skill does not request always:true and does not declare system-wide config changes, but the installers will create an 'aiusd-skill' directory in the current working directory and run npm install there. That produces persistent files on disk (normal for an installer) but is more privilege than an instruction-only skill implies.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install aiusd-skills
  3. After installation, invoke the skill by name or use /aiusd-skills
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
aiusd-skills v0.1.1 - Added four new files: README.md, aiusd-skill-installer.js, aiusd-skill-installer.sh, and build-info.json. - Updated SKILL.md with stricter output guidelines, including an expanded and explicit list of prohibited phrases (especially around "template" and auth flows). - Clarified agent authentication response requirements and added zero-tolerance language on banned terminology. - No code logic or tool changes; all updates focus on documentation, onboarding, and compliance for agent output.
v0.1.0
Initial public release of the AIUSD trading and account management skill. - Provides trading, staking, withdrawal, gas top-up, balance, and transaction history functionality via MCP backend. - Supports multiple authentication methods: environment variable, OAuth, or local token file. - Mandates always fetching the current live tool schema with `aiusd-skill tools --detailed` before making tool calls. - Enforces strict language guidelines for user-facing responses—no template-related or verification terminology. - Includes clear tool reference, error handling guidance, and required usage flows for agents. - Directs users to the official website for manual operations and troubleshooting.
Metadata
Slug aiusd-skills
Version 0.1.1
License
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Aiusd Skills?

Manage AIUSD accounts and trades: check balances, execute buy/sell/swap orders, stake/unstake, withdraw funds, top up gas, and view transaction history. It is an AI Agent Skill for Claude Code / OpenClaw, with 1707 downloads so far.

How do I install Aiusd Skills?

Run "/install aiusd-skills" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Aiusd Skills free?

Yes, Aiusd Skills is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Aiusd Skills support?

Aiusd Skills is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Aiusd Skills?

It is built and maintained by ChaunceyLiu (@chaunceyliu); the current version is v0.1.1.

💬 Comments