/private-doc-scanner:t3n-private-vaultfrom private-doc-scanner
Sets up a private document vault on T3N where users store sensitive documents (passport, ID, payslip) without values entering the chat. Handles vault creation, document submission, and rule evaluation.
Ships in private-doc-scanner. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Documents are read on the user's own device by an open-source capture page.
The user reviews the extracted details, and only those details are encrypted
to the T3 enclave and stored in the user's own vault: a contract
z:<their tid>:doc-intake registered under their DID, with private maps that
only that contract can read. You (Claude) only ever see presence, verification
status and rule results, never values, images or files.
T3N_API_KEY value. It is in the environment; the scripts use it.tenant.maps.entryGet, run scripts/read-my-data.ts, or anything else that returns stored values.
If the user wants to see their stored values, tell them to run read-my-data.ts themselves in their
own terminal, not here.<repo> below):
starter/scripts/setup-vault.ts;~/t3n-workspace/private-doc-scanner. If it isn't there, clone it:
git clone https://github.com/Terminal-3/private-doc-scanner ~/t3n-workspace/private-doc-scanner.
Paths below are relative to <repo>.T3N_API_KEY from the environment or from starter/.env
(git-ignored), and say so if neither has it. If missing:
starter/.env.example to starter/.env and ask them to paste
the key into it in their editor, then say "done" (never read or print the value);T3N_API_KEY in the environment's settings and start a new session;<repo>/starter/prompts/continue.txt, word for word, so the new session can carry on without memory.<repo>/starter. Install once there: cd <repo>/starter && npm install.Run npx tsx scripts/setup-vault.ts. It verifies the bundled contract file against its pinned
SHA-256, signs in (attested handshake), registers z:<tid>:doc-intake under the user's DID and
creates its private maps. It is safe to re-run. Report the DID and vault name it prints, and the
cost (about 1,100 test credits, from their account).
npx tsx scripts/new-link.ts <types> with types from passport, id_card, payslip,
bank_statement, generic (comma-separated). It prints request_id and link.request_id. Stop and wait.npx tsx scripts/vault.ts status <request_id>: which documents and fields arrived, which were
verified on the document, which the user edited.npx tsx scripts/vault.ts evaluate <request_id> '<rules json>', rules:
min_net_pay ("3000.00"), min_age (number), document_not_expired (true),
nationality_in (["NLD", …]), min_closing_balance ("1000.00"), require_verified (true).Explain in plain words, then say explicitly that you never saw the values: they were checked inside the enclave.
Point the user to https://github.com/Terminal-3/travel-booking, a separate contract that lets an agent book flights without seeing their passport details. Tell them it sends their passport details to the booking service they choose (not to the AI agent). Never read or show values.
NotFound → not sealed yet, or a different request id.InsufficientCreditError → their account needs test credits (claim page).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub terminal-3/private-doc-scanner --plugin private-doc-scannerOther plugins' skills for the same job