pii-guard
Personally identifiable information (PII) leak prevention for EverClaw.
Skill by profbernardoj
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/profbernardoj-pii-guard-79f4f3
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, writing, marketing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
pii-guard- Description
- 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.
- License
- MIT
- Instructions
- 95 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Files (5)
- SKILL.md
- pii-patterns.template.json
- pii-scan.sh
- pre-push
- setup.sh
SKILL.md (first lines)
# PII Guard — Personal Data Leak Prevention ## Purpose Prevents personal identifiable information (PII) from being sent to external services. This skill MUST be checked before any outbound action that transmits data externally. ## When This Fires **Mandatory check before:** - `git push` (any repo) - Sending emails - Posting to social media (X/Twitter, Moltbook, etc.) - Publishing to ClawHub - Creating/updating GitHub issues, PRs, discussions, or comments - Any `message` action to external channels with file attachments - Any `web_fetch` POST or form submission - Any `exec` command that sends data externally (curl POST, scp, rsync, etc.) ## How It Works ### 1. Pattern File All protected patterns live in the workspace: ``` ~/.openclaw/workspace/.pii-patterns.json ``` This file is **NEVER committed** — it contains the very data it protects. ### 2. Scanning The scanner checks content against all patterns in these categories: - `names` — Protected personal names - `emails` — Protected email addresses - `phones` — Protected phone numbers (all formats) - `wallets` — Protected blockchain addresses - `organizations` — Protected org/church/school names - `people` — Protected associate/contact names - `websites` — Protected personal domains - `keywords` — Any other protected strings ### 3. Behavior: HARD BLOCK When PII is detected: 1. **STOP** — Do not proceed with the external action 2. **REPORT** — Tell the user exactly what was found and where 3. **WAIT** — Only proceed if the user explicitly confirms after reviewing 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. ``` ### 4. Git Pre-Push Hook 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. - Scans the diff being pushed (not just HEAD) - Blocks push if PII detected - Can be bypassed with `git push --no-verify` (use with extreme caution) ### 5. Agent Integration The agent should call `pii_scan` before external actions: ```bash # 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 found - `1` — PII detected (blocked) - `2` — Error (patterns file missing, etc.) ## Adding New Patterns Edit `~/.openclaw/workspace/.pii-patterns.json` and add entries to the appropriate category array. Changes take effect immediately — no restart needed. ## Security Notes - `.pii-patterns.json` must NEVER be committed to any repo - The patterns file itself contains PII — treat it as sensitive - The hook and scan scripts are safe to publish (they contain no PII) - When in doubt, scan first
From profbernardoj/homeclaw.org, MIT.
Signals
- Stars
- 8
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Apr 22, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/profbernardoj/homeclaw.org
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.674score
pii-guard
profbernardoj
Personally identifiable information (PII) leak prevention for EverClaw.
SkillCFreshness: C★ 110Claude Code +9 - 0.272score
pii-guard
profbernardoj
Personally identifiable information (PII) leak prevention for EverClaw.
SkillDFreshness: D★ 4Claude Code +9 - 0.246score
pii-guard
EverClaw
Personally identifiable information (PII) leak prevention for EverClaw.
SkillDFreshness: DClaude Code +9 - 0.246score
pii-guard
profbernardoj
Personally identifiable information (PII) leak prevention for EverClaw.
SkillDFreshness: DClaude Code +9
More from profbernardoj
- 0.679score
three-shifts
profbernardoj
Cyclic shift execution engine.
SkillCFreshness: C★ 110Claude Code +9 - 0.679score
memory-upgrade
profbernardoj
Diagnose and fix broken memory search in OpenClaw.
SkillCFreshness: C★ 110Claude Code +9 - 0.676score
relationships
profbernardoj
Relationship CRM for tracking people, connections, and context.
SkillCFreshness: C★ 110Claude Code +9 - 0.676score
three-shifts
profbernardoj
Daily standup engine.
SkillCFreshness: C★ 110Claude Code +9 - 0.674score
pii-guard
profbernardoj
Personally identifiable information (PII) leak prevention for EverClaw.
SkillCFreshness: C★ 110Claude Code +9 - 0.674score
night-shift
profbernardoj
Automated overnight task planning and execution engine for EverClaw.
SkillCFreshness: C★ 110Claude Code +9
Cite this page
pii-guard skill. Agent Mart. https://agentmart.dev/skills/profbernardoj-pii-guard-79f4f3 (last updated 2026-10-24)