← 返回 Skills 市场
Regexr
作者
bytesagain-lab
· GitHub ↗
· v2.0.0
· MIT-0
267
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install regexr
功能描述
Create, test, and learn regular expressions with live matching. Use when validating patterns, checking groups, generating regex, linting syntax.
安全使用建议
This skill appears coherent and does what it says: a local CLI regex helper that logs your activity to ~/.local/share/regexr. Before installing, consider: (1) Any patterns or sample text you pass (which may contain secrets, tokens, or PII) are saved unencrypted in that directory — avoid submitting sensitive strings or configure the script to use a non-persistent/data-dir you control. (2) The JSON export in the script is implemented naively (no escaping, and the final newline/closing bracket handling looks incorrect) and may produce malformed exports or leak raw values; review/patch the export code before sharing exported files. (3) If you need stronger privacy, run the script in a sandbox or modify it to avoid logging or to encrypt logs. Otherwise the skill is internally consistent and does not request unrelated credentials or network access.
功能分析
Type: OpenClaw Skill
Name: regexr
Version: 2.0.0
The skill exhibits deceptive behavior by claiming to provide extensive regex utility functions (linting, explaining, converting, fixing) in SKILL.md that are entirely absent from the implementation. The script `scripts/script.sh` merely appends user input to local log files in `~/.local/share/regexr/` for every command, providing no actual analysis or transformation. This 'fake functionality' is a form of prompt injection that could mislead an AI agent into reporting successful code validation or fixes that never occurred.
能力评估
Purpose & Capability
Name/description match the implemented behavior: a CLI regex tool that validates, explains, lints, converts, previews and logs patterns. No unrelated env vars, binaries, or config paths are required.
Instruction Scope
SKILL.md and the script limit their actions to local pattern processing and file-based logging under ~/.local/share/regexr. However, every user-supplied pattern/input is persisted to local log files (history.log and per-command logs), which can include sensitive data. The JSON export implementation is naive and likely to produce malformed output or expose raw contents without escaping.
Install Mechanism
No install spec; this is instruction-only with a bundled bash script. Nothing is downloaded from external URLs or written outside the user's home directory. Risk from install mechanism is low.
Credentials
Skill requests no environment variables or credentials. The data directory is in the user's home and is reasonable for a CLI tool. No unnecessary secrets requested.
Persistence & Privilege
Skill writes persistent logs to ~/.local/share/regexr and can export them; this is expected for the tool but users should be aware of persistent storage of inputs. always:false and default autonomous invocation are used (normal).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install regexr - 安装完成后,直接呼叫该 Skill 的名称或使用
/regexr触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
publish v2.0.0
元数据
常见问题
Regexr 是什么?
Create, test, and learn regular expressions with live matching. Use when validating patterns, checking groups, generating regex, linting syntax. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 267 次。
如何安装 Regexr?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install regexr」即可一键安装,无需额外配置。
Regexr 是免费的吗?
是的,Regexr 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Regexr 支持哪些平台?
Regexr 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Regexr?
由 bytesagain-lab(@bytesagain-lab)开发并维护,当前版本 v2.0.0。
推荐 Skills