skills/pii-guard/SKILL.md
Personally identifiable information (PII) leak prevention for EverClaw. Scans outbound content against configurable PII patterns before git push, email, social media, ClawHub publishing, GitHub interactions, or any external data transmission. Provides git pre-push hooks, CLI scanning tools, and hard-block enforcement with user override capability. Use when checking content for PII before external actions, adding new protected patterns, configuring git pre-push hooks, or auditing data leak prevention.
npx skillsauth add profbernardoj/kimiclaw.co pii-guardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Prevents personal identifiable information (PII) from being sent to external services. This skill MUST be checked before any outbound action that transmits data externally.
Mandatory check before:
git push (any repo)message action to external channels with file attachmentsweb_fetch POST or form submissionexec command that sends data externally (curl POST, scp, rsync, etc.)All protected patterns live in the workspace:
~/.openclaw/workspace/.pii-patterns.json
This file is NEVER committed — it contains the very data it protects.
The scanner checks content against all patterns in these categories:
names — Protected personal namesemails — Protected email addressesphones — Protected phone numbers (all formats)wallets — Protected blockchain addressesorganizations — Protected org/church/school namespeople — Protected associate/contact nameswebsites — Protected personal domainskeywords — Any other protected stringsWhen PII is detected:
Error format:
🚫 PII GUARD: Blocked — personal data detected
Found in: <filename or content description>
Match: "<the matched pattern>"
Category: <names|emails|phones|etc>
Action blocked: <what was about to happen>
To proceed: Remove the PII or explicitly confirm override.
A global git hook is installed at:
~/.openclaw/workspace/scripts/git-hooks/pre-push
Configured via: git config --global core.hooksPath ~/.openclaw/workspace/scripts/git-hooks
This runs automatically on every git push across ALL repos on this machine.
git push --no-verify (use with extreme caution)The agent should call pii_scan before external actions:
# Scan a file
~/.openclaw/workspace/scripts/pii-scan.sh <file_or_directory>
# Scan stdin
echo "some content" | ~/.openclaw/workspace/scripts/pii-scan.sh -
# Scan a string
~/.openclaw/workspace/scripts/pii-scan.sh --text "check this string"
Exit codes:
0 — Clean, no PII found1 — PII detected (blocked)2 — Error (patterns file missing, etc.)Edit ~/.openclaw/workspace/.pii-patterns.json and add entries to the appropriate category array. Changes take effect immediately — no restart needed.
.pii-patterns.json must NEVER be committed to any repotools
Cyclic shift execution engine. Plans tasks 3x daily (6 AM, 2 PM, 10 PM), decomposes them into granular steps, then executes via 15-minute cron cycles. Each cycle reads state files, picks the next step, executes it, writes results back. Errors are logged and skipped — never fatal. Planning uses Claude 4.6; execution uses GLM-5.
tools
Security middleware for all XMTP communications in EverClaw. Enforces guarded client usage with validation, integrity checks, and fail-closed security policies. Integrates approval flows for sensitive operations. Use when integrating XMTP messaging, configuring communication security, or auditing guarded client enforcement.
data-ai
Daily standup engine. Plans tasks 3x daily (6 AM, 2 PM, 10 PM) and delivers them for approval. Execution happens in the main session via direct conversation. Night shifts auto-approve carryover from earlier in the day.
tools
A helpful utility skill for agents