affaan-m/ecc/regex-vs-llm-structured-text
Decision framework for parsing structured text (quizzes, forms, invoices, receipts, tables) with a hybrid regex-first pipeline — regex extraction handles 95%+ cheaply, a confidence scorer flags low-confidence items, and an LLM validator fixes only the edge cases. Use when choosing between regex and LLM for text extraction, building a cheap document parser, or optimizing extraction cost and accuracy.
Agent skill · version 2.2.4-main.1794513350.gd2ef268 · from affaan-m/ECC
Install
npx yarkr-cli add skill:affaan-m/ecc/regex-vs-llm-structured-textWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:affaan-m/ecc/regex-vs-llm-structured-text
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:affaan-m/ecc/regex-vs-llm-structured-textOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:affaan-m/ecc/regex-vs-llm-structured-textWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.