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
- Split
$ARGUMENTS into positional targets and the optional --method flag.
--method= accepts a comma-separated list from deepwiki,context7,exa,clone,web,all. Default: all.
- Quoted strings are one target:
"compare zustand vs jotai state management" is a single natural-language query.
- Multiple positional tokens are multiple targets:
facebook/react zustand = two targets.
- Classify each target:
- GitHub slug (
owner/repo) or git URL → repo target (DeepWiki / clone).
- Bare name matching a known package ecosystem (
react, fastapi, next) or with a version hint (react@18) → library target (Context7).
- Anything else (a question, a comparison, a concept) → natural-language target (Exa / web search).
- 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.
1---2name: get-context3description: 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.4user-invocable: true5argument-hint: "<query | repo-slug | library-name> [more targets...] [--method=deepwiki,context7,exa,clone,web,all]"6allowed-tools: ["Task"]7metadata:8 source: https://skillmd.com/skills/fradser/get-context9---1011# get-context1213Launch 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.1415## Argument parsing16171. **Split `$ARGUMENTS`** into positional targets and the optional `--method` flag.18 - `--method=` accepts a comma-separated list from `deepwiki,context7,exa,clone,web,all`. Default: `all`.19 - Quoted strings are one target: `"compare zustand vs jotai state management"` is a single natural-language query.20 - Multiple positional tokens are multiple targets: `facebook/react zustand` = two targets.212. **Classify each target**:22 - GitHub slug (`owner/repo`) or git URL → repo target (DeepWiki / clone).23 - Bare name matching a known package ecosystem (`react`, `fastapi`, `next`) or with a version hint (`react@18`) → library target (Context7).24 - Anything else (a question, a comparison, a concept) → natural-language target (Exa / web search).253. **Empty input**: read dependency manifests in the current working directory (`package.json`, `go.mod`, `pyproject.toml`, `Cargo.toml`) and use detected dependencies as targets.2627## Prompt template2829Pass the parsed targets and method list to the agent verbatim — do not pre-resolve them in the main context.3031```32Code context request.3334Targets (classify each as repo / library / natural-language query):35<positional targets, one per line; or "auto-detect from local dependency manifests" if empty>3637Methods to use (in priority order; "all" = let agent choose per target):38<comma-separated method list, default "all">3940Local context already known: <one line on what the cwd already contains, or "none">41```4243## Execute4445Launch `code-context:context-researcher` using the prompt template above. The agent returns a synthesized summary; the main context stays clean regardless of lookup volume.