ring:repo-researcher

ring:repo-researcher is an agent for Claude Code from LerianStudio/ring. It costs 46 tokens per session (1,290 once invoked), scanned A, original, Apache-2.0.

A codebase research agent that examines a repository for existing patterns, project rules, previous solutions, and similar implementations. It reports findings with exact file and line references.

In plain words
What is it for?
Use it to inspect project documentation, search past solutions, find related code, and gather evidence for product or technical requirements.
Why use it?
It helps developers fit new work into the way the repository already works. This reduces repeated mistakes and avoids designs that conflict with existing conventions.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions CLAUDE.md.

Good fit Use it to inspect project documentation, search past solutions, find related code, and gather evidence for product or technical requirements.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lerianstudio/ring/repo-researcher
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/LerianStudio/ring

Made for: Claude Code.

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 ring:repo-researcher

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/lerianstudio/ring/repo-researcher"><img src="https://agentmods.dev/badge/agents/lerianstudio/ring/repo-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 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,290 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.00046 $0.01290
Opus 5 $0.00023 $0.00645
Sonnet 5 $0.00009 $0.00258
Haiku 4.5 $0.00005 $0.00129

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

Security

Grade A, and why

ring:repo-researcher 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 6d 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.

pm-team/agents/repo-researcher.md · 163 lines

How it starts

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

Repo Research Analyst

You are a codebase research specialist. Analyze the target repository and find existing patterns, conventions, and prior solutions relevant to a feature request.

Your Mission

Given a feature description, search the codebase to find:

  1. Existing patterns that the new feature should follow
  2. Prior solutions in docs/solutions/ knowledge base
  3. Conventions from CLAUDE.md, README.md, ARCHITECTURE.md
  4. Similar implementations that can inform the design

Research Process

Phase 1: Knowledge Base Search

First, check if similar problems have been solved before:

grep -r "keyword" docs/solutions/ 2>/dev/null || true
grep -r "component: relevant-component" docs/solutions/ 2>/dev/null || true

Prior solutions prevent repeated mistakes and reveal past pitfalls.

Phase 2: Convention Discovery

Read project documentation completely — skimming misses critical rules:

cat CLAUDE.md         # Non-negotiable project rules
cat README.md         # Architectural overview
cat ARCHITECTURE.md   # Detailed structure (if present)

Phase 3: Codebase Pattern Analysis

Search for existing implementations:

# Find similar function/type names
grep -rn "FunctionName\|TypeName" ./internal --include="*.go"

# Find all usages of a pattern
grep -rn "pattern" ./internal --include="*.go" -l

# Verify file exists before citing
ls -la path/to/file.go

For EVERY pattern found, document with exact file:line — vague references are unusable:

Pattern: [description]
Location: src/services/auth.go:142-156
Relevance: [why this matters for the new feature]

Phase 4: Data Flow Tracing

  • How do similar features handle data?
  • What validation patterns exist?
  • What error handling approaches are used?

Research Depth by Mode

You will receive a research_mode parameter:

  • greenfield: Focus on conventions and structure; fewer existing patterns to find
  • modification: Deep dive into existing patterns — primary value here
  • integration: Balance patterns with external interface discovery

Read the full file on GitHub · 163 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. 6d ago First seen · 163 lines · 46 tokens per session scan A 9d3d0f50fa06

Subscribe to this mod's changes

ring:repo-researcher is an agent published in the GitHub repository LerianStudio/ring (211 stars, last pushed 21d ago), licensed Apache-2.0. It adds 46 tokens to every session and 1,290 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

claude-md-auditor

Internal dynos-work agent. Mandatory blocking auditor that enforces CLAUDE.md rules (local and global) against the task diff, spec, plan, and raw input. Cannot be skipped. Read-only. Spawned only by the dynos-work pipeline during an explicitly invoked /dynos-work:audit; never spawn this agent directly, from…

dynos-fit/dynos-work · 86 tokens

ui-executor

Internal dynos-work agent. Implements UI components, pages, interactions, and styles. Spawned only by the dynos-work pipeline during an explicitly invoked /dynos-work:execute; never spawn this agent directly, from conversation, or outside a dynos-work task.

dynos-fit/dynos-work · 58 tokens

code-quality-auditor

Internal dynos-work agent. Verifies maintainability, correctness, test coverage, structural integrity, and documentation accuracy. Blocks on significant architecture degradation. Read-only. Spawned only by the dynos-work pipeline during an explicitly invoked /dynos-work:audit; never spawn this agent directly, from…

dynos-fit/dynos-work · 75 tokens

security-auditor

Internal dynos-work agent. Adversarial security review and compliance audit of all changed code. Runs on every task. Always blocks completion. Does not modify code; its only write is its own audit-report file (via Bash heredoc, policy-scoped to audit-reports/). Spawned only by the dynos-work pipeline during an…

dynos-fit/dynos-work · 99 tokens

docs-executor

Internal dynos-work agent. Generates and updates project documentation: README, API docs, setup guides, architecture docs. Spawned only by the dynos-work pipeline during an explicitly invoked /dynos-work:execute; never spawn this agent directly, from conversation, or outside a dynos-work task.

dynos-fit/dynos-work · 64 tokens

performance-auditor

Internal dynos-work agent. Analyzes query plans, algorithmic complexity, resource usage patterns, and latency risks. Blocks on backend/db tasks. Read-only. Spawned only by the dynos-work pipeline during an explicitly invoked /dynos-work:audit; never spawn this agent directly, from conversation, or outside a dynos-work…

dynos-fit/dynos-work · 75 tokens