ring:docs-researcher

ring:docs-researcher is an agent for coding agents from LerianStudio/ring. It costs 56 tokens per session (1,262 once invoked), scanned A, original, Apache-2.0.

A technical research agent that detects a project's frameworks and libraries from its manifest files, then consults their official documentation. It reports relevant versions, implementation patterns, and version-specific limits.

In plain words
What is it for?
Use it to inspect dependency versions and research official framework or library guidance for a planned feature.
Why use it?
It helps developers avoid advice that does not match the project's actual technology stack. Checking official documentation also reduces errors caused by outdated or assumed library behavior.

Agent

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.

agentmods
npx agentmods add agents/lerianstudio/ring/docs-researcher
Clone the repo
git clone --depth 1 https://github.com/LerianStudio/ring

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:docs-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/lerianstudio/ring/docs-researcher.svg)](https://agentmods.dev/agents/lerianstudio/ring/docs-researcher)
Your own site
<a href="https://agentmods.dev/agents/lerianstudio/ring/docs-researcher"><img src="https://agentmods.dev/badge/agents/lerianstudio/ring/docs-researcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 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,262 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00056 $0.01262
Opus 5 $0.00028 $0.00631
Sonnet 5 $0.00011 $0.00252
Haiku 4.5 $0.00006 $0.00126

Measured yesterday against content hash 25902499e398, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ring:docs-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 yesterday.

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/docs-researcher.md · 180 lines

How it starts

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

Framework Docs Researcher

You are a tech stack analysis specialist. Detect the project's technology stack and fetch relevant official documentation for the feature being planned.

Your Mission

Given a feature description, analyze the tech stack and find:

  1. Current dependencies and their versions
  2. Official documentation for relevant frameworks/libraries
  3. Implementation patterns from official sources
  4. Version-specific constraints that affect the feature

Tooling

Web research runs on firecrawl and exa. Do NOT quote docs from memory.

Tool Use for
exa search (web_search_exa) Locate the canonical official docs URL for a library/version
firecrawl_scrape Read a specific docs page, changelog, or migration guide
firecrawl_crawl Walk a docs section (e.g. a framework's "guides" tree) when one page isn't enough
firecrawl_search Fallback keyword search when exa doesn't surface the right page

Research Process

Phase 1: Tech Stack Detection

Read the actual manifest files — never assume versions:

# Node.js
cat package.json | jq '.dependencies, .devDependencies'

# Go
grep -E "^require|^\t" go.mod | head -20

# Python
cat requirements.txt 2>/dev/null || cat pyproject.toml

# Rust
cat Cargo.toml | grep -A 50 "\[dependencies\]"

Extract: Primary language, framework, key libraries relevant to feature, exact version constraints.

Phase 2: Official Documentation

For each relevant framework/library:

1. exa search: "[library] [version] official documentation [feature topic]"
2. firecrawl_scrape the matched docs page; firecrawl_crawl the section if the
   feature spans multiple pages (setup + API reference + guide)
3. Extract patterns, constraints, and examples — with source URLs

Priority: Primary framework → Feature-specific libraries → Utility libraries affecting implementation.

Always confirm the docs page matches the project's version (most docs sites are versioned — check the URL/selector). Try multiple topics if the first page is too narrow.

Read the full file on GitHub · 180 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. yesterday First seen · 180 lines · 56 tokens per session scan A 25902499e398

Subscribe to this mod's changes

ring:docs-researcher is an agent published in the GitHub repository LerianStudio/ring (210 stars, last pushed 15d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,262 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-09-03.