Agent skill

Context7 Guidance

by peterkrueck in peterkrueck/Claude-Code-Development-Kit

Fetch CURRENT library/framework/API/CLI documentation via Context7 instead of relying on training data.

MITAuto-check passedDevelopment

Install Context7 Guidance

skills CLI
$ npx skills add peterkrueck/Claude-Code-Development-Kit --skill context7-guidance -a claude-code

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

GitHub CLI
$ gh skill install peterkrueck/Claude-Code-Development-Kit context7-guidance --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/peterkrueck/Claude-Code-Development-Kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/context7-guidance .claude/skills/context7-guidance && 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-guidance
GitHub stars
1.4k
Token cost
~671 tokens
SKILL.md length
327 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Fetch CURRENT library/framework/API/CLI documentation via Context7 instead of relying on training data.

  • Works in 4 steps: Resolve the library ID. Call… → Pick the best match. Prefer an exact… → Query the docs. Call query-docs with the… → …
  • The user mentions a specific library
  • SKILL.md covers When to Use, How to Fetch and Guidelines
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Context7 Guidance is an agent skill from peterkrueck/Claude-Code-Development-Kit. Fetch CURRENT library/framework/API/CLI documentation via Context7 instead of relying on training data. Use whenever the user mentions a specific library, framework, SDK, API, or cloud service, asks a setup/configuration question, plans a version migration, or is debugging library-specific behavior. Triggers on common web frameworks, APIs, and cloud services — even well-known ones, since training data may be stale.

Its SKILL.md is about 670 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Debugging. The repository describes itself as: Claude Code Workflow for beginners & intermediate users. Tutorial and Installer included. The licence is MIT.

When your agent uses it

  • The user mentions a specific library
  • Asks a setup/configuration question
  • Plans a version migration
  • Is debugging library-specific behavior

Example prompts

  • “/context7-guidance”

Workflow steps

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

  1. Resolve the library ID. Call resolve-library-id with the library name and pass the user's full question as the query — it sharpens the…
  2. Pick the best match. Prefer an exact name match and the official/primary package over community forks. If the user named a version, prefer…
  3. Query the docs. Call query-docs with the chosen library ID and the user's specific question (not a single keyword).
  4. Answer from the result. Use the fetched docs, include relevant examples, and cite the version when it matters.

What it can do on your machine

Read from SKILL.md and the folder at commit ba85375. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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 Guidance loads about 671 tokens when it runs. Until then it costs about 109 tokens; SKILL.md has 327 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~109
When it runs · the whole SKILL.md, loaded when a task matches
~671

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from peterkrueck/Claude-Code-Development-Kit at commit ba85375, republished under its MIT licence (© peterkrueck). 327 words, ~671 tokens.

