regex-builder

regex-builder is a skill for Claude Code, Codex from TeamDzX/myllm-skills. It costs 28 tokens per session (234 once invoked), scanned A, original, MIT.

A skill for creating and explaining a regular expression, which is a text pattern used to find or validate strings.

In plain words
What is it for?
Use it to build or understand regexes for JavaScript, Python, PCRE, or another stated pattern format.
Why use it?
It turns a plain-language matching requirement into a readable pattern and shows what the pattern accepts and rejects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build or understand regexes for JavaScript, Python, PCRE, or another stated pattern format.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/teamdzx/myllm-skills/regex-builder
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TeamDzX/myllm-skills --skill regex-builder
Clone the repo
git clone --depth 1 https://github.com/TeamDzX/myllm-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for regex-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/teamdzx/myllm-skills/regex-builder/github.svg)](https://agentmods.dev/skills/teamdzx/myllm-skills/regex-builder)
Your own site
<a href="https://agentmods.dev/skills/teamdzx/myllm-skills/regex-builder"><img src="https://agentmods.dev/badge/skills/teamdzx/myllm-skills/regex-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for regex-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/teamdzx/myllm-skills/regex-builder"><img src="https://agentmods.dev/badge/skills/teamdzx/myllm-skills/regex-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 234 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00234
Opus 5 $0.00014 $0.00117
Sonnet 5 $0.00006 $0.00047
Haiku 4.5 $0.00003 $0.00023

Measured 10d ago against content hash bfdc18f93db7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

regex-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/regex-builder/SKILL.md · 26 lines

What it actually says

Regex builder

Produce a regular expression that matches what the user described.

Output:

  1. The pattern in a code block:
    <regex>
    
  2. How it works — break the pattern into parts and explain each in one line.
  3. Matches — 2–3 example strings it accepts.
  4. Doesn't match — 2–3 it rejects.

Rules:

  • State the flavour (JavaScript, PCRE, Python re, …); default to JavaScript and say so. Note any flags (e.g. i, g, m).
  • Keep it as simple as possible — readable beats clever. Anchor with ^/$ when the whole string must match.
  • Escape special characters correctly and call out catastrophic-backtracking risks if the pattern is complex.
  • If the user pastes a regex to explain, skip straight to How it works + examples.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 26 lines · 28 tokens per session scan A bfdc18f93db7

Subscribe to this mod's changes

regex-builder is a skill published in the GitHub repository TeamDzX/myllm-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 234 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

edgeone skill scanner

A local static scanner that checks agent-skill files for security risks before they are installed or used. Static analysis examines files without running them.

Tencent/AI-Infra-Guard · 148 tokens

avoid-ai-writing

Audit and rewrite content to remove AI writing patterns ("AI-isms"). Use this skill when asked to "remove AI-isms," "clean up AI writing," "edit writing for AI patterns," "audit writing for AI tells," or "make this sound less like AI." Supports a detect-only mode, an edit-in-place mode for files, an optional voice…

conorbronsdon/avoid-ai-writing · 97 tokens

ai-writing-detector

Use when the user asks to detect, scan, audit, score, or flag AI-writing patterns without rewriting the text, including requests for a deterministic local detector result when the host can execute Node.

conorbronsdon/avoid-ai-writing · 44 tokens

preservation-verifier

Use when the user provides an original and rewritten version, asks whether a rewrite preserved protected content, or wants a deterministic check for code, frontmatter, quotes, tables, links, paths, numbers, headings, and residual AI-pattern regressions.

conorbronsdon/avoid-ai-writing · 54 tokens

avoid-ai-writing-router

Use when a request combines AI-writing audit, rewrite, file editing, voice preservation, false-positive interpretation, verification, or when the user invokes Avoid AI Writing without naming a mode.

conorbronsdon/avoid-ai-writing · 41 tokens

voice-preserving-rewriter

Use when the user asks to rewrite, humanize, clean up, or remove AI-isms from text while preserving the writer's voice, facts, intent, structure, register, and protected material.

conorbronsdon/avoid-ai-writing · 46 tokens