context7

Retrieve live version-specific documentation for software libraries via the Context7 API.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/rawadghz/recipe-ms --skill context7-rawadghz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7
Source: https://github.com/rawadghz/recipe-ms/tree/main/.opencode/skills/context7
Command: npx skills add https://github.com/rawadghz/recipe-ms --skill context7-rawadghz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill provides up-to-date documentation for software libraries and frameworks, ensuring you're not relying on outdated information from training data.

Core Features & Use Cases

  • Live Documentation Retrieval: Fetches current API documentation for a vast range of libraries and frameworks.
  • Code Examples: Provides relevant code snippets for specific library functions or features.
  • Use Case: When working with a new version of a library like Drizzle ORM, use this Skill to get the latest syntax and best practices for setting up modular schemas, rather than guessing or using potentially obsolete examples.

Quick Start

Use ExternalScout to fetch documentation for Drizzle ORM: How do I set up modular schemas with PostgreSQL?

Frequently Asked Questions about context7

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get live documentation for a specific library version?

To get live documentation for a specific library version, retrieve current API details using the Context7 API. This bypasses outdated training data by fetching version-specific syntax, code examples, and best practices directly for frameworks and libraries.

Can I fetch code examples for external frameworks like Drizzle ORM?

Yes, you can fetch code examples for external frameworks like Drizzle ORM. The Skill retrieves relevant code snippets and current API documentation for specific library functions across databases, frontend, UI, and state management categories.

What is the best way to ensure my API documentation is up-to-date?

The best way to ensure API documentation is up-to-date is retrieving live docs via the Context7 API. This approach guarantees you receive current, version-specific information rather than relying on potentially obsolete examples from training data.

Does this documentation retrieval method support infrastructure and testing libraries?

Yes, this documentation retrieval method supports infrastructure and testing libraries. It retrieves live docs across a wide range of categories including databases, authentication, frontend, UI, state management, validation, and testing frameworks.

How do I query modular schema setup for PostgreSQL using live docs?

To query modular schema setup for PostgreSQL using live docs, utilize the ExternalScout subagent to query the Context7 API. This retrieves the latest syntax and best practices directly, avoiding outdated training data.

When should I use live library documentation instead of static training data?

You should use live library documentation instead of static training data when working with new library versions or needing current API syntax. It ensures accurate, version-specific information for external software libraries and frameworks.