context7
Skill2 starsChanged 3 months agoMITView on GitHub
Fetch current, version-accurate third-party library docs from Context7 before coding against any library API — treat trained-in API knowledge as stale. Prefer docs.mjs with --name (auto-resolves to an exact Context7 ID); use resolve.mjs only when the match is ambiguous. Also retrieves raw cached documents via docRef. Use when importing, configuring, or calling a third-party library, or when the user mentions Context7, library docs, or API lookup.
- Reads credentials
27 other projects use a version of this.
Adopted by
Most recently taken up by
- legibet/agent-skillstheir own version, first seen Oct 3, 2026
- Pi-Teacher/skillstheir own version, first seen Oct 2, 2026
- netresearch/context7-skilltheir own version, first seen Oct 1, 2026
- compozy/compozytheir own version, first seen Oct 1, 2026
- jscraik/Agent-Skillstheir own version, first seen Sep 27, 2026
- bmcszk/agent-skillstheir own version, first seen Sep 23, 2026
Used with
Projects with it also use agent-browser, copywriting and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
VercelSkillagent-browser
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
Also in 4 projects that use this
SupabaseSkillcopywriting
Write or audit UI copy (buttons, labels, empty states, error messages, tooltips, form text) anywhere in the monorepo. Load it before shipping or reviewing any user-facing text — including when copy is incidental to the task, like a new feature that adds buttons, toasts, dialogs, or validation messages.
Also in 3 projects that use this
OpenAISkillwriting-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Also in 3 projects that use this
OpenAISkillverification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
Also in 3 projects that use this
AWSSkillgrill-me
A relentless interview to sharpen a plan or design.
Also in 4 projects that use this
MicrosoftSkillmcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Also in 3 projects that use this
Other versions27 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 27
- compozy/compozy★ 2.8ksame name
- pedronauck/skills★ 633same name
- intellectronica/agent-skills★ 294same name
- netresearch/context7-skill★ 78same name
- Dianel555/DSkills★ 65same name
- Pi-Teacher/skills★ 19same name
- HiAi-gg/hiai-opencode★ 18same name
- arvindand/agent-skills★ 17same name
- alebgl77/claude-inc★ 16same name
- autohandai/community-skills★ 11same name
17 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- _global/AGENTS.mdAGENTS.md
- adhd-modeSkill
- browserSkill
- code-reviewerSkill
- commitSkill
- datadogSkill
- discordSkill
- firestoreSkill
- handoffSkill
- linear-cliSkill
- planworkSkill
- slackSkill
- taskmanSkill
- workflowsSkill
- write-an-adrSkill
- write-prSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Run from any cwd as node <skill-dir>/scripts/<name>.mjs ….
- Very specific: line 44
Call docs.mjs --name <lib> --query "..." before writing code against a third-party API.
- Very specific: line 45
If auto-resolve is ambiguous, run resolve.mjs, pick an ID, then docs.mjs --id </org/lib>.
- Very specific: line 46
When the curated excerpt omits detail, pass the printed docRef to raw.mjs.
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
context7
Pull live library documentation from Context7 instead of relying on model memory. Scripts are Node ≥20 ESM, dependency-free.
Setup
- Get an API key from context7.com.
- Export it (preferred):
export CONTEXT7_API_KEY=ctx7sk-...- Or set
apiKeyin~/.agents/context7.json. Optional TTL overrides:
{
"apiKey": "ctx7sk-...",
"cache": { "resolveTtlHours": 168, "docsTtlHours": 24 }
}Cache lives under ~/.agents/context7/cache/.
Scripts
Run from any cwd as node <skill-dir>/scripts/<name>.mjs ….
| Script | Usage |
docs.mjs | node scripts/docs.mjs --name <lib> [--query <q>] [--topic <t>] [--page <n>] or --id </org/lib> |
resolve.mjs | node scripts/resolve.mjs <libraryName> [--query <intent>] |
raw.mjs | node scripts/raw.mjs --doc-ref <ref> |
Deep docs: reference/docs.md, reference/resolve.md, reference/raw.md.
Workflow
- Call
docs.mjs --name <lib> --query "..."before writing code against a third-party API. - If auto-resolve is ambiguous, run
resolve.mjs, pick an ID, thendocs.mjs --id </org/lib>. - When the curated excerpt omits detail, pass the printed
docReftoraw.mjs. - A
(cache hit)marker ondocs.mjsmeans the local cache served a fresh entry (default docs TTL 24h).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

