What problem does it solve? Parsing structured text like quizzes, forms, and invoices with LLMs alone is expensive and slow, while regex alone breaks on edge cases. This Skill provides a decision framework and hybrid pipeline that uses regex for the 95-98% of cases it handles deterministically and reserves cheap LLM calls only for low-confidence extractions. ## Core Features & Use Cases - Decision Framework: A flowchart for choosing regex, LLM, or a hybrid approach based on how consistent and repeating the text format is. - Hybrid Pipeline Architecture: Regex parser, text cleaner, confidence scorer, and LLM validator stages with a 0.95 confidence threshold for flagging edge cases. - Production Metrics: Real-world results from a 410-item quiz parsing pipeline showing 98% regex success rate and roughly 95% cost savings versus an all-LLM approach. - Use Case: Parse 410 exam questions from a document with regex, flag the 8 low-confidence items via confidence scoring, and send only those to a Haiku-class model for correction. ## Quick Start Ask the AI to parse a structured document such as a quiz or invoice using regex first and validate only the low-confidence items with an LLM.