context7-mcp-skill

context7-mcp-skill is a skill for Codex from holon-run/uxc. It costs 42 tokens per session (543 once invoked), scanned A, original, MIT.

A documentation lookup helper that uses Context7 to find current, version-specific guidance for software libraries. It can resolve a library to its documentation and answer questions with relevant code examples.

In plain words
What is it for?
Find usage instructions and examples for packages such as React or Python libraries, including how to use a particular function or feature.
Why use it?
Library documentation changes over time, so remembered examples may be outdated or use the wrong version. This gives the coding agent a way to check the relevant documentation while working.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Find usage instructions and examples for packages such as React or Python libraries, including how to use a particular function or feature.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holon-run/uxc/context7-mcp-skill
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 holon-run/uxc --skill context7-mcp-skill
Clone the repo
git clone --depth 1 https://github.com/holon-run/uxc

Made for: 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-mcp-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/holon-run/uxc/context7-mcp-skill/github.svg)](https://agentmods.dev/skills/holon-run/uxc/context7-mcp-skill)
Your own site
<a href="https://agentmods.dev/skills/holon-run/uxc/context7-mcp-skill"><img src="https://agentmods.dev/badge/skills/holon-run/uxc/context7-mcp-skill/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-mcp-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/holon-run/uxc/context7-mcp-skill"><img src="https://agentmods.dev/badge/skills/holon-run/uxc/context7-mcp-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 543 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00042 $0.00543
Opus 5.5 $0.00017 $0.00217
Sonnet 5.5 $0.00008 $0.00109
Haiku 4.5 $0.00004 $0.00054

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

Security

Grade A, and why

context7-mcp-skill 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/context7-mcp-skill/SKILL.md · 68 lines

What it actually says

Context7 Skill

Use this skill to query library documentation and code examples.

Prerequisites

  • uxc skill is installed (see uxc skill for installation)
  • Network access to https://mcp.context7.com/mcp

Core Workflow

  1. Use fixed link command by default:

    • command -v context7-mcp-cli
    • If missing, create it: uxc link context7-mcp-cli mcp.context7.com/mcp
    • context7-mcp-cli -h
    • If command conflict is detected and cannot be safely reused, stop and ask skill maintainers to pick a different fixed command name.
  2. Resolve a library name to get library ID:

    • context7-mcp-cli resolve-library-id libraryName=react query='useState hook'
  3. Query documentation:

    • context7-mcp-cli query-docs libraryId=/reactjs/react.dev query='how to use useState'

Available Tools

  • resolve-library-id: Resolve a package/library name to Context7 library ID
  • query-docs: Query documentation and code examples for a specific library

Usage Examples

Find React documentation

# First resolve the library
context7-mcp-cli resolve-library-id libraryName=react query='React useState hook'

Query specific documentation

context7-mcp-cli query-docs '{"libraryId":"/reactjs/react.dev","query":"how to use useEffect"}'

Query Node.js documentation

context7-mcp-cli resolve-library-id libraryName=node query='file system'

Notes

  • Requires library name first, then use the returned libraryId for queries
  • Context7 provides version-specific, up-to-date documentation
  • Supports npm packages, Python libraries, and more
  • context7-mcp-cli <operation> ... is equivalent to uxc mcp.context7.com/mcp <operation> ....
  • If link setup is temporarily unavailable, use direct uxc mcp.context7.com/mcp ... calls as fallback.

Reference Files

  • Workflow details: references/usage-patterns.md
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. 3mo ago First seen · 68 lines · 42 tokens per session scan A d55e087aff28

Subscribe to this mod's changes

context7-mcp-skill is a skill published in the GitHub repository holon-run/uxc (120 stars, last pushed 7d ago), licensed MIT. It adds 42 tokens to every session and 543 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-08-30.

Related

context7-mcp-skill compared with skills from other repositories

context7-mcp-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
context7-mcp-skillholon-run/uxcSkill1207d agoMITA42Codex
linearfurkangonel/cowranglerSkill12mo agoMITA17Claude Code, Codex
lapLap-Platform/LAPSkill3491mo agoApache-2.0A89Claude Code
lapLap-Platform/LAPSkill3491mo agoApache-2.0A89Claude Code
pipefy-api-fallbackpipefy/ai-toolkitSkill553d agoApache-2.0A86Claude Code
spotifyfurkangonel/cowranglerSkill12mo agoMITA15Claude Code, Codex
youtube-contentfurkangonel/cowranglerSkill12mo agoMITA18Claude Code, Codex