Skip to content
Back to skills

Component Grounded Generator

ASecurity

Generate an answer grounded in selected documents by calling the frozen Executor Model through the runtime context. Use as the final generator in Agentic RAG workflows.

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

Security analysis

A100/100

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

Scanned September 1, 2026

npx -y skills add DocAILab/Agentic-RAG-Skill --skill component-grounded-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Component Grounded Generator?

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

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

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-grounded-generator
description: Generate an answer grounded in selected documents by calling the frozen Executor Model through the runtime context. Use as the final generator in Agentic RAG workflows.
---

# Grounded Generator Component

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

## Interface

Input `GenerationRequest`:

- `query`: non-empty original question
- `documents`: selected evidence documents. Each document must contain non-empty
  `id` and `text`; an empty sequence is allowed and is rendered as
  `[No evidence supplied]`.
- optional `max_tokens`: forwarded to the frozen Executor Model

Output `GenerationResult`:

- `answer`: non-empty generated grounded answer. Leading and trailing whitespace
  from the model response is stripped.

## Execution

Run `scripts/component.py:run(inputs, context)`. The runtime must provide the
frozen `context.call_model(...)`. The component formats the supplied evidence,
calls the model with `temperature=0.0`, and rejects malformed inputs or empty
model responses. Do not retrieve documents, rerank documents, or modify model
parameters.

Files in this skill

  • SKILL.md1.1 KB
  • agents/openai.yaml197 B
  • ragskill.yaml266 B
  • scripts/component.py2.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.