Download SKILL.mdSave it as .claude/skills/context7-guidance/SKILL.md (or your agent's skills folder).
name
context7-guidance
description
Fetch CURRENT library/framework/API/CLI documentation via Context7 instead of relying on training data. Use whenever the user mentions a specific library, framework, SDK, API, or cloud service, asks a setup/configuration question, plans a version migration, or is debugging library-specific behavior. Triggers on common web frameworks, APIs, and cloud services — even well-known ones, since training data may be stale.

Context7 Guidance — Current Docs Over Training Data

The kit ships the Context7 plugin permission so you can pull current documentation at the version the project actually uses. Training data drifts: APIs get deprecated, defaults change, config keys get renamed. When the question is about a real library, fetch the docs — don't answer from memory.

When to Use

Reach for Context7 when the user:

  • Names a specific library, framework, SDK, or cloud service (common web frameworks, APIs, and cloud services — even ones you "know")
  • Asks a setup or configuration question ("how do I wire up X middleware?")
  • Plans a version migration ("upgrading to vN — what changed?")
  • Is debugging library-specific behavior (an error, a deprecation, an unexpected default)
  • Wants code that calls a third-party API — verify the signature before writing it

When NOT to use it: general programming concepts, refactoring your own code, debugging your own business logic, writing a script from scratch, or code review of non-library logic. Context7 is for external surfaces, not your codebase.

How to Fetch

  1. Resolve the library ID. Call resolve-library-id with the library name and pass the user's full question as the query — it sharpens the ranking.
  2. Pick the best match. Prefer an exact name match and the official/primary package over community forks. If the user named a version, prefer the version-specific ID.
  3. Query the docs. Call query-docs with the chosen library ID and the user's specific question (not a single keyword).
  4. Answer from the result. Use the fetched docs, include relevant examples, and cite the version when it matters.

If the tools aren't directly callable, load them first via ToolSearch (select:mcp__context7__resolve-library-id,mcp__context7__query-docs) — don't skip verification just because they weren't preloaded.

Guidelines

  • Pass the full question, not one word — it improves relevance at both steps.
  • Be version-aware — when the user mentions a version, carry it into the resolve step.
  • Prefer official sources when several matches exist.
  • Fall back to web search only if Context7 has no coverage for that library.

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

Files

Just SKILL.md in skills/context7-guidance of peterkrueck/Claude-Code-Development-Kit.

Open the folder on GitHubat commit ba85375

Compare with similar skills

Context7 Guidance 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 Guidance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context7 Guidance this skillpeterkrueck/Claude-Code-Development-Kit1.4k—~671Automated safety check: PassMIT
Trellis Session Insightmindfold-ai/Trellis15k4 repos~1.7kAutomated safety check: PassAGPL-3.0
Native Data FetchingCherryHQ/cherry-studio-app4k6 repos~2.9kAutomated safety check: NotesMIT
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence
Aoti Debugpytorch/pytorch104k1 repos~1.7kAutomated safety check: PassCustom licence
Herdr Throwaway Reproductionherdrdev/herdr43k—~2.4kAutomated safety check: PassApache-2.0

Similar skills

  • Trellis Session Insight

    mindfold-ai/Trellis

    Reach into past AI conversation history through the trellis mem CLI.

    15k GitHub starsUsed in 4 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Native Data Fetching

    CherryHQ/cherry-studio-app

    A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.

    4k GitHub starsUsed in 6 repos~2.9k tokens
    DevelopmentAuto-check: notes
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Aoti Debug

    pytorch/pytorch

    Debug AOTInductor (AOTI) errors and crashes. An agent skill from pytorch/pytorch.

    104k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed
  • Runs a disposable, uniquely named Herdr session inside an existing one so runtime, pane, terminal or API bugs can be reproduced without touching the main session.

    43k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Systematic Debugging

    ultralisp/ultralisp

    A skill your agent uses when encountering any bug, test failure, or unexpected behavior, before proposing fixes

    258 GitHub starsUsed in 51 repos~2.4k tokens
    DevelopmentAuto-check passed

More from peterkrueck/Claude-Code-Development-Kit

All 9 skills in this repo
  • Image Edit

    peterkrueck/Claude-Code-Development-Kit

    Edit images with precision — crop, resize, mirror, rotate, trim, and reframe.

    1.4k GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Image Gen

    peterkrueck/Claude-Code-Development-Kit

    Generate character art and image variations using AI image generation (Google Gemini) with reference images for style and character consistency.

    1.4k GitHub stars~1.4k tokensUpdated 2 mo ago
    Auto-check passed
  • Bg Remove

    peterkrueck/Claude-Code-Development-Kit

    Remove backgrounds from images using local AI (rembg). An agent skill from peterkrueck/Claude-Code-Development-Kit.

    1.4k GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Second Opinion

    peterkrueck/Claude-Code-Development-Kit

    Get a second opinion from OpenAI's Codex CLI running locally.

    1.4k GitHub stars~2.4k tokensUpdated 2 mo ago
    Auto-check: warnings
  • Deploy

    peterkrueck/Claude-Code-Development-Kit

    Test and deploy changes safely. An agent skill from peterkrueck/Claude-Code-Development-Kit.

    1.4k GitHub stars~3.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Second Opinion Gemini

    peterkrueck/Claude-Code-Development-Kit

    Get a second opinion from Google's Gemini Pro via the locally installed Gemini CLI (defaults to gemini-3.1-pro-preview; override with the CLAUDESECONDOPINIONMODEL env var).

    1.4k GitHub stars~2.3k tokensUpdated 2 mo ago
    Auto-check: warnings

Categories

Questions about Context7 Guidance

What does Context7 Guidance do?

Fetch CURRENT library/framework/API/CLI documentation via Context7 instead of relying on training data. Context7 Guidance is an agent skill from peterkrueck/Claude-Code-Development-Kit. Fetch CURRENT library/framework/API/CLI documentation via Context7 instead of relying on training data.

When should I use Context7 Guidance?

Context7 Guidance fits situations like: the user mentions a specific library; asks a setup/configuration question; plans a version migration; is debugging library-specific behavior.

How do I install Context7 Guidance in Claude Code?

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

How do I install Context7 Guidance in Codex?

Run `npx skills add peterkrueck/Claude-Code-Development-Kit --skill context7-guidance -a codex`. Or copy the skill folder (skills/context7-guidance in peterkrueck/Claude-Code-Development-Kit) into .agents/skills/context7-guidance in your project. Codex loads it when a task matches its description.

Can I use Context7 Guidance 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 peterkrueck/Claude-Code-Development-Kit --skill context7-guidance -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-guidance, .gemini/skills/context7-guidance, .github/skills/context7-guidance and .opencode/skills/context7-guidance in your project.

What does Context7 Guidance need to run?

SKILL.md names no scripts, command-line tools or credentials: Context7 Guidance is instructions for the agent only.

Does Context7 Guidance access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Context7 Guidance 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. Review the folder before installing.

What licence does Context7 Guidance use?

Context7 Guidance 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 Guidance use?

About 671 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context7 Guidance?

Skills that share tags, products or a category with Context7 Guidance: Trellis Session Insight (mindfold-ai/Trellis, 15k stars), Native Data Fetching (CherryHQ/cherry-studio-app, 4k stars), Debugging Executions (n8n-io/n8n, 207k stars) and Aoti Debug (pytorch/pytorch, 104k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context7 Guidance?

peterkrueck (a GitHub user) maintains it in peterkrueck/Claude-Code-Development-Kit, which has 1,386 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on July 22, 2026.

Source: peterkrueck/Claude-Code-Development-Kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.