mit einem Klick
mit einem Klick
Audit an agent skill with Semia inside OpenClaw. Use when the user asks to run `semia scan <path>`, "Run Semia audit on this skill", or audit a skill/plugin for behavior risk.
Audit an agent skill with Semia inside Claude Code. Use when the user asks to run `semia scan <path>`, "Run Semia audit on this skill", or audit a skill/plugin for behavior risk.
Audit an agent skill with Semia inside Codex. Use when the user asks to run `semia scan <path>`, "Run Semia audit on this skill", or audit a skill/plugin for behavior risk.
Audit an agent skill with Semia Skill Behavior Mapping. Use when the user asks to run `semia scan <path>`, "Run Semia audit on this skill", audit a skill package, or review a skill/integration for capability, data-flow, secret, installer, network, filesystem, or policy risk.
Build a personalized team of AI agent personas for OpenClaw. Interviews the user, analyzes their workflow, then creates specialized agents with distinct personalities, adaptive model routing (Fast/Think/Deep/Strategic), weekly learning metrics, visual architecture docs, and inter-agent coordination. USE WHEN: user wants to create an agent team/council, build specialized AI personas, set up multi-agent workflows, 'build me a team of agents', 'create agents for my workflow', 'set up an agent council', 'I want specialized AI assistants', 'build me a crew'. DON'T USE WHEN: user wants a single skill (use skill-creator), wants to install existing skills (use clawhub), or wants to chat with existing agents (just route to them).
Complete Ryot media tracker with progress tracking, reviews, collections, analytics, calendar, and automated daily/weekly reports. Track TV shows, movies, books, anime, games with full GraphQL API integration.
| name | regex-assistant |
| description | 正则表达式助手,帮助用户测试、调试和生成正则表达式。支持匹配测试、分组捕获、替换操作等常见正则操作。 |
正则表达式测试与调试工具,帮助开发者快速验证正则表达式、提取匹配结果和执行替换操作。
提供便捷的正则表达式测试环境,帮助用户:
在以下情况下使用此技能:
测试正则表达式在目标文本中的匹配情况。
python3 script/main.py match "<正则>" "<文本>"
示例:
# 测试邮箱匹配
python3 script/main.py match "[\w.+-]+@[\w-]+\.[\w.-]+" "contact@example.com"
# 测试手机号匹配(中国大陆)
python3 script/main.py match "1[3-9]\d{9}" "13800138000"
获取文本中所有匹配正则表达式的内容。
python3 script/main.py findall "<正则>" "<文本>"
示例:
# 提取所有URL
python3 script/main.py findall "https?://\S+" "访问 https://example.com 和 http://test.org"
# 提取所有数字
python3 script/main.py findall "\d+" "价格: 99, 数量: 100, 总计: 9900"
查看正则表达式中的捕获分组内容。
python3 script/main.py groups "<正则>" "<文本>"
示例:
# 解析日志格式
python3 script/main.py groups "\[(.*?)\] \[(.*?)\] (.*)" "[2024-02-14] [INFO] 启动服务"
# 解析日期时间
python3 script/main.py groups "(\d{4})-(\d{2})-(\d{2})" "今天是2024-02-14"
使用正则表达式进行文本替换。
python3 script/main.py sub "<正则>" "<替换内容>" "<文本>"
示例:
# 隐藏手机号中间四位
python3 script/main.py sub "(\d{3})\d{4}(\d{4})" "\1****\2" "联系13800138000"
# 去除HTML标签
python3 script/main.py sub "<[^>]+>" "" "<p>你好<b>世界</b></p>"
生成常用场景的正则表达式模式。
python3 script/main.py pattern "<模式名称>"
支持的模式:
email - 邮箱地址phone - 中国手机号idcard - 中国身份证号ipv4 - IPv4地址url - URL地址date - 日期 (YYYY-MM-DD)time - 时间 (HH:MM:SS)chinese - 中文字符username - 用户名 (字母数字下划线)password - 密码 (至少8位,包含字母和数字)示例:
python3 script/main.py pattern email
python3 script/main.py pattern phone
| 参数 | 说明 |
|---|---|
match | 测试基本匹配 |
findall | 提取所有匹配 |
groups | 查看分组捕获 |
sub | 执行替换操作 |
pattern | 生成常用模式 |
# 验证邮箱格式是否正确
python3 script/main.py match "[\w.+-]+@[\w-]+\.[\w.-]+" "user@company.com"
# 从日志中提取所有错误代码
python3 script/main.py findall "ERROR:\s*(\w+)" "$(cat error.log)"
# 提取Markdown中的链接
python3 script/main.py findall "\[([^\]]+)\]\(([^)]+)\)" "[首页](https://example.com)"
# 统一日期格式
python3 script/main.py sub "(\d{4})/(\d{2})/(\d{2})" "\1-\2-\3" "2024/02/14"
# 去除多余空格
python3 script/main.py sub "\s+" " " "你好 世界"
# 解析命令行参数
python3 script/main.py groups "--(\w+)=([^\s]+)" "--name=test --port=8080"
# 解析CSV格式
python3 script/main.py groups "([^,]+),([^,]+),([^,]+)" "张三,25,北京"
| 符号 | 说明 |
|---|---|
. | 匹配任意字符(除换行) |
\d | 匹配数字 |
\w | 匹配字母数字下划线 |
\s | 匹配空白字符 |
^ | 匹配行首 |
$ | 匹配行尾 |
* | 匹配0次或多次 |
+ | 匹配1次或多次 |
? | 匹配0次或1次 |
{n} | 匹配n次 |
{n,} | 匹配至少n次 |
{n,m} | 匹配n到m次 |
[abc] | 匹配a、b或c |
[^abc] | 匹配非a、b、c的字符 |
() | 捕获分组 |
(?:) | 非捕获分组 |
| ` | ` |
. ^ $ * + ? { } [ ] \ | ( ).* 时注意贪婪匹配,可用 .*? 进行非贪婪匹配group(0) 是整个匹配结果regex-assistant/
├── SKILL.md # 技能说明文档(本文件)
├── script/
│ └── main.py # 主程序
└── tests/ # 测试用例