/glean:using-glean-codefrom glean
Searches and analyzes source code across the organization's repositories using Glean's code_search tool. Use for cross-repo exploration, finding implementations, prior art, and code owners.
Ships in glean. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Glean indexes source code across the organization's connected repositories. Local tools (Grep, Glob, Read) see only the current repo; this skill is for everything else.
employee_search reveals real owners (not just titled ones)This skill drives the code_search MCP tool. For full param shape, inline filter syntax, and pitfalls (quoting names, the app: filter not applying, recency caveats), read ../using-glean/reference/code-search.md. That is the canonical reference; this skill carries the workflow on top.
For this skill's own workflow patterns, see:
Not every match is worth surfacing. Code in legacy/, deprecated/, archive/, abandoned repos, or files with extensive TODO/FIXME comments will mislead the user. Apply the criteria in ../using-glean/reference/vetting.md and prefer 3 high-quality matches over 10 unfiltered ones.
Quality test
Recency test
Relevance test
Filter out: code in /deprecated/, /old/, /legacy/ paths; abandoned repositories; prototype/experimental code; code with extensive TODO/FIXME comments. Quality over quantity — 3 good examples beat 10 mediocre ones.
Local tools (grep, glob) search only the current repo. Glean searches across all repositories in the organization. This is powerful for:
| User intent | Glean tool |
|---|---|
| Find code by content, pattern, or file | code_search |
| Find related design docs or specs | search |
| Identify code owners/contributors | code_search + employee_search |
| Read full file content | read_document |
When presenting code findings:
codebase-context — structured architecture rundown for an unfamiliar systemsimilar-code — find similar implementationsfind-examples — usage examples for an internal API or librarycode-owners — maintainers and contributorsplan-prep — the workflow described in reference/plan-prep.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
glean, code-search, cross-repo, code-exploration, enterprise-search
19 skills in this plugin
/catch-upCatch up on what you missed while away — meetings, decisions, action items, mentions, and important threads from a defined time window. Trigger phrases include "what did I miss", "catch me up", "I was out", "I'm back from PTO", "summarize while I was away", "what happened last week while I was off", "I just got back", "fill me in on what I missed"./codebase-contextGather architectural context about an internal system from code and documentation across the organization — use when asked to understand a system's architecture, find its repos, or get an overview before working on it./code-ownersIdentify who owns, maintains, or has expertise in a specific code area — use when asked who to talk to about a system, who to request a code review from, or who has been actively working in a codebase area./find-examplesFind usage examples of an API, library, or code pattern across internal repositories — use when looking for how other teams use an internal API, library, or pattern before implementing something new./find-expertFind subject matter experts on a topic, technology, or internal system by combining real expertise signals (code contributions, document authorship, and meeting or discussion activity) rather than relying on job titles. Use this whenever the user wants to know who to ask about something — phrasings such as who knows about, who is the expert on, the go-to person for, who has worked on, who can I ask about, or subject matter expert for. Use it even when the user does not say the word expert but clearly needs a person with deep, demonstrated knowledge of an area. Do not use it for plain directory lookups (an email address, manager, or org placement with no expertise angle), which is a simple employee lookup./glean_runDiscover and run Glean skills for enterprise app tasksnpx claudepluginhub gleanwork/claude-plugins --plugin gleanOther plugins' skills for the same job