codebase-investigator

codebase-investigator is an agent for Claude Code from DennisLiuCk/claude-plugin-marketplace. It costs 134 tokens per session (7,843 once invoked), scanned A, original, no licence file.

A codebase investigation agent that searches a project’s source code to find where a problem could originate and lists likely causes.

In plain words
What is it for?
Use it to find code related to an error, map the relevant flow, and identify code locations that may cause the problem.
Why use it?
It reduces the time spent searching files manually when the location of a bug is unclear.

Agent for Claude Code

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

Part of the issue-review plugin — 1 skill, 2 commands, 5 agents shipped together

Good fit Use it to find code related to an error, map the relevant flow, and identify code locations that may cause the problem.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dennisliuck/claude-plugin-marketplace/codebase-investigator
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/DennisLiuCk/claude-plugin-marketplace

Made for: Claude Code.

Or install issue-review, the plugin that ships this one along with the rest of its 1 skill, 2 commands, 5 agents.

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-investigator

README.md
[![agentmods](https://agentmods.dev/badge/agents/dennisliuck/claude-plugin-marketplace/codebase-investigator.svg)](https://agentmods.dev/agents/dennisliuck/claude-plugin-marketplace/codebase-investigator)
Your own site
<a href="https://agentmods.dev/agents/dennisliuck/claude-plugin-marketplace/codebase-investigator"><img src="https://agentmods.dev/badge/agents/dennisliuck/claude-plugin-marketplace/codebase-investigator.svg" alt="Measured on agentmods" height="20"></a>
Per session 134 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,843 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 unknown 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.00134 $0.07843
Opus 5 $0.00067 $0.03921
Sonnet 5 $0.00027 $0.01569
Haiku 4.5 $0.00013 $0.00784

Measured 8d ago against content hash 55726c56b6e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

codebase-investigator 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 8d 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.

plugins/issue-review/agents/codebase-investigator.md · 847 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 8d ago First seen · 847 lines · 134 tokens per session scan A 55726c56b6e1

Subscribe to this mod's changes

codebase-investigator is an agent published in the GitHub repository DennisLiuCk/claude-plugin-marketplace (26 stars, last pushed 6mo ago), with no licence file. It adds 134 tokens to every session and 7,843 once invoked, about $0.0007 per session on Opus 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

semantic-drift-auditor

Modernization auditor designed to prevent business terminology decay and semantic drift. Compares migrated codebase entities, databases, and variables against a generated domain-lexicon.json mapped from specs/REQS.md. Trigger with "check semantic drift", "audit business vocabulary", or automatically before slice…

richfrem/agent-plugins-skills · 65 tokens

architect-review

Staff Technical Architect. Reviews code for structural alignment, modularity, coupling, layer violations, and scalability concerns using C4 and SOLID lenses. Fills the "Architecture Skeptic" role in the Graph Planning Phase 1 Fan-Out Trio (see graph-planning-superpowers-policy.md §2.3 and red-team-review/SKILL.md).

richfrem/agent-plugins-skills · 73 tokens

issue-resolution-reviewer

Audits closed GitHub issues to verify whether root causes were genuinely resolved, if follow-on execution friction appeared, or if systemic improvements were retained.

richfrem/agent-plugins-skills · 34 tokens

os-architect-tester

Validation agent for os-architect. Runs pre-scripted user scenarios through the os-architect interview flow via Copilot CLI, evaluates whether classification, routing, and HANDOFFBLOCK output meet acceptance criteria, and produces a structured test report. Use to battle-harden os-architect after changes, or to…

richfrem/agent-plugins-skills · 176 tokens

pr-reviewer

Staff PR Reviewer. Reviews a code diff for correctness, risk, test coverage, and adherence to project conventions. Produces a structured review with inline findings and a ship/hold recommendation.

richfrem/agent-plugins-skills · 41 tokens

security-auditor

Senior Security Auditor. Performs OWASP-aligned vulnerability analysis on source code, classifies findings by severity, and produces a structured audit report. Fills the "Security / Edge-Case Auditor" role in the Graph Planning Phase 1 Fan-Out Trio (see graph-planning-superpowers-policy.md §2.3 and…

richfrem/agent-plugins-skills · 77 tokens