What problem does it solve?
This skill retrieves up-to-date library documentation from the Context7 API, enabling developers to quickly understand APIs, patterns, and best practices without relying on outdated sources.
Core Features & Use Cases
- Library discovery: Find relevant documentation for libraries by name.
- Context-aware fetch: Retrieve precise context for API queries, setup steps, and usage examples.
- On-demand guidance: Ideal when building features that rely on third-party packages or debugging library-specific issues.
Quick Start
Use the context7 script to search for a library and fetch its documentation.
- Search for a library: python3 ~/.codex/skills/context7/scripts/context7.py search "react"
- Get documentation context: python3 ~/.codex/skills/context7/scripts/context7.py context "/vercel/next.js" "app router middleware"