AI AGENT ADDONS

Regex Vs Llm Structured Text

affaan-m/everything-claude-code

When you need to pull information from structured text like quizzes or invoices, you have two main tools: regex and LLM. Regex is fast and predictable. An LLM is powerful but costs more. This skill gives you a clear way to choose.

The key idea is to start with regex first. It handles 95 to 98 percent of cases cheaply and reliably. Only when confidence is low do you call an LLM. This hybrid approach saves money and keeps accuracy high.

You get a simple decision tree and code to score confidence. You also get a pattern to add an LLM validator for tricky edge cases. This skill is for anyone who builds text extraction pipelines and wants to balance cost and quality.

Add Regex Vs Llm Structured Text skill to your workflow

Global

mkdir -p ~/.claude/skills/regex-vs-llm-structured-text

Project

mkdir -p .claude/skills/regex-vs-llm-structured-text

Source Repository

Stars
222,953
Forks
34,145
Watchers
222,953
License
MIT
Last Push
25 days ago
Created
6 months ago