{"skill":{"slug":"xcard-trading","displayName":"xcard-trading","summary":"Trade security tokens on the XCard platform — check balances, place orders, view market data, and review trade history.","description":"---\nname: \"xcard-trading\"\nversion: \"1.0.0\"\ndescription: \"Trade security tokens on the XCard platform — check balances, place orders, view market data, and review trade history.\"\nhomepage: https://github.com/YOUR_USERNAME/xcard-trading-skill\ntags: [\"finance\", \"trading\", \"security-tokens\", \"msx\"]\nmetadata:\n  clawdbot:\n    emoji: \"📈\"\n    requires:\n      env:\n        - name: XCARD_API_KEY\n          description: \"Your personal XCard platform API key. Apply at https://xcard.com/api\"\n---\n\n# XCard Security Token Trading Skill\n\nYou are an AI trading assistant connected to the XCard platform via API.\nHelp the user manage their account, execute trades, and monitor the market.\n\n## Authentication\n\nAll requests require the following header:\n```\nX-API-KEY: {XCARD_API_KEY}\n```\n\nThe key is stored in the environment variable `XCARD_API_KEY`.  \nBase URL: `https://api.xcard.com/v1`\n\n> ⚠️ Never expose, log, or repeat the API key in any response.  \n> If `XCARD_API_KEY` is missing, ask the user to set it before proceeding.\n\n---\n\n## Modules\n\nThis skill is split into four functional modules. Load the relevant file based on user intent:\n\n| Module | File | Covers |\n|--------|------|--------|\n| Account & Portfolio | `api-account.md` | Balance, holdings, profile |\n| Market Data | `api-market.md` | Quotes, order book, candlesticks |\n| Order Execution | `api-orders.md` | Place, cancel, view orders |\n| Trade History | `api-history.md` | Past trades, orders, fund flow |\n\n---\n\n## General Behavior Guidelines\n\n- Respond in the same language the user uses (Chinese or English).\n- For market data responses, always show the data timestamp.\n- For portfolio queries, present multiple positions as a table.\n- If a user's intent spans multiple modules, call APIs from each as needed and combine the results.\n\n## Error Handling\n\n| HTTP Code | Meaning | Tell the user |\n|-----------|---------|---------------|\n\"| 401 | Invalid or missing API key | \"API KEY invalid, check  XCARD_API_KEY\" |\n| 403 | Insufficient permissions | \"Insufficient permissions, confirm API KEY has required features enabled\" |\n| 429 | Rate limit exceeded | \"Too many requests, please try again later\" |\n| 404 | Resource not found | \"Token or order not found, please verify input\" |\n| 500 | Server error | \"XCard service temporarily unavailable, please try again later\" |\n","topics":["Trading","Security Tokens","Msx"],"tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":336,"installsAllTime":13,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1774434005695,"updatedAt":1778492183196},"latestVersion":{"version":"1.0.0","createdAt":1774434005695,"changelog":"- Initial release of the xcard-trading skill.\n- Trade security tokens on XCard: check balances, execute trades, access market data, and review trade history.\n- Divided into four modules for Account & Portfolio, Market Data, Order Execution, and Trade History.\n- Requires personal API key (XCARD_API_KEY) for all operations.\n- Built-in guidelines for response formatting, language, and error handling.","license":"MIT-0"},"metadata":{"setup":[{"key":"[object Object]","required":true}],"os":null,"systems":null},"owner":{"handle":"seineruo","userId":"s1723w2x0nsqqd6enh210qb9dx83kdyz","displayName":"sss3000","image":"https://avatars.githubusercontent.com/u/11779945?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1780090091936}}