Agent skill

Regex Builder

by mergisi in mergisi/awesome-openclaw-agents

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

MITAuto-check passedWriting & Content

Install Regex Builder

skills CLI
$ npx skills add mergisi/awesome-openclaw-agents --skill regex-builder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mergisi/awesome-openclaw-agents regex-builder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mergisi/awesome-openclaw-agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/gemma/regex-builder .claude/skills/regex-builder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
regex-builder
GitHub stars
4k
Token cost
~256 tokens
SKILL.md length
122 words
Files
3 (incl. scripts, assets)
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

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

  • Tasks that involve Plain language and style rules
  • SKILL.md covers Examples and Instructions

What it does

Regex Builder is an agent skill from mergisi/awesome-openclaw-agents. Describe a text pattern in plain English and get a working regular expression with an explanation.

Its SKILL.md is about 260 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and assets.

It sits in Writing & Content, covering Plain language and style rules. The repository describes itself as: 162 production-ready AI agent templates for OpenClaw. SOUL.md configs across 19 categories. Submit yours! The licence is MIT.

When your agent uses it

  • Tasks that involve Plain language and style rules

Example prompts

  • “/regex-builder”

What it can do on your machine

Read from SKILL.md and the folder at commit 05820c5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Regex Builder loads about 256 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 122 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~256

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from mergisi/awesome-openclaw-agents at commit 05820c5, republished under its MIT licence (© mergisi). 122 words, ~256 tokens.

Download SKILL.mdSave it as .claude/skills/regex-builder/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
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

© mergisi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts, assets) in skills/gemma/regex-builder of mergisi/awesome-openclaw-agents.

  • SKILL.md
  • assets/webview.html
  • scripts/index.html

Open the folder on GitHubat commit 05820c5

Compare with similar skills

Regex Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Regex Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Regex Builder this skillmergisi/awesome-openclaw-agents4k—~256Automated safety check: PassMIT
Asd Ste100danyuchn/asd-ste100-skill4.2k—~4.1kAutomated safety check: PassMIT
Simple Issue Descriptionevery-app/open-seo23k1 repos~1.2kAutomated safety check: PassMIT
Ponytail AuditDietrichGebert/ponytail159k—~1.4kAutomated safety check: PassMIT
Technical Writing Standardcursor/plugins10k10 repos~2.4kAutomated safety check: PassNone
Natural Japanese Business Writingcoji/natural-japanese1.9k—~2.1kAutomated safety check: PassMIT

