Cross-repository code exploration — search code across your org, find examples, and discover similar implementations.
Leverage Glean's code search to explore beyond your local repository.
Requires glean-core to be installed first.
claude plugin install glean-core # if not already installed
claude plugin install glean-code-
using-glean-code— Auto-triggers on cross-repo code questions ("how is X implemented", "where is the code for", "find similar code", "how do other teams handle Y"). The skill teaches the workflow; the canonicalcode_searchtool reference lives inglean-core(seeusing-glean/reference/code-search.md).Reference files under
skills/using-glean-code/reference/:File Covers exploration.mdWorkflow for exploring an unfamiliar system across repos plan-prep.mdGathering enterprise context before entering plan mode
- codebase-navigator — Navigates internal repositories to find implementations and patterns
- plan-prep-researcher — Gathers design docs, implementations, stakeholders, and related systems for planning
/glean-code:codebase-context <system>— Get architectural context from internal repos/glean-code:find-examples <API/pattern>— Find usage examples across the org/glean-code:code-owners <component>— Identify who owns/maintains code areas/glean-code:similar-code <pattern>— Find similar implementations across repos/glean-code:plan-prep <task>— Research enterprise context before entering plan mode
# Get context before working on a system
/glean-code:codebase-context payments service
/glean-code:codebase-context auth middleware
# Find examples of how others use an API
/glean-code:find-examples AuthClient
/glean-code:find-examples retry logic
# Find who to talk to
/glean-code:code-owners billing module
/glean-code:code-owners src/auth
# Find prior art before building something
/glean-code:similar-code rate limiting
/glean-code:similar-code caching layer
# Research enterprise context before planning
/glean-code:plan-prep Add authentication to API
/glean-code:plan-prep Refactor payment service
/glean-code:plan-prep Implement webhooksLocal search tools only see your current repo. Glean Code searches across ALL repositories in your organization. This enables:
- Finding examples: "How do other teams handle authentication?"
- Understanding systems: "What repos touch the billing service?"
- Finding owners: "Who's actively working on payments?"
- Avoiding duplication: "Has someone already built a rate limiter?"
Whether your company uses a monorepo or multiple repositories, Glean Code searches across everything that's indexed.
- Documentation: https://docs.glean.com/mcp
- Issues: https://github.com/gleanwork/claude-plugins/issues