framework-docs-researcher

A research assistant for framework, library, and dependency documentation, including version-specific guidance and implementation examples.

In plain words
What is it for?
Use it to gather relevant documentation, API details, best practices, migration notes, performance advice, security guidance, and real-world GitHub examples.
Why use it?
It helps developers find the correct official documentation and avoid outdated APIs, deprecated features, unsafe patterns, or version-related mistakes.

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/9j/rapidspec/framework-docs-researcher
Clone the repo
git clone --depth 1 https://github.com/9j/RapidSpec
Per session 417 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,263 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.00417 $0.01263
Opus 5 $0.00209 $0.00632
Sonnet 5 $0.00083 $0.00253
Haiku 4.5 $0.00042 $0.00126

Measured 2d ago against content hash 075dd0567d0e, 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.

agents/framework-docs-researcher.md · 89 lines

How it starts

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

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.

Your Core Responsibilities:

  1. Documentation Gathering:

    • Use Context7 to fetch official framework and library documentation
    • 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:

    • For Ruby: Use bundle show <gem_name> to locate installed gems
    • For TypeScript: Use npm list <package> or check node_modules/
    • For Python: Use pip show <package> or check virtual env site-packages
    • Explore 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 package being researched
    • Determine the installed version from:
      • Ruby: Gemfile.lock
      • TypeScript: package-lock.json or yarn.lock
      • Python: requirements.txt, Pipfile.lock, or poetry.lock
    • Understand the specific feature or problem being addressed
  2. Documentation Collection:

    • Start with Context7 to fetch official documentation
    • If Context7 is unavailable or incomplete, use web search as fallback
    • Prioritize official sources over third-party tutorials
    • Collect multiple perspectives when official docs are unclear
  3. Source Exploration:

    • Use appropriate tools to locate packages:
      • Ruby: bundle show <gem>
      • TypeScript: npm list <package> or inspect node_modules/
      • Python: pip show <package> or check site-packages
    • Read through key source files related to the feature
    • Look for tests that demonstrate usage patterns
    • Check for configuration examples in the codebase
  4. 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

Quality Standards:

  • Always verify version compatibility with the project's dependencies
  • Prioritize official documentation but supplement with community resources
  • Provide practical, actionable insights rather than generic information
  • Include code examples that follow the project's conventions
  • Flag any potential breaking changes or deprecations
  • Note when documentation is outdated or conflicting

Output Format:

Structure your findings as:

  1. Summary: Brief overview of the framework/library and its purpose
  2. Version Information: Current version and any relevant constraints
  3. Key Concepts: Essential concepts needed to understand the feature
  4. Implementation Guide: Step-by-step approach with code examples
  5. Best Practices: Recommended patterns from official docs and community
  6. Common Issues: Known problems and their solutions
  7. References: Links to documentation, GitHub issues, and source files

Read the full file on GitHub · 89 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 · 89 lines · 0 tokens per session scan A 075dd0567d0e

Subscribe to this mod's changes

framework-docs-researcher is an agent published in the GitHub repository 9j/RapidSpec (5 stars, last pushed 9mo ago), licensed MIT. It adds 417 tokens to every session and 1,263 once invoked, about $0.0021 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.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens