From glean-pack
Diagnoses and fixes common Glean API errors like auth failures, indexing issues, empty search results, bulk uploads, and permissions. Auto-activates on 'glean error' queries.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin glean-packThis skill is limited to using the following tools:
**Cause:** Invalid or expired API token.
Provides typed TypeScript client for Glean API with batch indexing, pagination, search, and error handling. Useful for production Glean integrations.
Searches and fetches Glean developer docs via MCP tools for APIs, SDKs (Python/JS), MCP config, authentication, indexing, and integrations.
Diagnoses and fixes common Algolia API errors: 400, 403, 404, 429, ApiError, RetryError, indexing failures. Includes curl tests, bash checks, and TypeScript examples.
Share bugs, ideas, or general feedback.
Cause: Invalid or expired API token. Fix: Regenerate token in Admin > Settings > API Tokens.
Cause: Using indexing token for search or vice versa.
Fix: Indexing API uses indexing tokens. Client API uses client tokens with X-Glean-Auth-Type: BEARER.
Causes: Documents still processing (1-5 min), permissions blocking, query doesn't match. Fix: Wait 5 minutes. Check permissions allow the searching user. Broaden query.
| Error | Cause | Solution |
|---|---|---|
uploadId already used | Duplicate upload | Generate unique ID per run |
document too large | Body > 100KB | Truncate or split content |
invalid datasource | Datasource not created | Run adddatasource first |
missing required field | No id or title | Ensure all documents have both |
Cause: Document permissions restrict visibility.
Fix: Set allowAnonymousAccess: true for public docs or add specific users/groups.