codebase-navigator

codebase-navigator is an agent for Claude Code from gleanwork/claude-plugins. It costs 27 tokens per session (1,230 once invoked), scanned A, original, MIT.

A code-search agent for exploring all repositories indexed in Glean, an internal search system for company knowledge.

In plain words
What is it for?
It helps locate code, design documents, specifications, repository dependencies, and people or teams connected to a system.
Why use it?
It helps developers find relevant implementations and dependencies across repositories instead of searching only the codebase currently open.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the glean plugin — 19 skills, 10 agents, 2 hooks, 1 MCP server shipped together

Good fit It helps locate code, design documents, specifications, repository dependencies, and people or teams connected to a system.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/gleanwork/claude-plugins/codebase-navigator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/gleanwork/claude-plugins

Made for: Claude Code.

Or install glean, the plugin that ships this one along with the rest of its 19 skills, 10 agents, 2 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codebase-navigator

README.md
[![agentmods](https://agentmods.dev/badge/agents/gleanwork/claude-plugins/codebase-navigator/github.svg)](https://agentmods.dev/agents/gleanwork/claude-plugins/codebase-navigator)
Your own site
<a href="https://agentmods.dev/agents/gleanwork/claude-plugins/codebase-navigator"><img src="https://agentmods.dev/badge/agents/gleanwork/claude-plugins/codebase-navigator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codebase-navigator

Your own site · 80×15
<a href="https://agentmods.dev/agents/gleanwork/claude-plugins/codebase-navigator"><img src="https://agentmods.dev/badge/agents/gleanwork/claude-plugins/codebase-navigator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,230 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01230
Opus 5.5 $0.00011 $0.00492
Sonnet 5.5 $0.00005 $0.00246
Haiku 4.5 $0.00003 $0.00123

Measured 1mo ago against content hash 3b96a4f57e0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codebase-navigator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/glean/agents/codebase-navigator.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codebase Navigator Agent

You are a cross-repository code exploration specialist. Your job is to help users understand code across their organization's repositories using Glean's code search.

Core Mission

Navigate internal code repositories via Glean to answer questions about implementations, patterns, architecture, and ownership across the organization.

Core Principle: BE SKEPTICAL

Not every code match is relevant or good.

  • Code existing doesn't mean it's the right example
  • Distinguish active from legacy/abandoned code
  • Quality over quantity in recommendations

Key Differentiator

Unlike local search tools that only see the current repo, you can search across ALL repositories indexed in Glean. This enables answering questions like:

  • "How do other teams implement rate limiting?"
  • "What repos depend on the auth service?"
  • "Who's actively working on the payments codebase?"

Capabilities

Use these Glean tools:

  • code_search: Find code by content, file, contributor, or time
  • search: Find related design docs, RFCs, and specs
  • employee_search: Identify people by role or team
  • read_document: Read full file content from URLs

Search Strategies

Finding Implementations

code_search "rate limiter implementation"
code_search "grpc middleware authentication"
code_search "*.go billing service handler"

Finding Contributors

code_search "owner:\"Jane Doe\" updated:past_month"
code_search "from:me payments"

Finding Related Documentation

search "payments service architecture design doc"
search "API rate limiting RFC"

Combining Signals

For comprehensive understanding, combine code + docs + people:

  1. Find the code: code_search "[topic]"
  2. Find the docs: search "[topic] design doc"
  3. Find the experts: cross-reference contributors with employee_search

Vetting Process (CRITICAL)

Before including ANY code result, evaluate:

Quality Test

  • Is this good code to reference?
  • ✅ GOOD: Clean, tested, well-maintained
  • ⚠️ ACCEPTABLE: Works but has caveats
  • ❌ POOR: Hacky, untested, deprecated - don't recommend

Read the full file on GitHub · 180 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 180 lines · 27 tokens per session scan A 3b96a4f57e0e

Subscribe to this mod's changes

codebase-navigator is an agent published in the GitHub repository gleanwork/claude-plugins (25 stars, last pushed 17d ago), licensed MIT. It adds 27 tokens to every session and 1,230 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

debugger

Diagnoses and fixes failed modules using root-cause analysis, not guessing.

TT-Wang/forge · 17 tokens

loom-advisor

Read-only advisory agent for debugging and repeated failures. Spawned instead of a blind retry when an implementer has failed twice on the same task, or a bug resists straightforward diagnosis. Returns a root-cause diagnosis plus one concrete next step.

cosmix/loom · 53 tokens

debugger

Investigate errors systematically to find root cause before attempting fixes. Gathers evidence, analyzes patterns, and forms testable hypotheses.

bostonaholic/rpikit · 28 tokens

evolve-retrospective

Failure post-mortem agent for the Evolve Loop. Fires only on Auditor FAIL or WARN verdicts. Reads cycle artifacts and produces a structured retrospective + failure-lesson YAML files. READ-ONLY outside the lessons directory.

mickeyyaya/evolve-loop · 51 tokens

type-reconstructor

Dedicated struct/class reconstruction from IDA Pro decompiled binaries. Scans every function for memory access patterns, merges evidence across the module, resolves vtable and COM interface layouts, and generates compilable C++ header files with per-field confidence annotations. Use for full-module or single-class…

marcosd4h/DeepExtractRuntime · 63 tokens

runtime-observer

Dynamic observation agent designed to inspect running applications, trace state transitions, log API traffic, and flag race conditions, cache states, or timing issues. Trigger with "start runtime observer", "observe live system", "trace API calls", or during characterization test validation.

richfrem/agent-plugins-skills · 56 tokens