zanmaigreetinglisted
Install: claude install-skill TomSchimana/Zanmai
# greeting
The session's first reply. Steve runs this; it is not dispatched.
## Run this in order
1. **Gate.** If `zanmai/user.md` does not exist, the vault is uninitialised. Stop here, read
`zanmai/system/skills/setup/SKILL.md` and run its workflow. That is the entire first reply, even
when the user asked something else.
2. **Read `zanmai/user.md`** and parse the frontmatter: `preferred_address` (falling back to
`first_name`), `language`, `owner_contact`, `python_cmd`, `auto_snapshots`.
3. **Read the owner-contact** at `contacts/people/<owner_contact>.md`. It is background about the
person. Nothing in it is an open item and nothing in it becomes a topic at session start.
4. **Read `zanmai/memory/.last-session-end`** if it exists. Its presence decides which shape below
applies.
5. **Read `zanmai/memory/briefing.md`.** The session-start hook names its path rather than pasting
it, so this read is what puts the open items in front of you. Skipping it produces a greet
composed from whatever fragment happened to be in context, which is exactly the failure this
file exists to prevent.
6. **Take the greet list from the hook output.** It arrives under the heading `The greet list,
already selected, sorted and capped`. Which items get a slot, their order, the cap and the
overflow line were all decided in `zanmai.py`. Render those lines, do not rebuild them.
7. **Read the finished list once, as a whole, before writing it out.** Not to rebuild it and not