← Back to Skills Marketplace
RegexTester
by
crossallen
· GitHub ↗
· v1.0.0
732
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install regex-tester
Description
正则表达式助手,支持匹配测试、提取所有匹配、分组捕获、文本替换及常用模式生成。
Usage Guidance
This skill is coherent and appears to do only local regex processing. Things to consider before installing: (1) The tool processes text you pass to it—avoid feeding secrets or sensitive files unless you trust the runtime and local environment. Examples in SKILL.md that use shell substitution (e.g., $(cat error.log)) will cause the shell to read files on disk before invoking the script. (2) As with any regex tool, untrusted or pathological regular expressions can be CPU-intensive (ReDoS) if run against large inputs—avoid running untrusted complex patterns on very large files. (3) If you need network isolation or extra confidentiality, run the script in an isolated environment. Otherwise, the skill does not request credentials or perform network access and is internally consistent with its description.
Capability Analysis
Type: OpenClaw Skill
Name: regex-tester
Version: 1.0.0
The Python script (`script/main.py`) itself is benign, using standard `re` module functions without any dangerous system calls, network activity, or file manipulation beyond its stated purpose. However, the `SKILL.md` documentation contains an example (`python3 script/main.py findall "ERROR:\s*(\w+)" "$(cat error.log)"`) that demonstrates shell command substitution. If an AI agent executes this instruction directly in a shell environment, it presents a shell injection vulnerability, allowing arbitrary commands to be executed via the `$(...)` construct. This is a risky capability, even if the developer's intent was to show how to pass file content, and thus classifies the skill as suspicious.
Capability Assessment
Purpose & Capability
The name/description (regex tester) matches the included assets and behavior. The script implements matching, findall, groups, sub, and pattern generation as documented. No unrelated binaries or credentials are requested.
Instruction Scope
SKILL.md instructs the agent to run the local Python script (python3 script/main.py ...) which is appropriate. Some examples show shell substitutions like $(cat error.log) to feed file contents; this is a legitimate usage for testing but it references reading local files (which is expected for a tester). The instructions do not direct data to remote endpoints or ask for unrelated environment variables.
Install Mechanism
No install spec is present (instruction-only with an included script). Nothing is downloaded or written to disk by an installer, which minimizes install-time risk.
Credentials
No environment variables, credentials, or config paths are requested. The declared capabilities align with this: the tool operates on inputs passed on the command line or piped from files.
Persistence & Privilege
The skill is not always-included and does not request elevated persistence. It is user-invocable and allows normal autonomous invocation (the platform default), which is expected for a utility skill.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install regex-tester - After installation, invoke the skill by name or use
/regex-tester - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of regex-tester.
- 提供正则表达式匹配测试、分组捕获、替换操作等核心功能
- 支持生成常用正则表达式模式(如email、手机号、日期等)
- 附带用法说明和丰富的示例,方便快速上手
- 包含正则速查、参数说明和注意事项
- 目录结构清晰,便于维护
Metadata
Frequently Asked Questions
What is RegexTester?
正则表达式助手,支持匹配测试、提取所有匹配、分组捕获、文本替换及常用模式生成。 It is an AI Agent Skill for Claude Code / OpenClaw, with 732 downloads so far.
How do I install RegexTester?
Run "/install regex-tester" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is RegexTester free?
Yes, RegexTester is completely free (open-source). You can download, install and use it at no cost.
Which platforms does RegexTester support?
RegexTester is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created RegexTester?
It is built and maintained by crossallen (@crossallen); the current version is v1.0.0.
More Skills