context7

context7 is a skill for Claude Code, Codex from Bilal140202/the-lord-of-the-skills. It costs 57 tokens per session (493 once invoked), scanned A, original, MIT.

A tool for fetching current documentation and code examples for software libraries and frameworks through the Context7 service.

In plain words
What is it for?
Looking up library identifiers and retrieving relevant documentation for implementation questions.
Why use it?
It reduces the risk of relying on outdated API details when you need to use a particular library.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Looking up library identifiers and retrieving relevant documentation for implementation questions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bilal140202/the-lord-of-the-skills/dvasyliev__ai-dev-tools-getting-started
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Bilal140202/the-lord-of-the-skills --skill dvasyliev__ai-dev-tools-getting-started
Clone the repo
git clone --depth 1 https://github.com/Bilal140202/the-lord-of-the-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for context7

README.md
[![agentmods](https://agentmods.dev/badge/skills/bilal140202/the-lord-of-the-skills/dvasyliev__ai-dev-tools-getting-started/github.svg)](https://agentmods.dev/skills/bilal140202/the-lord-of-the-skills/dvasyliev__ai-dev-tools-getting-started)
Your own site
<a href="https://agentmods.dev/skills/bilal140202/the-lord-of-the-skills/dvasyliev__ai-dev-tools-getting-started"><img src="https://agentmods.dev/badge/skills/bilal140202/the-lord-of-the-skills/dvasyliev__ai-dev-tools-getting-started/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for context7

Your own site · 80×15
<a href="https://agentmods.dev/skills/bilal140202/the-lord-of-the-skills/dvasyliev__ai-dev-tools-getting-started"><img src="https://agentmods.dev/badge/skills/bilal140202/the-lord-of-the-skills/dvasyliev__ai-dev-tools-getting-started.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00493
Opus 5.5 $0.00023 $0.00197
Sonnet 5.5 $0.00011 $0.00099
Haiku 4.5 $0.00006 $0.00049

Measured 1mo ago against content hash 5698c60ee708, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

context7 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gondor/claude-code/dvasyliev__ai-dev-tools-getting-started/SKILL.md · 63 lines

What it actually says

Context7 Documentation Fetcher

This skill fetches up-to-date documentation and code examples from libraries using the Context7 API.

Standard Workflow

Context7 requires a two-step process:

Step 1: Search for the Library ID

First, search for the library to get its ID:

GET https://context7.com/api/v2/libs/search?libraryName=<library>&query=<context>

Parameters:

  • libraryName: The library name (e.g., "react", "nextjs", "fastapi")
  • query: Search context to help find the right library

The response contains a results array with library objects. Use the id field from the first result.

Step 2: Get Documentation Context

Use the library ID to fetch relevant documentation:

GET https://context7.com/api/v2/context?libraryId=<id>&query=<question>

Parameters:

  • libraryId: The ID from step 1 (e.g., "/vercel/next.js")
  • query: Natural language question about the documentation

This returns ranked code snippets and documentation matching your query.

Example Usage

When the user asks about a library:

  1. Search for the library: Fetch https://context7.com/api/v2/libs/search?libraryName=nextjs&query=routing Extract the library ID from the response (e.g., "/vercel/next.js")

  2. Fetch documentation: Fetch https://context7.com/api/v2/context?libraryId=/vercel/next.js&query=How to setup dynamic routes

  3. Present the results to the user with the relevant code examples and documentation.

Tips for Best Results

  • Use specific, detailed queries rather than vague terms
  • Include relevant context in the query (e.g., "useState hook with TypeScript" instead of just "state")
  • The API works without an API key but has restricted rate limits
Files

What ships with it

46 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 63 lines · 57 tokens per session scan A 5698c60ee708

Subscribe to this mod's changes

context7 is a skill published in the GitHub repository Bilal140202/the-lord-of-the-skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 493 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

reviewer

Get a second-opinion review from Google's Antigravity CLI (agy staffer, fast Gemini) - of code (a diff, PR, working tree) or of a decision, plan, or design. Use when the user says /agy:reviewer, "have agy review this", "second opinion on my diff/PR/plan", or after finishing work and wanting an independent verifier…

keli-wen/agy-staff · 94 tokens

agent-tool-builder

Tools are how AI agents interact with the world. A well-designed tool is the difference between an agent that works and one that hallucinates, fails silently, or costs 10x more tokens than necessary. This skill covers tool design from schema to error handling.

lingxling/awesome-skills-cn · 57 tokens

antigravity-maintainer-batch-release

Run protected AAS maintainer sweeps, PR merge batches, canonical sync, Core preview checks, and scripted releases. Use for repository maintenance, main alignment, CLI/MCP/Workbench changes, or release work; not ordinary contribution tasks.

lingxling/awesome-skills-cn · 57 tokens

algolia-search

Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning.

lingxling/awesome-skills-cn · 22 tokens

amazon-alexa

Integracao completa com Amazon Alexa para criar skills de voz inteligentes, transformar Alexa em assistente com Claude como cerebro (projeto Auri) e integrar com AWS ecosystem (Lambda, DynamoDB, Polly, Transcribe, Lex, Smart Home).

lingxling/awesome-skills-cn · 53 tokens

concept-modeler

An interactive method for turning a vague software request into a clear model of its concepts, entities, processes, terms, and missing pieces. It records the result as structured JSON for later planning and specification work.

Haaaiawd/ANWS · 89 tokens