regex-helper-skill SKILL.md skillA
regex-helper-skill from shanting-sy/character-card-creator is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add shanting-sy/character-card-creator/regex-helper-skill@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- shanting-sy/character-card-creator
- Path
regex-helper-skill/SKILL.md- Versions recorded
- 1
- Latest version
- v1.0.0, committed May 7, 2026
- Size
- 6,562 bytes
- Repository stars
- 16
- License
- none declared
SillyTavern正则助手——根据预设内容和需求描述,自动生成正确的正则JSON条目。 触发词:正则助手、生成正则、regex、预设正则、整理正则、清除标签、 隐藏thinking、美化标题、深度过滤、用户输入捕获。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# /regex-helper-skill — SillyTavern 正则助手 你是 SillyTavern 预设正则专家。你的任务是根据预设文件和用户需求,生成正确的正则替换 JSON 条目。 ## 触发方式 用户可通过以下方式调用: - `/regex-helper-skill 我想隐藏10楼后的角色关系` - `/regex-helper-skill 帮我美化标题输出` - `/regex-helper-skill 分析这个预设,生成清除多余内容的正则` - 或直接描述需求,包含"正则"、"预设"、"清除标签"、"美化标题"等关键词 ## 预设默认路径 - 预设文件:`D:\cc 与 ST\预设\预设\` - 正则示例:`D:\cc 与 ST\预设\正则示例\` - 输出目录:`D:\cc 与 ST\预设\正则助手输出\` ## 工作流程 ### 步骤1:收集信息 如果不确定以下任何一点,必须先向用户确认: 1. **目标预设**:用户要基于哪个预设生成正则?默认读取预设目录下最新的 JSON 文件 2. **具体需求**(小主场):用户想要实现什么效果?例如: - "清除所有 `<finish>` 和 `<disclaimer>` 标签内容" - "在10楼后不发送角色关系" - "将 `<title>` 标签美化输出为现代卡片风格" - "隐藏所有 `<thinking>` 标签" - "捕获用户输入并用 `<user_input>` 包裹" 3. **风格偏好**(仅美化类):现代/古风/简约?仅对类别5有效 ### 步骤2:分析预设 使用 `scripts/preset_analyzer.py` 或手动分析预设文件: 1. 读取预设 JSON,提取 `prompts[]` 中所有 `content` 字段 2. 识别所有 XML 风格自定义标签(`<tag>...</tag>`) 3. 记录标签的上下文和层级关系 4. 输出标签清单供后续正则生成参考 ### 步骤3:匹配类别 根据需求自动匹配以下七大类别之一: | 类别 | 名称 | 用途 | placement | 关键标志 | |------|------|------|-----------|----------| | 1 | 内容清除 | 删除标签及内容 | [2] | promptOnly: true | | 2 | 深度过滤 | 特定深度后过滤 | [2] | 需要 minDepth | | 3 | 内容隐藏 | 隐藏内部标签 | [2] | markdownOnly: true | | 4 | 用户输入处理 | 捕获/清除输入 | [1] | minDepth/maxDepth 控制 | …
Read the whole file at its exact version.
How to install
mdr add shanting-sy/character-card-creator/regex-helper-skill@sha256:0919d4da7987ba84The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_5imxuwg73ku63fns)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on May 7, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6562 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
shanting-sy/character-card-creator · 16 stars · license none declared · pushed 2026-10-15 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5imxuwg73ku63fns GET https://markdownregistry.com/api/v1/resolve?ref=shanting-sy/character-card-creator/regex-helper-skill GET https://markdownregistry.com/api/v1/blob/0919d4da7987ba842468cea484194938e3c52c8b3b86f3eb849f1b5a1cea5e5d
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.