/context-engineering-skills:retrieval-advisorfrom context-engineering-skills
Reviews RAG pipelines (ingestion, chunking, embeddings, retrieval, reranking) and recommends RAG, CAG, context stuffing, or a hybrid approach based on corpus size and update frequency. Reports pipeline problems affecting answer quality or cost.
Ships in context-engineering-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Decide how this system should bring external knowledge into the model's context, and point out what in the current pipeline hurts answer quality or cost.
references/checklist.md. Use its decision rules to choose a recommendation, and check the pipeline against its review rules.## Recommendation section after the findings that explains the choice in a few sentences, including when the recommendation would change.Write the report in Markdown, in this order:
## Summary: two to four sentences on the overall state and the most important change.## Findings: one bullet per finding, most severe first, in the form - [severity] location: problem. Fix: suggested fix. (book section). Severity is high when the problem causes wrong or unsafe behavior, medium when it makes results unreliable or costly, and low for clarity or maintenance issues. If there are no problems, write No findings.json block with the same content, as in this example. Set recommendation to one of these values. rag: retrieve chunks per query. cag: load the whole source once into a cached prefix. context-stuffing: place the whole source in every prompt. hybrid: part of the source in the context and RAG for the rest. Hybrid keyword and vector search is still rag.{
"skill": "retrieval-advisor",
"summary": "...",
"recommendation": "rag",
"findings": [
{
"severity": "high",
"location": "ingest.py, chunking",
"problem": "...",
"fix": "...",
"book_section": "Chapter 3, Chunking strategies"
}
]
}
Use the book section given in the checklist for each rule. If the input is missing or out of scope for this skill, say so in one sentence and stop.
Learn more: Chapter 3 of Context Engineering (Manning), https://hubs.la/Q04ksQ8J0
examples/expected-findings.md (opens in a new tab)examples/small-handbook/README.md (opens in a new tab)examples/small-handbook/ingest.py (opens in a new tab)examples/support-tickets/README.md (opens in a new tab)examples/support-tickets/retrieve.py (opens in a new tab)references/checklist.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bonigarcia/context-engineering --plugin context-engineering-skills9 skills in this plugin
/eval-builderBuilds an evaluation set for an LLM application or agent from its specification: happy-path, edge-case, policy-violation, and adversarial cases with deterministic assertions and LLM-as-judge rubrics, written as Promptfoo tests. Also reports gaps in the specification that make behavior impossible to evaluate. Use when the user asks for evals, test cases, a test set, or a rubric for a prompt or agent. Do not use to review existing code tests or to run evaluations./governance-checkChecks an agent or LLM application for governance and security risks before it reaches production: prompt injection surfaces (direct and indirect), tools with excessive permissions or no approval step, data exfiltration paths, personal data in prompts and logs, and missing human oversight or audit trails. Use when the user asks for a security, privacy, or governance review of an agent, or whether it is safe to deploy. Do not use for general code security audits unrelated to LLMs, or for tool usability (use tool-reviewer)./instruction-auditorAudits a system prompt or an instruction artifact (AGENTS.md, CLAUDE.md, GEMINI.md, .cursor/rules, copilot-instructions.md) and reports contradictions, vague or unenforceable rules, excessive size, and procedures that belong in a skill or a tool. Use when the user asks to review, audit, shorten, or improve agent instructions or a system prompt. Do not use for SKILL.md files (use skill-reviewer) or for user prompt templates (use prompt-reviewer)./memory-designerDesigns or reviews how an agent remembers and tracks information: short-term (session) memory, long-term memory, session state, and workflow state. Proposes what goes where, what gets written, selected, compressed, or forgotten, and reports problems in the current design. Use when the user asks how their agent should remember things, persist progress, or why it forgets or repeats itself. Do not use for document retrieval design (use retrieval-advisor)./prompt-reviewerReviews user prompt templates, few-shot examples, and prompt chains used by an LLM application, and reports unclear tasks, unbalanced or inconsistent examples, missing output formats, and chains that pass too much or too little between steps. Use when the user asks to review, debug, or improve a prompt template or a sequence of prompts. Do not use for system prompts or agent instruction files (use instruction-auditor)./skill-reviewerReviews an agent skill directory (a SKILL.md file plus its scripts, references, and assets) and reports problems with its frontmatter, activation conditions, procedure, and output contract. Use when the user asks to review, audit, lint, or improve a skill or a SKILL.md file. Do not use for instruction artifacts such as AGENTS.md or CLAUDE.md (use instruction-auditor) or for writing a new skill from scratch.Other plugins' skills for the same job