Get context

From FradSer/dotclaude · View interactive version

Get context is an AI agent skill from the GitHub repository FradSer/dotclaude. Execute this when the user requests code context for a repository, library, or any natural-language code/technology question using DeepWiki, Context7, Exa, git clone, and/or web search+fetch.

How to use this skill

Skill file

get-context

Launch a code-context:context-researcher agent that executes the full workflow in an isolated context. The input is arbitrary: a natural-language question, a repo slug, a library name, or several of these at once.

Argument parsing

  1. Split $ARGUMENTS into positional targets and the optional --method flag.
  1. Classify each target:
  1. Empty input: read dependency manifests in the current working directory (package.json, go.mod, pyproject.toml, Cargo.toml) and use detected dependencies as targets.

Prompt template

Pass the parsed targets and method list to the agent verbatim — do not pre-resolve them in the main context.

Code context request.

Targets (classify each as repo / library / natural-language query):
<positional targets, one per line; or "auto-detect from local dependency manifests" if empty>

Methods to use (in priority order; "all" = let agent choose per target):
<comma-separated method list, default "all">

Local context already known: <one line on what the cwd already contains, or "none">

Execute

Launch code-context:context-researcher using the prompt template above. The agent returns a synthesized summary; the main context stays clean regardless of lookup volume.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.