[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GSKZ95V3YE7N9N0QVJEBQZ":3,"skill-same:01M6GSKZ95V3YE7N9N0QVJEBQZ":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M6GSKZ95V3YE7N9N0QVJEBQZ","cdcx-check-balance",null,"Verify credentials and inspect account balance — the first action an agent takes before trading.","jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",80,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fcrypto-com-cdcx-check-balance\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27],"check","balance","cdcx check balance","first","credentials","verify","trading","action","inspect","2026-11-10 10:12:30",false,"---\nname: cdcx-check-balance\ndescription: Verify credentials and inspect account balance — the first action an agent takes before trading.\n---\n\n# Check Balance\n\n## When to Use\n\n- Confirm credentials work before any trading workflow\n- Report current wallet balance to the user\n- Script gating: \"only trade if available USDT > X\"\n\nRequires authentication.\n\n## Preflight\n\n```\n# Are credentials resolvable?\ncdcx account info -o json > \u002Fdev\u002Fnull 2>&1 && echo ok || echo \"auth not configured\"\n```\n\nIf this fails, redirect the user to `cdcx setup` or the `cdcx-auth-setup` skill.\n\n## Full Balance Snapshot\n\n```\ncdcx account summary -o json\n```\n\nResponse shape (trimmed):\n\n```json\n{\n  \"data\": {\n    \"total_available_balance\": \"10000.00\",\n    \"total_margin_balance\": \"12500.00\",\n    \"position_balances\": [\n      {\n        \"instrument_name\": \"USD_Stablecoin\",\n        \"quantity\": \"12500.00\",\n        \"market_value\": \"12500.00\",\n        \"total_available_balance\": \"10000.00\",\n        \"total_margin_balance\": \"12500.00\",\n        \"total_position_value\": \"0.00\"\n      }\n    ]\n  }\n}\n```\n\nThe top-level `total_available_balance` and `total_margin_balance` are account-wide. Per-asset detail lives in `position_balances[]`.\n\n## One-Currency Check\n\n```\ncdcx account summary -o json | \\\n    jq -r '.data.position_balances[] | select(.instrument_name==\"BTC\") | .quantity'\n```\n\n## Ergonomic Scripts\n\n### Gate a trade on available USDT\n\n```bash\navailable=$(cdcx account summary -o json | \\\n    jq -r '.data.total_available_balance \u002F\u002F 0')\n\nif awk -v a=\"$available\" 'BEGIN{exit !(a+0 > 500)}'; then\n    cdcx trade order BUY BTC_USDT 0.001 --type MARKET -o json\nelse\n    echo \"Insufficient USDT: $available\"\nfi\n```\n\n### Summary line\n\n```bash\ncdcx account summary -o json | jq -r '\n    \"Margin: \\(.data.total_margin_balance) USD · Available: \\(.data.total_available_balance) USD\"'\n```\n\n### All currencies, one per line\n\n```bash\ncdcx account summary -o json | \\\n    jq -r '.data.position_balances[] | \"\\(.instrument_name): \\(.quantity)\"'\n```\n\n## Sub-Account Balances\n\n```\ncdcx account subaccount-balances -o json\n```\n\nReturns balances for every sub-account under the master — useful for multi-account ops.\n\n## Notes\n\n- `total_margin_balance` and `total_available_balance` are valued in USD; `position_balances[].quantity` is in the native currency\n- The API schema uses `position_balances` for the per-currency breakdown even though the user-facing concept is \"balances\" — do not confuse this with derivatives *positions* (that's `cdcx account positions`)\n- `cdcx account summary` is tier `sensitive_read` — no acknowledgement required in MCP mode\n","# Check Balance\n\n## When to Use\n\n- Confirm credentials work before any trading workflow\n- Report current wallet balance to the user\n- Script gating: \"only trade if available USDT > X\"\n\nRequires authentication.\n\n## Preflight\n\n```\n# Are credentials resolvable?\ncdcx account info -o json > \u002Fdev\u002Fnull 2>&1 && echo ok || echo \"auth not configured\"\n```\n\nIf this fails, redirect the user to `cdcx setup` or the `cdcx-auth-setup` skill.\n\n## Full Balance Snapshot\n\n```\ncdcx account summary -o json\n```\n\nResponse shape (trimmed):\n\n```json\n{\n  \"data\": {\n    \"total_available_balance\": \"10000.00\",\n    \"total_margin_balance\": \"12500.00\",\n    \"position_balances\": [\n      {\n        \"instrument_name\": \"USD_Stablecoin\",\n        \"quantity\": \"12500.00\",\n        \"market_value\": \"12500.00\",\n        \"total_available_balance\": \"10000.00\",\n        \"total_margin_balance\": \"12500.00\",\n        \"total_position_value\": \"0.00\"\n      }\n    ]\n  }\n}\n```\n\nThe top-level `total_available_balance` and `total_margin_balance` are account-wide. Per-asset detail lives in `position_balances[]`.\n\n## One-Currency Check\n\n```\ncdcx account summary -o json | \\\n    jq -r '.data.position_balances[] | select(.instrument_name==\"BTC\") | .quantity'\n```\n\n## Ergonomic Scripts\n\n### Gate a trade on available USDT\n\n```bash\navailable=$(cdcx account summary -o json | \\\n    jq -r '.data.total_available_balance \u002F\u002F 0')\n\nif awk -v a=\"$available\" 'BEGIN{exit !(a+0 > 500)}'; then\n    cdcx trade order BUY BTC_USDT 0.001 --type MARKET -o json\nelse\n    echo \"Insufficient USDT: $available\"\nfi\n```\n\n### Summary line\n\n```bash\ncdcx account summary -o json | jq -r '\n    \"Margin: \\(.data.total_margin_balance) USD · Available: \\(.data.total_available_balance) USD\"'\n```\n\n### All currencies, one per line\n\n```bash\ncdcx account summary -o json | \\\n    jq -r '.data.position_balances[] | \"\\(.instrument_name): \\(.quantity)\"'\n```\n\n## Sub-Account Balances\n\n```\ncdcx account subaccount-balances -o json\n```\n\nReturns balances for every sub-account under the master — useful for multi-account ops.\n\n## Notes\n\n- `total_margin_balance` and `total_available_balance` are valued in USD; `position_balances[].quantity` is in the native currency\n- The API schema uses `position_balances` for the per-currency breakdown even though the user-facing concept is \"balances\" — do not confuse this with derivatives *positions* (that's `cdcx account positions`)\n- `cdcx account summary` is tier `sensitive_read` — no acknowledgement required in MCP mode\n",{"name":5,"description":7},"main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Fexchanges\u002Fcrypto-com-cdcx-check-balance",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-11 08:47:40",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill cdcx-check-balance",{"tool":48,"command":49},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill cdcx-check-balance",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill cdcx-check-balance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fcrypto-com-cdcx-check-balance\u002FSKILL.md",true,[56,62],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"SOURCE.md","REFERENCE","参考文档",362,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fcrypto-com-cdcx-check-balance\u002FSOURCE.md",{"path":63,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":64,"sourceHtmlUrl":65},"TRUST.auto.yaml",2197,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fcrypto-com-cdcx-check-balance\u002FTRUST.auto.yaml",[67,96,119,137,150,160],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":71,"licenseFileUrl":72,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":28},"01M712C436EQYE43342Q4E7GG1","recipe-performance","Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold\u002Fwarm\u002Fbackground-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout\u002Fpaint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.","MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fwallets\u002Fmetamask-official-recipe-performance\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fwallets\u002Fmetamask-official-recipe-performance\u002FSKILL.md",[],[76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95],"performance","recipe performance","recipe","mm","sentry","harness","app","deterministic","recipes","flow","cold","critical","analysis","tasks","react","browser","layout","screen","network","metamask",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":100,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":28},"01M70XT2F8A5CQZ81JBP98KSW3","mexc-spot-websocket","MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-websocket\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-websocket\u002FSKILL.md",[],[105,106,107,108,109,110,111,112,113,114,115,116,117,118],"mexc spot websocket","spot","websocket","api","workflows","public","listen","streams","depth","keys","for","api keys","maintenance","protobuf",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":100,"licenseFileUrl":123,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":28},"01M70XT0MBXN3WZY1BKN0CPNKR","mexc-spot-rest","MEXC Spot REST workflows for public data, signed account requests, orders, wallet\u002Fadmin actions, and secure signing without exposing API keys.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-rest\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-rest\u002FSKILL.md",[],[127,106,128,129,130,131,132,116,115,114,133,134,135,110,136,109,108],"mexc spot rest","REST","admin","signing","Wallet","requests","actions","secure","data","orders",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":100,"licenseFileUrl":141,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":28},"01M70XSYSVZ2N0N91XCAR2CAK0","mexc-futures-websocket","MEXC Futures WebSocket workflows for public streams, private account\u002Forder\u002Fposition streams, ping\u002Fpong, subscriptions, and depth maintenance.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-futures-websocket\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-futures-websocket\u002FSKILL.md",[],[145,146,107,147,148,117,115,149,113,112,110,109],"mexc futures websocket","futures","position","ping","subscriptions",{"skillNo":151,"name":152,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":71,"licenseFileUrl":153,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":28},"01M6H0ZWHVE5W04WG2DKQE2SQC","0xklen-version-and-refresh-sanctions-lists","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-version-and-refresh-sanctions-lists\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-version-and-refresh-sanctions-lists\u002FSKILL.md",[],[157,158,159],"refresh","0xklen version and refresh sanctions lists","version",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":71,"licenseFileUrl":164,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":28},"01M6H0Z28Q3R8J0S799GJQWXM3","verify-tests-cover-changed-lines","Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-verify-tests-cover-changed-lines\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-verify-tests-cover-changed-lines\u002FSKILL.md",[],[168,169,170,24,171,172,173,174,175,176,177],"tests","cover","verify tests cover changed lines","coverage","pr","exercise","use","patch","code","share"]