Skip to content
Back to skills

Context7

ASecurity

Library documentation fetcher using Context7 CLI. Provides up-to-date, version-specific documentation for external libraries and frameworks. Uses `npx ctx7` CLI instead of MCP for lower context overhead.

  • 186 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
developmentbashreactvuenextjsnodeapidocumentation

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add WenJunDuan/Rlues --skill context7 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Context7?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Context7
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wenjunduan-context7-104a5539/badge)](https://www.skillsdirectory.com/skills/wenjunduan-context7-104a5539)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: context7
description: |
  Library documentation fetcher using Context7 CLI. Provides up-to-date,
  version-specific documentation for external libraries and frameworks.
  Uses `npx ctx7` CLI instead of MCP for lower context overhead.
context: fork
allowed-tools:
  - Bash(npx ctx7*)
  - Bash(npm *)
---

# Context7 Documentation Skill (CLI Version)

Fetch real-time, version-specific library documentation using Context7 CLI.

## When to Use

This skill activates automatically when detecting:
- External library/framework usage (React, Next.js, Vue, etc.)
- API integration or documentation needs
- Framework setup or configuration
- Package-specific code examples

## CLI Commands

### Search for Skills
```bash
npx ctx7 skills search <keyword>
```

### Install a Skill
```bash
npx ctx7 skills install /org/project <skill-name>
```

### Generate Custom Skill
```bash
npx ctx7 skills generate
```

### List Installed Skills
```bash
npx ctx7 skills list --claude
```

## Alternative: use context7 Prompt

If Context7 MCP is available, add to prompt:
```
Create a Next.js middleware for auth. use context7
```

Or specify exact library:
```
Implement Supabase auth. use library /supabase/supabase
```

## Common Library IDs

| Library | Context7 ID |
|:---|:---|
| Next.js | /vercel/next.js |
| React | /facebook/react |
| Vue | /vuejs/vue |
| Supabase | /supabase/supabase |
| TailwindCSS | /tailwindlabs/tailwindcss |
| Prisma | /prisma/prisma |
| tRPC | /trpc/trpc |

## Version-Specific Docs

Mention version in query:
```
How to set up Next.js 15 middleware? use context7
```

Context7 automatically matches the appropriate version.

## Workflow

1. **Identify Library** - Detect library from user query
2. **Search/Install** - Use CLI to get skill or search docs
3. **Apply Documentation** - Integrate docs into implementation
4. **Cite Source** - Reference Context7 ID used

## Fallback

If Context7 unavailable:
1. Check project's node_modules for types
2. Use official documentation links
3. Reference framework patterns from knowledge-base

## Integration with VibeCoding

- **vibe-plan**: Auto-fetch docs for planned libraries
- **design-mgr**: Get API patterns before design
- **impl-executor**: Reference docs during implementation

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.