Agent skill

glean-debug-bundle

Collect Glean diagnostic information for support including datasource config, indexing status, and search quality metrics. Trigger: "glean debug", "glean support", "glean diagnostic".

Stars 1,803
Forks 241

Install this agent skill to your Project

npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/main/plugins/saas-packs/glean-pack/skills/glean-debug-bundle

SKILL.md

Glean Debug Bundle

Diagnostic Script

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"

Resources

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results