Skip to content
context7-skills logo

Context7 Skills

context7-skills

Use when managing Context7 CLI skills with npx ctx7 (search, install, list, remove, info).

SKILL.md

Full skill instructions

Context7 Skills

Purpose

This skill must directly execute Context7 CLI commands for managing skills.

Printing commands without execution is forbidden.

Scope (Authoritative & Closed)

Only the following commands are permitted (per npx ctx7 skills --help):

  • npx ctx7 skills search|s
  • npx ctx7 skills install|i
  • npx ctx7 skills list|ls
  • npx ctx7 skills remove|rm
  • npx ctx7 skills info

Anything outside this list is out of scope and prohibited.

Execution Rules (Non-Negotiable)

Execution rules apply only after required permissions (if any) are granted.

  1. Commands MUST be executed using npx ctx7.
  2. The skills / skill namespace is mandatory.
  3. Only commands listed in Scope may be executed.
  4. Exactly one target flag may be present at most.
  5. install may include --all; no other install options are allowed.
  6. Invalid, ambiguous, or incomplete input MUST be corrected before execution.
  7. No other shell commands may be executed under any circumstances.

Permission Requirements (Hard Gate)

Network-dependent commands (e.g., search, info, remote install) MUST NOT be executed unless the execution environment explicitly grants outbound network permission.

Requesting environment permission is not a user confirmation step and not a request for additional user input.

Permission Flow

If a command is network-dependent:

  1. Request outbound network permission from the execution environment / agent permission system.
  2. If permission is granted, execute the command.
  3. If permission is denied or unavailable, stop and report the limitation. Ask the user to run it locally or provide the output.

No Redundant Confirmation

If the user explicitly requested a network-dependent command and no extra input is needed, proceed to the permission request immediately without asking for additional confirmation.

Network Failures

If execution fails with a network error (e.g., fetch failed, DNS, timeout), treat it as an environment/​permission limitation, not a command error. Do not retry unless the environment explicitly grants permission.

Targets (Canonical)

Valid target flags (apply only where supported by the command):

  • --global
  • --claude — .claude/​skills/
  • --cursor — .cursor/​skills/
  • --codex — .codex/​skills/
  • --opencode — .opencode/​skills/
  • --amp — .agents/​skills/
  • --antigravity — .agent/​skills/

If more than one target is requested, STOP and request clarification.

Search Result Output (Mandatory)

After executing npx ctx7 skills search|s ... successfully:

  1. MUST display the result entries as a numbered list starting at 1.
  2. Each numbered item MUST preserve the entry text as-is (no paraphrase, no deduplication).

One-Run Default

  1. If the first run already contains any visible result entries, do not rerun. Output the visible entries immediately.

Truncation Handling (Conditional Rerun)

  1. Rerun the same search command up to 1 additional time only when:
    • the first run shows no visible result entries, or
    • the tool output is truncated (… +N lines) and the output contains only summary lines (e.g., Found N) without entries.
  2. MUST NOT ask the user for confirmation to rerun if the user already requested search.

Interactive / Anomaly Claims (Evidence Rule)

  1. MUST NOT claim the command became int

Install Flow From Search Selection (Mandatory)

After showing numbered search results:

  1. The user may reply with a number k to select a skill to install.
  2. On receiving a valid selection k, extract from the selected entry:
    • skill_name
    • repository (as shown in the entry)
  3. If the selection is invalid (not a number or out of range), ask the user to pick a valid number.

Install Options Prompt (Numbered)

  1. After a valid selection and if the user did not already specify install options, prompt the user to choose exactly one install target as a numbered list:

    1. --claude (.claude/​skills/)
    2. --cursor (.cursor/​skills/)
    3. --codex (.codex/​skills/)
    4. --opencode (.opencode/​skills/)
    5. --amp (.agents/​skills/)
    6. --antigravity (.agent/​skills/)
    7. --global (global)
  2. The user responds with a number t. Map t to the corresponding target flag.

  3. --all MUST NOT be used when installing a single selected skill.

Permission Gate

  1. If the install requires network access (remote repository), request outbound network permission before running install.

Execute Install

  1. Execute exactly:
    • npx ctx7 skills install|i <repository> <skill_name> <target_flag>
  2. After execution, display the raw CLI output as-is.

Quick Reference

IntentExecuted Command
Search`npx ctx7 skills search
Install`npx ctx7 skills install
List`npx ctx7 skills list
Remove`npx ctx7 skills remove
Repo infonpx ctx7 skills info <repository>

Examples (Executed)

npx ctx7 skills search pytorch vision
npx ctx7 skills install /​anthropics/​skills uv --claude
npx ctx7 skills install /​anthropics/​skills --all --codex
npx ctx7 skills list --cursor
npx ctx7 skills info /​anthropics/​skills

Hard Errors (Block Execution)

  • Missing skills / skill
  • Using commands outside Scope
  • Emitting commands without execution
  • More than one target flag
  • Mixing targets with unrelated flags
  • Attempting to run non-Context7 shell commands
  • Executing network-dependent commands without explicit permission

Notes (Behavioral)

  • <repository> is mandatory for install and info.
  • [skill] is optional; omission triggers interactive selection unless --all is used.
  • list does not support filtering.
  • Network failures (e.g., fetch failed) indicate environment/​permission limits, not a command syntax issue.

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View