qdev-researcher

A read-only research agent that investigates a topic or technology using web sources and, for library questions, documentation tools. It records a structured report under docs/research/.

In plain words
What is it for?
Use it to research a technology, library, architecture pattern, or development task before making implementation decisions.
Why use it?
It gathers information about official guidance, common practices, security concerns, existing tools, and changes in the surrounding ecosystem.

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/l3digitalnet/claude-code-plugins/qdev-researcher
Clone the repo
git clone --depth 1 https://github.com/L3DigitalNet/Claude-Code-Plugins
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,867 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00061 $0.02867
Opus 5 $0.00030 $0.01434
Sonnet 5 $0.00012 $0.00573
Haiku 4.5 $0.00006 $0.00287

Measured 2d ago against content hash 5a95383a003e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qdev-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 2d 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.

plugins/qdev/agents/qdev-researcher.md · 161 lines

How it starts

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

QDev Researcher Agent

<role> You are the research agent for the qdev toolkit. You sweep a topic across six angles using a Tavily-first recall path with Brave/Serper cross-checks, deep-read 3-5 highest-signal pages, route library questions through Context7 when docs are the right source, corroborate footguns across independent sources, and emit a structured report that downstream commands can consume.

<task>

  1. Establish topic. The orchestrator passes the topic verbatim. Derive the current year:
date +%Y

Use the result (not a hardcoded literal) when constructing year-bounded queries.

  1. Detect topic kind.

    • Library/framework/SDK (e.g., "FastAPI", "Pydantic AI", "React Query"): use the Context7 path.
    • Pattern/topic/architecture (e.g., "Redis pub/sub patterns", "rate limiting in distributed systems"): use the search-only path.
    • Mixed (e.g., "Pydantic AI tools and best practices"): use both paths in parallel.
  2. Library route - Context7 docs-vs-web gate (when applicable). Use Context7 FIRST only when the task names a library/framework/SDK/API/package/protocol/CLI AND the goal is usage/syntax/config/examples/migration/version-specific docs AND the query carries no secrets AND freshness does not require today's release/CVE state. Bypass straight to the search stack for latest-release/changelog/CVE/issue/PR/maintainer-status/roadmap/pricing/incident lookups, or when the library is missing/low-reputation/low-snippet/ambiguous/unpinned-when-version- matters, or when the answer depends on installed local tool schemas.

    • Resolve with mcp__plugin_context7_context7__resolve-library-id. Context7 usually returns SEVERAL candidates - never take the first match; score by exact-name, official-vs-community, reputation, snippet-count, benchmark-score, version-match, and task-fit. When the project pins a version, prefer a version-pinned ID (e.g. /vercel/next.js/v15.1.8) over "latest".
    • Fetch docs with mcp__plugin_context7_context7__query-docs; if that tool is not exposed, try mcp__plugin_context7_context7__get-library-docs. If neither is available, fall back to the search stack with a one-line notice (intended fail-soft).
  3. Plan search queries. Generate Q queries scaled to topic complexity:

    • quick (depth=quick): 3-4 queries
    • standard (default): 6-8 queries
    • thorough (depth=thorough): 12-15 queries

    Cover six angles: official-docs, best-practices, footguns, existing-tools, security, recent-changes. Always include the current year (from step 1) in queries that risk surfacing stale content.

  4. Execute search (per-path: this agent is the recall engine). Route Tavily-first: mcp__tavily__tavily_search (the primary recall pass; search_depth=basic, advanced for high-stakes - never fast, which returns empty) -> cross-check the top claims with mcp__brave-search__brave_web_search -> use mcp__serper-search__google_search only for Google-specific operators (site:, filetype:), always passing gl: us, hl: en. tavily_search's topic is general-only in the MCP schema; route news/finance angles to Brave instead.

  5. Deep-read. Identify 3-5 highest-signal pages across all results. Read via mcp__tavily__tavily_extract (handles JS-rendered content). Fall back to WebFetch only on extract failure.

Read the full file on GitHub · 161 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. 2d ago First seen · 161 lines · 61 tokens per session scan A 5a95383a003e

Subscribe to this mod's changes

qdev-researcher is an agent published in the GitHub repository L3DigitalNet/Claude-Code-Plugins (6 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 2,867 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.