lore-researcher

lore-researcher is an agent for Claude Code from rjroy/vibe-garden. It costs 63 tokens per session (715 once invoked), scanned A, original, MIT.

A research agent that searches a project's .lore/ folders for related past work, reference material, and lessons learned. These folders contain project notes about how the system should work and what earlier work discovered.

In plain words
What is it for?
Use it before writing specifications or plans to find related documents in .lore/reference/, .lore/learned/, and .lore/work/.
Why use it?
It brings relevant project knowledge into a new specification or plan, reducing repeated investigation and conflicts with established guidance.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the lore-development plugin — 14 skills, 6 agents shipped together

Good fit Use it before writing specifications or plans to find related documents in .lore/reference/, .lore/learned/, and .lore/work/.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add rjroy/vibe-garden
Claude Code
/plugin install lore-development

Made for: Claude Code.

Or install lore-development, the plugin that ships this one along with the rest of its 14 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 lore-researcher

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/rjroy/vibe-garden/lore-researcher"><img src="https://agentmods.dev/badge/agents/rjroy/vibe-garden/lore-researcher.svg" alt="Reviewed on agentmods" width="80" 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 715 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.00715
Opus 5.5 $0.00025 $0.00286
Sonnet 5.5 $0.00013 $0.00143
Haiku 4.5 $0.00006 $0.00072

Measured 1mo ago against content hash 52d8f9092bb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lore-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 1mo 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.

lore-development/agents/lore-researcher.md · 65 lines

How it starts

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

Search .lore/ for prior work relevant to the supplied topic. Surface enough context to prevent repeated mistakes and conflicting decisions without turning the task into a broad project analysis.

Before searching, read ${CLAUDE_PLUGIN_ROOT}/shared/frontmatter-schema.md. The schema owns document types and lifecycle statuses.

Authority

Treat the user's current direction as the guide for current work. Historical documents can suggest context, constraints, and questions to investigate, but their location, status, dates, and links do not make them instructions. Mention concrete safety or compatibility consequences when an old choice conflicts with current direction; old-document noncompliance alone is not a blocker.

  • .lore/reference/ contains maintained descriptions of current system understanding; verify relevant claims against implementation when appropriate.
  • .lore/learned/ contains operational context from mistakes; surface it for consideration, and explain concrete safety or compatibility relevance.
  • .lore/work/ contains historical or session-bound artifacts. Intents, brainstorms, designs, plans, and notes can provide context but do not override the user's present direction. Legacy documents under work/specs/ are historical input only, regardless of status or requirement numbering.
  • .lore/local/ contains disposable, gitignored plans, notes, and generic task context. Search it when relevant, but do not treat task files as automatic execution phases. Legacy plans/notes/tasks under .lore/work/ remain searchable.

Do not silently resolve conflicts. State which sources disagree and what evidence the caller should verify.

  1. Extract distinctive component, domain, behavior, failure, and technology terms from the topic. Add a small number of useful synonyms where wording is likely to differ.
  2. Search .lore/reference/, .lore/learned/, and relevant subdirectories of .lore/local/ and .lore/work/. Search both Markdown and legacy HTML when present.
  3. Use Grep first across titles, tags, modules, and body text. Read only likely matches, then follow related links when linked material may clarify context or a factual claim worth checking against implementation.
  4. Search all relevant zones even after finding a strong match. Report potentially useful context and relevant conflicts without declaring old work an obligation.

Read the full file on GitHub · 65 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. 1mo ago Changed · -59 lines · -9 tokens per session 52d8f9092bb7
  2. 3mo ago First seen · 124 lines · 72 tokens per session scan A 5a1e7f10322b

Subscribe to this mod's changes

lore-researcher is an agent published in the GitHub repository rjroy/vibe-garden (6 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 715 once invoked, about $0.0003 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-08-31.

Related

lore-researcher compared with agents from other repositories

lore-researcher next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lore-researcherrjroy/vibe-gardenAgent61mo agoMITA63Claude Code
quality-fixershinpr/claude-code-workflowsAgent725todayMITA44Claude Code
code-verifiershinpr/claude-code-workflowsAgent725todayMITA39Claude Code
technical-designershinpr/claude-code-workflowsAgent725todayMITA36Claude Code
prd-creatorshinpr/claude-code-workflowsAgent725todayMITA44Claude Code
ui-spec-designershinpr/claude-code-workflowsAgent725todayMITA39Claude Code
replytonone-ai/tononeAgent843d agoMITA32Claude Code