find-docs

Retrieves current library documentation and code examples via the Context7 CLI.

Updated Oct 30, 2025
One-click install
npx skills add https://github.com/MauricioDMO/config --skill find-docs-mauriciodmo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: find-docs
Source: https://github.com/MauricioDMO/config/tree/main/opencode/skills/find-docs
Command: npx skills add https://github.com/MauricioDMO/config --skill find-docs-mauriciodmo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ctx7.

What problem does it solve? AI training data often contains outdated API signatures, configuration options, and version-specific behavior for libraries and frameworks. This Skill queries live documentation through the Context7 CLI so answers reflect current APIs instead of stale memorized knowledge. ## Core Features & Use Cases - Library Resolution: Converts a package or product name into a Context7 library ID using a two-step resolve-then-query workflow, with support for version-specific IDs like /org/project/version. - Documentation Queries: Returns code snippets and prose explanations for API syntax, configuration options, migrations, setup instructions, and CLI usage for any indexed library. - Use Case: When asked how to configure middleware in Next.js App Router, the Skill resolves nextjs to /vercel/next.js and queries current docs rather than relying on potentially outdated training data. ## Quick Start Ask the assistant to look up how to define one-to-many relations with cascade delete in Prisma using current documentation.

Frequently Asked Questions about find-docs

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

FAQPage Schema
How do I look up current documentation for a library like React or Next.js?▼

Run ctx7 library with the library name and a descriptive query to get a Context7 library ID, then run ctx7 docs with that ID and your question. The two-step process ensures queries target the correct library.

What is the Context7 CLI and how do I install it?▼

Context7 CLI (ctx7) is a command-line tool for querying up-to-date library documentation. Install it with npm install -g ctx7@latest or run it directly with npx ctx7@latest without installing.

Does Context7 require an API key or authentication?▼

Context7 works without authentication at base rate limits. For higher limits, set the CONTEXT7_API_KEY environment variable or run ctx7 login to authenticate via OAuth.

Can I query documentation for a specific library version?▼

Yes, use a version-specific library ID in the format /org/project/version, such as /vercel/next.js/v14.3.0-canary.87. Available versions are listed in the ctx7 library output.

What happens when the Context7 quota is exceeded?▼

Quota errors mean the monthly limit is reached. Authenticate with ctx7 login for higher limits, or fall back to training knowledge while clearly noting the information may be outdated.

Why does ctx7 docs fail with a library name instead of an ID?▼

The docs command requires a valid Context7 library ID with a leading slash, like /facebook/react. Always run ctx7 library first to resolve the name to an ID before querying documentation.