Skip to content
Back to skills

Agentic Hybrid Rag

ASecurity

Classify each request as non-retrieval, single-step, or multi-step, then execute the smallest suitable grounded RAG workflow with optional rewriting, reranking, and critique.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 1, 2026
tools

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 1, 2026

npx -y skills add DocAILab/Agentic-RAG-Skill --skill agentic-hybrid-rag --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agentic Hybrid Rag?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agentic Hybrid Rag
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/docailab-agentic-hybrid-rag/badge)](https://www.skillsdirectory.com/skills/docailab-agentic-hybrid-rag)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agentic-hybrid-rag
description: Classify each request as non-retrieval, single-step, or multi-step, then execute the smallest suitable grounded RAG workflow with optional rewriting, reranking, and critique.
---

# Hybrid Agentic RAG

Use the fixed classifier in `complexity` mode before execution.

## Slots

- `classifier`: select `component-classifier`.
- `retriever`: select one retriever.
- `rewriter`: optional retrieval-query rewriter.
- `reranker`: optional evidence reranker.
- `generator`: select grounded generator.
- `critic`: select answer critic for multi-step execution.

## Routes

- `non-retrieval`: call the Generator with the original query and no documents.
- `single-step`: optionally rewrite the query, retrieve once, optionally rerank, then generate.
- `multi-step`: repeatedly retrieve, accumulate new documents, optionally rerank, generate, and critique until approved, no new evidence, or `max_iterations` is reached.

Always use the original query for generation, reranking, and critique. Rewritten queries are retrieval aids only. Classifier output and generated rewrites are never evidence.

Run `scripts/workflow.py:run(request, components)` after all required slots are bound.

Files in this skill

  • SKILL.md1.2 KB
  • ragskill.yaml885 B
  • scripts/workflow.py6.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.