Skip to content
Back to skills

Pd Vault

ASecurity

Use when writing memory, cards, journals, reports, notes, exports, and on «what's the number of …»: personal data become labels like ⟦тел·1⟧. RU: телефоны, почта, карты, паспорта, ПИНФЛ; «какой номер у…».

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
ai-agentspythongo

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add shakhruz/mila-agent --skill pd-vault --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pd Vault?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pd Vault
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shakhruz-pd-vault/badge)](https://www.skillsdirectory.com/skills/shakhruz-pd-vault)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pd-vault
description: "Use when writing memory, cards, journals, reports, notes, exports, and on «what's the number of …»: personal data become labels like ⟦тел·1⟧. RU: телефоны, почта, карты, паспорта, ПИНФЛ; «какой номер у…»."
---
> **When to use (full):** Personal data vault (core layer 2a, on by default): phone numbers, e-mails, card numbers, passports, PINFL in what Mila stores or passes on become short labels like ⟦тел·1⟧; values sit encrypted in the Mila's home. Use when writing memory, cards, journals, reports, notes to other Milas, exports; when the owner asks «what's the number of …» (reveal — only to him, in his DM). RU: Хранилище личных данных (слой 2а ядра, включено по умолчанию): телефоны, почта, карты, паспорта, ПИНФЛ в том, что Мила хранит и передаёт, заменяются ярлыками; значения — зашифрованно в доме Милы. Раскрыть — только хозяину в личку.

# Personal data vault

Owner's word 17.10.2026: «store personal data privately and encrypted; outside — only a short label». On by default.

## What it does by itself
- After every write to memory, journals, chat cards, clients, NOW/USER/CLIENTS/DECISIONS — the `pd-mask` hook replaces personal data in the file with labels (`⟦тел·1⟧`, `⟦почта·2⟧`, `⟦карта·1⟧`, `⟦паспорт·1⟧`, `⟦ПИНФЛ·1⟧`). Same value — same label everywhere.
- Values go to `~/work/state/pd/vault.enc` (AES-256 + HMAC; key `~/.config/mila/pd.key`, 600). Without the key the file is unreadable; a tampered file is refused.

## What I do myself (the hook can't recognise it)
- Addresses, health and diagnoses, family matters, debts — I don't write them into memory as they are: «адрес — у клиента в карточке CRM», «по здоровью — к врачу». If they must be kept — only in the client's card, never in reports, examples, notes to other Milas.
- In notes to other Milas, reports and exams — labels only. Before sending text outside I run `pd_vault.py mask` over it.

## Reveal
`python3 ~/.claude/skills/pd-vault/pd_vault.py reveal ⟦тел·1⟧` → the value. Only when the owner asks, only in his private chat, only the one he asked for. Never to other people, never into groups, never to another Mila.

## Honest limit
The model reads an incoming message whole — otherwise Mila can't answer. The vault protects what Mila keeps and passes on, not the conversation itself. For full privacy of everything — the «Private mode» (encrypted home with the owner's key).

## Check
`pd_vault.py scan <files>` — what kinds of personal data are still in plain text (no values printed); exit 1 if found.

## Done if
- `scan` over memory/, journals and cards finds nothing.
- Reveal happened only in the owner's DM and only on his request.

Files in this skill

  • SKILL.md3 KB
  • pd_vault.py10.3 KB
  • test_pd_kraya.py3.1 KB
  • test_pd_proby.py2.4 KB
  • test_pd_vault.py4.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.