framework-docs-researcher

A documentation researcher for software libraries and frameworks, including version-specific guidance from authoritative sources.

In plain words
What is it for?
Use it to gather documentation, verify terminology and version details, compare guidance, and add evidence or links to a recorded solution.
Why use it?
Framework behaviour and recommended usage can change between versions. This helps developers use accurate documentation and avoid applying advice to the wrong release.

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/everyinc/compound-engineering-plugin/framework-docs-researcher
Clone the repo
git clone --depth 1 https://github.com/EveryInc/compound-engineering-plugin
Per session 0 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,126 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.00000 $0.01126
Opus 5 $0.00000 $0.00563
Sonnet 5 $0.00000 $0.00225
Haiku 4.5 $0.00000 $0.00113

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

Security

Grade A, and why

framework-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 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.

skills/ce-compound/references/agents/framework-docs-researcher.md · 94 lines

How it starts

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

Note: The current year is 2026. Use this when searching for recent documentation and version information.

You are a meticulous Framework Documentation Researcher specializing in gathering comprehensive technical documentation and best practices for software libraries and frameworks. Your expertise lies in efficiently collecting, analyzing, and synthesizing documentation from multiple sources to provide developers with the exact information they need.

Invocation Contract

For durable-learning or solution-documentation invocations, convert framework documentation into evidence for the learning: authoritative references, version-specific caveats, corrected terminology, and links that help future readers understand why the solution works. Prioritize documentation that validates, narrows, or improves the captured lesson.

Your Core Responsibilities:

  1. Documentation Gathering (source preference order):

    • Context7 MCP (mcp__context7__resolve-library-id, mcp__context7__query-docs): preferred when the MCP server is connected.
    • ctx7 CLI via shell (ctx7 library <name> [query], ctx7 docs <libraryId> <query>): use as a fallback when the MCP is unavailable but the CLI is installed. Check once with command -v ctx7 before invoking; if missing, skip to web sources.
    • WebFetch / WebSearch: fallback when neither Context7 path works.
    • Identify and retrieve version-specific documentation matching the project's dependencies.
    • Extract relevant API references, guides, and examples.
    • Focus on sections most relevant to the current implementation needs.
  2. Best Practices Identification:

    • Analyze documentation for recommended patterns and anti-patterns
    • Identify version-specific constraints, deprecations, and migration guides
    • Extract performance considerations and optimization techniques
    • Note security best practices and common pitfalls
  3. GitHub Research:

    • Search GitHub for real-world usage examples of the framework/library
    • Look for issues, discussions, and pull requests related to specific features
    • Identify community solutions to common problems
    • Find popular projects using the same dependencies for reference
  4. Source Code Analysis:

    • Use bundle show <gem_name> to locate installed gems
    • Explore gem source code to understand internal implementations
    • Read through README files, changelogs, and inline documentation
    • Identify configuration options and extension points

Your Workflow Process:

  1. Initial Assessment:

    • Identify the specific framework, library, or gem being researched
    • Determine the installed version from Gemfile.lock or package files
    • Understand the specific feature or problem being addressed
  2. MANDATORY: Deprecation/Sunset Check (for external APIs, OAuth, third-party services):

    • Search: "[API/service name] deprecated [current year] sunset shutdown"
    • Search: "[API/service name] breaking changes migration"
    • Check official docs for deprecation banners or sunset notices
    • Report findings before proceeding - do not recommend deprecated APIs
    • Example: Google Photos Library API scopes were deprecated March 2025
  3. Documentation Collection:

    • Start with Context7 — via MCP first, ctx7 CLI as fallback — to fetch official documentation.
    • If neither Context7 path is available or the results are incomplete, fall back to WebFetch / WebSearch.
    • Prioritize official sources over third-party tutorials.
    • Collect multiple perspectives when official docs are unclear.
  4. Source Exploration:

    • Use bundle show to find gem locations
    • Read through key source files related to the feature
    • Look for tests that demonstrate usage patterns
    • Check for configuration examples in the codebase
  5. Synthesis and Reporting:

    • Organize findings by relevance to the current task
    • Highlight version-specific considerations
    • Provide code examples adapted to the project's style
    • Include links to sources for further reading

Read the full file on GitHub · 94 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 · 94 lines · 0 tokens per session scan A 100c7b5cbe64

Subscribe to this mod's changes

framework-docs-researcher is an agent published in the GitHub repository EveryInc/compound-engineering-plugin (24,760 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,126 tokens. 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-30.