hostwarden-emaillisted
Install: claude install-skill hostwarden/hostwarden
# hostwarden-email
Send ad-hoc text and file attachments by email about a managed
server. The report content is *about* the server; whether the
mail leaves *from* the server or *from* your workstation is a
per-host preference that's asked once and remembered.
## Workflow
1. **Onboarding pipeline.** Run `rules/first-connection.md` in
full. No "quick question" exception — even a one-line email
goes through every step of it.
2. **Load overrides**, key `hostwarden-email`, per
`rules/overrides.md`. Read `memory/machines/<host>/memory.md`
for recipient, source, transport and policies — see
"Per-machine memory" below.
3. **Resolve recipient.** In order of precedence:
1. **User said an explicit address** ("send to alice@…",
"mail it to bob@example.com") → use that. Don't override
it with stored values.
2. **Per-machine memory** — `memory/machines/<host>/memory.md`
has an `Alert email:` line (the established pattern) →
use that.
3. **"Send me" shorthand** ("email me", "send me", "mail it
to me") and the user's default email is recorded in
Claude Code's auto-memory (the `MEMORY.md` index will
show a "Default email" entry under User → load that file
and use the address) → use it without prompting. Still
write the address back to the per-machine `memory.md` as
`- Alert email: <addr>` on first use so the skill stays
self-contained for future runs.
4. Otherwise, ask once via the picker, then p