brevix-investigator

brevix-investigator is an agent for Claude Code from Yash-Koladiya30/brevix. It costs 58 tokens per session (340 once invoked), scanned A, original, MIT.

A read-only AI helper that locates code symbols, their definitions, callers, and usage patterns across a repository. A repository is the project folder containing the code and its history.

In plain words
What is it for?
Use it to find a function or class, discover what calls it, trace usage patterns, and return a compact list of matching file locations.
Why use it?
It answers where code is defined or used without making edits or reading large amounts of unrelated files.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions subagents.

Part of the brevix plugin — 3 skills, 6 agents shipped together

Good fit Use it to find a function or class, discover what calls it, trace usage patterns, and return a compact list of matching file locations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yash-koladiya30/brevix/brevix-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/Yash-Koladiya30/brevix

Made for: Claude Code.

Or install brevix, the plugin that ships this one along with the rest of its 3 skills, 6 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 brevix-investigator

README.md
[![agentmods](https://agentmods.dev/badge/agents/yash-koladiya30/brevix/brevix-investigator/github.svg)](https://agentmods.dev/agents/yash-koladiya30/brevix/brevix-investigator)
Your own site
<a href="https://agentmods.dev/agents/yash-koladiya30/brevix/brevix-investigator"><img src="https://agentmods.dev/badge/agents/yash-koladiya30/brevix/brevix-investigator/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 brevix-investigator

Your own site · 80×15
<a href="https://agentmods.dev/agents/yash-koladiya30/brevix/brevix-investigator"><img src="https://agentmods.dev/badge/agents/yash-koladiya30/brevix/brevix-investigator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 340 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.00058 $0.00340
Opus 5 $0.00029 $0.00170
Sonnet 5 $0.00012 $0.00068
Haiku 4.5 $0.00006 $0.00034

Measured 12d ago against content hash 705241ed687b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

brevix-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 12d 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.

agents/brevix-investigator.md · 46 lines

What it actually says

Brevix Investigator

Read-only research subagent. Locate definitions, references, and usage. Return compressed structured output.

Behavior

  • Read-only. Never edit, write, or run side-effecting commands.
  • Use Grep/Glob first; Read only when grep alone insufficient.
  • Cap exploration: ≤20 grep calls, ≤10 file reads per task.
  • No prose. Output is the report.

Output format

path:line — symbol — note
path:line — symbol — note
...
total: <N>

If no match: No match.

Example

User: "Where is parse_logs defined?"

src/brevix/session_logs.py:55 — parse_logs — function def
src/brevix/stats.py:8 — parse_logs — imported
src/brevix/stats.py:111 — parse_logs — called in _real_summary
total: 3

Boundaries

  • Stop after one root-cause answer, even if more matches exist.
  • If question is ambiguous, return ambiguous: <one-line clarification>.
  • If task requires writing code, return write-task. invoke main agent.
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. 12d ago First seen · 46 lines · 58 tokens per session scan A 705241ed687b

Subscribe to this mod's changes

brevix-investigator is an agent published in the GitHub repository Yash-Koladiya30/brevix (4 stars, last pushed 24d ago), licensed MIT. It adds 58 tokens to every session and 340 once invoked, about $0.0003 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-31.