← ClaudeAtlas

hostwarden-emaillisted

Send an email about a managed server — ad-hoc text and/or file attachments. Use when the user asks to "email me X", "send X by mail", "mail this to <address>", "attach /var/log/foo to an email", or "send a report by email". The first email per host asks where to send from (local workstation vs the server itself). On the remote path, prefers the existing MTA (postfix, sendmail, msmtp) and asks before installing one. Sends unprivileged — as the SSH user, or dropping from root via `runuser`/`su -` when the session is root. Attachments check sender readability, size, and offer a content preview before sending. **Never run automatically** — only on explicit user request.
hostwarden/hostwarden · ★ 2 · AI & Automation · score 61
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