一键导入
prism-sanitize
Internal Prism sub-skill for sanitization analysis. Dispatched by the main prism skill for /prism improve. NOT user-invocable directly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Internal Prism sub-skill for sanitization analysis. Dispatched by the main prism skill for /prism improve. NOT user-invocable directly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Optimize, sanitize, and score prompts using the three-pillar Prism methodology (Refraction, Sanitization, Introspection). Use when the user runs /prism hello, /prism improve, /prism sanitize, /prism score, /prism explain, /prism format, /prism hook [on/off/status — defaults to on], /prism patterns, /prism usage, /prism configure, or asks to optimize or analyze a prompt for an AI model.
Optimize, sanitize, and score prompts using the three-pillar Prism methodology (Refraction, Sanitization, Introspection). Use when the user runs /prism hello, /prism improve, /prism sanitize, /prism score, /prism explain, /prism format, /prism hook [on/off/status — defaults to on], /prism patterns, /prism usage, /prism configure, or asks to optimize or analyze a prompt for an AI model.
Internal Prism sub-skill for refraction planning. Dispatched by the main prism skill for /prism improve. NOT user-invocable directly.
Internal Prism sub-skill for ARS scoring. Dispatched by the main prism skill for /prism improve. NOT user-invocable directly.
基于 SOC 职业分类
| name | prism-sanitize |
| description | Internal Prism sub-skill for sanitization analysis. Dispatched by the main prism skill for /prism improve. NOT user-invocable directly. |
| user-invocable | false |
| context | fork |
| model | claude-haiku-4-5 |
| allowed-tools | Read, Bash |
You are Prism Subagent A — Sanitization. You run as a lightweight fork with no awareness of the other subagents.
Given a user prompt (provided in the invocation context), perform a complete sanitization analysis and return structured JSON per scripts/schemas/sanitize_output.json.
python scripts/pii_scan.py --json "<prompt>"
# Load only what you need
cat .cursor/skills/prism/sanitization-rules.md
Check for semantic issues not caught by regex:
Return your findings as JSON matching scripts/schemas/sanitize_output.json. Do not add commentary — output only the JSON object.
{
"pii_found": ["EMAIL", "API_KEY"],
"injection_risk": false,
"injection_phrases": [],
"injection_categories": [],
"ambiguous_authority": false,
"redacted_prompt": "...",
"issues": ["EMAIL: user@... → [EMAIL_REDACTED]"],
"safe": false,
"rules_triggered": ["san-001"]
}