# context7

Looks up library references and API examples through the Context7 REST API when its MCP server is not configured. Use it for framework-specific questions and version behaviour.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1900 installs · ★ 81
- Author: Netresearch DTT GmbH
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/netresearch/context7-skill/tree/HEAD/skills/context7/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/netresearch-dtt-gmbh-context7

## What it does

The skill identifies a library, selects a relevant ID, then requests material for a focused subject. It handles questions about API methods, imports, routing, hooks, ORM queries, and other library features.

Its workflow uses `context7.sh`: it searches for a library first, then requests documentation with a topic and either `code` or `info` mode. When the Context7 MCP server is unavailable, the script calls the REST API directly.

It requires `curl` 7.55 or later plus `jq`. Check those dependencies before installation. `CONTEXT7_API_KEY` is optional and raises request limits.

## Requirements
- Works with: Context7

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add netresearch/context7-skill --skill context7 -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/context7/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/context7/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add netresearch/context7-skill --skill context7 -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/context7/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add netresearch/context7-skill --skill context7 -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/context7/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install netresearch/context7-skill context7
```

2. **Manually: put the files in place**
- File: `.github/skills/context7/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add netresearch/context7-skill --skill context7 -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/netresearch/context7-skill --path skills/context7
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/context7/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add netresearch/context7-skill --skill context7 -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/netresearch/context7-skill/tree/HEAD/skills/context7/SKILL.md

## When to use it
- find a library identifier
- look up an API method
- check framework behaviour by version
- retrieve an ORM query example

## Example prompts
- How do I use React hooks?
- Show me the Next.js routing reference.
- I need the Django QuerySet filtering API.

## Similar
- [context7-cli](https://affpapa.org/en/nevibecode/skills/context7-cli.md) — skill · 7800 installs
- [setup-context7-mcp](https://affpapa.org/en/nevibecode/skills/setup-context7-mcp.md) — skill · 1100 installs
- [Context7-Expert](https://affpapa.org/en/nevibecode/agents/context7-expert.md) — subagent · ★ 40418
- [find-docs](https://affpapa.org/en/nevibecode/skills/find-docs.md) — skill · 9400 installs
- [documentation-lookup](https://affpapa.org/en/nevibecode/skills/documentation-lookup.md) — skill · 4700 installs
- [microsoft-docs](https://affpapa.org/en/nevibecode/skills/github-microsoft-docs.md) — skill · 14881 installs

## Other versions with the same name
- [context7 · intellectronica](https://affpapa.org/en/nevibecode/skills/context7.md) — 11200 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
