Agent skill

Glean Deploy Integration

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Deploy Glean custom connectors as scheduled jobs on Cloud Run, Lambda, or Fly.io.

MITAuto-check passedDevOps & Cloud

Install Glean Deploy Integration

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill glean-deploy-integration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace glean-deploy-integration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/glean-deploy-integration .claude/skills/glean-deploy-integration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
glean-deploy-integration
GitHub stars
2.8k
Token cost
~1.4k tokens
SKILL.md length
340 words
Files
1
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Deploy Glean custom connectors as scheduled jobs on Cloud Run, Lambda, or Fly.io.

  • Works in 4 steps: Build → Run → Verify → …
  • Tasks that involve Deployment
  • SKILL.md covers Overview, Docker Configuration, Environment Variables and Health Check Endpoint, plus 8 more sections
  • Calls docker, curl and jq; reaches company-be.glean.com; needs GLEAN_API_KEY

What it does

Glean Deploy Integration is an agent skill from jeremylongshore/tons-of-skills-marketplace. Deploy Glean custom connectors as scheduled jobs on Cloud Run, Lambda, or Fly.io. Trigger: "deploy glean connector", "glean connector hosting", "schedule glean indexing".

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code

It sits in DevOps & Cloud, covering Deployment and Background jobs. It works with Cloud Run. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Tasks that involve Deployment
  • Tasks that involve Background jobs

Example prompts

  • “deploy glean connector”
  • “glean connector hosting”
  • “schedule glean indexing”
  • “/glean-deploy-integration”

Requirements

  • Docker
  • A credential in GLEAN_API_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash(npm:*), Bash(gcloud:*), Grep

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Build
  2. Run
  3. Verify
  4. Rolling Update

What it can do on your machine

Read from SKILL.md and the folder at commit 80f86df. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash(npm:*)
    • Bash(gcloud:*)
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • docker
    • curl
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • company-be.glean.com

    Also links to:

    • developers.glean.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GLEAN_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Glean Deploy Integration loads about 1.4k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 340 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit 80f86df, republished under its MIT licence (© jeremylongshore). 340 words, ~1,372 tokens.

