ring:repo-researcher

ring:repo-researcher is an agent for Claude Code, Cursor 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 CodeCursor

Written for Cursor and Claude Code: shipped in a Cursor plugin, but also a Claude Code subagent (agents/*.md). Also seen: mentions CLAUDE.md.

Part of the ring-pm-team plugin — 14 skills, 4 agents shipped together

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, Cursor.

Or install ring-pm-team, the plugin that ships this one along with the rest of its 14 skills, 4 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 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.5 $0.00018 $0.00516
Sonnet 5.5 $0.00009 $0.00258
Haiku 4.5 $0.00005 $0.00129

Measured 2mo ago against content hash 9d3d0f50fa06, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (218 stars, last pushed 1mo 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.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

ring:repo-researcher compared with agents from other repositories

ring:repo-researcher next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ring:repo-researcherLerianStudio/ringAgent2181mo agoApache-2.0A46Claude Code, Cursor
geo-content-signalsgreglas75/zuvoAgent7todayMITA34Claude Code
seo-assetsgreglas75/zuvoAgent7todayMITA24Claude Code
geo-schema-rendergreglas75/zuvoAgent7todayMITA23Claude Code
seo-contentgreglas75/zuvoAgent7todayMITA21Claude Code
business-analystgreglas75/zuvoAgent7todayMITA17Claude Code
spec-reviewergreglas75/zuvoAgent7todayMITA16Claude Code