Agent Skills: Glean Debug Bundle

|

UncategorizedID: jeremylongshore/claude-code-plugins-plus-skills/glean-debug-bundle

Install this agent skill to your local

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

Skill Files

Browse the full folder contents for glean-debug-bundle.

Download Skill

Loading file tree…

plugins/saas-packs/glean-pack/skills/glean-debug-bundle/SKILL.md

Skill Metadata

Name
glean-debug-bundle
Description
|

Glean Debug Bundle

Diagnostic Script

#!/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