Lokalise Debug BundleBLOCK
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Overview
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
4f83675ca38aOBSERVED · 2026-10-09Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| claude-code | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: lokalise-debug-bundle description: 'Collect Lokalise debug evidence for support tickets and troubleshooting. Use when encountering persistent issues, preparing support tickets, or collecting diagnostic information for Lokalise problems. Trigger with phrases like "lokalise debug", "lokalise support bundle", "collect lokalise logs", "lokalise diagnostic". ' allowed-tools: Read, Bash(grep:*), Bash(curl:*), Bash(tar:*), Bash(lokalise2:*), Bash(node:*), Bash(npm:*), Bash(jq:*), Bash(sed:*), Bash(mkdir:*), Grep version: 1.14.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - lokalise - debugging compatibility: Designed for Claude Code --- # Lokalise Debug Bundle ## Current State !`node --version 2>/dev/null || echo 'N/A'` !`python3 --version 2>/dev/null || echo 'N/A'` !`uname -a` ## Overview Collect all diagnostic information needed to troubleshoot Lokalise integration issues or file a support ticket — environment versions, SDK/CLI status, API connectivity, project listings with key counts, upload process status, and redacted logs, bundled into a timestamped `.tar.gz` archive. ## Prerequisites - `LOKALISE_API_TOKEN` environment variable set (or token available to provide) - `curl` and `jq` available on PATH - Optional: `@lokalise/node-api` SDK installed in current project - Optional: `lokalise2` CLI installed ## Instructions ### Step 1: Create the Bundle Directory ```bash set -euo pipefail TIMESTAMP=$(date +%Y%m%d-%H%M%S) BUNDLE_DIR="lokalise-debug-${TIMESTAMP}" mkdir -p "${BUNDLE_DIR}" echo "Bundle directory: ${BUNDLE_DIR}" ``` ### Step 2: Collect Environment Information ```bash set -euo pipefail cat > "${BUNDLE_DIR}/environment.txt" <<ENVEOF === System === OS: $(uname -srm) Shell: ${SHELL:-unknown} Date: $(date -u +"%Y-%m-%dT%H:%M:%SZ") === Runtime Versions === Node.js: $(node --version 2>/dev/null || echo 'not installed') npm: $(npm --version 2>/dev/null || echo 'not installed') Python: $(python3 --version 2>/dev/null || echo 'not installed') === Lokalise SDK === $(npm list @lokalise/node-api 2>/dev/null || echo 'SDK not found in project') === Lokalise CLI === $(lokalise2 --version 2>/dev/null || echo 'CLI not installed') === Token Status === LOKALISE_API_TOKEN: $([ -n "${LOKALISE_API_TOKEN:-}" ] && echo "SET (${#LOKALISE_API_TOKEN} chars)" || echo "NOT SET") ENVEOF echo "Environment info collected." ``` ### Step 3: Test API Connectivity ```bash set -euo pipefail echo "=== API Connectivity Test ===" > "${BUNDLE_DIR}/api-connectivity.txt" # Test DNS resolution echo -e "\n--- DNS Resolution ---" >> "${BUNDLE_DIR}/api-connectivity.txt" nslookup api.lokalise.com 2>&1 | tail -4 >> "${BUNDLE_DIR}/api-connectivity.txt" || echo "nslookup failed" >> "${BUNDLE_DIR}/api-connectivity.txt" # Test HTTPS connectivity and response time echo -e "\n--- HTTPS Connectivity ---" >> "${BUNDLE_DIR}/api-connectivity.txt" curl -s -o /dev/null -w "HTTP Status: %{http_code}\nConnect Time: %{time_connect}s\nTTFB: %{time_starttransfer}s\nTotal Time: %{time_total}s\nRemote IP: %{remote_ip}\n" \ -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ "https://api.lokalise.com/api2/system/languages?limit=1" \ >> "${BUNDLE_DIR}/api-connectivity.txt" 2>&1 # Check rate limit headers echo -e "\n--- Rate Limit Headers ---" >> "${BUNDLE_DIR}/api-connectivity.txt" curl -s -D - -o /dev/null \ -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ "https://api.lokalise.com/api2/system/languages?limit=1" 2>/dev/null \ | grep -iE '(x-ratelimit|retry-after)' >> "${BUNDLE_DIR}/api-connectivity.txt" || echo "No rate limit headers found" >> "${BUNDLE_DIR}/api-connectivity.txt" echo "API connectivity tested." ``` ### Step 4: List Projects and Key Counts ```bash set -euo pipefail echo "Fetching project list..." curl -s -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ "https://api.lokalise.com/api2/projects?limit=100&include_statistics=1" \ | jq '[.projects[] | { project_id: .project_id, name: .name, base_language: .base_language_iso, keys: .statistics.keys_total, languages: (.statistics.languages // [] | length), progress: .statistics.progress_total, created: .created_at }]' > "${BUNDLE_DIR}/projects.json" 2>/dev/null || echo '{"error": "Failed to fetch projects"}' > "${BUNDLE_DIR}/projects.json" # Summary line PROJ_COUNT=$(jq 'length' "${BUNDLE_DIR}/projects.json" 2>/dev/null || echo "0") TOTAL_KEYS=$(jq '[.[].keys // 0] | add // 0' "${BUNDLE_DIR}/projects.json" 2>/dev/null || echo "0") echo "Found ${PROJ_COUNT} projects with ${TOTAL_KEYS} total keys." ``` ### Step 5: Check File Upload Process Status ```bash set -euo pipefail # Check queued processes for each project (file uploads are async) echo "[]" > "${BUNDLE_DIR}/processes.json" for PID in $(jq -r '.[].project_id' "${BUNDLE_DIR}/projects.json" 2>/dev/null); do curl -s -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ "https://api.lokalise.com/api2/projects/${PID}/processes?limit=10" \ | jq --arg pid "$PID" '[.processes[]? | {project_id: $pid, type: .type, status: .status, created_at: .created_at, message: .message}]' \ >> "${BUNDLE_DIR}/processes-raw.json" 2>/dev/null || true sleep 0.17 # Respect 6 req/s rate limit done # Merge all process entries jq -s 'flatten' "${BUNDLE_DIR}/processes-raw.json" > "${BUNDLE_DIR}/processes.json" 2>/dev/null || true rm -f "${BUNDLE_DIR}/processes-raw.json" PROC_COUNT=$(jq 'length' "${BUNDLE_DIR}/processes.json" 2>/dev/null || echo "0") echo "Found ${PROC_COUNT} recent upload processes." ``` ### Step 6: Collect and Redact Application Logs ```bash set -euo pipefail # Gather any lokalise-related log lines from common locations { echo "=== npm debug log (if exists) ===" cat ~/.npm/_logs/*-debug.log 2>/dev/null | grep -i lokalise | tail -50 || echo "No npm debug logs" echo -e "\n=== Application stderr/stdout (recent) ===" grep -ri "lokalise" /tmp/*.log 2>/dev/null | tail -30 || echo "No /tmp logs found" } > "${BUNDLE_DIR}/logs-raw.txt"
Trust audit
BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | FAIL |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (1)
**Always redacted:** API tokens, webhook secrets, OAuth credentials, email addresses, any 32+ character hex strings.
Gates applied: critical_finding, no_behavioural_pass, undeclared_transfer.
4f83675ca38afull audit observations/trust-audit/skill/jeremylongshore__lokalise-debug-bundle.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 4f83675ca38a | BLOCK | D | 69 | first audit |
Questions
What does the Lokalise Debug Bundle skill do?
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Is Lokalise Debug Bundle safe to install?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.
What can Lokalise Debug Bundle access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Lokalise Debug Bundle work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (4f83675ca38a), read on 2026-10-09. The repository is watched, and a new audit runs when it changes — this is the first audit.