context7-cli

context7-cli is a skill for Claude Code, Codex from JustMichael-80/MasterVault. It costs 67 tokens per session (664 once invoked), scanned A, a copy of context7-cli, MIT.

A command-line tool for fetching current programming-library documentation, managing coding skills, and configuring Context7 for coding editors.

In plain words
What is it for?
Use it to check library APIs while coding, manage AI coding skills, or set up Context7 with supported editors.
Why use it?
It helps avoid relying on outdated documentation and provides commands for finding, installing, or updating skills.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions OpenCode.

Good fit Use it to check library APIs while coding, manage AI coding skills, or set up Context7 with supported editors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/justmichael-80/mastervault/context7-cli
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 JustMichael-80/MasterVault --skill context7-cli
Clone the repo
git clone --depth 1 https://github.com/JustMichael-80/MasterVault

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-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/justmichael-80/mastervault/context7-cli/github.svg)](https://agentmods.dev/skills/justmichael-80/mastervault/context7-cli)
Your own site
<a href="https://agentmods.dev/skills/justmichael-80/mastervault/context7-cli"><img src="https://agentmods.dev/badge/skills/justmichael-80/mastervault/context7-cli/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-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/justmichael-80/mastervault/context7-cli"><img src="https://agentmods.dev/badge/skills/justmichael-80/mastervault/context7-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 664 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 100% copy Near-identical to another mod 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.00067 $0.00664
Opus 5.5 $0.00027 $0.00266
Sonnet 5.5 $0.00013 $0.00133
Haiku 4.5 $0.00007 $0.00066

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

Security

Grade A, and why

context7-cli 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.

Origin

This is a copy

100% identical to context7-cli — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/context7/skills/context7-cli/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ctx7 CLI

The Context7 CLI does three things: fetches up-to-date library documentation, manages AI coding skills, and sets up Context7 MCP for your editor.

Make sure the CLI is up to date before running commands:

npm install -g ctx7@latest

Or run directly without installing:

npx ctx7@latest <command>

What this skill covers

  • Documentation — Fetch current docs for any library. Use when writing code, verifying API signatures, or when training data may be outdated.
  • Skills management — Install, search, suggest, list, remove, and generate AI coding skills.
  • Setup — Configure Context7 MCP for Claude Code / Cursor / OpenCode.

Quick Reference

# Documentation
ctx7 library <name> <query>           # Step 1: resolve library ID
ctx7 docs <libraryId> <query>         # Step 2: fetch docs

# Skills
ctx7 skills install /owner/repo       # Install from a repo (interactive)
ctx7 skills install /owner/repo name  # Install a specific skill
ctx7 skills search <keywords>         # Search the registry
ctx7 skills suggest                   # Auto-suggest based on project deps
ctx7 skills list                      # List installed skills
ctx7 skills remove <name>             # Uninstall a skill
ctx7 skills generate                  # Generate a custom skill with AI (requires login)

# Setup
ctx7 setup                            # Configure Context7 MCP (interactive)
ctx7 login                            # Log in for higher rate limits + skill generation
ctx7 whoami                           # Check current login status

Authentication

ctx7 login               # Opens browser for OAuth
ctx7 login --no-browser  # Prints URL instead of opening browser
ctx7 logout              # Clear stored tokens
ctx7 whoami              # Show current login status (name + email)

Most commands work without login. Exceptions: skills generate always requires it; ctx7 setup requires it unless --api-key or --oauth is passed. Login also unlocks higher rate limits on docs commands.

Read the full file on GitHub · 73 lines

Files

What ships with it

3 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 · 73 lines · 67 tokens per session scan A d7b70ba126d9

Subscribe to this mod's changes

context7-cli is a skill published in the GitHub repository JustMichael-80/MasterVault (12 stars, last pushed 2mo ago), licensed MIT. It adds 67 tokens to every session and 664 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to context7-cli, differing in 20 lines, and is treated as a copy.

Related

Other skills, from other repositories

memorb-conventions

A set of base rules for organizing a memOrb vault, including paths, folders, names, YAML frontmatter, and orb layouts. YAML frontmatter is structured information placed at the top of a text file.

iamjosuho/memOrb · 79 tokens

dream-studio

The dream studio: once a month, use the Memory Commit Journal in memorbs/log.md to select source orbs, find recurring themes, propose new Core orbs and new or revised Belief orbs, refresh the current-state narrative on each Island, and finally rotate the journal. Sole executor of Evaluate, the last step of the…

iamjosuho/memOrb · 199 tokens

island-reclamation

The full procedure for adding an Island (a domain of long-term responsibility or interest): first agree with the user on what the Island is and at what level to name it, then pick a folder structure, then get the first batch of files confirmed — and only then create anything, finishing with a memory-layer sync.…

iamjosuho/memOrb · 191 tokens

memorb-lint

Wiki Lint workflow: a health check over the memory vault that surfaces contradictions, stale pages, orphans, missing pages, broken wikilinks, and bare internal paths. Offer to run it before dream-studio or after manual moves/renames. Triggers: tidy up memory, check the second brain, health check, fix links, moved…

iamjosuho/memOrb · 130 tokens

writing-memorb-skills

A meta-skill for creating or changing smaller skills in a shared collection, including their names, metadata, structure, registration, and tests.

iamjosuho/memOrb · 91 tokens

memorb-domain-query

Use when querying companies, employees, or contacts by email address, domain name, or company name, or when integrating Outlook/M365 email collection and company email status checks.

iamjosuho/memOrb · 39 tokens