[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M792WW6DYKFQC0ENNQSSV383":3,"skill-same:01M792WW6DYKFQC0ENNQSSV383":56},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M792WW6DYKFQC0ENNQSSV383","lokalise-debug-bundle",null,"Collect Lokalise debug evidence for support tickets and troubleshooting.\nUse when encountering persistent issues, preparing support tickets,\nor collecting diagnostic information for Lokalise problems.\nTrigger with phrases like \"lokalise debug\", \"lokalise support bundle\",\n\"collect lokalise logs\", \"lokalise diagnostic\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--lokalise-pack--lokalise-debug-bundle\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: lokalise-debug-bundle\ndescription: |\n  Collect Lokalise debug evidence for support tickets and troubleshooting.\n  Use when encountering persistent issues, preparing support tickets,\n  or collecting diagnostic information for Lokalise problems.\n  Trigger with phrases like \"lokalise debug\", \"lokalise support bundle\",\n  \"collect lokalise logs\", \"lokalise diagnostic\".\nallowed-tools: Read, Bash(grep:*), Bash(curl:*), Bash(tar:*), Bash(lokalise2:*), Bash(node:*), Bash(npm:*), Bash(jq:*), Bash(sed:*), Bash(mkdir:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, lokalise, debugging]\n---\n# Lokalise Debug Bundle\n\n## Current State\n!`node --version 2>\u002Fdev\u002Fnull || echo 'N\u002FA'`\n!`python3 --version 2>\u002Fdev\u002Fnull || echo 'N\u002FA'`\n!`uname -a`\n\n## Overview\n\nCollect all diagnostic information needed to troubleshoot Lokalise integration issues or file a support ticket — environment versions, SDK\u002FCLI status, API connectivity, project listings with key counts, upload process status, and redacted logs, bundled into a timestamped `.tar.gz` archive.\n\n## Prerequisites\n\n- `LOKALISE_API_TOKEN` environment variable set (or token available to provide)\n- `curl` and `jq` available on PATH\n- Optional: `@lokalise\u002Fnode-api` SDK installed in current project\n- Optional: `lokalise2` CLI installed\n\n## Instructions\n\n### Step 1: Create the Bundle Directory\n\n```bash\nset -euo pipefail\nTIMESTAMP=$(date +%Y%m%d-%H%M%S)\nBUNDLE_DIR=\"lokalise-debug-${TIMESTAMP}\"\nmkdir -p \"${BUNDLE_DIR}\"\necho \"Bundle directory: ${BUNDLE_DIR}\"\n```\n\n### Step 2: Collect Environment Information\n\n```bash\nset -euo pipefail\ncat > \"${BUNDLE_DIR}\u002Fenvironment.txt\" \u003C\u003CENVEOF\n=== System ===\nOS: $(uname -srm)\nShell: ${SHELL:-unknown}\nDate: $(date -u +\"%Y-%m-%dT%H:%M:%SZ\")\n\n=== Runtime Versions ===\nNode.js: $(node --version 2>\u002Fdev\u002Fnull || echo 'not installed')\nnpm: $(npm --version 2>\u002Fdev\u002Fnull || echo 'not installed')\nPython: $(python3 --version 2>\u002Fdev\u002Fnull || echo 'not installed')\n\n=== Lokalise SDK ===\n$(npm list @lokalise\u002Fnode-api 2>\u002Fdev\u002Fnull || echo 'SDK not found in project')\n\n=== Lokalise CLI ===\n$(lokalise2 --version 2>\u002Fdev\u002Fnull || echo 'CLI not installed')\n\n=== Token Status ===\nLOKALISE_API_TOKEN: $([ -n \"${LOKALISE_API_TOKEN:-}\" ] && echo \"SET (${#LOKALISE_API_TOKEN} chars)\" || echo \"NOT SET\")\nENVEOF\necho \"Environment info collected.\"\n```\n\n### Step 3: Test API Connectivity\n\n```bash\nset -euo pipefail\necho \"=== API Connectivity Test ===\" > \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\n\n# Test DNS resolution\necho -e \"\\n--- DNS Resolution ---\" >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\nnslookup api.lokalise.com 2>&1 | tail -4 >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\" || echo \"nslookup failed\" >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\n\n# Test HTTPS connectivity and response time\necho -e \"\\n--- HTTPS Connectivity ---\" >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\ncurl -s -o \u002Fdev\u002Fnull -w \"HTTP Status: %{http_code}\\nConnect Time: %{time_connect}s\\nTTFB: %{time_starttransfer}s\\nTotal Time: %{time_total}s\\nRemote IP: %{remote_ip}\\n\" \\\n  -H \"X-Api-Token: ${LOKALISE_API_TOKEN}\" \\\n  \"https:\u002F\u002Fapi.lokalise.com\u002Fapi2\u002Fsystem\u002Flanguages?limit=1\" \\\n  >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\" 2>&1\n\n# Check rate limit headers\necho -e \"\\n--- Rate Limit Headers ---\" >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\ncurl -s -D - -o \u002Fdev\u002Fnull \\\n  -H \"X-Api-Token: ${LOKALISE_API_TOKEN}\" \\\n  \"https:\u002F\u002Fapi.lokalise.com\u002Fapi2\u002Fsystem\u002Flanguages?limit=1\" 2>\u002Fdev\u002Fnull \\\n  | grep -iE '(x-ratelimit|retry-after)' >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\" || echo \"No rate limit headers found\" >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\n\necho \"API connectivity tested.\"\n```\n\n### Step 4: List Projects and Key Counts\n\n```bash\nset -euo pipefail\necho \"Fetching project list...\"\n\ncurl -s -H \"X-Api-Token: ${LOKALISE_API_TOKEN}\" \\\n  \"https:\u002F\u002Fapi.lokalise.com\u002Fapi2\u002Fprojects?limit=100&include_statistics=1\" \\\n  | jq '[.projects[] | {\n    project_id: .project_id,\n    name: .name,\n    base_language: .base_language_iso,\n    keys: .statistics.keys_total,\n    languages: (.statistics.languages \u002F\u002F [] | length),\n    progress: .statistics.progress_total,\n    created: .created_at\n  }]' > \"${BUNDLE_DIR}\u002Fprojects.json\" 2>\u002Fdev\u002Fnull || echo '{\"error\": \"Failed to fetch projects\"}' > \"${BUNDLE_DIR}\u002Fprojects.json\"\n\n# Summary line\nPROJ_COUNT=$(jq 'length' \"${BUNDLE_DIR}\u002Fprojects.json\" 2>\u002Fdev\u002Fnull || echo \"0\")\nTOTAL_KEYS=$(jq '[.[].keys \u002F\u002F 0] | add \u002F\u002F 0' \"${BUNDLE_DIR}\u002Fprojects.json\" 2>\u002Fdev\u002Fnull || echo \"0\")\necho \"Found ${PROJ_COUNT} projects with ${TOTAL_KEYS} total keys.\"\n```\n\n### Step 5: Check File Upload Process Status\n\n```bash\nset -euo pipefail\n# Check queued processes for each project (file uploads are async)\necho \"[]\" > \"${BUNDLE_DIR}\u002Fprocesses.json\"\n\nfor PID in $(jq -r '.[].project_id' \"${BUNDLE_DIR}\u002Fprojects.json\" 2>\u002Fdev\u002Fnull); do\n  curl -s -H \"X-Api-Token: ${LOKALISE_API_TOKEN}\" \\\n    \"https:\u002F\u002Fapi.lokalise.com\u002Fapi2\u002Fprojects\u002F${PID}\u002Fprocesses?limit=10\" \\\n    | jq --arg pid \"$PID\" '[.processes[]? | {project_id: $pid, type: .type, status: .status, created_at: .created_at, message: .message}]' \\\n    >> \"${BUNDLE_DIR}\u002Fprocesses-raw.json\" 2>\u002Fdev\u002Fnull || true\n  sleep 0.17  # Respect 6 req\u002Fs rate limit\ndone\n\n# Merge all process entries\njq -s 'flatten' \"${BUNDLE_DIR}\u002Fprocesses-raw.json\" > \"${BUNDLE_DIR}\u002Fprocesses.json\" 2>\u002Fdev\u002Fnull || true\nrm -f \"${BUNDLE_DIR}\u002Fprocesses-raw.json\"\n\nPROC_COUNT=$(jq 'length' \"${BUNDLE_DIR}\u002Fprocesses.json\" 2>\u002Fdev\u002Fnull || echo \"0\")\necho \"Found ${PROC_COUNT} recent upload processes.\"\n```\n\n### Step 6: Collect and Redact Application Logs\n\n```bash\nset -euo pipefail\n# Gather any lokalise-related log lines from common locations\n{\n  echo \"=== npm debug log (if exists) ===\"\n  cat ~\u002F.npm\u002F_logs\u002F*-debug.log 2>\u002Fdev\u002Fnull | grep -i lokalise | tail -50 || echo \"No npm debug logs\"\n\n  echo -e \"\\n=== Application stderr\u002Fstdout (recent) ===\"\n  grep -ri \"lokalise\" \u002Ftmp\u002F*.log 2>\u002Fdev\u002Fnull | tail -30 || echo \"No \u002Ftmp logs found\"\n} > \"${BUNDLE_DIR}\u002Flogs-raw.txt\" 2>\u002Fdev\u002Fnull || true\n\n# Redact sensitive values\nsed -E \\\n  -e 's\u002F([0-9a-f]{32,})\u002F[REDACTED_TOKEN]\u002Fgi' \\\n  -e 's\u002F(X-Api-Token:\\s*)[^ ]*\u002F\\1[REDACTED]\u002Fgi' \\\n  -e 's\u002F(apiKey:\\s*[\"'\"'\"']?)[^\"'\"'\"',]+\u002F\\1[REDACTED]\u002Fgi' \\\n  -e 's\u002F[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}\u002F[REDACTED_EMAIL]\u002Fg' \\\n  \"${BUNDLE_DIR}\u002Flogs-raw.txt\" > \"${BUNDLE_DIR}\u002Flogs-redacted.txt\" 2>\u002Fdev\u002Fnull || true\nrm -f \"${BUNDLE_DIR}\u002Flogs-raw.txt\"\necho \"Logs collected and redacted.\"\n```\n\n### Step 7: Create the tar.gz Bundle\n\n```bash\nset -euo pipefail\ntar -czf \"${BUNDLE_DIR}.tar.gz\" \"${BUNDLE_DIR}\u002F\"\nSIZE=$(du -h \"${BUNDLE_DIR}.tar.gz\" | cut -f1)\necho \"Bundle created: ${BUNDLE_DIR}.tar.gz (${SIZE})\"\necho \"Contents:\"\ntar -tzf \"${BUNDLE_DIR}.tar.gz\"\n```\n\n## Output\n\n- `lokalise-debug-YYYYMMDD-HHMMSS.tar.gz` archive containing:\n  - `environment.txt` — Node.js, SDK, CLI versions, token status\n  - `api-connectivity.txt` — DNS, HTTPS latency, rate limit headers\n  - `projects.json` — Project list with key\u002Flanguage counts and progress\n  - `processes.json` — Recent file upload process statuses per project\n  - `logs-redacted.txt` — Relevant logs with tokens and emails scrubbed\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| `401 Unauthorized` | Token invalid or expired | Regenerate token in Lokalise > User Profile > API Tokens |\n| `403 Forbidden` | Token lacks read scope | Use a read-write token or admin token |\n| `429 Too Many Requests` | Rate limit exceeded during project scan | Script includes `sleep 0.17` between calls; reduce `--limit` if still hitting |\n| Empty `projects.json` | Token has no project access | Verify the token owner is a contributor on at least one project |\n| `nslookup` fails | DNS resolution blocked | Try `dig api.lokalise.com` or check `\u002Fetc\u002Fresolv.conf` |\n| `tar` permission denied | Bundle dir in read-only location | Run from a writable directory like `~\u002Ftmp` |\n\n## Examples\n\n### Quick One-Liner API Health Check\n\n```bash\nset -euo pipefail\ncurl -s -w \"\\nHTTP %{http_code} in %{time_total}s\\n\" \\\n  -H \"X-Api-Token: $LOKALISE_API_TOKEN\" \\\n  \"https:\u002F\u002Fapi.lokalise.com\u002Fapi2\u002Fprojects?limit=1\" | jq '{project: .projects[0].name, keys: .projects[0].statistics.keys_total}'\n```\n\n### Check SDK Version Programmatically\n\n```bash\nset -euo pipefail\nnode -e \"const pkg = require('@lokalise\u002Fnode-api\u002Fpackage.json'); console.log('SDK:', pkg.version, '| Node:', process.version)\"\n```\n\n### Redaction Safety Checklist\n\n**Always redacted:** API tokens, webhook secrets, OAuth credentials, email addresses, any 32+ character hex strings.\n\n**Safe to include:** Error messages, stack traces (after redaction pass), SDK and runtime versions, project IDs, HTTP status codes, rate limit header values.\n\n## Resources\n\n- [Lokalise API Reference](https:\u002F\u002Fdevelopers.lokalise.com\u002Freference)\n- [Lokalise Status Page](https:\u002F\u002Fstatus.lokalise.com)\n- [Lokalise Support](mailto:support@lokalise.com)\n- [Community Forum](https:\u002F\u002Fcommunity.lokalise.com)\n- [Rate Limits Documentation](https:\u002F\u002Fdevelopers.lokalise.com\u002Fdocs\u002Fapi-rate-limits)\n\n## Next Steps\n\n- For rate limit issues found in the bundle, see `lokalise-performance-tuning`.\n- For SDK version mismatches, see `lokalise-upgrade-migration`.\n- Attach the `.tar.gz` bundle directly to a Lokalise support ticket at support@lokalise.com.\n","# Lokalise Debug Bundle\n\n## Current State\n!`node --version 2>\u002Fdev\u002Fnull || echo 'N\u002FA'`\n!`python3 --version 2>\u002Fdev\u002Fnull || echo 'N\u002FA'`\n!`uname -a`\n\n## Overview\n\nCollect all diagnostic information needed to troubleshoot Lokalise integration issues or file a support ticket — environment versions, SDK\u002FCLI status, API connectivity, project listings with key counts, upload process status, and redacted logs, bundled into a timestamped `.tar.gz` archive.\n\n## Prerequisites\n\n- `LOKALISE_API_TOKEN` environment variable set (or token available to provide)\n- `curl` and `jq` available on PATH\n- Optional: `@lokalise\u002Fnode-api` SDK installed in current project\n- Optional: `lokalise2` CLI installed\n\n## Instructions\n\n### Step 1: Create the Bundle Directory\n\n```bash\nset -euo pipefail\nTIMESTAMP=$(date +%Y%m%d-%H%M%S)\nBUNDLE_DIR=\"lokalise-debug-${TIMESTAMP}\"\nmkdir -p \"${BUNDLE_DIR}\"\necho \"Bundle directory: ${BUNDLE_DIR}\"\n```\n\n### Step 2: Collect Environment Information\n\n```bash\nset -euo pipefail\ncat > \"${BUNDLE_DIR}\u002Fenvironment.txt\" \u003C\u003CENVEOF\n=== System ===\nOS: $(uname -srm)\nShell: ${SHELL:-unknown}\nDate: $(date -u +\"%Y-%m-%dT%H:%M:%SZ\")\n\n=== Runtime Versions ===\nNode.js: $(node --version 2>\u002Fdev\u002Fnull || echo 'not installed')\nnpm: $(npm --version 2>\u002Fdev\u002Fnull || echo 'not installed')\nPython: $(python3 --version 2>\u002Fdev\u002Fnull || echo 'not installed')\n\n=== Lokalise SDK ===\n$(npm list @lokalise\u002Fnode-api 2>\u002Fdev\u002Fnull || echo 'SDK not found in project')\n\n=== Lokalise CLI ===\n$(lokalise2 --version 2>\u002Fdev\u002Fnull || echo 'CLI not installed')\n\n=== Token Status ===\nLOKALISE_API_TOKEN: $([ -n \"${LOKALISE_API_TOKEN:-}\" ] && echo \"SET (${#LOKALISE_API_TOKEN} chars)\" || echo \"NOT SET\")\nENVEOF\necho \"Environment info collected.\"\n```\n\n### Step 3: Test API Connectivity\n\n```bash\nset -euo pipefail\necho \"=== API Connectivity Test ===\" > \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\n\n# Test DNS resolution\necho -e \"\\n--- DNS Resolution ---\" >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\nnslookup api.lokalise.com 2>&1 | tail -4 >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\" || echo \"nslookup failed\" >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\n\n# Test HTTPS connectivity and response time\necho -e \"\\n--- HTTPS Connectivity ---\" >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\ncurl -s -o \u002Fdev\u002Fnull -w \"HTTP Status: %{http_code}\\nConnect Time: %{time_connect}s\\nTTFB: %{time_starttransfer}s\\nTotal Time: %{time_total}s\\nRemote IP: %{remote_ip}\\n\" \\\n  -H \"X-Api-Token: ${LOKALISE_API_TOKEN}\" \\\n  \"https:\u002F\u002Fapi.lokalise.com\u002Fapi2\u002Fsystem\u002Flanguages?limit=1\" \\\n  >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\" 2>&1\n\n# Check rate limit headers\necho -e \"\\n--- Rate Limit Headers ---\" >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\ncurl -s -D - -o \u002Fdev\u002Fnull \\\n  -H \"X-Api-Token: ${LOKALISE_API_TOKEN}\" \\\n  \"https:\u002F\u002Fapi.lokalise.com\u002Fapi2\u002Fsystem\u002Flanguages?limit=1\" 2>\u002Fdev\u002Fnull \\\n  | grep -iE '(x-ratelimit|retry-after)' >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\" || echo \"No rate limit headers found\" >> \"${BUNDLE_DIR}\u002Fapi-connectivity.txt\"\n\necho \"API connectivity tested.\"\n```\n\n### Step 4: List Projects and Key Counts\n\n```bash\nset -euo pipefail\necho \"Fetching project list...\"\n\ncurl -s -H \"X-Api-Token: ${LOKALISE_API_TOKEN}\" \\\n  \"https:\u002F\u002Fapi.lokalise.com\u002Fapi2\u002Fprojects?limit=100&include_statistics=1\" \\\n  | jq '[.projects[] | {\n    project_id: .project_id,\n    name: .name,\n    base_language: .base_language_iso,\n    keys: .statistics.keys_total,\n    languages: (.statistics.languages \u002F\u002F [] | length),\n    progress: .statistics.progress_total,\n    created: .created_at\n  }]' > \"${BUNDLE_DIR}\u002Fprojects.json\" 2>\u002Fdev\u002Fnull || echo '{\"error\": \"Failed to fetch projects\"}' > \"${BUNDLE_DIR}\u002Fprojects.json\"\n\n# Summary line\nPROJ_COUNT=$(jq 'length' \"${BUNDLE_DIR}\u002Fprojects.json\" 2>\u002Fdev\u002Fnull || echo \"0\")\nTOTAL_KEYS=$(jq '[.[].keys \u002F\u002F 0] | add \u002F\u002F 0' \"${BUNDLE_DIR}\u002Fprojects.json\" 2>\u002Fdev\u002Fnull || echo \"0\")\necho \"Found ${PROJ_COUNT} projects with ${TOTAL_KEYS} total keys.\"\n```\n\n### Step 5: Check File Upload Process Status\n\n```bash\nset -euo pipefail\n# Check queued processes for each project (file uploads are async)\necho \"[]\" > \"${BUNDLE_DIR}\u002Fprocesses.json\"\n\nfor PID in $(jq -r '.[].project_id' \"${BUNDLE_DIR}\u002Fprojects.json\" 2>\u002Fdev\u002Fnull); do\n  curl -s -H \"X-Api-Token: ${LOKALISE_API_TOKEN}\" \\\n    \"https:\u002F\u002Fapi.lokalise.com\u002Fapi2\u002Fprojects\u002F${PID}\u002Fprocesses?limit=10\" \\\n    | jq --arg pid \"$PID\" '[.processes[]? | {project_id: $pid, type: .type, status: .status, created_at: .created_at, message: .message}]' \\\n    >> \"${BUNDLE_DIR}\u002Fprocesses-raw.json\" 2>\u002Fdev\u002Fnull || true\n  sleep 0.17  # Respect 6 req\u002Fs rate limit\ndone\n\n# Merge all process entries\njq -s 'flatten' \"${BUNDLE_DIR}\u002Fprocesses-raw.json\" > \"${BUNDLE_DIR}\u002Fprocesses.json\" 2>\u002Fdev\u002Fnull || true\nrm -f \"${BUNDLE_DIR}\u002Fprocesses-raw.json\"\n\nPROC_COUNT=$(jq 'length' \"${BUNDLE_DIR}\u002Fprocesses.json\" 2>\u002Fdev\u002Fnull || echo \"0\")\necho \"Found ${PROC_COUNT} recent upload processes.\"\n```\n\n### Step 6: Collect and Redact Application Logs\n\n```bash\nset -euo pipefail\n# Gather any lokalise-related log lines from common locations\n{\n  echo \"=== npm debug log (if exists) ===\"\n  cat ~\u002F.npm\u002F_logs\u002F*-debug.log 2>\u002Fdev\u002Fnull | grep -i lokalise | tail -50 || echo \"No npm debug logs\"\n\n  echo -e \"\\n=== Application stderr\u002Fstdout (recent) ===\"\n  grep -ri \"lokalise\" \u002Ftmp\u002F*.log 2>\u002Fdev\u002Fnull | tail -30 || echo \"No \u002Ftmp logs found\"\n} > \"${BUNDLE_DIR}\u002Flogs-raw.txt\" 2>\u002Fdev\u002Fnull || true\n\n# Redact sensitive values\nsed -E \\\n  -e 's\u002F([0-9a-f]{32,})\u002F[REDACTED_TOKEN]\u002Fgi' \\\n  -e 's\u002F(X-Api-Token:\\s*)[^ ]*\u002F\\1[REDACTED]\u002Fgi' \\\n  -e 's\u002F(apiKey:\\s*[\"'\"'\"']?)[^\"'\"'\"',]+\u002F\\1[REDACTED]\u002Fgi' \\\n  -e 's\u002F[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}\u002F[REDACTED_EMAIL]\u002Fg' \\\n  \"${BUNDLE_DIR}\u002Flogs-raw.txt\" > \"${BUNDLE_DIR}\u002Flogs-redacted.txt\" 2>\u002Fdev\u002Fnull || true\nrm -f \"${BUNDLE_DIR}\u002Flogs-raw.txt\"\necho \"Logs collected and redacted.\"\n```\n\n### Step 7: Create the tar.gz Bundle\n\n```bash\nset -euo pipefail\ntar -czf \"${BUNDLE_DIR}.tar.gz\" \"${BUNDLE_DIR}\u002F\"\nSIZE=$(du -h \"${BUNDLE_DIR}.tar.gz\" | cut -f1)\necho \"Bundle created: ${BUNDLE_DIR}.tar.gz (${SIZE})\"\necho \"Contents:\"\ntar -tzf \"${BUNDLE_DIR}.tar.gz\"\n```\n\n## Output\n\n- `lokalise-debug-YYYYMMDD-HHMMSS.tar.gz` archive containing:\n  - `environment.txt` — Node.js, SDK, CLI versions, token status\n  - `api-connectivity.txt` — DNS, HTTPS latency, rate limit headers\n  - `projects.json` — Project list with key\u002Flanguage counts and progress\n  - `processes.json` — Recent file upload process statuses per project\n  - `logs-redacted.txt` — Relevant logs with tokens and emails scrubbed\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| `401 Unauthorized` | Token invalid or expired | Regenerate token in Lokalise > User Profile > API Tokens |\n| `403 Forbidden` | Token lacks read scope | Use a read-write token or admin token |\n| `429 Too Many Requests` | Rate limit exceeded during project scan | Script includes `sleep 0.17` between calls; reduce `--limit` if still hitting |\n| Empty `projects.json` | Token has no project access | Verify the token owner is a contributor on at least one project |\n| `nslookup` fails | DNS resolution blocked | Try `dig api.lokalise.com` or check `\u002Fetc\u002Fresolv.conf` |\n| `tar` permission denied | Bundle dir in read-only location | Run from a writable directory like `~\u002Ftmp` |\n\n## Examples\n\n### Quick One-Liner API Health Check\n\n```bash\nset -euo pipefail\ncurl -s -w \"\\nHTTP %{http_code} in %{time_total}s\\n\" \\\n  -H \"X-Api-Token: $LOKALISE_API_TOKEN\" \\\n  \"https:\u002F\u002Fapi.lokalise.com\u002Fapi2\u002Fprojects?limit=1\" | jq '{project: .projects[0].name, keys: .projects[0].statistics.keys_total}'\n```\n\n### Check SDK Version Programmatically\n\n```bash\nset -euo pipefail\nnode -e \"const pkg = require('@lokalise\u002Fnode-api\u002Fpackage.json'); console.log('SDK:', pkg.version, '| Node:', process.version)\"\n```\n\n### Redaction Safety Checklist\n\n**Always redacted:** API tokens, webhook secrets, OAuth credentials, email addresses, any 32+ character hex strings.\n\n**Safe to include:** Error messages, stack traces (after redaction pass), SDK and runtime versions, project IDs, HTTP status codes, rate limit header values.\n\n## Resources\n\n- [Lokalise API Reference](https:\u002F\u002Fdevelopers.lokalise.com\u002Freference)\n- [Lokalise Status Page](https:\u002F\u002Fstatus.lokalise.com)\n- [Lokalise Support](mailto:support@lokalise.com)\n- [Community Forum](https:\u002F\u002Fcommunity.lokalise.com)\n- [Rate Limits Documentation](https:\u002F\u002Fdevelopers.lokalise.com\u002Fdocs\u002Fapi-rate-limits)\n\n## Next Steps\n\n- For rate limit issues found in the bundle, see `lokalise-performance-tuning`.\n- For SDK version mismatches, see `lokalise-upgrade-migration`.\n- Attach the `.tar.gz` bundle directly to a Lokalise support ticket at support@lokalise.com.\n",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"saas","lokalise","debugging","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Collect Lokalise debug evidence for support tickets and troubleshooting.\nUse when encountering persistent issues, preparing support tickets,\nor collecting diagnostic information for Lokalise problems.\nTrigger with phrases like \"lokalise debug\", \"lokalise support bundle\",\n\"collect lokalise logs\", \"lokalise diagnostic\".\n","Read, Bash(grep:*), Bash(curl:*), Bash(tar:*), Bash(lokalise2:*), Bash(node:*), Bash(npm:*), Bash(jq:*), Bash(sed:*), Bash(mkdir:*), Grep","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--lokalise-pack--lokalise-debug-bundle",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill lokalise-debug-bundle",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill lokalise-debug-bundle",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill lokalise-debug-bundle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--lokalise-pack--lokalise-debug-bundle\u002FSKILL.md",true,[],[57,64,71,78,85,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"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":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]