/glean:find-examplesfrom glean
Searches internal repositories for usage examples of APIs, libraries, or code patterns. Vets results for quality, recency, and relevance before presenting top examples.
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.
None: SKILL.md is the whole skill.
Search across all repositories to find usage examples of an API, library, or pattern.
Determine the API, library, or pattern from the user's request. If not specified, ask before proceeding.
Search for the API/pattern across the organization:
code_search "[topic] import OR require"
code_search "[topic] usage example"
code_search "[topic] implementation"
Look for variations in how it's used:
code_search "[topic] config OR configuration"
code_search "[topic] test OR spec"
Search for any guides or documentation:
search "[topic] how to use OR getting started"
search "[topic] best practices OR guidelines"
For each code example found, evaluate:
| Test | ✅ Include | ⚠️ Caution | ❌ Reject |
|---|---|---|---|
| Quality | Clean, well-structured, tested, recent | Works but has issues — note them | Hacky, deprecated, anti-pattern, prototype |
| Recency | <6 months | 6-12 months — may be outdated | 12+ months with no activity |
| Context | Production code, tests, well-maintained | Experiments — verify before using | Abandoned PRs, copy-pasted boilerplate |
| Relevance | Similar context to what user needs | Different context but instructive | Same API, unrelated purpose |
Anti-Pattern Signals — reject or warn:
/deprecated/, /old/, /legacy/ paths# Usage Examples: [API/Pattern]
## Summary
| Examples Found | High Quality | Cautionary | Rejected |
|----------------|--------------|------------|----------|
| [X] | [Y] | [Z] | [W] |
## Official Documentation
- **[Doc title]** ([link]) - [what it covers]
## Recommended Examples
### Example 1: [Repo/Team Name] ⭐ Recommended
**Quality**: High — [why this is a good example]
**File:** [path] ([link])
**Last Updated**: [date]
**Context:** [brief description of how they use it]
```[language]
[relevant code snippet]
Why this is good:
File: [path] ([link]) Caveat: [What to watch out for]
What to copy: [The good parts] What to avoid: [The problematic parts]
| Name | Why |
|---|---|
| [Name] | Wrote the recommended example |
## If No Good Examples Found
```markdown
# Usage Examples: [API/Pattern]
## No High-Quality Examples Found
The assistant searched for examples of [API/Pattern] but didn't find examples worth recommending.
**What was found:** [X] matches, but all were [outdated/low quality/different context]
**Suggested next steps:**
1. Check the official documentation directly
2. Ask in [relevant Slack channel]
3. Consider: Is there a reason this isn't widely used?
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-search, internal-repositories, code-patterns, api-usage
npx claudepluginhub gleanwork/claude-plugins --plugin glean19 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.Other plugins' skills for the same job