Activation Contract
Use for human-supervised installation of a mobile AI-agent environment and its host-supported lifecycle or checkpoint path. This is an Agent Skill, not an MCP server. Support only macOS native or Windows 11 with WSL2 (Windows lifecycle, WSL Linux execution). Detect state read-only before change. On Windows native without WSL, stop and guide WSL2; never offer degraded native Windows. Do not assume that the invoking CLI provides Pi's persistence or lifecycle behavior.
Hard Rules
Never request or persist private keys, pairing tokens, sign-in URLs, QR contents, or credentials. Use device-local pairing or hidden terminal input; QR data is temporary secret material. Never open public SSH or router ports. For full Mosh, run Tailscale exactly once: on macOS or WSL, never Windows and WSL together. Disable Tailscale SSH with Moshi/OpenSSH key auth. Inspect remote installers before execution or prefer signed package managers.
Ask one question only when detection leaves a real decision or authorization. Obtain explicit approval before elevated installs, firewall/auth changes, cloud pairing, scheduled tasks, reboot, or destructive rollback. Configure firewall restrictions before enabling services, preserve local recovery, and validate SSH syntax before restart. Do not claim live processes, Herdr/tmux, or systemd survive physical reboot. Use only observed, host-specific checkpoint or resume evidence; Pi JSONL resume behavior is a Pi-specific capability and must not be generalized.
Decision Gates
| Detected condition | Required action |
|---|---|
| Unsupported platform or missing WSL2 | Stop with the supported-path guidance. |
| Existing service, key, firewall, or Tailscale state | Present read-only evidence and ask whether to preserve, repair, or stop. |
| Installation, pairing, hardening, task, or reboot needed | Explain impact, rollback, and request the single required approval. |
| Key choice | Ask Easy Pair versus manual Ed25519; harden only after a tested key. |
| Moshi setup | Ask minimal versus full privacy consent, then integrations and notifications separately. |
Execution Steps
- Follow the platform matrix and record only non-sensitive state.
- Establish permissions, rollback, local recovery, and network exposure boundaries.
- Install and verify OpenSSH, Tailscale, mobile clients, Moshi,
moshi-hook, Mosh, and Herdr or tmux using the guided reference. - Test key authentication before optional strict SSH hardening; keep Tailscale SSH off.
- Configure the approved lifecycle path, privacy level, integrations, notifications, and the host-supported checkpoint/resume procedure. On Pi, this may be the supported local JSONL procedure; do not invent an equivalent for another CLI.
- Run disconnect and approved reboot recovery verification. Mark cold-boot behavior as pending whenever observed evidence is unavailable.
Output Contract
Report platform, detected state, approvals granted or declined, mutations performed, non-sensitive verification evidence, rollback path, and pending recovery evidence. State exactly why a step stopped. Never report a reboot or service-survival claim without observed evidence.


