Context Retrieval

Use when a task starts with a corpus or index that must be searched to ground an Agent response in relevant, current, and traceable information.

9 stars 3 forksProductivity & Notes

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sandbaseai/workbuddy-skill --skill context-retrieval
Manual install
git clone --depth 1 https://github.com/sandbaseai/workbuddy-skill.git /tmp/workbuddy-skill
mkdir -p ~/.claude/skills
cp -r /tmp/workbuddy-skill/skills/context-retrieval ~/.claude/skills/context-retrieval

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Context Retrieval

Retrieve evidence from an indexed knowledge base before drafting an answer.
Retrieval grounds a response but does not prove correctness: preserve source
metadata, test recall and precision, surface conflicts, and never fabricate an
answer when evidence is missing.

## Inputs and contract

Capture the user query, corpus scope and freshness, language, access/tenant
boundary, available keyword/vector/hybrid indexes, optional reranker,
candidate and context budgets, citation requirements, and sensitivity rules.
Label unsupported assumptions. Return an ordered context block plus source IDs,
paths/URLs, sections/pages/timestamps, versions, retrieval signals, coverage
mapping, conflicts, freshness, and a confidence/limitation report.

## Retrieval workflow

1. Normalize the query without changing its intent. Decompose genuine
   multi-part questions and retain each sub-query for coverage validation.
2. Choose keyword, semantic, or hybrid retrieval based on the corpus and
   question. Keyword search is useful for exact identifiers; semantic search
   handles paraphrase; hybrid fusion should be calibrated rather than assumed
   superior.
3. Retrieve a bounded candidate set larger than the final context, then rerank
   only when the reranker is authorized, available, and benchmarked for the
   domain. Record index, model/version, query, filters, and score meaning.
4. Filter by access, tenant, source authority, freshness, language, modality,
Read the full skill on GitHub

Details

Skill name
context-retrieval
Path
skills/context-retrieval/SKILL.md
License
MIT
Repo updated
8 September 2026

FAQ

What does the Context Retrieval skill do?

Use when a task starts with a corpus or index that must be searched to ground an Agent response in relevant, current, and traceable information.

How do I install the Context Retrieval skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add sandbaseai/workbuddy-skill --skill context-retrieval. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Context Retrieval popular?

It lives in sandbaseai/workbuddy-skill, which has 9 GitHub stars and 3 forks.

Related skills

Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.