algolia-debug-bundle

Featured

Collect Algolia debug evidence: index stats, API key ACLs, query logs, and network diagnostics for support tickets. Trigger: "algolia debug", "algolia support bundle", "collect algolia logs", "algolia diagnostic", "algolia troubleshoot".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Algolia Debug Bundle ## Overview Collect all necessary diagnostic information for Algolia support tickets or internal troubleshooting. Uses real Algolia API endpoints to gather index stats, key permissions, and query performance data. ## Prerequisites - `ALGOLIA_APP_ID` and `ALGOLIA_ADMIN_KEY` environment variables set - `curl` and `jq` available - Permission to read API key ACLs and index settings ## Instructions ### Step 1: Create the Debug Bundle Script ```bash #!/bin/bash # algolia-debug-bundle.sh set -euo pipefail APP_ID="${ALGOLIA_APP_ID:?Set ALGOLIA_APP_ID}" API_KEY="${ALGOLIA_ADMIN_KEY:?Set ALGOLIA_ADMIN_KEY}" BUNDLE_DIR="algolia-debug-$(date +%Y%m%d-%H%M%S)" BASE_URL="https://${APP_ID}-dsn.algolia.net" HEADERS=(-H "X-Algolia-Application-Id: ${APP_ID}" -H "X-Algolia-API-Key: ${API_KEY}") mkdir -p "$BUNDLE_DIR" echo "=== Algolia Debug Bundle ===" | tee "$BUNDLE_DIR/summary.txt" echo "Generated: $(date -u +%Y-%m-%dT%H:%M:%SZ)" | tee -a "$BUNDLE_DIR/summary.txt" echo "App ID: $APP_ID" | tee -a "$BUNDLE_DIR/summary.txt" # 1. List all indices with record counts echo "--- Indices ---" >> "$BUNDLE_DIR/summary.txt" curl -s "${BASE_URL}/1/indexes" "${HEADERS[@]}" \ | jq '.items[] | {name, entries, dataSize, lastBuildTimeS}' \ > "$BUNDLE_DIR/indices.json" 2>/dev/null echo "Indices saved" >> "$BUNDLE_DIR/summary.txt" # 2. Check API key permissions (redacted key) echo "--- API Key ACL ---" >> "$BUNDLE_DIR/summary.txt" curl -s "${BASE_URL}/1/keys" "${HEADERS[@]}"...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category