{"id":"24fbd04e-c1f6-4484-8b0f-f1a0b0171470","shortId":"uNm3kQ","kind":"skill","title":"grex Regular Expression Generator from Test Cases","tagline":"grex is a command-line tool and library that automatically generates regular expressions from user-provided test cases. Written in Rust with Python bindings, it produces the most specific regex that matches the given input, supporting Unicode 16.0, character class detection, quan","description":"# grex Regular Expression Generator from Test Cases\n\ngrex is a command-line tool and library that automatically generates regular expressions from user-provided test cases. Written in Rust with Python bindings, it produces the most specific regex that matches the given input, supporting Unicode 16.0, character class detection, quantifier notation, and case-insensitive matching.\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- git clone https://github.com/pemistahl/grex.git\n- cargo build\n- cargo test\n- cargo bench\n\nRequirements and caveats from upstream:\n- [![python build status](https://github.com/pemistahl/grex/actions/workflows/python-build.yml/badge.svg)](https://github.com/pemistahl/grex/actions/workflows/python-build.yml)\n- ![supported Python versions](https://img.shields.io/badge/Python-%3E%3D%203.12-blue?logo=Python&logoColor=yellow)\n- Specifies the minimum length a repeated substring must have in order to be converted if\n\nBasic usage or getting-started notes:\n- Input:\n- [INPUT]... One or more test cases separated by blank space\n- -f, --file <FILE> Reads test cases on separate lines from a file\n\n- Source: https://github.com/pemistahl/grex\n- Extracted from upstream docs: https://raw.githubusercontent.com/pemistahl/grex/HEAD/README.md\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/grex-regex-generator-from-test-cases/)","tags":["grex","regex","generator","from","test","cases","skills","agentskillexchange","agent-skills","ai-agents","ai-tools","awesome-list"],"capabilities":["skill","source-agentskillexchange","skill-grex-regex-generator-from-test-cases","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/grex-regex-generator-from-test-cases","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,414 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:10:48.011Z","embedding":null,"createdAt":"2026-05-18T13:16:59.697Z","updatedAt":"2026-05-18T19:10:48.011Z","lastSeenAt":"2026-05-18T19:10:48.011Z","tsv":"'/badge/python-%3e%3d%203.12-blue?logo=python&logocolor=yellow)':148 '/pemistahl/grex':196 '/pemistahl/grex.git':125 '/pemistahl/grex/actions/workflows/python-build.yml/badge.svg)](https://github.com/pemistahl/grex/actions/workflows/python-build.yml)':142 '/pemistahl/grex/head/readme.md':203 '/skills/grex-regex-generator-from-test-cases/)':210 '16.0':47,98 'agent':205 'agentskillexchange.com':209 'agentskillexchange.com/skills/grex-regex-generator-from-test-cases/)':208 'automat':18,69 'basic':164 'bench':131 'bind':33,84 'blank':180 'build':127,138 'cargo':126,128,130 'case':7,27,58,78,106,177,186 'case-insensit':105 'caveat':134 'charact':48,99 'class':49,100 'clone':122 'command':12,63 'command-lin':11,62 'convert':162 'detect':50,101 'doc':200 'environ':120 'exchang':207 'express':3,21,54,72 'extract':197 'f':182 'file':183,192 'generat':4,19,55,70 'get':168 'getting-start':167 'git':121 'github.com':124,141,195 'github.com/pemistahl/grex':194 'github.com/pemistahl/grex.git':123 'github.com/pemistahl/grex/actions/workflows/python-build.yml/badge.svg)](https://github.com/pemistahl/grex/actions/workflows/python-build.yml)':140 'given':43,94 'grex':1,8,52,59 'img.shields.io':147 'img.shields.io/badge/python-%3e%3d%203.12-blue?logo=python&logocolor=yellow)':146 'input':44,95,171,172 'insensit':107 'instal':109,113 'length':152 'librari':16,67 'line':13,64,189 'match':41,92,108,118 'minimum':151 'must':156 'notat':103 'note':170 'one':173 'order':159 'path':116 'produc':35,86 'provid':25,76 'python':32,83,137,144 'quan':51 'quantifi':102 'raw.githubusercontent.com':202 'raw.githubusercontent.com/pemistahl/grex/head/readme.md':201 'read':184 'regex':39,90 'regular':2,20,53,71 'repeat':154 'requir':132 'rust':30,81 'separ':178,188 'setup':115 'skill':206 'skill-grex-regex-generator-from-test-cases' 'sourc':193,204 'source-agentskillexchange' 'space':181 'specif':38,89 'specifi':149 'start':169 'status':139 'substr':155 'support':45,96,143 'test':6,26,57,77,129,176,185 'tool':14,65 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'unicod':46,97 'upstream':112,136,199 'usag':165 'use':110 'user':24,75 'user-provid':23,74 'version':145 'written':28,79","prices":[{"id":"8aa13fed-e806-44bb-81c8-593f9e74791b","listingId":"24fbd04e-c1f6-4484-8b0f-f1a0b0171470","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:16:59.697Z"}],"sources":[{"listingId":"24fbd04e-c1f6-4484-8b0f-f1a0b0171470","source":"github","sourceId":"agentskillexchange/skills/grex-regex-generator-from-test-cases","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/grex-regex-generator-from-test-cases","isPrimary":false,"firstSeenAt":"2026-05-18T13:16:59.697Z","lastSeenAt":"2026-05-18T19:10:48.011Z"}],"details":{"listingId":"24fbd04e-c1f6-4484-8b0f-f1a0b0171470","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"grex-regex-generator-from-test-cases","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"68910a366e0e3d060f07337070d17815e3054628","skill_md_path":"skills/grex-regex-generator-from-test-cases/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/grex-regex-generator-from-test-cases"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"grex Regular Expression Generator from Test Cases","description":"grex is a command-line tool and library that automatically generates regular expressions from user-provided test cases. Written in Rust with Python bindings, it produces the most specific regex that matches the given input, supporting Unicode 16.0, character class detection, quantifier notation, and case-insensitive matching."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/grex-regex-generator-from-test-cases"},"updatedAt":"2026-05-18T19:10:48.011Z"}}