context7

Retrieve current library documentation via the Context7 CLI.

1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/hirokimry/vibecorp --skill context7-hirokimry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7
Source: https://github.com/hirokimry/vibecorp/tree/main/skills/context7
Command: npx skills add https://github.com/hirokimry/vibecorp --skill context7-hirokimry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents outdated API knowledge from slipping into code by fetching current documentation on demand.

Core Features & Use Cases

  • Latest Documentation Lookup: Resolves a library name and retrieves the most relevant current docs from Context7.
  • Token-Controlled Summaries: Limits document size so outputs stay focused and usable in chat or code review workflows.
  • Failure-Aware Guidance: Handles missing CLI installs, unresolved libraries, and API errors with clear next-step instructions.

Quick Start

Ask the assistant to fetch the latest documentation for a specific library using the Context7 skill.

Frequently Asked Questions about context7

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

FAQPage Schema
How do I get the latest API documentation before coding against a library?

Fetching current library documentation on demand prevents coding against outdated APIs. This skill resolves a library name and retrieves token-limited summaries of the most relevant current docs to keep your development workflow accurate.

How do I verify if an API reference is outdated during software development?

Verifying API references requires checking current library documentation to prevent coding against stale knowledge. This skill resolves the library name and fetches up-to-date docs, applying token-controlled summaries to keep outputs focused and usable.

Do I need the Context7 CLI installed to look up library documentation?

Yes, looking up library documentation requires the Context7 CLI installed. The skill depends on this CLI for library resolution and token-limited document fetching, providing explicit error reporting and next-step instructions if the CLI is missing.

Can I limit the size of fetched documentation summaries for code review workflows?

Yes, you can limit fetched documentation size using token-controlled summaries. The skill limits document size so outputs stay focused and usable in chat or code review workflows, preventing excessive token consumption during library lookup.

What happens if a library cannot be resolved during framework lookup?

When a library cannot be resolved during framework lookup, the skill provides failure-aware guidance with explicit error reporting. It handles unresolved libraries and API errors by returning clear next-step instructions for the software engineering workflow.