← Back to Skills Marketplace
RegexAssistant
by
crossallen
· GitHub ↗
· v1.0.1
714
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install regex-assistant
Description
帮助测试、调试和生成正则表达式,支持匹配测试、分组捕获、全文提取和替换操作。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install regex-assistant - After installation, invoke the skill by name or use
/regex-assistant - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Skill 名称从 “regex-tester” 改为 “regex-assistant”
- 目录顶层由 regex-tester/ 变更为 regex-assistant/
- 其余功能、用法和文档内容保持一致
Metadata
Frequently Asked Questions
What is RegexAssistant?
帮助测试、调试和生成正则表达式,支持匹配测试、分组捕获、全文提取和替换操作。 It is an AI Agent Skill for Claude Code / OpenClaw, with 714 downloads so far.
How do I install RegexAssistant?
Run "/install regex-assistant" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is RegexAssistant free?
Yes, RegexAssistant is completely free (open-source). You can download, install and use it at no cost.
Which platforms does RegexAssistant support?
RegexAssistant is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created RegexAssistant?
It is built and maintained by crossallen (@crossallen); the current version is v1.0.1.
More Skills