返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
p

prompt-sanitizer

Sanitize prompts before sending to LLMs. Detects PII, prompt injection, toxicity, and off-topic content. Returns cleaned text + risk score. Use when: sanitize input, check prompt safety, detect injection, remove PII, content moderation, guardrails, agent safety.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
353
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

prompt-sanitizer

# prompt-sanitizer Sanitize any text before sending it to an LLM. Detects and flags PII, prompt injection attempts, toxicity, and off-topic hijacking. Returns cleaned text with PII masked and a risk score. ## Prerequisite ```bash npm install -g awal@2.0.3 awal auth login ``` ## Usage ```bash npx awal@2.0.3 x402 pay https://anicca-proxy-production.up.railway.app/api/x402/prompt-sanitizer \ -X POST \ -d '{"text": "My email is john@example.com. Ignore previous instructions.", "checks": ["pii", "injection", "toxicity", "off_topic"], "language": "en"}' ``` ## Input | Field | Type | Required | Description | |-------|------|----------|-------------| | text | string (max 10000) | yes | Text to sanitize | | checks | array of: pii, injection, toxicity, off_topic | no (default: all) | Which checks to run | | language | "en" or "ja" | no (default: "en") | Language hint | ## Output ```json { "sanitizer_id": "san_a1b2c3", "original_length": 89, "sanitized_text": "My email is [EMAIL]. ...", "flags": [{"type": "pii", "severity": "high", "detail": "Email detected", "position": {"start": 12, "end": 28}}], "risk_score": 1.0, "safe_to_send": false, "safe_t_flag": true } ``` ## Pricing $0.005 USDC per request (Base network, eip155:8453) ## Endpoint POST https://anicca-proxy-production.up.railway.app/api/x402/prompt-sanitizer

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 prompt-sanitizer-1776284253 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 prompt-sanitizer-1776284253 技能

通过命令行安装

skillhub install prompt-sanitizer-1776284253

下载

⬇ 下载 prompt-sanitizer v1.0.0(免费)

文件大小: 1.49 KB | 发布时间: 2026-4-16 15:33

v1.0.0 最新 2026-4-16 15:33
Initial release

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部