From glean-pack
Collects Glean diagnostic bundle via API: datasource config, indexing status, search quality metrics. For support tickets on search/indexing issues.
How this skill is triggered — by the user, by Claude, or both
Slash command
/glean-pack:glean-debug-bundleThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
#!/bin/bash
BUNDLE="glean-debug-$(date +%Y%m%d-%H%M%S)"
mkdir -p "$BUNDLE"
echo "=== Glean Debug Bundle ===" | tee "$BUNDLE/summary.txt"
# Datasource config
curl -s -X POST "https://$GLEAN_DOMAIN/api/index/v1/getdatasourceconfig" \
-H "Authorization: Bearer $GLEAN_INDEXING_TOKEN" \
-H "Content-Type: application/json" \
-d '{"datasource":"'$GLEAN_DATASOURCE'"}' > "$BUNDLE/datasource-config.json"
# Test search
curl -s -X POST "https://$GLEAN_DOMAIN/api/client/v1/search" \
-H "Authorization: Bearer $GLEAN_CLIENT_TOKEN" \
-H "X-Glean-Auth-Type: BEARER" \
-H "Content-Type: application/json" \
-d '{"query":"test","pageSize":1}' > "$BUNDLE/search-test.json"
tar -czf "$BUNDLE.tar.gz" "$BUNDLE" && rm -rf "$BUNDLE"
echo "Bundle: $BUNDLE.tar.gz"
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin glean-packDiagnoses and fixes common Glean API errors like auth failures, indexing issues, empty search results, bulk uploads, and permissions. Auto-activates on 'glean error' queries.
Generates Algolia debug bundles with index stats, API key ACLs, query logs, and network diagnostics for support tickets and troubleshooting.
Collects SerpApi diagnostics including account status, recent searches, test results, and environment info into a bundle for troubleshooting or support tickets.