verification-retry-loop

Community

Automate post-extraction verification with bounded retries.

AuthorPatientVibes
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures the quality of data extracted from LLMs by automatically verifying it and retrying if necessary, with a maximum of one retry, to maintain accuracy.

Core Features & Use Cases

  • Structured Data Extraction: Supports structured Pydantic extraction from LLMs.
  • Deterministic Post-Checks: Runs deterministic checks on the output.
  • Bounded Retries: Automatically retries extraction with feedback if issues are detected, up to one time.
  • Use Case: Ideal for extracting information from user documents and ensuring the data quality before final processing.

Quick Start

Implement the extract_with_verification function with your Pydantic model and verification function.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: verification-retry-loop
Download link: https://github.com/PatientVibes/agent-skills/archive/main.zip#verification-retry-loop

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.