searcher

searcher is an agent for Claude Code from Sixz-AI/repo-knowledge. It costs 63 tokens per session (300 once invoked), scanned A, original, MIT.

A codebase search agent that answers natural-language questions by matching aliases and documentation, then checking source code when needed. It saves newly found documentation and improves aliases after successful searches.

In plain words
What is it for?
Use it to find explanations or implementation details about an unfamiliar part of a codebase. It searches cached documentation first and falls back to source files.
Why use it?
It reduces the time spent locating relevant information in a large codebase and helps later searches resolve familiar terms faster.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the repo-knowledge plugin — 9 skills, 2 agents, 1 hook shipped together

Good fit Use it to find explanations or implementation details about an unfamiliar part of a codebase. It searches cached documentation first and falls back to source files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sixz-ai/repo-knowledge/searcher
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/Sixz-AI/repo-knowledge

Made for: Claude Code.

Or install repo-knowledge, the plugin that ships this one along with the rest of its 9 skills, 2 agents, 1 hook.

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 searcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/sixz-ai/repo-knowledge/searcher.svg)](https://agentmods.dev/agents/sixz-ai/repo-knowledge/searcher)
Your own site
<a href="https://agentmods.dev/agents/sixz-ai/repo-knowledge/searcher"><img src="https://agentmods.dev/badge/agents/sixz-ai/repo-knowledge/searcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 300 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.00063 $0.00300
Opus 5 $0.00032 $0.00150
Sonnet 5 $0.00013 $0.00060
Haiku 4.5 $0.00006 $0.00030

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

Security

Grade A, and why

searcher 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 7d 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/searcher.md · 39 lines

What it actually says

You are a Knowledge Base Search Agent with progressive alias learning.

Your Capabilities

  • Read cached documentation files
  • Search source code as fallback (Glob, Grep, Read)
  • Update index aliases based on successful matches

Search Strategy (4 Layers, follow strictly)

Layer 1: Alias Match

Read _index.md, scan aliases for a close match to the query.

Layer 2: Semantic Match

Use your language understanding to find the best match in _index.md descriptions.

Layer 3: Verify

Read the candidate doc. Judge if it actually answers the query.

  • Yes → update aliases → return
  • No → try next candidate (max 3)

Layer 4: Source Code Fallback

Search source code directly. Generate new doc. Save to cache. Return.

Alias Rules

  • Max 10 per entry
  • New alias prepends (most recent first)
  • LRU eviction when full
  • Wrong match → remove alias

Always

  • Return the full documentation to the user
  • Update aliases on successful match
  • Save new docs to cache on source code fallback
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. 7d ago First seen · 39 lines · 63 tokens per session scan A 25eaf69a5db6

Subscribe to this mod's changes

searcher is an agent published in the GitHub repository Sixz-AI/repo-knowledge (2 stars, last pushed 4mo ago), licensed MIT. It adds 63 tokens to every session and 300 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.

Related

Other agents, from other repositories

bulwark-fix-validator

Validates fixes against debug report by executing tiered test plan and assessing confidence. Reads validation plan from IssueAnalyzer output. Use proactively after a fix has been implemented and a debug report exists, to validate the fix and assess deployment confidence.

QBall-Inc/the-bulwark · 54 tokens

plan-creation-qa-critic

QA / Critic for the plan-creation pipeline. Adversarially challenges assumptions, identifies gaps, stress-tests estimates, and issues a final APPROVE / MODIFY / REJECT verdict. Use when you need a structured adversarial review of any implementation plan, proposal, or design document.

QBall-Inc/the-bulwark · 66 tokens

bulwark-implementer

Code-writing agent that implements fixes and features following Bulwark standards. Quality enforced by direct implementer-quality.sh invocation after each Write/Edit. Use proactively after a debug report (fix mode) or design document (feature mode) is ready for implementation.

QBall-Inc/the-bulwark · 57 tokens

plan-creation-architect

Technical architect for implementation plan creation. Analyzes system design, component decomposition, integration points, design patterns, and technical trade-offs. Reads Product Owner output and optional research synthesis. Use when architectural analysis is needed for a new feature, system, or implementation plan.

QBall-Inc/the-bulwark · 59 tokens

plan-creation-eng-lead

Engineering and Delivery Lead for implementation planning. Produces work breakdown structures, effort estimates, dependency graphs, milestones, parallel opportunities, and risk registers. Use when you need structured delivery planning for any implementation topic.

QBall-Inc/the-bulwark · 48 tokens

plan-creation-po

Product Owner for the plan-creation pipeline. Explores the codebase autonomously and produces a structured requirements analysis with scope, acceptance criteria, and user value. Use when the plan-creation orchestrator needs codebase context and requirements before the Architect and Eng Lead stages.

QBall-Inc/the-bulwark · 59 tokens