agentleFS
mergisimergisi/awesome-openclaw-agents/skills/gemma/regex-builder/SKILL.md

regex-builder

Skill4k starsChanged 8 months agoMITView on GitHub

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

Files
SKILL.md

Regex Builder

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.