get-context

get-context is a skill for Claude Code from FradSer/dotclaude. It costs 45 tokens per session (545 once invoked), scanned A, original, MIT.

A research workflow that gathers code and technology context from sources such as documentation, code repositories, package references, cloned repositories, or web pages. It accepts a question, library name, repository, or several targets.

In plain words
What is it for?
Use it to investigate a repository, understand a library, compare technologies, or research a natural-language coding question using a selected research method.
Why use it?
It helps answer technical questions with the relevant source material instead of relying only on incomplete background knowledge.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the code-context plugin — 2 skills, 1 agent shipped together

Good fit Use it to investigate a repository, understand a library, compare technologies, or research a natural-language coding question using a selected research method.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fradser/dotclaude/get-context
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add FradSer/dotclaude --skill get-context
Clone the repo
git clone --depth 1 https://github.com/FradSer/dotclaude

Made for: Claude Code.

Or install code-context, the plugin that ships this one along with the rest of its 2 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for get-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/fradser/dotclaude/get-context/github.svg)](https://agentmods.dev/skills/fradser/dotclaude/get-context)
Your own site
<a href="https://agentmods.dev/skills/fradser/dotclaude/get-context"><img src="https://agentmods.dev/badge/skills/fradser/dotclaude/get-context/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for get-context

Your own site · 80×15
<a href="https://agentmods.dev/skills/fradser/dotclaude/get-context"><img src="https://agentmods.dev/badge/skills/fradser/dotclaude/get-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 545 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00545
Opus 5.5 $0.00018 $0.00218
Sonnet 5.5 $0.00009 $0.00109
Haiku 4.5 $0.00005 $0.00055

Measured 3mo ago against content hash 6dc2a53022d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

get-context scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

code-context/skills/get-context/SKILL.md · 44 lines

What it actually says

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.
    • --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.
  2. 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).
  3. 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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 44 lines · 45 tokens per session scan A 6dc2a53022d8

Subscribe to this mod's changes

get-context is a skill published in the GitHub repository FradSer/dotclaude (598 stars, last pushed 24d ago), licensed MIT. It adds 45 tokens to every session and 545 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

get-context compared with skills from other repositories

get-context next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
get-contextFradSer/dotclaudeSkill59824d agoMITA45Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144kyesterdayMITA95Claude Code