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
28 other projects use a version of this.
Adopted by
Most recently taken up by
- ZhouYinLong-lab/Dog-Skillstheir own version, first seen Nov 8, 2026
- compozy/compozytheir own version, first seen Nov 7, 2026
- legibet/agent-skillstheir own version, first seen Nov 1, 2026
- arvindand/agent-skillstheir own version, first seen Oct 31, 2026
- netresearch/context7-skilltheir own version, first seen Oct 30, 2026
- bmcszk/agent-skillstheir own version, first seen Oct 29, 2026
Used with
Projects with it also use superpowers, mermaid-diagrams and 9 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.
HK-hubSkillsuperpowers
A complete software development methodology and skill composition system, ported from obra/superpowers. Provides structured, repeatable workflow: brainstorming, design, planning, TDD, subagent-driven dev, code review, finishing branch. Use for coding, building projects, refactoring, bug fixing, or any programming tasks.
Also in 4 projects that use this
LangChainSkillmermaid-diagrams
Embed Mermaid diagrams in generated wiki pages. Use whenever documenting a runtime or request flow, a call sequence, a state machine or lifecycle, a data model or entity relationships, or non-trivial control flow, since these are clearer as a diagram than as prose. Also use when an update run touches a page that already contains a mermaid fence, or a page that contains a text fence a previous run degraded.
Also in 3 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 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 5 projects that use this
VercelSkillvercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Also in 4 projects that use this
StrayDragonSkillui-ux-pro-max
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
Also in 4 projects that use this
Other versions28 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 28
- compozy/compozy★ 2.9ksame name
- pedronauck/skills★ 649same name
- netresearch/context7-skill★ 82same name
- Dianel555/DSkills★ 65same name
- Pi-Teacher/skills★ 25same name
- JetBrains/junie-extensions★ 23same name
- alebgl77/claude-inc★ 21same name
- arvindand/agent-skills★ 17same name
- archibate/agent-skills★ 16same name
- jscraik/Agent-Skills★ 9same name
18 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 24 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 24 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.

