context7

Query library documentation via the Context7 API with search and docs commands.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/leonardofhy/openclaw-workspace --skill context7-leonardofhy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7
Source: https://github.com/leonardofhy/openclaw-workspace/tree/main/skills/context7
Command: npx skills add https://github.com/leonardofhy/openclaw-workspace --skill context7-leonardofhy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Developers need quick access to accurate, up-to-date library documentation without leaving their workflow.

Core Features & Use Cases

  • Search for library IDs and fetch focused docs via Context7.
  • Retrieve topic-specific docs for common libraries like PyTorch, NumPy, and Transformers.
  • Cache results locally to speed up repeated queries and reduce network calls.

Quick Start

Run the docs command to fetch up-to-date library documentation for a specific library.

Frequently Asked Questions about context7

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

FAQPage Schema
How do I fetch up-to-date library documentation without leaving my workflow?

You can retrieve focused library documentation by running the docs command. This skill queries the Context7 API to fetch topic-specific docs for common libraries like PyTorch, NumPy, and Transformers.

Can I retrieve topic-specific docs for PyTorch or NumPy?

Yes, you can retrieve topic-specific docs for major libraries like PyTorch, NumPy, and Transformers. The skill uses token and topic controls to fetch focused, accurate API documentation on demand.

How do I search for a library ID before fetching its API documentation?

You can search for a library ID by running the search command. The skill implements a CLI that searches the Context7 API to locate library IDs needed to fetch their documentation.

Does this documentation search tool cache results locally to speed up repeated queries?

Yes, the documentation search tool caches results locally. This caching mechanism speeds up repeated queries and reduces network calls when fetching library documentation.

What is the best way to get focused API usage docs for a specific library?

The best way to get focused API usage docs is using the CLI docs command with token and topic controls. This fetches precise, topic-specific documentation from the Context7 API.