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 $0.00028 $0.00246
Sonnet 5 $0.00011 $0.00099
Haiku 4.5 $0.00006 $0.00049

Measured 9d ago against content hash 5698c60ee708, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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. 9d 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 (4 stars, last pushed 6d ago), licensed MIT. It adds 57 tokens to every session and 493 once invoked, about $0.0003 per session on Opus 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

collecting-indicators-of-compromise

Systematically collects, categorizes, and distributes indicators of compromise (IOCs) during and after security incidents to enable detection, blocking, and threat intelligence sharing. Covers network, host, email, and behavioral indicators using STIX/TAXII formats and threat intelligence platforms. Activates for…

adriannoes/awesome-agentic-ai · 88 tokens

implementing-code-signing-for-artifacts

This skill covers implementing code signing for build artifacts to ensure integrity and authenticity throughout the software supply chain. It addresses signing binaries, packages, and containers using GPG, Sigstore, and platform-specific signing tools, establishing trust chains, and verifying signatures in deployment…

adriannoes/awesome-agentic-ai · 62 tokens

generate

Generate Playwright tests. Use when user says "write tests", "generate tests", "add tests for", "test this component", "e2e test", "create test for", "test this page", or "test this feature".

adriannoes/awesome-agentic-ai · 51 tokens

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

hunting-credential-stuffing-attacks

Detects credential stuffing attacks by analyzing authentication logs for login velocity anomalies, ASN diversity, password spray patterns, and geographic distribution of failed logins. Uses statistical analysis on Splunk or raw log data. Use when investigating account takeover campaigns or building detection rules for…

adriannoes/awesome-agentic-ai · 64 tokens

performing-container-image-hardening

This skill covers hardening container images by minimizing attack surface, removing unnecessary packages, implementing multi-stage builds, configuring non-root users, and applying CIS Docker Benchmark recommendations to produce secure production-ready images.

adriannoes/awesome-agentic-ai · 46 tokens