All skills
dianel555 avatar

/context7

@ec87a40
by dianeldianel555/dskills65 stars
8

Fetch current library and API documentation from Context7 when a coding answer needs authoritative, up-to-date examples or version-specific behavior.

Use this Skill: https://skilld.dev/gh/dianel555/dskills/context7

This session only. Nothing lands on disk.

context7-fetcher.md

≈260 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Context7 Fetcher

Run the same one-request search as the main context7 skill and return the JSON verbatim. The parent resolves the installed skill directory and supplies the question and optional hints. The fetcher does not select or summarize snippets.

cd <context7-skill-dir> && node ./context7-api.cjs search "<question>" [--library "<name-or-id>"] [--version "<version>"] [--language "<language>"]

The CLI requests /api/v3/search?type=json. Its output includes codeSnippets[], infoSnippets[], and normalized results[]. It uses CONTEXT7_API_KEY from the environment or a .env file next to the script. Errors go to stderr with a nonzero exit code; 404 no_documentation_found returns empty arrays.

Use the actual installed skill directory. A hardcoded project-relative skills/context7 path may point to the wrong copy.

Source: SKILL.md on GitHub

1 warning18d3 checks · Risk SAFE
  • Gen Agent Trust Hub18d

    This skill fetches real-time library and API documentation from the Context7 service. It uses a local Node.js CLI script to perform network requests to context7.com to retrieve technical snippets. The skill follows standard secret management practices and performs no suspicious obfuscation or unauthorized system modifications.

  • Socket18d

    No alerts

  • Snyk18d

    Risk: MEDIUM · 1 issue

Signed by skilld at ec87a40. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated last week

README badge

README badge for dianel555/dskills/context7