Enterprise Search
ZhixiangLuo/10xProductivity
Search your entire company's institutional knowledge in one query — Slack, Confluence, Jira, Linear, Notion, GitHub, plus any AI or multi-source search tool listed in verifiedconnections.md.
Provides knowledge on using the glean CLI tool to access company knowledge and documents through Glean.
$ npx skills add sammcj/agentic-coding --skill glean-cli -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sammcj/agentic-coding glean-cli --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Skills_disabled/glean-cli .claude/skills/glean-cli && rm -rf skills-srcUse ~/.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/
Install the "glean-cli" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/glean-cli into .claude/skills/glean-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glean-cli", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/glean-cliType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sammcj/agentic-coding --skill glean-cli -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sammcj/agentic-coding glean-cli --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .agents/skills && cp -r skills-src/Skills_disabled/glean-cli .agents/skills/glean-cli && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "glean-cli" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/glean-cli into .agents/skills/glean-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glean-cli", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sammcj/agentic-coding --skill glean-cli -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sammcj/agentic-coding glean-cli --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/Skills_disabled/glean-cli .cursor/skills/glean-cli && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "glean-cli" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/glean-cli into .cursor/skills/glean-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glean-cli", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sammcj/agentic-coding.git --path Skills_disabled/glean-cli--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sammcj/agentic-coding --skill glean-cli -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sammcj/agentic-coding glean-cli --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/Skills_disabled/glean-cli .gemini/skills/glean-cli && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "glean-cli" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/glean-cli into .gemini/skills/glean-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glean-cli", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sammcj/agentic-coding glean-cliInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sammcj/agentic-coding --skill glean-cli -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .github/skills && cp -r skills-src/Skills_disabled/glean-cli .github/skills/glean-cli && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "glean-cli" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/glean-cli into .github/skills/glean-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glean-cli", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sammcj/agentic-coding --skill glean-cli -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sammcj/agentic-coding glean-cli --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/Skills_disabled/glean-cli .opencode/skills/glean-cli && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "glean-cli" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/glean-cli into .opencode/skills/glean-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glean-cli", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
glean-cliProvides knowledge on using the glean CLI tool to access company knowledge and documents through Glean.
Glean CLI is an agent skill from sammcj/agentic-coding. Provides knowledge on using the glean CLI tool to access company knowledge and documents through Glean. Use when the user asks you to use Glean to search, read or otherwise access knowledge from their company's Confluence, Slack, Google Drive Files (Slides, Documents, Sheets) etc.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/commands.md`).
It sits in Documents & Office, covering Knowledge bases and Slides and decks. It works with Confluence, Google Drive and Slack. The repository describes itself as: Agentic Coding Rules, Templates etc... The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 62ba5a2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
jqbrewFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GLEAN_API_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Glean CLI loads about 1.9k tokens when it runs, and up to ~5.2k if it reads all its reference files. Until then it costs about 73 tokens; SKILL.md has 768 words of instructions outside code blocks.
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.
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.
The full file from sammcj/agentic-coding at commit 62ba5a2, republished under its Apache-2.0 licence (© sammcj). 768 words, ~1,903 tokens.
.claude/skills/glean-cli/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.glean is a local CLI that authenticates to a company's Glean instance and exposes its REST API. It can search the corporate index, talk to Glean Assistant, look up people, fetch and summarise documents, and manage Glean-side resources (collections, pins, go-links, announcements, curated answers, agents, verification workflows).
Output is JSON on stdout, errors on stderr, exit code reflects success. This makes the CLI ideal for piping into jq.
Before using anything in this skill, make sure the binary is on $PATH:
command -v gleanThe glean CLI command is provided by brew install gleanwork/tap/glean-cli
If the command isn't found, you shoulkd ask the user if they wish you to install it for them.
If unauthenticated (run glean auth status upon authentication errors) and the user is at a terminal: glean auth login (browser OAuth). For CI or scripts, set GLEAN_API_TOKEN and GLEAN_HOST env vars instead - credentials resolve in the order: env vars -> system keyring -> ~/.glean/config.json.
glean schema is the source of truth for commands and flags - Glean ships updates, and the schema reflects whatever version is installed locally. Before invoking a command you haven't used in this session, run:
glean schema <command> # full machine-readable schema for one command
glean schema | jq '.commands' # list every available commandThe reference file in this skill (references/commands.md) is a fast lookup, but if glean schema disagrees, schema wins.
glean <command> [subcommand] [flags]Three flags are global and worth knowing up front:
| Flag | Purpose |
|---|---|
--output <json|ndjson|text> | Default json. Use ndjson when streaming results to a pipeline. |
--json '<payload>' | Send a complete JSON request body. Overrides every other flag - use this for any non-trivial request, the schema documents the body shape. |
--dry-run | Print the request that would be sent, send nothing. Always use this before any create/update/delete operation. |
Short positional flags exist for ergonomic queries (glean search "vacation policy", glean chat "what are the holidays?"), but anything beyond a single string should go through --json.
Read-only:
| Command | Use for |
|---|---|
glean search | Find documents across all enterprise sources. |
glean chat | Ask Glean Assistant a question; streams an AI answer. |
glean documents | Fetch a doc's metadata, content, permissions, or AI summary. |
glean entities | Look up people, teams, or custom entities. |
glean messages | Read a specific Slack/Teams message by ID. |
glean insights | Pull search/usage analytics. |
glean agents | List, inspect, and run Glean AI agents. |
glean tools | List and run Glean platform tools. |
glean answers | List/get curated Q&A pairs. |
Write/admin:
| Command | Use for |
|---|---|
glean collections | Create/update/delete document collections; add/remove items. |
glean pins | Promote a document to the top of results for given queries. |
glean shortcuts | Manage go-links (e.g. go/wiki). |
glean announcements | Create/update/delete time-bounded company announcements. |
glean answers | Create/update curated answers. |
glean verification | Mark documents verified; send verification reminders. |
glean activity | Log user activity events; submit relevance feedback. |
glean api | Raw authenticated HTTP call to any Glean REST endpoint (escape hatch). |
For flag-level detail and worked examples on any of these, read references/commands.md - it's organised by command in the same order as the tables above.
Search and pipe into jq. Search returns JSON with a results array; each result has a document with title, url, id, snippets, etc.
glean search "incident response runbook" | jq '.results[] | {title: .document.title, url: .document.url}'Find then summarise. Combine search with the summarise subcommand:
DOC_ID=$(glean search "Q1 OKRs" | jq -r '.results[0].document.id')
glean documents summarize --json "{\"documentId\":\"$DOC_ID\"}" | jq -r .summaryAsk a question. For any "what does our company say about X" question, prefer glean chat over glean search - Glean Assistant cites the underlying documents in its response.
glean chat "How do I expense international travel?"Look up a person.
glean entities read-people --json '{"query":"Jane Smith"}' | jq '.[0] | {name, email, title, department}'GLEAN_API_TOKEN is sensitive; never echo it, log it, or include it in error messages or commit it to a file. Use it via env var only.--dry-run first for writes. Any create, update, delete, verify, remind, add-items, delete-item, or report action sends data into the customer's Glean tenant. Print the body first, get the user's confirmation if it's not their explicit ask, then send.--json overrides everything. If both --json and individual flags are supplied, the JSON body wins - silently. Don't mix the two.glean schema <command> and check the current shape rather than guessing.glean api is the escape hatch, not the default. If a dedicated subcommand exists for what you're doing (e.g. glean search rather than glean api search), prefer it - the dedicated command has nicer ergonomics and a stable contract.jq or another consumer, capture stderr separately so you can surface the real error message rather than a "parse error: unexpected end of JSON" downstream.results[] may contain promoted answers, people, or pinned items - when working programmatically, branch on .type or guard with .document?.© sammcj, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in Skills_disabled/glean-cli of sammcj/agentic-coding.
Open the folder on GitHubat commit 62ba5a2
Glean CLI 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Glean CLI this skillsammcj/agentic-coding | 162 | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Enterprise SearchZhixiangLuo/10xProductivity | 478 | — | ~535 | Automated safety check: Pass | MIT | |
| Kb Refreshtechwolf-ai/ai-first-toolkit | 132 | 1 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Colleague DistillationZhixiangLuo/10xProductivity | 478 | — | ~2.1k | Automated safety check: Notes | MIT | |
| Google Workspace Opsaffaan-m/ECC | 275k | 2 repos | ~684 | Automated safety check: Pass | MIT | |
| Chart To Driveai-analyst-lab/ai-analyst | 304 | — | ~1.4k | Automated safety check: Pass | MIT |
ZhixiangLuo/10xProductivity
Search your entire company's institutional knowledge in one query — Slack, Confluence, Jira, Linear, Notion, GitHub, plus any AI or multi-source search tool listed in verifiedconnections.md.
techwolf-ai/ai-first-toolkit
Add new sources to your knowledge base or re-scrape existing ones to pick up changes.
ZhixiangLuo/10xProductivity
Distill a colleague into a reusable AI skill (work + persona) using tool connections — Slack, Slack AI, Jira, GHE, Bitbucket, Confluence, SharePoint, Teams, Outlook, Notion, Linear, Google Docs, and…
affaan-m/ECC
Operate across Google Drive, Docs, Sheets, and Slides as one workflow surface for plans, trackers, decks, and shared documents.
ai-analyst-lab/ai-analyst
Standardized workflow for uploading local chart PNGs to Google Drive and making them available for insertion into Google Docs and Slides.
yc-software/qm
Find, read, export, edit, and manage the user's Google Drive, Docs, Sheets, and Slides through per-user OAuth.
sammcj/agentic-coding
A skill your agent uses when generating songs with YuE2, covering a recording via SheetSage2 audio-to-ABC, editing a score or lyrics with melody preservation, or building a reproducible listening…
sammcj/agentic-coding
A skill your agent uses when creating or editing Bento (.bento.html) slide decks, including any request for a single-file HTML slide deck.
sammcj/agentic-coding
A skill your agent uses whenever the user wants you to manage, discuss or diagnose iDrive Backup configuration on macOS
sammcj/agentic-coding
Train custom TTS voices for Piper (ONNX format) using fine-tuning or from-scratch approaches.
sammcj/agentic-coding
Convert a PPTX slide deck into per-slide markdown that preserves both the verbatim text and the meaning of embedded screenshots, diagrams and charts in their original layout positions.
sammcj/agentic-coding
You MUST load this skill before the skill-creator skill AND before making ANY change to, or conducting a review of ANY Agent Skill.
Works with
Categories
Provides knowledge on using the glean CLI tool to access company knowledge and documents through Glean. Glean CLI is an agent skill from sammcj/agentic-coding. Provides knowledge on using the glean CLI tool to access company knowledge and documents through Glean.
Glean CLI fits situations like: the user asks you to use Glean to search; otherwise access knowledge from their companys Confluence; google Drive Files (Slides.
Run `npx skills add sammcj/agentic-coding --skill glean-cli -a claude-code`. Or copy the skill folder (Skills_disabled/glean-cli in sammcj/agentic-coding) into .claude/skills/glean-cli in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sammcj/agentic-coding --skill glean-cli -a codex`. Or copy the skill folder (Skills_disabled/glean-cli in sammcj/agentic-coding) into .agents/skills/glean-cli in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sammcj/agentic-coding --skill glean-cli -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-cli, .gemini/skills/glean-cli, .github/skills/glean-cli and .opencode/skills/glean-cli in your project.
Going by SKILL.md and its folder, Glean CLI needs the command-line tools its instructions call (jq and brew) and credentials named GLEAN_API_TOKEN. Our summary lists: A credential in GLEAN_API_TOKEN.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Glean CLI is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Glean CLI: Enterprise Search (ZhixiangLuo/10xProductivity, 478 stars), Kb Refresh (techwolf-ai/ai-first-toolkit, 132 stars), Colleague Distillation (ZhixiangLuo/10xProductivity, 478 stars) and Google Workspace Ops (affaan-m/ECC, 275k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sammcj (a GitHub user) maintains it in sammcj/agentic-coding, which has 162 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on October 7, 2026.
Source: sammcj/agentic-coding on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.