
Documentation lookup
Fetch current library and framework docs through Context7 MCP before answering
Documentation lookup is an open-source agent skill for knowledge and memory. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 73
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Documentation lookup
This skill makes the agent look up live documentation through the Context7 MCP server rather than answering from training data. It applies whenever a request depends on how a library, framework, or API currently behaves, such as setup, configuration, API references, or code that uses a named package.
The workflow has four steps. The agent first calls resolve-library-id with the library name and the user's full question to get a Context7 library ID in the /org/project format. It then picks the best match by name, benchmark score, source reputation, and requested version. Next it calls query-docs with that ID and the specific question. Finally it answers using the returned snippets, citing the library or version where relevant.
The skill caps the agent at three Context7 calls per question and asks it to state any remaining uncertainty rather than guess. It also tells the agent to strip API keys, passwords, and tokens from queries before sending them. It requires a client with the Context7 MCP server configured, and includes worked examples for Next.js, Prisma, and Supabase.
When your agent uses it
Use up-to-date library and framework docs via Context7 MCP instead of training data. Activates for setup questions, API references, code examples, or when the user names a framework (e.g. React, Next.js, Prisma).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (5 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafathOr copy only this skill to ~/.claude/skills/documentation-lookup:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/documentation-lookup &&
cp -R "$tmp/.agents/skills/documentation-lookup" ~/.claude/skills/documentation-lookup &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/documentation-lookup inside it instead.
Copy the skill folder to ~/.agents/skills/documentation-lookup to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/documentation-lookup &&
cp -R "$tmp/.agents/skills/documentation-lookup" ~/.agents/skills/documentation-lookup &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/documentation-lookup inside it instead.
Copy the skill folder to ~/.cursor/skills/documentation-lookup to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/documentation-lookup &&
cp -R "$tmp/.agents/skills/documentation-lookup" ~/.cursor/skills/documentation-lookup &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/documentation-lookup inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/documentation-lookupOr copy the folder to ~/.gemini/skills/documentation-lookup yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/documentation-lookup:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/documentation-lookup &&
cp -R "$tmp/.agents/skills/documentation-lookup" ~/.copilot/skills/documentation-lookup &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/documentation-lookup inside it instead.
Get the folder:
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.gitThen copy REA_Skill/.agents/skills/documentation-lookup into your agent's skills folder as documentation-lookup. Agents that support SKILL.md read one folder per skill.
What it does
- Two-step Context7 lookup
- Resolves a library name to a Context7 ID first, then queries docs with that ID.
- Match selection rules
- Chooses results by name match, benchmark score, source reputation, and official over community packages.
- Version-aware queries
- Prefers version-specific library IDs when the user names a version such as React 19 or Next.js 15.
- Call limit
- Allows at most three Context7 calls per question and reports uncertainty instead of guessing.
- Secret redaction
- Removes keys, passwords, and tokens from queries before they reach Context7.
- Worked examples
- Walks through Next.js middleware, Prisma relation queries, and Supabase auth methods.
Good for
- Ask how to configure Next.js middleware using current docs
- Write a Prisma query with relations based on the latest Prisma Client patterns
- List Supabase auth methods with minimal examples from the docs
- Check setup steps for a framework like Tailwind, Vue, or Svelte
- Get version-specific API guidance for React 19
Documentation lookup FAQ
What does Documentation lookup need to work?
A client with the Context7 MCP server configured, exposing the resolve-library-id and query-docs tools.
Why does Documentation lookup call resolve-library-id first?
query-docs needs a valid Context7 library ID, which only the resolve step provides.
How many lookups can Documentation lookup make per question?
No more than three calls in total. If the answer is still unclear, the agent states its uncertainty.
Does Documentation lookup send my secrets to Context7?
No. The skill instructs the agent to redact API keys, passwords, tokens, and other secrets from queries.
When does Documentation lookup trigger?
On setup or configuration questions, code requests that depend on a library, API reference questions, or when a framework is named.
How do I install Documentation lookup in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/documentation-lookup to use it in all your projects, or to .claude/skills/documentation-lookup in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.
Does Documentation lookup run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Documentation lookup?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Documentation lookup?
The closest alternatives to Documentation lookup are Microsoft docs, Retrieving developer knowledge, Onboard context matic, Openai docs and Codebase memory MCP.
Where this comes from
- Description: from the skill's own SKILL.md.
More from smartworldarafath/REA_Skill

Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android
- Open source
- 73 GitHub stars
- Developer tools

Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity
- Open source
- 73 GitHub stars
- Developer tools

Compare coding agents head-to-head on your own tasks by pass rate, cost and time
- Open source
- 73 GitHub stars
- Developer tools

Guides an agent to design tool sets, observations and error recovery for better completion
- Open source
- 73 GitHub stars
- Developer tools

Gives an agent a structured capture-diagnose-recover loop for failing runs
- Open source
- 73 GitHub stars
- Developer tools

Lets an AI agent make x402 payments within per-task budgets and spending policies
- Open source
- 73 GitHub stars
- Finance and payments




