context7-skill banner
netresearch netresearch

context7-skill

Documentation community intermediate

Description

Fetch up-to-date library documentation via Context7 REST API. Lightweight alternative to Context7 MCP with no persistent context overhead.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Context7 Documentation Lookup Skill

Fetch up-to-date library documentation via Context7 REST API. Lightweight alternative to Context7 MCP with no persistent context overhead.

Features

  • No MCP Overhead - Uses REST API directly, no tool schemas consuming context
  • Current Documentation - Fetches live docs from Context7's curated database
  • Topic Filtering - Focus on specific areas (hooks, routing, middleware, etc.)
  • 50+ Libraries - React, Next.js, Vue, Express, Prisma, and more

Installation

Marketplace (Recommended)

Add the [Netresearch marketplace](https://github.com/netresearch/claude-code-marketplace) once, then browse and install skills:

# Claude Code
/plugin marketplace add netresearch/claude-code-marketplace

npx ([skills.sh](https://skills.sh))

Install with any [Agent Skills](https://agentskills.io)-compatible agent:

npx skills add https://github.com/netresearch/context7-skill --skill context7

Download Release

Download the [latest release](https://github.com/netresearch/context7-skill/releases/latest) and extract to your agent's skills directory.

Git Clone

git clone https://github.com/netresearch/context7-skill.git

Composer (PHP Projects)

composer require netresearch/context7-skill

Requires [netresearch/composer-agent-skill-plugin](https://github.com/netresearch/composer-agent-skill-plugin).

Usage

The skill triggers on keywords like:

  • "how do I use [library]"
  • "what's the API for [library]"
  • "[library] documentation"
  • "show me [library] patterns"

Example Prompts

"How do I use React hooks?"
"What's the Next.js App Router API?"
"Show me Prisma query patterns"
"Express middleware documentation"

Manual Script Usage

# Search for a library ID
scripts/context7.sh search "prisma"

# Fetch documentation with topic
scripts/context7.sh docs "/prisma/prisma" "queries"

Structure

context7/

...