Skip to content
AI & Agents
Skill

/regex-builder

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

BOOST
From plugin
awesome-openclaw-agents
4k16 skills1 agent
Install
$ npx -y skills add mergisi/awesome-openclaw-agents --skill regex-builder --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/regex-builder

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

regex-builder.SKILL.md
name: regex-builder
description: Describe a text pattern in plain English and get a working regular expression with an explanation.

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
Ships withawesome-openclaw-agents

A curated collection of 205 production-ready AI agent templates for the OpenClaw ecosystem. Every template is a copy-paste ready SOUL.md file.

Get the whole plugin

Other skills on awesome-openclaw-agents.