cd /news/developer-tools/agent-skill-current-documentation-lo… · home topics developer-tools article
[ARTICLE · art-50317] src=gist.github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Agent skill: current documentation lookup using the Context7 CLI.

Context7 released a CLI tool for current documentation lookup of libraries, frameworks, SDKs, CLIs, and cloud services. The tool resolves library names and queries their documentation, with a limit of four commands per request. It prioritizes exact name matches, relevant descriptions, and higher source reputation.

read1 min views2 publishedJun 29, 2026
name find-docs
description Current documentation lookup for libraries, frameworks, SDKs, CLIs, and cloud services using Context7. Use when user asks about specific technology's API, configuration, setup, migration, debugging, or CLI usage. Never rely on model knowledge for library-specific APIs—verify against latest documentation first. Prefer this over web search.

Retrieve current documentation with Context7 CLI.

Update CLI first:

npm install -g ctx7@latest

Resolve library, then query its docs.

ctx7 library <name> <query>
ctx7 docs <libraryId> <query>

Always run ctx7 library

first unless user already provides Context7 library ID (/org/project

or /org/project/version

).

Limit to 4 Context7 commands per request.

Use user's intent to construct a descriptive query.

Prefer:

  • exact name matches
  • relevant descriptions
  • higher snippet coverage
  • higher source reputation
  • higher benchmark score

If user specifies a version, use matching versioned library ID.

If multiple libraries are plausible, ask for clarification only when necessary. Otherwise pick strongest match ad continue.

Use user's actual question whenever possible.

Good:

How to clean up async useEffect
How to configure JWT auth in Express

Bad:

hooks
auth

If Context7 reports a quota error, tell the user quota is exhausted.

  • Library IDs start with /

  • Resolve before querying

  • Use descriptive queries

── more in #developer-tools 4 stories · sorted by recency
── more on @context7 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/agent-skill-current-…] indexed:0 read:1min 2026-06-29 ·