What problem does it solve? Parsing structured text like quizzes, forms, and invoices often leads to an expensive all-LLM approach or a brittle all-regex approach. This Skill provides a decision framework and hybrid pipeline that uses regex for the 95-98% of cases it handles deterministically, reserving costly LLM calls only for low-confidence edge cases. ## Core Features & Use Cases - Decision Framework: A clear flowchart for choosing between regex, LLM, or a hybrid approach based on text consistency. - Hybrid Pipeline Architecture: Regex parser, text cleaner, confidence scorer, and LLM validator working together with a 0.95 confidence threshold. - Cost Optimization: Uses the cheapest model tier (Haiku-class) for validation only, achieving roughly 95% cost savings versus all-LLM parsing. - Use Case: Parsing 410 quiz questions from a document — regex extracts 98% correctly, confidence scoring flags 8 items, and only about 5 LLM calls are needed to fix the edge cases. ## Quick Start Ask the AI to help you build a parser for your structured document using regex first, with confidence scoring and LLM fallback only for low-confidence items.