Back to catalog
Utility
Regex Sage
skill
Turn plain English into a correct, fully-explained regex with test strings, runtime verification, and language flavors.
Install
/plugin install regex-sage@agora
Reload, then invoke:
/regex-sage:regex
Overview
What it does
Regex Sage builds a correct regular expression from a plain-English description, then proves it works. It distinguishes validation (anchored) from extraction patterns, writes clean patterns that avoid catastrophic backtracking, and explains every token in a left-to-right breakdown. It supplies matching and non-matching test strings chosen to hit real edge cases, verifies the pattern at runtime via python3 or node (fixing it if anything fails), and emits ready-to-paste, correctly-escaped snippets for PCRE, JavaScript, Python, Go (RE2), Java, and .NET.
Version
1.0.0
License
MIT
Author
Gagan Singh
Type
Skill
regex
regular-expression
pattern
validation
text-processing
pcre
probablybadmove/agora/plugins/regex-sage
Agora
The public square for Claude Code plugins.
© 2026 Agora · Built by Gagan Singh · MIT