glean-core-workflow-a

Featured

Execute Glean primary workflow: search, chat, and AI-powered answers across enterprise data. Use when building search integrations, implementing Glean chat, or creating AI assistants. Trigger: "glean search API", "glean chat", "glean AI answers", "enterprise search".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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. ## Instructions ### Step 1: Search with Filters and Facets ```typescript const results = await fetch(`${GLEAN}/client/v1/search`, { method: 'POST', headers: searchHeaders, body: JSON.stringify({ query: 'kubernetes deployment best practices', pageSize: 20, requestOptions: { datasourceFilter: 'confluence,github', facetFilters: [{ fieldName: 'author', values: ['engineering-team'] }], }, }), }).then(r => r.json()); results.results?.forEach((r: any) => { console.log(`[${r.datasource}] ${r.title}`); console.log(` ${r.snippets?.[0]?.snippet ?? ''}`); }); ``` ### Step 2: AI Chat (Glean Assistant) ```typescript const chatResponse = await fetch(`${GLEAN}/client/v1/chat`, { method: 'POST', headers: searchHeaders, body: JSON.stringify({ messages: [{ role: 'USER', content: 'What is our deployment process for production?' }], applicationId: 'my-app', }), }).then(r => r.json()); console.log('Answer:', chatResponse.messages?.[0]?.content); console.log('Sources:', chatResponse.citations?.map((c: any) => c.title).join(', ')); ``` ### Step 3: Autocomplete / Suggestions ```typescript const suggestions = await fetch(`${GLEAN}/client/v1/autocomplete`, { method: 'POST', headers: searchHeaders, body: JSON.stringify({ query: 'deplo...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

glean-hello-world

Index documents into Glean and search them back using the Indexing and Client APIs. Use when starting a new Glean custom connector, testing search quality, or learning the index/search pattern. Trigger: "glean hello world", "glean example", "glean index document", "glean search".

2,266 Updated today
jeremylongshore
AI & Automation Featured

glean-core-workflow-b

Execute Glean secondary workflow: bulk document indexing, custom datasource connectors, and content lifecycle management via the Indexing API. Trigger: "glean bulk index", "glean custom connector", "glean datasource", "glean indexing".

2,266 Updated today
jeremylongshore
AI & Automation Featured

glean-reference-architecture

Enterprise architecture: Source Systems -> Connectors (Cloud Run/Lambda, event-driven or scheduled) -> Glean Indexing API -> Glean Search Index -> Client API (Search + Chat) -> Your Apps (Slack bot, portal, internal tools). Trigger: "glean reference architecture", "reference-architecture".

2,266 Updated today
jeremylongshore
AI & Automation Featured

glean-sdk-patterns

Apply production-ready Glean API patterns with typed clients, batch indexing, pagination, and error handling. Trigger: "glean SDK patterns", "glean best practices", "glean API client".

2,266 Updated today
jeremylongshore
AI & Automation Featured

glean-deploy-integration

Deploy Glean custom connectors as scheduled jobs on Cloud Run, Lambda, or Fly.io. Trigger: "deploy glean connector", "glean connector hosting", "schedule glean indexing".

2,266 Updated today
jeremylongshore