What is pii-mask?
pii-mask is a Claude Code mod by builtbyjia that 個資去識別化:把手機、身分證、Email、地址等換成代號再送給模型,對照表只留在本機;/pii 開關與查看. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | builtbyjia |
| Repository | builtbyjia/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Review before installing (76/100) |
| Rank | #2,805 of 5,272 Claude Code mods; #321 in Security |
| License | MIT |
| Last commit | 2026-10-07 |
| Hooks | 5 events |
| Sees | every prompt |
| Draws on | Pane |
Is pii-mask safe to install?
pii-mask scores 76/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; watches every prompt or event. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.close | draws interface |
$.ui.invalidate | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install pii-mask?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/builtbyjia/claude-code-mods claude plugin validate ./claude-code-mods/pii-mask
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add builtbyjia/claude-code-mods && claude plugin install pii-mask@builtbyjia-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs pii-mask for you:
Install the "pii-mask" Claude Code mod from https://github.com/builtbyjia/claude-code-mods/tree/main/pii-mask. Run claude plugin validate on it first and show me what it can access before you enable it.
More from builtbyjia/claude-code-mods
This repository has 4 Claude Code mods on MCPMods.
- ding-dong: 回合跑超過一分鐘才結束時,發一則可愛的 macOS 通知叫你回來;/ding 可以預覽 (Review before installing)
- secret-guard: 金鑰守門:遮蔽 prompt 和工具輸出裡的 API key,並擋下讀寫 .env、私鑰這類檔案;/guard 看狀態 (Low risk)
- ship-it: 用 /ship 依序跑專案的階段(檢查、測試、打包、部署),並在 prompt 上方的深色面板用橘色吉祥物顯示跑到哪一步 (Review before installing)