Agent skill

Context7 MCP Skill

by holon-run in holon-run/uxc

Query up-to-date library documentation and code examples using Context7 MCP.

MITAuto-check passedAgent Workflows

Install Context7 MCP Skill

skills CLI
$ npx skills add holon-run/uxc --skill context7-mcp-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install holon-run/uxc context7-mcp-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/holon-run/uxc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/context7-mcp-skill .claude/skills/context7-mcp-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context7-mcp-skill
GitHub stars
116
Token cost
~564 tokens
SKILL.md length
176 words
Files
4 (incl. scripts, references)
Skills in repo
62
Repo updated
First seen
Licence
MIT

At a glance

Query up-to-date library documentation and code examples using Context7 MCP.

  • Works in 3 steps: Use fixed link command by default → Resolve a library name to get library ID → Query documentation
  • You need current
  • SKILL.md covers Prerequisites, Core Workflow, Available Tools and Usage Examples, plus 2 more sections
  • Runs Shell scripts from its folder; reaches mcp.context7.com

What it does

Context7 MCP Skill is an agent skill from holon-run/uxc. Query up-to-date library documentation and code examples using Context7 MCP. Use when you need current, version-specific documentation for npm packages, Python libraries, or other programming languages.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/usage-patterns.md` and `scripts/validate.sh`).

It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol, npm, Python and React. The repository describes itself as: A unified CLI for discovering and invoking tools across OpenAPI, MCP, GraphQL, gRPC, and JSON-RPC. The licence is MIT.

When your agent uses it

  • You need current
  • Version-specific documentation for npm packages
  • Python libraries
  • Other programming languages

Example prompts

  • “/context7-mcp-skill”

Requirements

  • Python 3
  • Node.js
  • A Bash shell

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Use fixed link command by default
  2. Resolve a library name to get library ID
  3. Query documentation

What it can do on your machine

Read from SKILL.md and the folder at commit 562d47c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mcp.context7.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context7 MCP Skill loads about 564 tokens when it runs, and up to ~945 if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 176 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~564
With references · SKILL.md plus every file in references/, read only if the agent opens them
~945

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from holon-run/uxc at commit 562d47c, republished under its MIT licence (© holon-run). 176 words, ~564 tokens.

Download SKILL.mdSave it as .claude/skills/context7-mcp-skill/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
context7-mcp-skill
description
Query up-to-date library documentation and code examples using Context7 MCP. Use when you need current, version-specific documentation for npm packages, Python libraries, or other programming languages.
metadata.short-description
Query library docs via Context7 MCP

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
bash
# First resolve the library
context7-mcp-cli resolve-library-id libraryName=react query='React useState hook'
Query specific documentation
bash
context7-mcp-cli query-docs '{"libraryId":"/reactjs/react.dev","query":"how to use useEffect"}'
Query Node.js documentation
bash
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

© holon-run, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in skills/context7-mcp-skill of holon-run/uxc.

  • SKILL.md
  • agents/openai.yaml
  • references/usage-patterns.md
  • scripts/validate.sh

Open the folder on GitHubat commit 562d47c

Compare with similar skills

Context7 MCP Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context7 MCP Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context7 MCP Skill this skillholon-run/uxc116—~564Automated safety check: PassMIT
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
Retinuejklthinking/retinue115—~279Automated safety check: PassMIT
MCP AuthoringOtoDock/oto-dock190—~1.3kAutomated safety check: NotesCustom licence
MCP Buildersoftspark/ai-toolkit179—~2.1kAutomated safety check: NotesApache-2.0
Fmodel Unpackpa001024/dna-builder136—~2.6kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Retinue

    jklthinking/retinue

    Coordinate work through a local Retinue workspace using its MCP tools.

    115 GitHub stars~279 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • MCP Authoring

    OtoDock/oto-dock

    Author an MCP package for OtoDock: the manifest.json fields and their rules, the package layout, what the installer refuses or drops, credentials and instances, skills bundled with an MCP, and the…

    190 GitHub stars~1.3k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check: notes
  • MCP Builder

    softspark/ai-toolkit

    Builds production MCP servers via 4-phase methodology: research, implement, test, evaluate.

    179 GitHub stars~2.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Fmodel Unpack

    pa001024/dna-builder

    This skill documents how to use the fmodel-mcp toolkit (a CUE4Parse-based .NET CLI plus a thin Python MCP server) to inspect and export Unreal Engine game assets — pak files, textures, meshes…

    136 GitHub stars~2.6k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Zizkadb Release

    ZIZKA-AI-SL/ZizkaDB

    Bumps versions, runs pre-push verification, and publishes ZizkaDB SDK and MCP packages.

    125 GitHub stars~399 tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed

More from holon-run/uxc

All 62 skills in this repo
  • Deepwiki MCP Skill

    holon-run/uxc

    Ask questions and read documentation about any GitHub repository using DeepWiki MCP.

    116 GitHub stars~700 tokensUpdated 24 days ago
    Auto-check passed
  • Operate Linear workspace issues, projects, and teams through Linear GraphQL API using UXC.

    116 GitHub stars~1.8k tokensUpdated 24 days ago
    Auto-check passed
  • Operate Notion Public API through UXC with a curated OpenAPI schema for search, block traversal, page reads, content writes, and data source/database inspection.

    116 GitHub stars~2.3k tokensUpdated 24 days ago
    Auto-check passed
  • Operate Alchemy Prices API reads through UXC with a curated OpenAPI schema, path-templated API-key auth, and read-first guardrails.

    116 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Uxc

    holon-run/uxc

    Discover and call remote schema-exposed interfaces with UXC.

    116 GitHub stars~1.8k tokensUpdated 24 days ago
    Auto-check passed
  • Operate Chainbase indexed wallet and token reads through UXC with a curated OpenAPI schema, API-key auth, and read-first guardrails.

    116 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed

Questions about Context7 MCP Skill

What does Context7 MCP Skill do?

Query up-to-date library documentation and code examples using Context7 MCP. Context7 MCP Skill is an agent skill from holon-run/uxc. Query up-to-date library documentation and code examples using Context7 MCP.

When should I use Context7 MCP Skill?

Context7 MCP Skill fits situations like: you need current; version-specific documentation for npm packages; Python libraries; other programming languages.

How do I install Context7 MCP Skill in Claude Code?

Run `npx skills add holon-run/uxc --skill context7-mcp-skill -a claude-code`. Or copy the skill folder (skills/context7-mcp-skill in holon-run/uxc) into .claude/skills/context7-mcp-skill in your project. Claude Code loads it when a task matches its description.

How do I install Context7 MCP Skill in Codex?

Run `npx skills add holon-run/uxc --skill context7-mcp-skill -a codex`. Or copy the skill folder (skills/context7-mcp-skill in holon-run/uxc) into .agents/skills/context7-mcp-skill in your project. Codex loads it when a task matches its description.

Can I use Context7 MCP Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add holon-run/uxc --skill context7-mcp-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context7-mcp-skill, .gemini/skills/context7-mcp-skill, .github/skills/context7-mcp-skill and .opencode/skills/context7-mcp-skill in your project.

What does Context7 MCP Skill need to run?

Going by SKILL.md and its folder, Context7 MCP Skill needs a shell for the scripts in its folder. Our summary lists: Python 3; Node.js; A Bash shell.

Does Context7 MCP Skill access the network?

SKILL.md names 1 domain. In commands or code: mcp.context7.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Context7 MCP Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Context7 MCP Skill use?

Context7 MCP Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Context7 MCP Skill use?

About 564 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 381 tokens, read only when the agent opens those files.

What are the alternatives to Context7 MCP Skill?

Skills that share tags, products or a category with Context7 MCP Skill: MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), Retinue (jklthinking/retinue, 115 stars), MCP Authoring (OtoDock/oto-dock, 190 stars) and MCP Builder (softspark/ai-toolkit, 179 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context7 MCP Skill?

holon-run (a GitHub organization) maintains it in holon-run/uxc, which has 116 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on September 15, 2026.

Source: holon-run/uxc on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.