find-docs

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

1|Updated Sep 13, 2026
One-click install
npx skills add https://github.com/silentFellow/public-dotfiles --skill find-docs-silentfellow
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: find-docs
Source: https://github.com/silentFellow/public-dotfiles/tree/main/agents/skills/find-docs
Command: npx skills add https://github.com/silentFellow/public-dotfiles --skill find-docs-silentfellow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ctx7.

What problem does it solve? AI training data often contains outdated API signatures, deprecated configuration options, and stale version details for libraries and frameworks. This Skill queries live documentation sources so answers about any library, SDK, CLI tool, or cloud service reflect current reality instead of stale memorized knowledge. ## Core Features & Use Cases - Library Resolution: Converts a package or product name into a Context7-compatible library ID, ranked by name similarity, snippet count, source reputation, and benchmark score. - Documentation Queries: Fetches up-to-date code snippets and prose explanations for a resolved library ID, with support for version-specific IDs like /org/project/version. - Research Retry: Re-runs unsatisfying queries with the --research flag, which pulls actual source repos and live web results for a synthesized fresh answer. - Use Case: A developer asks how to configure middleware in Next.js 15. The Skill resolves /vercel/next.js, queries the current docs, and returns accurate middleware matcher examples rather than outdated v13 patterns. ## Quick Start Ask the assistant to look up how to use a specific feature of any library, for example: find the current documentation for setting up authentication middleware in Next.js.

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 package name and a descriptive query to resolve a library ID, then run ctx7 docs with that ID and your question. The two-step process returns current code snippets and explanations from indexed documentation.

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

ctx7 is a command-line tool for querying Context7's documentation index. Install it globally with npm install -g ctx7@latest, or run it without installing via npx ctx7@latest followed by your command.

Does Context7 documentation lookup require an API key or login?▼

No, ctx7 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.

Why does ctx7 docs fail with an invalid library error?▼

The docs command requires a valid library ID in the format /org/project, including the leading slash. You must run ctx7 library first to resolve a plain name like react into an ID such as /facebook/react.

What should I do when Context7 quota is exceeded?▼

Quota errors mean the monthly Context7 limit is reached. Authenticate with ctx7 login for higher limits, or answer from training knowledge while clearly telling the user the information may be outdated.