[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GSVMARQ2YPSS9BDPGZMHZW":3,"skill-same:01M6GSVMARQ2YPSS9BDPGZMHZW":77},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6GSVMARQ2YPSS9BDPGZMHZW","kraken-liquidation-guard",null,"Prevent futures liquidation through margin monitoring and emergency procedures.","jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkraken-official-liquidation-guard\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkraken-official-liquidation-guard\u002FSKILL.md",[],[20,21,22,23,24,25,26,27],"guard","kraken","kraken liquidation guard","finance","monitoring","futures","risk","margin","2026-11-10 10:12:30",false,"---\nname: kraken-liquidation-guard\nversion: 1.0.0\ndescription: \"Prevent futures liquidation through margin monitoring and emergency procedures.\"\nmetadata:\n  openclaw:\n    category: \"finance\"\n  requires:\n    bins: [\"kraken\"]\n    skills: [\"kraken-futures-risk\"]\n---\n\n# kraken-liquidation-guard\n\nUse this skill for:\n- monitoring margin ratio to detect liquidation risk\n- automated position reduction when thresholds are breached\n- emergency flatten procedures\n- proactive margin top-up patterns\n\n## Margin Health Check\n\n```bash\nkraken futures accounts -o json 2>\u002Fdev\u002Fnull\n```\n\nKey fields of the multi-collateral account, under `.accounts.flex`:\n- `marginEquity`: account value that counts as margin, unrealized P&L included\n- `initialMargin`: margin held for positions\n- `maintenanceMargin`: minimum margin before liquidation\n- `availableMargin`: free margin for new positions\n\nMargin ratio = `.accounts.flex.maintenanceMargin \u002F .accounts.flex.marginEquity`. Liquidation approaches as this ratio nears 1.0. A single-collateral account (`.accounts.fi_*`) reports maintenance margin, portfolio value and available funds as `marginRequirements.mm`, `auxiliary.pv` and `auxiliary.af`.\n\n## Alert Thresholds\n\n| Ratio | Status | Action |\n|-------|--------|--------|\n| \u003C 0.3 | Healthy | Normal operation |\n| 0.3 - 0.5 | Caution | Reduce position or add margin |\n| 0.5 - 0.7 | Warning | Reduce position immediately |\n| > 0.7 | Critical | Emergency flatten |\n\n## Monitoring Loop\n\n```bash\nkraken futures ws balances -o json 2>\u002Fdev\u002Fnull | while read -r line; do\n  # Read margin equity and maintenance margin from the frame\n  # Calculate ratio\n  # Alert or act when threshold is breached\ndone\n```\n\nOr poll periodically:\n\n```bash\nkraken futures accounts -o json 2>\u002Fdev\u002Fnull\n```\n\n## Unwind Queue Check\n\nIf a position enters the unwind queue, liquidation is imminent:\n\n```bash\nkraken futures unwind-queue -o json 2>\u002Fdev\u002Fnull\n```\n\nAny result here requires immediate action.\n\n## Emergency Flatten\n\nCancel all open orders, then close all positions:\n\n```bash\n# Cancel all orders to free held margin\nkraken futures cancel-all --yes -o json 2>\u002Fdev\u002Fnull\n\n# Close each position with reduce-only market orders\nkraken futures positions -o json 2>\u002Fdev\u002Fnull\n# For each position:\nkraken futures order sell PF_XBTUSD \u003CSIZE> --type market --reduce-only -o json 2>\u002Fdev\u002Fnull\n```\n\n## Margin Top-Up\n\nTransfer funds from spot wallet to futures to increase margin:\n\n```bash\nkraken futures transfer 5000 USD -o json 2>\u002Fdev\u002Fnull\n```\n\nOr from main account:\n\n```bash\nkraken wallet-transfer USD 5000 --from \u003CSPOT_IIBAN> --to \u003CFUTURES_IIBAN> -o json 2>\u002Fdev\u002Fnull\n```\n\n## Leverage Reduction\n\nLower leverage to reduce margin requirements:\n\n```bash\nkraken futures set-leverage PF_XBTUSD 2 -o json 2>\u002Fdev\u002Fnull\n```\n\n## Dead Man's Switch\n\nAlways run a dead man's switch during futures sessions:\n\n```bash\nkraken futures cancel-after 600 -o json 2>\u002Fdev\u002Fnull\n```\n\nIf the agent crashes, orders auto-cancel, preventing further margin consumption.\n\n## Hard Rules\n\n- Monitor margin ratio continuously during any futures session.\n- Alert at 0.5 ratio; act at 0.7. Do not wait for the exchange to liquidate.\n- Emergency flatten requires human approval unless the agent operates at autonomy level 4+.\n- Margin top-ups move funds: `futures transfer` and `wallet-transfer` are flagged dangerous and need human approval.\n- Never increase position size when margin ratio is above 0.3.\n- `futures set-leverage` is flagged dangerous: it changes the margin requirement on open positions, so de-risking with it needs the same human approval as flattening.\n- If you hit a mismatch between what you are trying to do and the CLI's interface or responses — including a mismatch between this skill and the installed CLI version's contract — feel free to submit feedback with `kraken feedback`.\n","# kraken-liquidation-guard\n\nUse this skill for:\n- monitoring margin ratio to detect liquidation risk\n- automated position reduction when thresholds are breached\n- emergency flatten procedures\n- proactive margin top-up patterns\n\n## Margin Health Check\n\n```bash\nkraken futures accounts -o json 2>\u002Fdev\u002Fnull\n```\n\nKey fields of the multi-collateral account, under `.accounts.flex`:\n- `marginEquity`: account value that counts as margin, unrealized P&L included\n- `initialMargin`: margin held for positions\n- `maintenanceMargin`: minimum margin before liquidation\n- `availableMargin`: free margin for new positions\n\nMargin ratio = `.accounts.flex.maintenanceMargin \u002F .accounts.flex.marginEquity`. Liquidation approaches as this ratio nears 1.0. A single-collateral account (`.accounts.fi_*`) reports maintenance margin, portfolio value and available funds as `marginRequirements.mm`, `auxiliary.pv` and `auxiliary.af`.\n\n## Alert Thresholds\n\n| Ratio | Status | Action |\n|-------|--------|--------|\n| \u003C 0.3 | Healthy | Normal operation |\n| 0.3 - 0.5 | Caution | Reduce position or add margin |\n| 0.5 - 0.7 | Warning | Reduce position immediately |\n| > 0.7 | Critical | Emergency flatten |\n\n## Monitoring Loop\n\n```bash\nkraken futures ws balances -o json 2>\u002Fdev\u002Fnull | while read -r line; do\n  # Read margin equity and maintenance margin from the frame\n  # Calculate ratio\n  # Alert or act when threshold is breached\ndone\n```\n\nOr poll periodically:\n\n```bash\nkraken futures accounts -o json 2>\u002Fdev\u002Fnull\n```\n\n## Unwind Queue Check\n\nIf a position enters the unwind queue, liquidation is imminent:\n\n```bash\nkraken futures unwind-queue -o json 2>\u002Fdev\u002Fnull\n```\n\nAny result here requires immediate action.\n\n## Emergency Flatten\n\nCancel all open orders, then close all positions:\n\n```bash\n# Cancel all orders to free held margin\nkraken futures cancel-all --yes -o json 2>\u002Fdev\u002Fnull\n\n# Close each position with reduce-only market orders\nkraken futures positions -o json 2>\u002Fdev\u002Fnull\n# For each position:\nkraken futures order sell PF_XBTUSD \u003CSIZE> --type market --reduce-only -o json 2>\u002Fdev\u002Fnull\n```\n\n## Margin Top-Up\n\nTransfer funds from spot wallet to futures to increase margin:\n\n```bash\nkraken futures transfer 5000 USD -o json 2>\u002Fdev\u002Fnull\n```\n\nOr from main account:\n\n```bash\nkraken wallet-transfer USD 5000 --from \u003CSPOT_IIBAN> --to \u003CFUTURES_IIBAN> -o json 2>\u002Fdev\u002Fnull\n```\n\n## Leverage Reduction\n\nLower leverage to reduce margin requirements:\n\n```bash\nkraken futures set-leverage PF_XBTUSD 2 -o json 2>\u002Fdev\u002Fnull\n```\n\n## Dead Man's Switch\n\nAlways run a dead man's switch during futures sessions:\n\n```bash\nkraken futures cancel-after 600 -o json 2>\u002Fdev\u002Fnull\n```\n\nIf the agent crashes, orders auto-cancel, preventing further margin consumption.\n\n## Hard Rules\n\n- Monitor margin ratio continuously during any futures session.\n- Alert at 0.5 ratio; act at 0.7. Do not wait for the exchange to liquidate.\n- Emergency flatten requires human approval unless the agent operates at autonomy level 4+.\n- Margin top-ups move funds: `futures transfer` and `wallet-transfer` are flagged dangerous and need human approval.\n- Never increase position size when margin ratio is above 0.3.\n- `futures set-leverage` is flagged dangerous: it changes the margin requirement on open positions, so de-risking with it needs the same human approval as flattening.\n- If you hit a mismatch between what you are trying to do and the CLI's interface or responses — including a mismatch between this skill and the installed CLI version's contract — feel free to submit feedback with `kraken feedback`.\n",{"name":5,"version":33,"metadata":34,"description":7},"1.0.0",{"openclaw":35,"requires":36},{"category":23},{"bins":37,"skills":38},[21],[39],"kraken-futures-risk","main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Fexchanges\u002Fkraken-official-liquidation-guard",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-12 02:28:42",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill kraken-liquidation-guard",{"tool":55,"command":56},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill kraken-liquidation-guard",{"tool":58,"command":59},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill kraken-liquidation-guard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkraken-official-liquidation-guard\u002FSKILL.md",true,[63,67,73],{"path":64,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":16},"LICENSE","许可证",1074,{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"SOURCE.md","REFERENCE","参考文档",171,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkraken-official-liquidation-guard\u002FSOURCE.md",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"TRUST.auto.yaml",2197,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkraken-official-liquidation-guard\u002FTRUST.auto.yaml",[78,106,129,147,159,169],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"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.","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",[],[86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105],"performance","recipe performance","recipe","mm","sentry","harness","app","deterministic","recipes","flow","cold","critical","analysis","tasks","react","browser","layout","screen","network","metamask",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"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",[],[115,116,117,118,119,120,121,122,123,124,125,126,127,128],"mexc spot websocket","spot","websocket","api","workflows","public","listen","streams","depth","keys","for","api keys","maintenance","protobuf",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":133,"sourceHtmlUrl":134,"categories":135,"keywords":136,"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",[],[137,116,138,139,140,141,142,126,125,124,143,144,145,120,146,119,118],"mexc spot rest","REST","admin","signing","Wallet","requests","actions","secure","data","orders",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":151,"sourceHtmlUrl":152,"categories":153,"keywords":154,"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",[],[155,25,117,156,157,127,125,158,123,122,120,119],"mexc futures websocket","position","ping","subscriptions",{"skillNo":160,"name":161,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":162,"sourceHtmlUrl":163,"categories":164,"keywords":165,"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",[],[166,167,168],"refresh","0xklen version and refresh sanctions lists","version",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":173,"sourceHtmlUrl":174,"categories":175,"keywords":176,"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",[],[177,178,179,180,181,182,183,184,185,186,187],"tests","cover","verify tests cover changed lines","verify","coverage","pr","exercise","use","patch","code","share"]