Agent skill · software engineering · jeremylongshore
glean-core-workflow-a
Execute Glean primary workflow: search, chat, and AI-powered answers
Why this skill is useful
Provides specific API commands and error handling for Glean's search and chat functionalities that the AI wouldn't reliably generate on its own.
What it needs
Requires npm installed locally. Requires glean account access. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
Glean Core Workflow A: Search & Chat Overview Build search and chat experiences using the Glean Client API. Covers full-text search with filters, AI-powered chat answers, and autocomplete suggestions. Prerequisites A scoped search identity, approved datasource filter, and synthetic terms that cannot retrieve company-sensitive material. User-consent and retention policy for any analytics, chat history, or feedback capture. A rollback path that disables the client or filter without changing source documents or connector ACLs. Instructions Step 1: Search with Filters and Facets Step 2: AI Chat (Glean Assistant) Step 3: Autocomplete / Suggestions Error Handling Error Cause Solution ------- ------- ---------- Empty results Query too specific or datasource not indexed Broaden query, check datasource status Chat returns no citations Content not indexed for chat Verify documents have body text 403 on search User permissions Ensure token has search scope Output Return a redacted workflow receipt containing datasource scope, correlation ID, result-count band, allow/deny outcomes, and fallback used. Never record query text, titles, snippets, transcripts, or credentials. Examples Run a fictional query against sandbox-handbook, verify one authorized identity sees the sample while a denied identity sees none, and record scope=sandbox-handbook; allow=1; deny=0; fallback=none. Resources Search API Chat API Next Steps For bulk indexing workflow, see glean-core-workflow-b.
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/glean-core-workflow-a