← 返回 Skills 市场
crossallen

RegexTester

作者 crossallen · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
732
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install regex-tester
功能描述
正则表达式助手,支持匹配测试、提取所有匹配、分组捕获、文本替换及常用模式生成。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install regex-tester
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /regex-tester 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of regex-tester. - 提供正则表达式匹配测试、分组捕获、替换操作等核心功能 - 支持生成常用正则表达式模式(如email、手机号、日期等) - 附带用法说明和丰富的示例,方便快速上手 - 包含正则速查、参数说明和注意事项 - 目录结构清晰,便于维护
元数据
Slug regex-tester
版本 1.0.0
许可证
累计安装 3
当前安装数 3
历史版本数 1
常见问题

RegexTester 是什么?

正则表达式助手,支持匹配测试、提取所有匹配、分组捕获、文本替换及常用模式生成。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 732 次。

如何安装 RegexTester?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install regex-tester」即可一键安装,无需额外配置。

RegexTester 是免费的吗?

是的,RegexTester 完全免费(开源免费),可自由下载、安装和使用。

RegexTester 支持哪些平台?

RegexTester 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 RegexTester?

由 crossallen(@crossallen)开发并维护,当前版本 v1.0.0。

💬 留言讨论