context7

Resolve library IDs and fetch up-to-date documentation via the Context7 CLI.

2.5k|134|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/compozy/compozy --skill context7-compozy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7
Source: https://github.com/compozy/compozy/tree/main/.agents/skills/context7
Command: npx skills add https://github.com/compozy/compozy --skill context7-compozy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Context7 Documentation Lookup retrieves authoritative, up-to-date technical documentation, API references, configuration details, and code examples for developer technologies, ensuring accurate guidance when answering technical questions or writing code.

Core Features & Use Cases

  • Look up API endpoints, classes, functions, or parameters across libraries and frameworks.
  • Retrieve configuration options, CLI commands, setup instructions, migration guides, and code samples.
  • Use case: need current docs for a library to implement a feature or debug an integration.

Quick Start

Ask Context7 to fetch the latest documentation for a library by first resolving its library ID and then querying the docs.

Frequently Asked Questions about context7

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

FAQPage Schema
How do I look up up-to-date API documentation for a specific library?

To fetch up-to-date API documentation, resolve the library name to an ID using the ctx7 library command, then query the docs endpoint to retrieve current references and code examples.

What is the best way to get current configuration details and code samples for a framework?

The best way to retrieve current configuration details and code samples is querying the Context7 CLI, which fetches authoritative, version-specific technical documentation across languages and frameworks.

Can I retrieve version-specific documentation for a library to debug an integration?

Yes, you can retrieve version-specific documentation to debug an integration. The lookup process supports both general and version-specific queries after resolving the target library ID.

Does the documentation lookup work across different programming languages and tools?

Yes, the documentation lookup works across different programming languages, frameworks, and tools. It resolves API references and setup instructions universally using the CLI.

Do I need a library ID to fetch CLI commands and setup instructions?

Yes, you need a library ID to fetch CLI commands and setup instructions. If you only have the library name, you must first resolve it to an ID before querying the documentation.

What are the limitations of using Context7 for technical Q&A and implementation tasks?

The limitation is that documentation retrieval requires an initial library ID or name resolution step via the CLI; it cannot fetch docs without first resolving the target library identifier.