[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GST47XE2A7D4FSKG36K0JJ":3,"skill-same:01M6GST47XE2A7D4FSKG36K0JJ":79},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6GST47XE2A7D4FSKG36K0JJ","kraken-error-recovery",null,"Handle order failures, network errors, and duplicate submissions safely.","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-error-recovery\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkraken-official-error-recovery\u002FSKILL.md",[],[20,21,22,23,24,25,26,27,28,29],"error recovery","recovery","kraken","error","kraken error recovery","finance","network","shared","duplicate","errors","2026-11-10 10:12:30",false,"---\nname: kraken-error-recovery\nversion: 1.0.0\ndescription: \"Handle order failures, network errors, and duplicate submissions safely.\"\nmetadata:\n  openclaw:\n    category: \"finance\"\n  requires:\n    bins: [\"kraken\"]\n    skills: [\"kraken-shared\"]\n---\n\n# kraken-error-recovery\n\nUse this skill for:\n- recovering from failed order submissions\n- preventing duplicate orders after network errors\n- handling partial fills and stuck states\n- building resilient agent loops\n\n## Error Categories\n\nParse the `.error` field from the JSON response:\n\n| Category | Meaning | Recovery |\n|----------|---------|----------|\n| `auth` | Credentials invalid or expired | Re-authenticate, do not retry |\n| `rate_limit` | Too many requests | Read `suggestion` and `docs_url` fields, adapt strategy |\n| `network` | Connection failed, or the response was lost after sending (`verify_first: true`) | Retry with backoff; with `verify_first`, see Duplicate Order Prevention |\n| `validation` | Invalid request parameters | Fix inputs, do not retry unchanged |\n| `api` | Exchange-side rejection | Inspect error message, adjust request |\n\n## Duplicate Order Prevention\n\nAfter a network error during order submission (`\"verify_first\": true`), the order may or may not have reached the exchange. Check before resubmitting:\n\n```bash\nkraken open-orders -o json 2>\u002Fdev\u002Fnull\n```\n\nIf the order appears in open-orders, do not resubmit. If absent:\n\n```bash\nkraken trades-history -o json 2>\u002Fdev\u002Fnull\n```\n\nIf the order filled immediately, it appears in trades. Only resubmit if the order is absent from both.\n\n## Client Order ID for Idempotency\n\nUse `--cl-ord-id` to tag orders with a unique identifier:\n\n```bash\nkraken order buy BTCUSD 0.001 --type limit --price 50000 --cl-ord-id \"dca-2024-01-15-001\" -o json 2>\u002Fdev\u002Fnull\n```\n\nIf the submission fails, query by client order ID to check if it reached the exchange:\n\n```bash\nkraken open-orders --cl-ord-id \"dca-2024-01-15-001\" -o json 2>\u002Fdev\u002Fnull\n```\n\nCancel by client order ID if needed:\n\n```bash\nkraken order cancel --cl-ord-id \"dca-2024-01-15-001\" -o json 2>\u002Fdev\u002Fnull\n```\n\n## Network Error Recovery Pattern\n\n```\n1. Submit order (capture exit code and response)\n2. If exit code != 0 and error == \"network\":\n   a. Wait 2 seconds\n   b. Check open-orders for the order (by cl-ord-id or recent orders)\n   c. If found → order succeeded, proceed\n   d. If not found → check trades-history\n   e. If in trades → order filled, proceed\n   f. If absent from both → safe to retry\n3. Retry with same cl-ord-id\n```\n\n## Rate Limit Recovery\n\nThe CLI returns rate limit errors immediately with no internal retry. The error includes actionable fields for the agent to decide next steps.\n\nOn `rate_limit` error:\n\n1. Read the `suggestion` field for specific guidance on what limit was hit and how to adapt.\n2. Read the `docs_url` field for the relevant Kraken documentation.\n3. Decide whether to retry (and when), reduce request frequency, or switch to WebSocket streaming for real-time data.\n4. Resume with a single test call before continuing the loop.\n\n```bash\n# { \"error\": \"rate_limit\", \"suggestion\": \"...\", \"docs_url\": \"...\", \"retryable\": true }\nkraken status -o json 2>\u002Fdev\u002Fnull\n```\n\nIf status succeeds, the rate limit has cleared.\n\n## Partial Fill Handling\n\nLimit orders may partially fill. Check order status:\n\n```bash\nkraken query-orders \u003CTXID> -o json 2>\u002Fdev\u002Fnull\n```\n\nThe result is keyed by txid. Fields: `volume` (requested volume), `volume_executed` (filled volume), `status` (`open`, `closed`, `canceled`, `expired`, ...). `query-orders`, `open-orders` and `closed-orders` publish the same order shape.\n\nIf partially filled and the remaining volume is needed, amend or place a new order for the remaining amount.\n\n## Stuck Order Resolution\n\nAn order stuck in `open` state that should have filled or been canceled:\n\n1. Check the order:\n   ```bash\n   kraken query-orders \u003CTXID> -o json 2>\u002Fdev\u002Fnull\n   ```\n2. If still open, cancel:\n   ```bash\n   kraken order cancel \u003CTXID> -o json 2>\u002Fdev\u002Fnull\n   ```\n3. Verify cancellation:\n   ```bash\n   kraken open-orders -o json 2>\u002Fdev\u002Fnull\n   ```\n\n## Hard Rules\n\n- Never blind-retry an order after a network error; always check state first.\n- Resubmitting, amending or cancelling a live order needs the same explicit user approval as the original order, unless the agent runs at autonomy level 4+.\n- Use `--cl-ord-id` for all orders in automated loops.\n- On auth errors, stop all activity and re-authenticate.\n- Log every error and recovery action for post-session audit.\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-error-recovery\n\nUse this skill for:\n- recovering from failed order submissions\n- preventing duplicate orders after network errors\n- handling partial fills and stuck states\n- building resilient agent loops\n\n## Error Categories\n\nParse the `.error` field from the JSON response:\n\n| Category | Meaning | Recovery |\n|----------|---------|----------|\n| `auth` | Credentials invalid or expired | Re-authenticate, do not retry |\n| `rate_limit` | Too many requests | Read `suggestion` and `docs_url` fields, adapt strategy |\n| `network` | Connection failed, or the response was lost after sending (`verify_first: true`) | Retry with backoff; with `verify_first`, see Duplicate Order Prevention |\n| `validation` | Invalid request parameters | Fix inputs, do not retry unchanged |\n| `api` | Exchange-side rejection | Inspect error message, adjust request |\n\n## Duplicate Order Prevention\n\nAfter a network error during order submission (`\"verify_first\": true`), the order may or may not have reached the exchange. Check before resubmitting:\n\n```bash\nkraken open-orders -o json 2>\u002Fdev\u002Fnull\n```\n\nIf the order appears in open-orders, do not resubmit. If absent:\n\n```bash\nkraken trades-history -o json 2>\u002Fdev\u002Fnull\n```\n\nIf the order filled immediately, it appears in trades. Only resubmit if the order is absent from both.\n\n## Client Order ID for Idempotency\n\nUse `--cl-ord-id` to tag orders with a unique identifier:\n\n```bash\nkraken order buy BTCUSD 0.001 --type limit --price 50000 --cl-ord-id \"dca-2024-01-15-001\" -o json 2>\u002Fdev\u002Fnull\n```\n\nIf the submission fails, query by client order ID to check if it reached the exchange:\n\n```bash\nkraken open-orders --cl-ord-id \"dca-2024-01-15-001\" -o json 2>\u002Fdev\u002Fnull\n```\n\nCancel by client order ID if needed:\n\n```bash\nkraken order cancel --cl-ord-id \"dca-2024-01-15-001\" -o json 2>\u002Fdev\u002Fnull\n```\n\n## Network Error Recovery Pattern\n\n```\n1. Submit order (capture exit code and response)\n2. If exit code != 0 and error == \"network\":\n   a. Wait 2 seconds\n   b. Check open-orders for the order (by cl-ord-id or recent orders)\n   c. If found → order succeeded, proceed\n   d. If not found → check trades-history\n   e. If in trades → order filled, proceed\n   f. If absent from both → safe to retry\n3. Retry with same cl-ord-id\n```\n\n## Rate Limit Recovery\n\nThe CLI returns rate limit errors immediately with no internal retry. The error includes actionable fields for the agent to decide next steps.\n\nOn `rate_limit` error:\n\n1. Read the `suggestion` field for specific guidance on what limit was hit and how to adapt.\n2. Read the `docs_url` field for the relevant Kraken documentation.\n3. Decide whether to retry (and when), reduce request frequency, or switch to WebSocket streaming for real-time data.\n4. Resume with a single test call before continuing the loop.\n\n```bash\n# { \"error\": \"rate_limit\", \"suggestion\": \"...\", \"docs_url\": \"...\", \"retryable\": true }\nkraken status -o json 2>\u002Fdev\u002Fnull\n```\n\nIf status succeeds, the rate limit has cleared.\n\n## Partial Fill Handling\n\nLimit orders may partially fill. Check order status:\n\n```bash\nkraken query-orders \u003CTXID> -o json 2>\u002Fdev\u002Fnull\n```\n\nThe result is keyed by txid. Fields: `volume` (requested volume), `volume_executed` (filled volume), `status` (`open`, `closed`, `canceled`, `expired`, ...). `query-orders`, `open-orders` and `closed-orders` publish the same order shape.\n\nIf partially filled and the remaining volume is needed, amend or place a new order for the remaining amount.\n\n## Stuck Order Resolution\n\nAn order stuck in `open` state that should have filled or been canceled:\n\n1. Check the order:\n   ```bash\n   kraken query-orders \u003CTXID> -o json 2>\u002Fdev\u002Fnull\n   ```\n2. If still open, cancel:\n   ```bash\n   kraken order cancel \u003CTXID> -o json 2>\u002Fdev\u002Fnull\n   ```\n3. Verify cancellation:\n   ```bash\n   kraken open-orders -o json 2>\u002Fdev\u002Fnull\n   ```\n\n## Hard Rules\n\n- Never blind-retry an order after a network error; always check state first.\n- Resubmitting, amending or cancelling a live order needs the same explicit user approval as the original order, unless the agent runs at autonomy level 4+.\n- Use `--cl-ord-id` for all orders in automated loops.\n- On auth errors, stop all activity and re-authenticate.\n- Log every error and recovery action for post-session audit.\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":35,"metadata":36,"description":7},"1.0.0",{"openclaw":37,"requires":38},{"category":25},{"bins":39,"skills":40},[22],[41],"kraken-shared","main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Fexchanges\u002Fkraken-official-error-recovery",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-15 02:28:10",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill kraken-error-recovery",{"tool":57,"command":58},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill kraken-error-recovery",{"tool":60,"command":61},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill kraken-error-recovery","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkraken-official-error-recovery\u002FSKILL.md",true,[65,69,75],{"path":66,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":16},"LICENSE","许可证",1074,{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"SOURCE.md","REFERENCE","参考文档",171,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkraken-official-error-recovery\u002FSOURCE.md",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"TRUST.auto.yaml",2197,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkraken-official-error-recovery\u002FTRUST.auto.yaml",[80,89,97,105,113,121],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":88},"01M7DTKCERMV0RNX3HZJP4CZ26","troves","Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say \"Troves\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":88},"01M7DTK6CJSMGC8KCQHGNYFZBD","trade","Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say \"swap\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":88},"01M7DTJZ6A0X4PAW3Y8W4J9K64","staking","Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say \"stake\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":88},"01M7DTJSDZJKCDMW7GHRF4BRH5","send","Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say \"pay 10 STRK to 0x...\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":88},"01M7DTJG1E480D51ZQ7WKDQ26K","portfolio","View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks \"what do I have\", \"show me everything\", \"how much am I worth\", \"my positions\", \"my investments\", \"rebalance my portfolio\", \"I want 50% ETH\", \"optimize my holdings\", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say \"portfolio\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":125,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":88},"01M7DTJ7M8TE9R2N36HFBZDGVD","multi-swap","Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions \"two swaps\", \"three swaps\", \"swap X and Y at the same time\", or wants to convert multiple tokens in a single call.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FSKILL.md",[],[]]