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/baseclaw.ai 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 repotesting
Automated overnight task planning and execution engine for EverClaw. Generates prioritized action lists at 9:30 PM CST for the 10 PM–6 AM window, requires human approval before execution, enforces safety boundaries on allowed task types, and updates Mission Control dashboard at shift end. Use when planning overnight autonomous work, configuring night shift cron jobs, reviewing morning progress reports, or setting task approval policies.
development
Secure key management for AI agents. Use when handling private keys, API secrets, wallet credentials, or when building systems that need agent-controlled funds. Covers secure storage, session keys, leak prevention, prompt injection defense, and MetaMask Delegation Framework integration.
testing
XMTP real-time agent-to-agent and user-to-agent encrypted messaging daemon for EverClaw. Manages always-on messaging via XMTP MLS protocol with multi-identity buddy bot support, filesystem-based IPC bridge, consent policies, and cross-platform daemon lifecycle (launchd/systemd). Use when setting up XMTP messaging, managing agent identities, configuring buddy bots, troubleshooting message delivery, or controlling the agent-chat daemon.
development
Relationship CRM for tracking people, connections, and context. Categories: family, close_friends, friends, colleagues, broader_community, strangers, bad_actors, unknown. Use to add, search, list, or update people in your network.