Similar skills

  • Asd Ste100

    danyuchn/asd-ste100-skill

    A skill your agent uses when English text must be parsed without a human to resolve ambiguity — tool descriptions, error messages, inter-agent instructions, system prompts, status reports — and…

    4.2k GitHub stars~4.1k tokensUpdated 5 days ago
    Writing & ContentAuto-check passed
  • Simple Issue Description

    every-app/open-seo

    Turn a rough bug report, feature request, support note, or pull request into a short, plain-language issue focused on the problem and desired behavior.

    23k GitHub starsUsed in 1 repo~1.2k tokens
    Writing & ContentAuto-check passed
  • Ponytail Audit

    DietrichGebert/ponytail

    Quality audit of a whole repo: bugs, security holes, what breaks under real load, risky code without tests, slow paths, and what to delete, merge or split.

    159k GitHub stars~1.4k tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Official

    Applies four layers of technical-writing rules to docs, RFCs, readmes, PR descriptions and commit messages so a tired engineer follows them on the first read.

    10k GitHub starsUsed in 10 repos~2.4k tokens
    Writing & ContentAuto-check passed
  • Writes and edits Japanese business documents so they read clearly and naturally, removes AI-sounding phrasing and can score how AI-like a text reads.

    1.9k GitHub stars~2.1k tokensUpdated 1 mo ago
    Writing & ContentAuto-check passed
  • Pgjev

    realZachi/pg-jev

    Install, configure, query and explain pgjev (the jev PostgreSQL extension that filters, ranks and classifies rows with plain-language conditions via TypeSafe's Jev model).

    1.1k GitHub stars~2.9k tokensUpdated 3 days ago
    Writing & ContentAuto-check passed

More from mergisi/awesome-openclaw-agents

All 16 skills in this repo
  • Claude Code Cost Optimizer

    mergisi/awesome-openclaw-agents

    Audits a project's Claude Code setup for common token-cost leaks and returns a prioritized fix list, using only static inspection of files and settings.

    4k GitHub stars~1.1k tokensUpdated 13 days ago
    Auto-check passed
  • Excalidraw Architecture Diagram

    mergisi/awesome-openclaw-agents

    Generates or updates a whiteboard-style architecture diagram of the current codebase as an Excalidraw JSON file, showing services and data flow.

    4k GitHub stars~1.1k tokensUpdated 13 days ago
    Auto-check passed
  • Git Commit Message Writer

    mergisi/awesome-openclaw-agents

    Drafts a commit message from your staged diff, matching the repo's own style and explaining why the change happened, not just what changed.

    4k GitHub stars~664 tokensUpdated 13 days ago
    Auto-check passed
  • Model Cost Compare

    mergisi/awesome-openclaw-agents

    Trigger when the user asks which model to use, wants to compare model costs, says "what's cheapest for this task", "should I use Opus or Sonnet", "can a smaller model handle this", or…

    4k GitHub stars~1k tokensUpdated 13 days ago
    Auto-check passed
  • Openclaw Debugger

    mergisi/awesome-openclaw-agents

    Trigger when an OpenClaw agent is broken, silent, crashing, stuck, not responding, returning empty output, or the user says "my agent is down", "agent not working", "/openclaw-debugger".

    4k GitHub stars~959 tokensUpdated 13 days ago
    Auto-check passed
  • Code Explainer

    mergisi/awesome-openclaw-agents

    Explains a pasted code snippet in plain English, returning the detected language, a one-sentence summary, how it works and one practical tip.

    4k GitHub stars~283 tokensUpdated 13 days ago
    Auto-check passed

Questions about Regex Builder

What does Regex Builder do?

Describe a text pattern in plain English and get a working regular expression with an explanation. Regex Builder is an agent skill from mergisi/awesome-openclaw-agents. Describe a text pattern in plain English and get a working regular expression with an explanation.

When should I use Regex Builder?

Regex Builder fits situations like: tasks that involve Plain language and style rules.

How do I install Regex Builder in Claude Code?

Run `npx skills add mergisi/awesome-openclaw-agents --skill regex-builder -a claude-code`. Or copy the skill folder (skills/gemma/regex-builder in mergisi/awesome-openclaw-agents) into .claude/skills/regex-builder in your project. Claude Code loads it when a task matches its description.

How do I install Regex Builder in Codex?

Run `npx skills add mergisi/awesome-openclaw-agents --skill regex-builder -a codex`. Or copy the skill folder (skills/gemma/regex-builder in mergisi/awesome-openclaw-agents) into .agents/skills/regex-builder in your project. Codex loads it when a task matches its description.

Can I use Regex Builder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mergisi/awesome-openclaw-agents --skill regex-builder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/regex-builder, .gemini/skills/regex-builder, .github/skills/regex-builder and .opencode/skills/regex-builder in your project.

What does Regex Builder need to run?

SKILL.md names no scripts, command-line tools or credentials: Regex Builder is instructions for the agent only.

Does Regex Builder access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Regex Builder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Regex Builder use?

Regex Builder is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Regex Builder use?

About 256 tokens (SKILL.md is roughly 1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Regex Builder?

Skills that share tags, products or a category with Regex Builder: Asd Ste100 (danyuchn/asd-ste100-skill, 4.2k stars), Simple Issue Description (every-app/open-seo, 23k stars), Ponytail Audit (DietrichGebert/ponytail, 159k stars) and Technical Writing Standard (cursor/plugins, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Regex Builder?

mergisi (a GitHub user) maintains it in mergisi/awesome-openclaw-agents, which has 3,999 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on September 26, 2026.

Source: mergisi/awesome-openclaw-agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.