[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H806C2JW1V55SE6AX3XYD6":3,"skill-same:01M6H806C2JW1V55SE6AX3XYD6":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M6H806C2JW1V55SE6AX3XYD6","mistral-debug-bundle",null,"Collect Mistral AI debug evidence for support tickets and troubleshooting.\nUse when encountering persistent issues, preparing support tickets,\nor collecting diagnostic information for Mistral AI problems.\nTrigger with phrases like \"mistral debug\", \"mistral support bundle\",\n\"collect mistral logs\", \"mistral diagnostic\".","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fclaude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fmistral-pack\u002Fskills\u002Fmistral-debug-bundle\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"mistral debug bundle","debug","Mistral","bundle","read","for","with","information","trigger","io","evidence","use","openclaw","Bash","logs","collect","issues","code","support","codex","2026-11-10 10:12:30",false,"---\nname: mistral-debug-bundle\ndescription: |\n  Collect Mistral AI debug evidence for support tickets and troubleshooting.\n  Use when encountering persistent issues, preparing support tickets,\n  or collecting diagnostic information for Mistral AI problems.\n  Trigger with phrases like \"mistral debug\", \"mistral support bundle\",\n  \"collect mistral logs\", \"mistral diagnostic\".\nallowed-tools: Read, Bash(grep:*), Bash(curl:*), Bash(tar:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\n---\n# Mistral AI Debug Bundle\n\n## Overview\nCollect all necessary diagnostic information for Mistral AI support tickets.\n\n## Prerequisites\n- Mistral AI SDK installed\n- Access to application logs\n- Permission to collect environment info\n\n## Instructions\n\n### Step 1: Create Debug Bundle Script\n\n```bash\n#!\u002Fbin\u002Fbash\n# mistral-debug-bundle.sh\n\nBUNDLE_DIR=\"mistral-debug-$(date +%Y%m%d-%H%M%S)\"\nmkdir -p \"$BUNDLE_DIR\"\n\necho \"=== Mistral AI Debug Bundle ===\" > \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Generated: $(date)\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n```\n\n### Step 2: Collect Environment Info\n\n```bash\nset -euo pipefail\n# Environment info\necho \"--- Environment ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Node.js: $(node --version 2>\u002Fdev\u002Fnull || echo 'not installed')\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Python: $(python3 --version 2>\u002Fdev\u002Fnull || echo 'not installed')\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"npm: $(npm --version 2>\u002Fdev\u002Fnull || echo 'not installed')\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"pip: $(pip --version 2>\u002Fdev\u002Fnull || echo 'not installed')\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"OS: $(uname -a)\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"MISTRAL_API_KEY: ${MISTRAL_API_KEY:+[SET]}\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n```\n\n### Step 3: Gather SDK and API Info\n\n```bash\nset -euo pipefail\n# SDK version (Node.js)\necho \"--- SDK Versions ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nnpm list @mistralai\u002Fmistralai 2>\u002Fdev\u002Fnull >> \"$BUNDLE_DIR\u002Fsummary.txt\" || echo \"Node SDK: not installed\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# SDK version (Python)\npip show mistralai 2>\u002Fdev\u002Fnull | grep -E \"^(Name|Version)\" >> \"$BUNDLE_DIR\u002Fsummary.txt\" || echo \"Python SDK: not installed\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# API connectivity test\necho \"--- API Connectivity ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho -n \"API Status: \" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nHTTP_STATUS=$(curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  -H \"Authorization: Bearer ${MISTRAL_API_KEY}\" \\\n  https:\u002F\u002Fapi.mistral.ai\u002Fv1\u002Fmodels)\necho \"$HTTP_STATUS\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# List available models (redact API key from output)\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"--- Available Models ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\ncurl -s -H \"Authorization: Bearer ${MISTRAL_API_KEY}\" \\\n  https:\u002F\u002Fapi.mistral.ai\u002Fv1\u002Fmodels 2>\u002Fdev\u002Fnull | \\\n  jq -r '.data[].id' 2>\u002Fdev\u002Fnull >> \"$BUNDLE_DIR\u002Fsummary.txt\" || \\\n  echo \"Could not fetch models\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n```\n\n### Step 4: Collect Logs (Redacted)\n\n```bash\n# Recent logs (redacted)\necho \"--- Recent Logs (redacted) ---\" >> \"$BUNDLE_DIR\u002Flogs.txt\"\nif [ -d \"logs\" ]; then\n  grep -i \"mistral\" logs\u002F*.log 2>\u002Fdev\u002Fnull | tail -100 >> \"$BUNDLE_DIR\u002Flogs.txt\"\nfi\n\n# npm debug logs\nif [ -d \"$HOME\u002F.npm\u002F_logs\" ]; then\n  grep -i \"mistral\" \"$HOME\u002F.npm\u002F_logs\"\u002F*.log 2>\u002Fdev\u002Fnull | tail -50 >> \"$BUNDLE_DIR\u002Flogs.txt\"\nfi\n\n# Configuration (redacted - secrets masked)\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"--- Config (redacted) ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nif [ -f \".env\" ]; then\n  cat .env 2>\u002Fdev\u002Fnull | sed 's\u002F=.*\u002F=***REDACTED***\u002F' >> \"$BUNDLE_DIR\u002Fconfig-redacted.txt\"\nfi\n\n# package.json dependencies\nif [ -f \"package.json\" ]; then\n  echo \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n  echo \"--- Dependencies ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n  jq '.dependencies, .devDependencies' package.json 2>\u002Fdev\u002Fnull >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nfi\n```\n\n### Step 5: Capture Error Details\n\n```bash\nset -euo pipefail\n# Error reproduction script\ncat > \"$BUNDLE_DIR\u002Freproduce.sh\" \u003C\u003C 'SCRIPT'\n#!\u002Fbin\u002Fbash\n# Minimal reproduction script\n\ncurl -X POST https:\u002F\u002Fapi.mistral.ai\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"Authorization: Bearer ${MISTRAL_API_KEY}\" \\\n  -d '{\n    \"model\": \"mistral-small-latest\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"Hello\"}]\n  }' 2>&1\n\necho \"\"\necho \"Exit code: $?\"\nSCRIPT\nchmod +x \"$BUNDLE_DIR\u002Freproduce.sh\"\n```\n\n### Step 6: Package Bundle\n\n```bash\nset -euo pipefail\n# Create timestamp file\necho \"Bundle created: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" > \"$BUNDLE_DIR\u002Ftimestamp.txt\"\n\n# Package everything\ntar -czf \"$BUNDLE_DIR.tar.gz\" \"$BUNDLE_DIR\"\nrm -rf \"$BUNDLE_DIR\"\n\necho \"Bundle created: $BUNDLE_DIR.tar.gz\"\necho \"\"\necho \"IMPORTANT: Review the bundle for sensitive data before sharing!\"\necho \"Run: tar -tzf $BUNDLE_DIR.tar.gz\"\n```\n\n## Complete Script\n\n```bash\n#!\u002Fbin\u002Fbash\n# mistral-debug-bundle.sh - Complete version\n\nset -e\n\nBUNDLE_DIR=\"mistral-debug-$(date +%Y%m%d-%H%M%S)\"\nmkdir -p \"$BUNDLE_DIR\"\n\necho \"Creating Mistral AI debug bundle...\"\n\n# Summary file\ncat > \"$BUNDLE_DIR\u002Fsummary.txt\" \u003C\u003C EOF\n=== Mistral AI Debug Bundle ===\nGenerated: $(date)\nHostname: $(hostname)\n\n--- Environment ---\nNode.js: $(node --version 2>\u002Fdev\u002Fnull || echo 'not installed')\nPython: $(python3 --version 2>\u002Fdev\u002Fnull || echo 'not installed')\nOS: $(uname -a)\nMISTRAL_API_KEY: ${MISTRAL_API_KEY:+[SET]}\n\n--- SDK Versions ---\nEOF\n\nnpm list @mistralai\u002Fmistralai 2>\u002Fdev\u002Fnull >> \"$BUNDLE_DIR\u002Fsummary.txt\" || echo \"Node SDK: not installed\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\npip show mistralai 2>\u002Fdev\u002Fnull | grep -E \"^(Name|Version)\" >> \"$BUNDLE_DIR\u002Fsummary.txt\" || echo \"Python SDK: not installed\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"--- API Test ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nHTTP_STATUS=$(curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" -H \"Authorization: Bearer ${MISTRAL_API_KEY}\" https:\u002F\u002Fapi.mistral.ai\u002Fv1\u002Fmodels 2>\u002Fdev\u002Fnull)\necho \"HTTP Status: $HTTP_STATUS\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# Redacted config\nif [ -f \".env\" ]; then\n  cat .env | sed 's\u002F=.*\u002F=***REDACTED***\u002F' > \"$BUNDLE_DIR\u002Fconfig-redacted.txt\"\nfi\n\n# Package\ntar -czf \"$BUNDLE_DIR.tar.gz\" \"$BUNDLE_DIR\"\nrm -rf \"$BUNDLE_DIR\"\n\necho \"Bundle created: $BUNDLE_DIR.tar.gz\"\n```\n\n## Output\n- `mistral-debug-YYYYMMDD-HHMMSS.tar.gz` archive containing:\n  - `summary.txt` - Environment and SDK info\n  - `logs.txt` - Recent redacted logs\n  - `config-redacted.txt` - Configuration (secrets removed)\n  - `reproduce.sh` - Minimal reproduction script\n\n## Error Handling\n| Item | Purpose | Included |\n|------|---------|----------|\n| Environment versions | Compatibility check | Yes |\n| SDK version | Version-specific bugs | Yes |\n| Error logs (redacted) | Root cause analysis | Yes |\n| Config (redacted) | Configuration issues | Yes |\n| API connectivity test | Network issues | Yes |\n\n## Sensitive Data Handling\n\n**ALWAYS REDACT:**\n- API keys and tokens\n- Passwords and secrets\n- PII (emails, names, IDs)\n- Internal URLs and IPs\n\n**Safe to Include:**\n- Error messages\n- Stack traces (redacted)\n- SDK\u002Fruntime versions\n- HTTP status codes\n\n## TypeScript Debug Helper\n\n```typescript\ninterface DebugInfo {\n  timestamp: string;\n  sdkVersion: string;\n  nodeVersion: string;\n  apiKeySet: boolean;\n  lastError?: {\n    message: string;\n    status?: number;\n    requestId?: string;\n  };\n}\n\nfunction collectDebugInfo(error?: Error): DebugInfo {\n  return {\n    timestamp: new Date().toISOString(),\n    sdkVersion: require('@mistralai\u002Fmistralai\u002Fpackage.json').version,\n    nodeVersion: process.version,\n    apiKeySet: !!process.env.MISTRAL_API_KEY,\n    lastError: error ? {\n      message: error.message,\n      status: (error as any).status,\n      requestId: (error as any).requestId,\n    } : undefined,\n  };\n}\n\n\u002F\u002F Usage\ntry {\n  await client.chat.complete({ \u002F* ... *\u002F });\n} catch (error) {\n  const debug = collectDebugInfo(error as Error);\n  console.error('Debug info:', JSON.stringify(debug, null, 2));\n}\n```\n\n## Resources\n- [Mistral AI Discord](https:\u002F\u002Fdiscord.gg\u002Fmistralai)\n- [Mistral AI Status](https:\u002F\u002Fstatus.mistral.ai\u002F)\n\n## Next Steps\nFor rate limit issues, see `mistral-rate-limits`.\n\n## Examples\n\n**Basic usage**: Apply mistral debug bundle to a standard project setup with default configuration options.\n\n**Advanced scenario**: Customize mistral debug bundle for production environments with multiple constraints and team-specific requirements.","# Mistral AI Debug Bundle\n\n## Overview\nCollect all necessary diagnostic information for Mistral AI support tickets.\n\n## Prerequisites\n- Mistral AI SDK installed\n- Access to application logs\n- Permission to collect environment info\n\n## Instructions\n\n### Step 1: Create Debug Bundle Script\n\n```bash\n#!\u002Fbin\u002Fbash\n# mistral-debug-bundle.sh\n\nBUNDLE_DIR=\"mistral-debug-$(date +%Y%m%d-%H%M%S)\"\nmkdir -p \"$BUNDLE_DIR\"\n\necho \"=== Mistral AI Debug Bundle ===\" > \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Generated: $(date)\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n```\n\n### Step 2: Collect Environment Info\n\n```bash\nset -euo pipefail\n# Environment info\necho \"--- Environment ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Node.js: $(node --version 2>\u002Fdev\u002Fnull || echo 'not installed')\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Python: $(python3 --version 2>\u002Fdev\u002Fnull || echo 'not installed')\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"npm: $(npm --version 2>\u002Fdev\u002Fnull || echo 'not installed')\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"pip: $(pip --version 2>\u002Fdev\u002Fnull || echo 'not installed')\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"OS: $(uname -a)\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"MISTRAL_API_KEY: ${MISTRAL_API_KEY:+[SET]}\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n```\n\n### Step 3: Gather SDK and API Info\n\n```bash\nset -euo pipefail\n# SDK version (Node.js)\necho \"--- SDK Versions ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nnpm list @mistralai\u002Fmistralai 2>\u002Fdev\u002Fnull >> \"$BUNDLE_DIR\u002Fsummary.txt\" || echo \"Node SDK: not installed\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# SDK version (Python)\npip show mistralai 2>\u002Fdev\u002Fnull | grep -E \"^(Name|Version)\" >> \"$BUNDLE_DIR\u002Fsummary.txt\" || echo \"Python SDK: not installed\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# API connectivity test\necho \"--- API Connectivity ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho -n \"API Status: \" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nHTTP_STATUS=$(curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  -H \"Authorization: Bearer ${MISTRAL_API_KEY}\" \\\n  https:\u002F\u002Fapi.mistral.ai\u002Fv1\u002Fmodels)\necho \"$HTTP_STATUS\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# List available models (redact API key from output)\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"--- Available Models ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\ncurl -s -H \"Authorization: Bearer ${MISTRAL_API_KEY}\" \\\n  https:\u002F\u002Fapi.mistral.ai\u002Fv1\u002Fmodels 2>\u002Fdev\u002Fnull | \\\n  jq -r '.data[].id' 2>\u002Fdev\u002Fnull >> \"$BUNDLE_DIR\u002Fsummary.txt\" || \\\n  echo \"Could not fetch models\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n```\n\n### Step 4: Collect Logs (Redacted)\n\n```bash\n# Recent logs (redacted)\necho \"--- Recent Logs (redacted) ---\" >> \"$BUNDLE_DIR\u002Flogs.txt\"\nif [ -d \"logs\" ]; then\n  grep -i \"mistral\" logs\u002F*.log 2>\u002Fdev\u002Fnull | tail -100 >> \"$BUNDLE_DIR\u002Flogs.txt\"\nfi\n\n# npm debug logs\nif [ -d \"$HOME\u002F.npm\u002F_logs\" ]; then\n  grep -i \"mistral\" \"$HOME\u002F.npm\u002F_logs\"\u002F*.log 2>\u002Fdev\u002Fnull | tail -50 >> \"$BUNDLE_DIR\u002Flogs.txt\"\nfi\n\n# Configuration (redacted - secrets masked)\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"--- Config (redacted) ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nif [ -f \".env\" ]; then\n  cat .env 2>\u002Fdev\u002Fnull | sed 's\u002F=.*\u002F=***REDACTED***\u002F' >> \"$BUNDLE_DIR\u002Fconfig-redacted.txt\"\nfi\n\n# package.json dependencies\nif [ -f \"package.json\" ]; then\n  echo \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n  echo \"--- Dependencies ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n  jq '.dependencies, .devDependencies' package.json 2>\u002Fdev\u002Fnull >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nfi\n```\n\n### Step 5: Capture Error Details\n\n```bash\nset -euo pipefail\n# Error reproduction script\ncat > \"$BUNDLE_DIR\u002Freproduce.sh\" \u003C\u003C 'SCRIPT'\n#!\u002Fbin\u002Fbash\n# Minimal reproduction script\n\ncurl -X POST https:\u002F\u002Fapi.mistral.ai\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"Authorization: Bearer ${MISTRAL_API_KEY}\" \\\n  -d '{\n    \"model\": \"mistral-small-latest\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"Hello\"}]\n  }' 2>&1\n\necho \"\"\necho \"Exit code: $?\"\nSCRIPT\nchmod +x \"$BUNDLE_DIR\u002Freproduce.sh\"\n```\n\n### Step 6: Package Bundle\n\n```bash\nset -euo pipefail\n# Create timestamp file\necho \"Bundle created: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" > \"$BUNDLE_DIR\u002Ftimestamp.txt\"\n\n# Package everything\ntar -czf \"$BUNDLE_DIR.tar.gz\" \"$BUNDLE_DIR\"\nrm -rf \"$BUNDLE_DIR\"\n\necho \"Bundle created: $BUNDLE_DIR.tar.gz\"\necho \"\"\necho \"IMPORTANT: Review the bundle for sensitive data before sharing!\"\necho \"Run: tar -tzf $BUNDLE_DIR.tar.gz\"\n```\n\n## Complete Script\n\n```bash\n#!\u002Fbin\u002Fbash\n# mistral-debug-bundle.sh - Complete version\n\nset -e\n\nBUNDLE_DIR=\"mistral-debug-$(date +%Y%m%d-%H%M%S)\"\nmkdir -p \"$BUNDLE_DIR\"\n\necho \"Creating Mistral AI debug bundle...\"\n\n# Summary file\ncat > \"$BUNDLE_DIR\u002Fsummary.txt\" \u003C\u003C EOF\n=== Mistral AI Debug Bundle ===\nGenerated: $(date)\nHostname: $(hostname)\n\n--- Environment ---\nNode.js: $(node --version 2>\u002Fdev\u002Fnull || echo 'not installed')\nPython: $(python3 --version 2>\u002Fdev\u002Fnull || echo 'not installed')\nOS: $(uname -a)\nMISTRAL_API_KEY: ${MISTRAL_API_KEY:+[SET]}\n\n--- SDK Versions ---\nEOF\n\nnpm list @mistralai\u002Fmistralai 2>\u002Fdev\u002Fnull >> \"$BUNDLE_DIR\u002Fsummary.txt\" || echo \"Node SDK: not installed\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\npip show mistralai 2>\u002Fdev\u002Fnull | grep -E \"^(Name|Version)\" >> \"$BUNDLE_DIR\u002Fsummary.txt\" || echo \"Python SDK: not installed\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"--- API Test ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nHTTP_STATUS=$(curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" -H \"Authorization: Bearer ${MISTRAL_API_KEY}\" https:\u002F\u002Fapi.mistral.ai\u002Fv1\u002Fmodels 2>\u002Fdev\u002Fnull)\necho \"HTTP Status: $HTTP_STATUS\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# Redacted config\nif [ -f \".env\" ]; then\n  cat .env | sed 's\u002F=.*\u002F=***REDACTED***\u002F' > \"$BUNDLE_DIR\u002Fconfig-redacted.txt\"\nfi\n\n# Package\ntar -czf \"$BUNDLE_DIR.tar.gz\" \"$BUNDLE_DIR\"\nrm -rf \"$BUNDLE_DIR\"\n\necho \"Bundle created: $BUNDLE_DIR.tar.gz\"\n```\n\n## Output\n- `mistral-debug-YYYYMMDD-HHMMSS.tar.gz` archive containing:\n  - `summary.txt` - Environment and SDK info\n  - `logs.txt` - Recent redacted logs\n  - `config-redacted.txt` - Configuration (secrets removed)\n  - `reproduce.sh` - Minimal reproduction script\n\n## Error Handling\n| Item | Purpose | Included |\n|------|---------|----------|\n| Environment versions | Compatibility check | Yes |\n| SDK version | Version-specific bugs | Yes |\n| Error logs (redacted) | Root cause analysis | Yes |\n| Config (redacted) | Configuration issues | Yes |\n| API connectivity test | Network issues | Yes |\n\n## Sensitive Data Handling\n\n**ALWAYS REDACT:**\n- API keys and tokens\n- Passwords and secrets\n- PII (emails, names, IDs)\n- Internal URLs and IPs\n\n**Safe to Include:**\n- Error messages\n- Stack traces (redacted)\n- SDK\u002Fruntime versions\n- HTTP status codes\n\n## TypeScript Debug Helper\n\n```typescript\ninterface DebugInfo {\n  timestamp: string;\n  sdkVersion: string;\n  nodeVersion: string;\n  apiKeySet: boolean;\n  lastError?: {\n    message: string;\n    status?: number;\n    requestId?: string;\n  };\n}\n\nfunction collectDebugInfo(error?: Error): DebugInfo {\n  return {\n    timestamp: new Date().toISOString(),\n    sdkVersion: require('@mistralai\u002Fmistralai\u002Fpackage.json').version,\n    nodeVersion: process.version,\n    apiKeySet: !!process.env.MISTRAL_API_KEY,\n    lastError: error ? {\n      message: error.message,\n      status: (error as any).status,\n      requestId: (error as any).requestId,\n    } : undefined,\n  };\n}\n\n\u002F\u002F Usage\ntry {\n  await client.chat.complete({ \u002F* ... *\u002F });\n} catch (error) {\n  const debug = collectDebugInfo(error as Error);\n  console.error('Debug info:', JSON.stringify(debug, null, 2));\n}\n```\n\n## Resources\n- [Mistral AI Discord](https:\u002F\u002Fdiscord.gg\u002Fmistralai)\n- [Mistral AI Status](https:\u002F\u002Fstatus.mistral.ai\u002F)\n\n## Next Steps\nFor rate limit issues, see `mistral-rate-limits`.\n\n## Examples\n\n**Basic usage**: Apply mistral debug bundle to a standard project setup with default configuration options.\n\n**Advanced scenario**: Customize mistral debug bundle for production environments with multiple constraints and team-specific requirements.",{"name":5,"author":43,"license":14,"version":44,"description":45,"allowed-tools":46,"compatible-with":47},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Collect Mistral AI debug evidence for support tickets and troubleshooting.\nUse when encountering persistent issues, preparing support tickets,\nor collecting diagnostic information for Mistral AI problems.\nTrigger with phrases like \"mistral debug\", \"mistral support bundle\",\n\"collect mistral logs\", \"mistral diagnostic\".\n","Read, Bash(grep:*), Bash(curl:*), Bash(tar:*), Grep","claude-code, codex, openclaw","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","claude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fmistral-pack\u002Fskills\u002Fmistral-debug-bundle",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add micsapp\u002Fmicstec-skills --skill mistral-debug-bundle",{"tool":61,"command":62},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill mistral-debug-bundle",{"tool":64,"command":65},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill mistral-debug-bundle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fclaude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fmistral-pack\u002Fskills\u002Fmistral-debug-bundle\u002FSKILL.md",true,[],[70,96,117,136,154,178],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":38},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[],[77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,23],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":38},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[],[103,104,105,106,78,107,35,108,109,110,111,112,86,87,93,113,114,94,115,116],"deployment","apiops deployment","workflows","azure devops","infrastructure","infrastructure as code","actions","ci","github actions","github-actions","as","guides","CI\u002FCD","implementing",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":38},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[],[124,125,126,127,78,81,86,87,128,29,129,130,131,132,133,94,134,135,116,23],"policy","authoring","apim policy authoring","security","access","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":38},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[],[143,127,144,86,130,145,78,103,146,147,148,149,87,150,94,151,152,153,95,23],"review","security review","api security review","benchmark","verification","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":38},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[161,162,163,105,164,165,166,34,86,167,168,169,170,171,172,173,174,175,176,177],"cli","jira","jira cli","init","tasks","create","common","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":38},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[180,185,186,187,188,189,190,29,191,192],"npm","js","calculate","node","math","user","compute","errors"]