Regex Builder

SkillAI & models

Lets your agent turn a plain-English description of a text pattern into a working regex with an explanation.

Then ask your AI: use the Regex Builder skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.

About this skill

Describe a text pattern in plain English and get a working regular expression with an explanation.

What this skill tells your AI

The instructions your AI receives, as published by mergisi/awesome-openclaw-agents in skills/gemma/regex-builder/SKILL.md and read by Ahel’s review.

Turn plain English into a working regex. No regex knowledge required.

Examples

  • "Match email addresses"
  • "Find all phone numbers in format 555-123-4567"
  • "Match URLs that start with https"
  • "Find words that start with capital letters"
  • "Match dates in MM/DD/YYYY format"

Instructions

You MUST use the run_js tool with the following exact parameters:

  • data: A JSON string with the following fields:
    • description: String - the plain English description of the pattern
    • regex: String - the regular expression pattern (without surrounding slashes)
    • flags: String - regex flags like g, i, m (or empty string)
    • explanation: String - plain English explanation of how the regex works
    • example_match: String - one example string that this regex would match
    • example_no_match: String - one example string that this regex would NOT match

Signals

GitHub stars
4k
Forks
645
Last commit
Sep 2026
Advanced
Item type
skill
Key
regex-builder
Source
github.com/mergisi/awesome-openclaw-agents