CtrlK
BlogDocsLog inGet started
Tessl Logo

context7-cli

Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7", needs current docs for any library, wants to install/search/generate skills, or needs to set up Context7 for their AI coding agent.

76

Quality

96%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

93%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured CLI skill: lean quick-reference commands, real examples, actionable mistake avoidance, and a clean three-way split into existing one-level-deep reference files. The only gap is that the two-step docs workflow lacks an explicit validation checkpoint between resolving a library ID and fetching docs.

Suggestions

Add an explicit checkpoint between the two docs steps, e.g. "ctx7 library <name> <query> — confirm the returned ID before running ctx7 docs".

Note what a failed or ambiguous library lookup looks like and the retry path (refine the query, disambiguate between similarly named libraries).

DimensionReasoningScore

Conciseness

The body is almost entirely executable commands with terse comments — no explanation of what a CLI or MCP is, no padding. The overlap between Quick Reference and Authentication (login/whoami) is small and each section adds distinct value (--no-browser, logout, login-requirement exceptions). It is not a 4 because nothing reads as removable without losing information.

5 / 5

Actionability

Every command is copy-paste ready with concrete argument forms ("ctx7 library <name> <query>", "ctx7 skills install /owner/repo name") and real examples ("/facebook/react not facebook/react", "ctx7 skills install /anthropics/skills", "export CONTEXT7_API_KEY=your_key"). The "Common Mistakes" section covers the failure cases users actually hit. Not a 4 — no missing key details for the common cases.

5 / 5

Workflow Clarity

The two-step docs workflow is explicitly sequenced ("# Step 1: resolve library ID", "# Step 2: fetch docs") and "Common Mistakes" ("Always run ctx7 library first — ctx7 docs react 'hooks' will fail without a valid ID") supplies error-avoidance guidance, but there is no validate-then-retry feedback loop (e.g., checking the resolved ID before fetching). No destructive or batch operations exist, so the validation cap does not apply. Not a 5 because checkpoints are implicit rather than explicit validation steps.

4 / 5

Progressive Disclosure

The body is a concise overview with three clearly signaled, one-level-deep references ([Documentation](references/docs.md), [Skills management](references/skills.md), [Setup](references/setup.md)), all of which exist as real files with no nested references. Inline content (Quick Reference, Authentication, Common Mistakes) is appropriately kept at the overview level, and each section states when to consult which reference.

5 / 5

Total

19

/

20

Passed

Description

96%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: third-person, concise, and explicit about both capabilities and activation triggers, covering all three of the CLI's functions. The only weakness is that the generic "needs current docs for any library" trigger is broad enough to invite minor overlap with other documentation skills.

Suggestions

Tighten the docs trigger to something like "needs current library docs via Context7" so it does not compete with generic documentation-fetching skills.

Optionally name the supported editors/agents in the trigger (e.g., "Claude Code, Cursor, or OpenCode") to further sharpen distinctiveness.

DimensionReasoningScore

Specificity

"fetch library documentation", "manage AI coding skills", and "configure Context7 MCP" name all three of the CLI's concrete functions, and the when-clause adds "install/search/generate skills" — comprehensive concrete actions with no vague filler. It is not a 4 because coverage spans the tool's entire surface with no gaps.

5 / 5

Completeness

Explicitly answers both questions: what ("Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP") and when ("Activate when the user mentions 'ctx7' or 'context7', needs current docs... or needs to set up Context7"). Voice is third person, not first/second.

5 / 5

Trigger Term Quality

Includes the natural variations users would actually say: "ctx7" or "context7", "needs current docs for any library", "install/search/generate skills", and "set up Context7 for their AI coding agent". Synonyms (docs/documentation, ctx7/context7) are both covered; there are no file extensions to name, so nothing natural is missing.

5 / 5

Distinctiveness Conflict Risk

Triggers anchored on the specific tool name (ctx7/context7, Context7 MCP setup) make it largely distinct, but the broad phrase "needs current docs for any library" could also fire for users wanting documentation through some other mechanism, giving minor overlap risk with closely related doc-fetching skills. Not a 5 because of that generic docs trigger; not a 3 because the tool-specific terms dominate.

4 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
upstash/context7
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.