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.
Install
npx skills add affaan-m/ECC --skill regex-vs-llm-structured-textnpx skills add affaan-m/ECC --skill regex-vs-llm-structured-text -a claude-code -gnpx skills add affaan-m/ECC --skill regex-vs-llm-structured-text -a codex -ggemini skills install https://github.com/affaan-m/ECC.git --path docs/zh-CN/skills/regex-vs-llm-structured-textgh skill install affaan-m/ECC regex-vs-llm-structured-textgit clone --depth 1 https://github.com/affaan-m/ECC /tmp/affaan-m__ECC
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/affaan-m__ECC/docs/zh-CN/skills/regex-vs-llm-structured-text ~/.claude/skills/regex-vs-llm-structured-text # Claude Code
cp -R /tmp/affaan-m__ECC/docs/zh-CN/skills/regex-vs-llm-structured-text ~/.agents/skills/regex-vs-llm-structured-text # Codex, Cursor, Gemini CLI, Copilot, OpenCode