agentsuser-initlisted
Install: claude install-skill event4u-app/agent-config
# /agents user init
Short interactive interview that creates **`.agent-user.md`** at the
project root from the locked v1 schema in
[`docs/contracts/agent-user-schema.md`](../../../../docs/contracts/agent-user-schema.md).
Use when:
- The user wants the agent to address them by name / nickname / role.
- A fresh consumer project does not yet have `.agent-user.md`.
Refuses to overwrite an existing file without `--force`.
## Steps
### 1. Precondition checks
```bash
ls .agent-user.md 2>/dev/null
ls docs/contracts/agent-user-schema.md 2>/dev/null
```
| State | Action |
|---|---|
| `.agent-user.md` missing | Proceed |
| `.agent-user.md` exists, no `--force` | Abort; offer `/agents user update` instead |
| `.agent-user.md` exists, `--force` set | Proceed (will overwrite); back up to `.agent-user.md.bak` first |
| Schema contract missing | Abort with "package not installed / out of date" hint |
### 2. Pre-fill from `.agent-settings.yml`
If `.agent-settings.yml` exists, read `personal.user_name` and offer
it as the default for `identity.name`. Do **not** read anything else —
the persona file is a separate primitive.
### 3. Interview (one question per turn, numbered options)
Ask in this order. Each answer drives one frontmatter field.
1. **Name** — required.
`Wie soll ich dich ansprechen? (Name)` / `What name should I use?`
Default: pre-fill from step 2 if available.
2. **Nickname** — optional.
`Bevorzugter Spitzname für den Chat? (leer = wie Name)` /
`Preferred