← 返回 Skills 市场
RegexAssistant
作者
crossallen
· GitHub ↗
· v1.0.1
714
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install regex-assistant
功能描述
帮助测试、调试和生成正则表达式,支持匹配测试、分组捕获、全文提取和替换操作。
安全使用建议
This skill appears to do what it says: a local regex tester implemented in a small Python script and documentation. Key points to consider before installing/using: (1) it runs locally and needs no credentials, so there's no obvious network exfiltration built in; (2) be cautious when passing sensitive files as arguments or via shell substitution (e.g., $(cat secret.txt)) since the tool will print matches and replaced text to stdout; (3) you can quickly review the short script (script/main.py) — it contains only standard Python regex usage with no network or filesystem access beyond what you explicitly provide as arguments. If you require higher assurance, run the script in a sandbox or review/execute it locally before granting it any automated invocation.
功能分析
Type: OpenClaw Skill
Name: regex-assistant
Version: 1.0.1
The skill's `SKILL.md` documentation describes executing `python3 script/main.py` with user-controlled regex patterns and text as command-line arguments. This design, especially highlighted by an example using shell command substitution (`$(cat error.log)`), creates a significant shell injection vulnerability if the OpenClaw agent does not properly quote or escape user-provided input when constructing the command string for execution. While the `script/main.py` itself is benign and uses standard Python libraries without malicious logic, the described invocation method in `SKILL.md` exposes the agent to a critical command injection risk.
能力评估
Purpose & Capability
Name/description describe a regex tester and the package contains a single CLI script (script/main.py) that implements match, findall, groups, sub, and pattern commands — all expected and proportionate.
Instruction Scope
SKILL.md only instructs running the included Python script with regex and text arguments. Example usage includes shell substitution like $(cat error.log) which demonstrates how a user can pass file contents into the tool; the skill itself does not instruct the agent to read system files or external data automatically.
Install Mechanism
No install spec; this is an instruction-only skill with a bundled script. Nothing is downloaded or written to disk beyond the included files.
Credentials
No environment variables, credentials, or config paths are required or referenced; requested access is minimal and appropriate for a local regex helper.
Persistence & Privilege
No elevated persistence requested (always=false). The skill does not modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install regex-assistant - 安装完成后,直接呼叫该 Skill 的名称或使用
/regex-assistant触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Skill 名称从 “regex-tester” 改为 “regex-assistant”
- 目录顶层由 regex-tester/ 变更为 regex-assistant/
- 其余功能、用法和文档内容保持一致
元数据
常见问题
RegexAssistant 是什么?
帮助测试、调试和生成正则表达式,支持匹配测试、分组捕获、全文提取和替换操作。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 714 次。
如何安装 RegexAssistant?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install regex-assistant」即可一键安装,无需额外配置。
RegexAssistant 是免费的吗?
是的,RegexAssistant 完全免费(开源免费),可自由下载、安装和使用。
RegexAssistant 支持哪些平台?
RegexAssistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 RegexAssistant?
由 crossallen(@crossallen)开发并维护,当前版本 v1.0.1。
推荐 Skills