UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
データ・研究 · SKILL.md

pii-scan

pii-scan

Scan content for PII and secrets before writing files, sending messages, or including sensitive data in responses. Use before and after any operation that handles potentially sensitive content.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: pii-scan description: Scan content for PII and secrets before writing files, sending messages, or including sensitive data in responses. Use before and after any operation that handles potentially sensitive content.

Before writing files or after tool calls that produce data, call the check_output MCP tool to scan for PII and secrets:

  • connector_type: codex.Write (for file writes), codex.Bash (for command output), or the appropriate tool type
  • message: the text content to scan — for file writes, scan the content being written

Before file writes: If the content being written contains PII (SSN, credit card, email, phone, etc.), check_output will return a redacted_message. Write the redacted version instead of the original, or warn the user that the content contains sensitive data.

After tool output: If tool output contains PII, use the redacted_message version in your response instead of the original.

If the response shows allowed: false, do not write the file or include the output in your response.

Note: For Bash/exec_command tool calls, PII scanning is handled automatically by the PostToolUse hook. This skill covers Write, Edit, and other non-Bash operations where hooks cannot intercept.

保存したスキル