skills / intellectronica / agent-skills / context7

Context7

A documentation retrieval skill that pulls up-to-date library and framework references through the Context7 API for implementation-time decisions.

Source description: Retrieve up-to-date documentation for software libraries, frameworks, and components via the Context7 API. This skill should be used when looking up documentati...

npx skills add https://github.com/intellectronica/agent-skills --skill context7
risk: mediuminstall: CLIverified: 2026-02-13

On this page

Our added value (verification layer)

This page is not only a source mirror. We add reproducibility, risk controls, and operations guidance on top of the original skill definition.

  • Execution/Security/Maintainability scoring with explicit criteria
  • Compatibility matrix across runtime environments
  • Verification log with check commands and observed outcomes
  • Common failure fixes and rollback triggers for production safety

Overall score

83/100

Execution

86

Security

79

Maintainability

84

Quick install (universal)

Primary command for most environments:

npx skills add https://github.com/intellectronica/agent-skills --skill context7

Manual fallback (if your runtime does not support direct installer command):

  1. npx skills add https://github.com/intellectronica/agent-skills --skill context7
  2. Restart your current agent/runtime to reload installed skills.
  3. Run a dry run: "use context7 to find Next.js app router docs and summarize key API points".
  • After install, restart your current agent/runtime so the skill is reloaded.
  • Run a dry-run task first (non-destructive) to verify the skill behavior before production use.

SKILL.md (source preview)

Short preview shown here to keep this page focused on our verification layer.

Context7 Overview This skill enables retrieval of current documentation for software libraries and components by querying the Context7 API via curl. Use it instead of relying on potentially outdated training data. Workflow Step 1: Search for the Library To find the Context7 library ID, query the search endpoint: Parameters: libraryName (required): The library name to search for (e.g., "react", "nextjs", "fastapi", "axios") query (required): A description of the topic for rele...

Required permissions

web, shell

Compatibility matrix

EnvironmentStatusNotes
Local dev runtime with network accesspassSearch and context endpoints work with standard curl tooling.
Restricted enterprise runtimepartialRequires explicit allowlist for context7.com API endpoints.
Offline/no-network runtimefailSkill requires live API calls for current documentation.

Verification log

Install command template validated

npx skills add https://github.com/intellectronica/agent-skills --skill context7

Pass

result: pass (user-confirmed install output)

Canonical source exists locally

test -f ~/.agents/skills/context7/SKILL.md

Pass

result: pass

Frontmatter + full body extracted

read ~/.agents/skills/context7/SKILL.md and split description/body

Pass

result: pass

Security notes

  • Allow outbound requests only to approved documentation endpoints when possible.
  • Do not paste secrets or internal tokens into query strings.
  • Log high-level query intent, not sensitive project details.

Common failures and fixes

curl: command not found

Install curl or run the skill in an environment with standard CLI tooling.

jq: command not found

Install jq or remove jq filtering and parse JSON in another step.

No results returned for library search

Use broader library name and simpler query, then refine from top match.

Quick FAQ

How do I install this skill quickly?

Run npx skills add https://github.com/intellectronica/agent-skills --skill context7, then restart your runtime to reload skills.

What should I check before production rollout?

Confirm permissions, run a non-destructive dry run, and review rollback triggers.

What if install succeeds but actions do not run?

Verify SKILL.md location, restart runtime, and check environment/dependency readiness.

Recent changes

  • 2026-02-13: Added hot-skill page entry from Excel priority list.
  • 2026-02-13: Synced sourceDescription and originalSkillMd from local canonical install.
  • 2026-02-13: Added compatibility, fixes, and rollback guidance.

Rollback triggers

  • Endpoint reliability degrades and blocks core delivery workflows.
  • Outbound policy disallows required domains in production environment.
  • Retrieved docs are repeatedly mismatched to selected library IDs.

Known issues

Network restrictions can block Context7 API access

Configure proxy/allowlist or run in network-enabled environment.

Ambiguous library names may return wrong first match

Add context-specific query terms and inspect multiple results.

Site references