Skip to content
Back to skills

Component Classifier

ASecurity

Classify a RAG request into a constrained execution route by calling the frozen Executor Model. Use inside an Agentic workflow before route-specific retrieval or processing.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 1, 2026
ai-agents

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 component-classifier --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Component Classifier?

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

Security grade badge for Component Classifier
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/docailab-component-classifier/badge)](https://www.skillsdirectory.com/skills/docailab-component-classifier)

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: component-classifier
description: Classify a RAG request into a constrained execution route by calling the frozen Executor Model. Use inside an Agentic workflow before route-specific retrieval or processing.
---

# Classifier Component

Provide the `classifier` capability for an Agentic RAG slot.

## Interface

Input `ClassificationRequest`:

- `query`: original question
- optional `documents`: JSON-compatible candidate documents
- optional `constraints`: routing constraints from the request
- optional `classification_mode`: `retrieval` (default) or `complexity`
- optional `max_tokens`

Output `ClassificationResult`:

- `route`: one of `lexical`, `semantic`, or `hybrid` in `retrieval` mode; one
	of `non-retrieval`, `single-step`, or `multi-step` in `complexity` mode
- `reason`: concise explanation for the selected route
- `confidence`: number between 0 and 1

## Execution

Run `scripts/component.py:run(inputs, context)`. The runtime must provide the frozen `context.call_model(...)`. This Component selects only a constrained route; the Agentic workflow owns the mapping from route to concrete Component slots. Use `complexity` mode for Hybrid Agentic RAG.

Files in this skill

  • SKILL.md1.2 KB
  • ragskill.yaml273 B
  • scripts/component.py3.4 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.