Set up a new Minetique vault or onboard a contributor. Registers the owner and contributors, creates personal pages, registers first entities with privacy scopes, personalizes SOUL.md, enables the commit-author guard, and confirms the remote is private. Use when `contributor.py whoami` reports an empty registry or an unmapped person, or when someone asks to start, personalize, or join a vault.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Vault Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/99ways-io-vault-setup)
---
name: vault-setup
description: Set up a new Minetique vault or onboard a contributor. Registers the owner and contributors, creates personal pages, registers first entities with privacy scopes, personalizes SOUL.md, enables the commit-author guard, and confirms the remote is private. Use when `contributor.py whoami` reports an empty registry or an unmapped person, or when someone asks to start, personalize, or join a vault.
---
# Vault Setup
Turn a fresh copy of Minetique into a working vault for its owner, or add a person to an existing vault. Setup takes minutes: capture only what changes how agents act, and let everything else accumulate through work.
## When To Run
- `python3 scripts/contributor.py whoami` reports `empty_registry` → first-run setup, all steps; step 7 brings in what the person already knows.
- It reports `unmapped`, `conflict`, or `unknown_local_id` in a vault that already has contributors → onboard or remap one person (steps 2, 3, and 6).
- The user asks to personalize the vault, restart it for a new role, or add a context → the matching step only.
## Steps
### 1. Confirm the vault's shape
Ask in one short message, then proceed with sensible defaults for anything left unanswered:
- Who is this vault for: one person or a team? Who is the owner, the person whose approval gates doctrine changes and publication?
- Which contexts will it hold: an employer, clients, an own business, projects, personal areas such as health, finances, or learning?
- Where will it live: local only, or on a private remote?
### 2. Register the owner and contributors
The owner registers from their own machine:
```bash
python3 scripts/contributor.py register --self --owner --id <id> --name "<Full Name>" --email <commit-email> --context-path wiki/<id>/<id>.md
```
- `--self` maps the current OS account and writes `~/.config/minetique/contributor.json`, so `whoami` resolves on this machine. Add `--github <handle>` and `--alias <name>` when the person appears in commits or prose under other names.
- Use the email that commits will carry. If the vault may ever become public, prefer the Git host's no-reply address.
- Teammates register the same way from their own machines, without `--owner` unless they co-own the vault. An owner can register someone remotely by omitting `--self` and passing that person's `--os-user`, `--email`, or `--github`.
- Registering the first owner of an empty registry is the one doctrine-file edit that needs no prior approval ([AGENTS.md](../../AGENTS.md#operating-constraints)); afterwards, registry edits are owner-gated.
Verify with `python3 scripts/contributor.py whoami`: it names the person and shows `owner: yes` for the owner.
### 3. Create the personal page
Create the page registered as `context_path` (normally `wiki/<id>/<id>.md`). Keep it short and decision-useful:
- role, responsibilities, and what the person is working toward;
- working preferences that change how an agent acts (detail level, approval habits, tone, language);
- voice notes for drafting in their name: how they write and what they never say;
- runtime notes: machines, agent harnesses, where transcripts live, search tooling.
Record only what the person states or demonstrates, attributed and dated. Put adjustments every agent must apply in every session into the registry's `adjustments` list, one line each.
### 4. Register the first entities
For each context from step 1 that current work touches, run [`$context-intake`](../context-intake/SKILL.md) on its lightweight path: create `wiki/<slug>/<slug>.md` with the relationship to the vault, who owns the information, the privacy scope (`private`, `shared`, or `public`), the reuse rule, and the systems of record, then add the route to `indexes/entities.md`. For an employer, record its rules on where company information may be stored; if they rule out this vault, stop and tell the user.
Defer contexts nobody is working on yet.
### 5. Personalize the soul
Walk the owner through `SOUL.md`: keep what they agree with, rewrite what they don't, and add standards everyone in the vault should share. One person's own preferences belong on their personal page. This edit needs `owner: yes`.
### 6. Enable guards and check privacy
- `python3 scripts/contributor.py setup` sets this clone's Git identity and enables the `.githooks/pre-commit` author guard.
- List remotes with `git remote -v`. A vault holding `private` or `shared` entities pushes only to a private remote. If `origin` is the public Minetique repository (a plain clone), rename it to `upstream` and add the owner's private repository as `origin`.
- Run `python3 scripts/validate_structure.py` and `python3 -m unittest discover -s scripts -p 'test_*.py'`; fix anything setup introduced.
### 7. Bring in prior knowledge
If the person has earlier knowledge bases, note vaults, agent instruction files, chat histories, or handoff documents, offer [`$knowledge-migration`](../knowledge-migration/SKILL.md). Run it after registration and before the first substantial task, so their agents start from the vault rather than from scattered sources.
### 8. Hand off
Report what was registered and created, what was deferred, and a first useful task. Commit only when the owner asks, with `git $(python3 scripts/contributor.py author-args) commit`.
## Gates
- Record no credentials, government IDs, account numbers, or medical details beyond what the owner explicitly asks the vault to keep.
- Widen an entity's privacy scope or push to a new remote only with the owner's explicit approval.
- Ask who is speaking whenever `whoami` and the conversation disagree: a wrong identity mis-attributes every later claim and commit.