Distil Open Claw Pii
/install distil-open-claw-pii
PII Redaction Skill
When to use
Use this skill when the user asks to redact, anonymize, sanitize, or remove PII / personal data from text.
Privacy guarantee
CRITICAL: NEVER include the user's raw input text in your own responses, context, or reasoning. The entire point of this skill is that the frontier LLM (you) never sees the PII. You pass the text directly to the redaction script and only return the redacted output.
Prerequisites
- Python 3
curl(for model download)
The setup script handles everything else (model download + server startup).
First-time setup
If the model server is not running yet, run:
bash scripts/setup.sh
This downloads the GGUF model (~5 GB) and starts the local inference server on port 8712.
How to redact
Pass the user's text directly to the redaction script. Do not echo or repeat the raw text yourself.
python scripts/redact.py "text to redact"
For longer text, pipe it via stdin:
echo "text to redact" | python scripts/redact.py
Return the output to the user as-is.
--show-entities flag (use sparingly)
Adding --show-entities outputs the full JSON including the original PII values. Only use this when the user explicitly asks to see which entities were detected or needs the mapping for a downstream task. In normal redaction workflows, omit this flag -- displaying the raw entity values defeats the purpose of PII redaction.
python scripts/redact.py --show-entities "text to redact"
How to stop the server
bash scripts/stop.sh
Output format
By default the script prints only the redacted text -- PII tokens replace the sensitive data and the original values are never shown:
Hi, my name is [PERSON] and I need help with my recent order #ORD-29481.
You can reach me at [EMAIL] or call me at [PHONE]. I'm a [AGE_YEARS:34]-year-old [MARITAL_STATUS] woman living at [ADDRESS]...
With --show-entities, the script returns full JSON including original PII values (see flag note above for when this is appropriate).
See examples/ for full input/output samples.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install distil-open-claw-pii - 安装完成后,直接呼叫该 Skill 的名称或使用
/distil-open-claw-pii触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Distil Open Claw Pii 是什么?
Redact PII from text locally using a fine-tuned 1B SLM. Text never leaves your machine. Handles names, emails, phones, addresses, SSNs, credit cards, IBANs,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 82 次。
如何安装 Distil Open Claw Pii?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install distil-open-claw-pii」即可一键安装,无需额外配置。
Distil Open Claw Pii 是免费的吗?
是的,Distil Open Claw Pii 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Distil Open Claw Pii 支持哪些平台?
Distil Open Claw Pii 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Distil Open Claw Pii?
由 Jacek Golebiowski(@jgolebiowski)开发并维护,当前版本 v1.1.1。