RegexGuard is a comprehensive safety and correctness analyzer that scans codebases for catastrophic backtracking, portability issues, and regex security vulnerabilities.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install regexguard
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install regexguard using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
RegexGuard is a specialized utility designed to audit regular expressions across diverse programming environments, including JavaScript, Python, Go, and Ruby. As a key addition to the Openclaw Skills library, it provides a 100% local, zero-telemetry solution for identifying 90 distinct regex anti-patterns. By analyzing how patterns are constructed and used, it protects applications from performance degradation and security exploits.
The tool focuses on providing actionable remediation guidance through a deductive scoring system. It allows developers to maintain high standards for regex quality by flagging issues like ReDoS vectors, engine-specific syntax errors, and missing validation anchors before they reach production.
To get started with this skill, ensure you have the necessary dependencies installed and the configuration file updated.
# Install the required git hook manager
brew install lefthook
# Set your license key for Pro/Team features
export REGEXGUARD_LICENSE_KEY='your_key_here'
Configure the skill behavior in your ~/.openclaw/openclaw.json to define ignore patterns or severity thresholds.
RegexGuard categorizes findings into six major technical domains to streamline remediation efforts:
| Category | Code | Description | Severity |
|---|---|---|---|
| Catastrophic Backtracking | CB | Nested quantifiers and exponential patterns | Critical |
| Portability Errors | PE | Engine-specific syntax and lookbehind gaps | High |
| Correctness Errors | CE | Unescaped dots and bad character class ranges | High |
| Maintainability Issues | MA | Overly complex patterns and magic strings | Medium |
| Anchoring & Boundaries | AN | Validation bypasses and missing anchors | Critical |
| Pattern Injection | PI | Unsanitized user input in dynamic regex | Critical |
Loading
An automated system for defining, enforcing, and tracking structured workflows and rule compliance for AI agents.

CLS CLI is a high-performance command-line tool built in Go for managing and querying Tencent Cloud Log Service resources with ease.

A local security auditor that scans infrastructure-as-code and CI/CD pipelines for 80+ common misconfigurations and compliance issues.

A specialized AI companion for Sun Yat-sen University students featuring local memory, gacha-style personalities, and campus-specific knowledge retrieval.

A specialized AI agent skill designed to extract patentable features from source code and draft formal Chinese patent documents following CNIPA standards.

A professional-grade market analysis tool that generates seven distinct A-share trading review templates to systematize daily market research.








































