Loading...
Loading...
Fetch up-to-date documentation and code examples for any library or framework. Use when needing API references, code examples, library documentation, or framework guides. Supports React, Next.js, MongoDB, Supabase, and thousands of other libraries.
npx skill4agent add huynguyen03dev/opencode-setup context7bun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts <command> [options]bun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts resolve-library-id --library-name "react"
bun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts resolve-library-id --library-name "next.js"get-library-docs/org/project# Basic usage
bun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts get-library-docs \
--context7-compatible-library-i-d "/vercel/next.js"
# With topic focus
bun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts get-library-docs \
--context7-compatible-library-i-d "/vercel/next.js" --topic "routing"
# Different modes: code (API refs) or info (conceptual guides)
bun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts get-library-docs \
--context7-compatible-library-i-d "/mongodb/docs" --mode "info"--context7-compatible-library-i-d/mongodb/docs/vercel/next.js--modecodeinfo--topichooksroutingauthentication--page-t, --timeout <ms>-o, --output <format>textmarkdownjsonraw| Library | ID |
|---|---|
| React | |
| Next.js | |
| MongoDB | |
| Supabase | |
| Prisma | |
mcporter