Download SKILL.mdSave it as .claude/skills/glean-deploy-integration/SKILL.md (or your agent's skills folder).
name
glean-deploy-integration
description
Deploy Glean custom connectors as scheduled jobs on Cloud Run, Lambda, or Fly.io. Trigger: "deploy glean connector", "glean connector hosting", "schedule glean indexing".
allowed-tools
Read, Write, Edit, Bash(npm:*), Bash(gcloud:*), Grep
compatibility
Designed for Claude Code
version
1.8.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, enterprise-search, glean

Glean Deploy Integration

Overview

Deploy a containerized Glean enterprise search integration service with Docker. This skill covers building a production image that connects to Glean's Indexing and Search APIs for managing document ingestion, custom datasource connectors, and search queries. Includes environment configuration for multi-datasource indexing, health checks that verify API connectivity and indexing status, and rolling update strategies that avoid interrupting active indexing jobs.

Docker Configuration

dockerfile
FROM node:20-slim AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY tsconfig.json ./
COPY src/ ./src/
RUN npm run build

FROM node:20-slim
RUN addgroup --system app && adduser --system --ingroup app app
WORKDIR /app
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY package*.json ./
USER app
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
  CMD curl -f http://localhost:3000/health || exit 1
CMD ["node", "dist/index.js"]

Environment Variables

bash
export GLEAN_API_KEY="glean_xxxxxxxxxxxx"
export GLEAN_BASE_URL="https://company-be.glean.com/api/index/v1"
export GLEAN_DATASOURCE="custom-wiki"
export GLEAN_DOMAIN="company-be.glean.com"
export LOG_LEVEL="info"
export PORT="3000"
export NODE_ENV="production"

Health Check Endpoint

typescript
import express from 'express';

const app = express();

app.get('/health', async (req, res) => {
  try {
    const response = await fetch(`https://${process.env.GLEAN_DOMAIN}/api/index/v1/getdatasourceconfig`, {
      method: 'POST',
      headers: {
        'Authorization': `Bearer ${process.env.GLEAN_API_KEY}`,
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({ datasource: process.env.GLEAN_DATASOURCE }),
    });
    if (!response.ok) throw new Error(`Glean API returned ${response.status}`);
    res.json({ status: 'healthy', service: 'glean-integration', datasource: process.env.GLEAN_DATASOURCE, timestamp: new Date().toISOString() });
  } catch (error) {
    res.status(503).json({ status: 'unhealthy', error: (error as Error).message });
  }
});

Deployment Steps

Step 1: Build
bash
docker build -t glean-integration:latest .
Step 2: Run
bash
docker run -d --name glean-integration \
  -p 3000:3000 \
  -e GLEAN_API_KEY -e GLEAN_BASE_URL -e GLEAN_DATASOURCE -e GLEAN_DOMAIN \
  glean-integration:latest
Step 3: Verify
bash
curl -s http://localhost:3000/health | jq .
Step 4: Rolling Update
bash
docker build -t glean-integration:v2 . && \
docker stop glean-integration && \
docker rm glean-integration && \
docker run -d --name glean-integration -p 3000:3000 \
  -e GLEAN_API_KEY -e GLEAN_BASE_URL -e GLEAN_DATASOURCE -e GLEAN_DOMAIN \
  glean-integration:v2

Error Handling

IssueCauseFix
401 UnauthorizedInvalid indexing tokenRegenerate token in Glean admin under Custom Connectors
403 ForbiddenDatasource not registeredCreate datasource in Glean admin before indexing
400 Bad RequestMalformed document payloadValidate document schema against Glean Indexing API spec
429 Rate LimitedExceeding indexing rate limitsBatch documents (max 100 per request) and add backoff
Stale search resultsConnector not running on scheduleVerify cron schedule or Cloud Scheduler job status

Prerequisites

  • An approved deployment change, environment-specific secret references, and a destination allowlist that distinguishes sandbox, staging, and production.
  • Health, freshness, and synthetic allow/deny baselines plus a tested rollback artifact.
  • A canary datasource that carries only approved data and has a named owner.

Instructions

  1. Build and test the immutable artifact with mocked or sandbox fixtures; refuse literal credentials and unknown destinations.
  2. Deploy to staging, verify health, bounded index behavior, freshness, and both authorization probes before requesting production approval.
  3. Release first to the canary datasource with concurrency and retry caps, monitoring errors and redacted correlation IDs.
  4. Promote in stages only while all probes remain within budget; restore the previous artifact/configuration immediately on regression.
  5. Retain the release receipt and rollback result, then revoke any temporary deployment credential.

Output

Produce a deployment receipt with artifact digest, environment, canary datasource, health/freshness/allow/deny outcomes, owner approval, rollout state, and rollback reference. Exclude secrets and indexed content.

Examples

artifact=sha256:opaque; env=staging; canary=sandbox-guides; health=pass; freshness=pass; allow=pass; deny=pass; rollback=release-r31 supports a controlled promotion.

Resources

Next Steps

See glean-webhooks-events.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/.curated/glean-deploy-integration of jeremylongshore/tons-of-skills-marketplace.

Open the folder on GitHubat commit 80f86df

Compare with similar skills

Glean Deploy Integration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Glean Deploy Integration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Glean Deploy Integration this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.4kAutomated safety check: PassMIT
Gke Batch Hpcgoogle/skills21k—~1.4kAutomated safety check: PassApache-2.0
Broccoli Oss GCP Deploybesimple-oss/broccoli286—~4.1kAutomated safety check: PassMIT
Canaryatelier-fashion/adlc-toolkit171—~2.2kAutomated safety check: PassMIT
Google Agents CLI Deploypifferologo/cloud-agents-cli1291 repos~6kAutomated safety check: PassApache-2.0
Google Agents CLI Publishpifferologo/cloud-agents-cli1291 repos~2.4kAutomated safety check: PassApache-2.0

Similar skills

  • Gke Batch Hpc

    google/skills

    Official

    Runs batch and HPC workloads on GKE, utilizing job queues and parallel processing.

    21k GitHub stars~1.4k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Broccoli Oss GCP Deploy

    besimple-oss/broccoli

    Deploy this repository to a new Google Cloud project using the repo's existing Cloud Run, Cloud Run Jobs, Cloud SQL, Secret Manager, and Artifact Registry scripts.

    286 GitHub stars~4.1k tokensUpdated 5 mo ago
    DevOps & CloudAuto-check passed
  • Canary

    atelier-fashion/adlc-toolkit

    Canary deployment with smoke tests — deploy to a zero-traffic revision, run health checks, and promote on success.

    171 GitHub stars~2.2k tokensUpdated 11 days ago
    DevOps & CloudAuto-check passed
  • Google Agents CLI Deploy

    pifferologo/cloud-agents-cli

    This skill should be used when the user wants to "deploy an agent", "deploy my ADK agent", "set up CI/CD", "configure secrets", "troubleshoot a deployment", or needs guidance on Agent Runtime, Cloud…

    129 GitHub starsUsed in 1 repo~6k tokens
    DevOps & CloudAuto-check passed
  • Google Agents CLI Publish

    pifferologo/cloud-agents-cli

    This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini Enterprise", "publish to Gemini Enterprise", or needs guidance on the…

    129 GitHub starsUsed in 1 repo~2.4k tokens
    DevOps & CloudAuto-check passed
  • Deploying

    GoogleCloudPlatform/race-condition

    Guides deployment of Race Condition to a GCP project. An agent skill from GoogleCloudPlatform/race-condition.

    234 GitHub stars~3k tokensUpdated 4 days ago
    DevOps & CloudAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated yesterday
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Glean Deploy Integration

What does Glean Deploy Integration do?

Deploy Glean custom connectors as scheduled jobs on Cloud Run, Lambda, or Fly.io. Glean Deploy Integration is an agent skill from jeremylongshore/tons-of-skills-marketplace.io.

When should I use Glean Deploy Integration?

Glean Deploy Integration fits situations like: tasks that involve Deployment; tasks that involve Background jobs.

How do I install Glean Deploy Integration in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill glean-deploy-integration -a claude-code`. Or copy the skill folder (skills/.curated/glean-deploy-integration in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/glean-deploy-integration in your project. Claude Code loads it when a task matches its description.

How do I install Glean Deploy Integration in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill glean-deploy-integration -a codex`. Or copy the skill folder (skills/.curated/glean-deploy-integration in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/glean-deploy-integration in your project. Codex loads it when a task matches its description.

Can I use Glean Deploy Integration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill glean-deploy-integration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/glean-deploy-integration, .gemini/skills/glean-deploy-integration, .github/skills/glean-deploy-integration and .opencode/skills/glean-deploy-integration in your project.

What does Glean Deploy Integration need to run?

Going by SKILL.md and its folder, Glean Deploy Integration needs the command-line tools its instructions call (docker, curl and jq) and credentials named GLEAN_API_KEY. Our summary lists: Docker; A credential in GLEAN_API_KEY. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash(npm:*), Bash(gcloud:*), Grep. Compatibility (from SKILL.md): Designed for Claude Code.

Does Glean Deploy Integration access the network?

SKILL.md names 2 domains. In commands or code: company-be.glean.com; the agent is likely to contact it when it follows the instructions. As links in the text: developers.glean.com. This is read from the text; nothing was executed.

Is Glean Deploy Integration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Glean Deploy Integration use?

Glean Deploy Integration is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Glean Deploy Integration use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Glean Deploy Integration?

Skills that share tags, products or a category with Glean Deploy Integration: Gke Batch Hpc (google/skills, 21k stars), Broccoli Oss GCP Deploy (besimple-oss/broccoli, 286 stars), Canary (atelier-fashion/adlc-toolkit, 171 stars) and Google Agents CLI Deploy (pifferologo/cloud-agents-cli, 129 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Glean Deploy Integration?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,825 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 9, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.