regex-vs-llm-structured-text

regex-vs-llm-structured-text is a skill for Claude Code, Codex from khanhhuyenngo985-sys/character-scene-design-skills. It costs 38 tokens per session (1,594 once invoked), scanned A, original, no licence file.

A decision guide for parsing structured text with regular expressions or a language model. It recommends starting with fixed text rules and using an LLM only when those rules are uncertain or miss unusual cases.

In plain words
What is it for?
Use it to design text-parsing systems, choose a fallback for edge cases, and decide when pattern matching is enough.
Why use it?
It helps avoid using a slower, less predictable language model for text that simple patterns can handle.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to design text-parsing systems, choose a fallback for edge cases, and decide when pattern matching is enough.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khanhhuyenngo985-sys/character-scene-design-skills/regex-vs-llm-structured-text
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 khanhhuyenngo985-sys/character-scene-design-skills --skill regex-vs-llm-structured-text
Clone the repo
git clone --depth 1 https://github.com/khanhhuyenngo985-sys/character-scene-design-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-vs-llm-structured-text

README.md
[![agentmods](https://agentmods.dev/badge/skills/khanhhuyenngo985-sys/character-scene-design-skills/regex-vs-llm-structured-text/github.svg)](https://agentmods.dev/skills/khanhhuyenngo985-sys/character-scene-design-skills/regex-vs-llm-structured-text)
Your own site
<a href="https://agentmods.dev/skills/khanhhuyenngo985-sys/character-scene-design-skills/regex-vs-llm-structured-text"><img src="https://agentmods.dev/badge/skills/khanhhuyenngo985-sys/character-scene-design-skills/regex-vs-llm-structured-text/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-vs-llm-structured-text

Your own site · 80×15
<a href="https://agentmods.dev/skills/khanhhuyenngo985-sys/character-scene-design-skills/regex-vs-llm-structured-text"><img src="https://agentmods.dev/badge/skills/khanhhuyenngo985-sys/character-scene-design-skills/regex-vs-llm-structured-text.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,594 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 unknown 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.00038 $0.01594
Opus 5 $0.00019 $0.00797
Sonnet 5 $0.00008 $0.00319
Haiku 4.5 $0.00004 $0.00159

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

Security

Grade A, and why

regex-vs-llm-structured-text 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 9d 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/.archive/devtools/regex-vs-llm-structured-text/SKILL.md · 221 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 9d ago First seen · 221 lines · 38 tokens per session scan A 1f4338a9d8ee

Subscribe to this mod's changes

regex-vs-llm-structured-text is a skill published in the GitHub repository khanhhuyenngo985-sys/character-scene-design-skills (10 stars, last pushed 3mo ago), with no licence file. It adds 38 tokens to every session and 1,594 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

minimax-h3-prompting

Guide an idea into a generation-ready MiniMax H3 / Hailuo H3 prompt or diagnose an inspected H3 output. Use for T2VA, I2VA, FL2VA, L2VA, or Ref2VA; text-only PV and kinetic type, Motion Design/MG, packaging and transitions, product/UI/game/MV/title work, localized reality-to-hand-drawn edits, audio/timbre reference…

q2522879285-source/minimax-h3-prompting-skill-public · 161 tokens

ai-video-prompt-generator

Generate AI video prompts from clean structured prompt specs, validate prompt specs, run an isolated OpenAI-based prompt generator, and lint prompt outputs for viewpoint, action, reference, dialogue, negative prompt, audio prompt, safety tags, and legacy-contamination failures. Use when producing or repairing…

Phantomlau3674/ai-film-director-workbench · 83 tokens

universal-video-prompt-skill

Write one model-agnostic video prompt spec, then compile it to whichever video model you can actually call. Use for cross-model prompt work, model comparison matrices, reusing one brief across providers, or when the target model is not yet available and the work must proceed on another one.

AtlasCloudAI/awesome-seedance-2.5-prompts-skills · 66 tokens

seedance-2-5-prompt-director

A skill for writing and improving prompts for Seedance 2.5, a video-generation system. It covers text-to-video, image-to-video, editing, video extension, references, camera movement, green-screen work, sound, and lip sync.

zhouwei713/seedance-2-5-prompt-director · 159 tokens

model-aware-image-prompt-engineer

Model-aware image prompt engineering for any agent or image generation workflow. Use when writing, improving, translating, debugging, or evaluating prompts for OpenAI image models, Gemini Nano Banana, Midjourney, FLUX, Qwen-Image, Z-Image, Stable Diffusion, SDXL, Pony, Illustrious, NoobAI, Animagine, HunyuanImage…

Emily2040/nano-banana-image-skill · 210 tokens

china-video-prompt-architect

Turn rough China AI video ideas into structured English or Chinese prompt packs, reference-aware motion instructions, shot plans, and focused debugging loops. Use for text-to-video, image-to-video, reference-to-video, video-to-video, product clips, cinematic scenes, transitions, or multi-shot sequences; do not use for…

gpt-img-2/chinavideoai-prompt-mcp · 83 tokens