openlisted
Install: claude install-skill wrg32786/aigent-os
# Session Open
> **Deprecated.** This skill is superseded by [[skills/resume/SKILL.md|/resume]] (docs/two-verb-lifecycle.md). New installs should reach for `/resume`; this file stays for anyone still invoking `/open` by habit during the transition.
Run this at the start of every normal working session.
## Nightly alert surface
Before normal orientation, run the local watchdog with the same configured time
zone and cutoff used by the pass:
```text
node daemons/nightly-watchdog.mjs --root <aigent-root>
```
Surface every active named alert from
`vault/memory/runtime/NIGHTLY_ALERTS.jsonl`. The append-only ledger and stderr
are the default delivery channels; no external coordination service is
required. If the ledger is unreadable, report `ALERT_LEDGER_INVALID` and
continue the resume path. An alert-read failure must never suppress session
orientation or make the hook indistinguishable from "not installed."
## First-run detection
Before the normal protocol, read `.aigent/state.json`.
- If `status` is not `ready`, run `/start` instead of the normal open protocol.
- If the JSON state is missing but `.aigent/first-run-done` exists, treat the installation as ready and create the JSON state as a compatibility migration.
- Do not inspect natural-language placeholders in `system/00_identity.md`. Product state belongs in machine-readable state, not in whether a sentence happens to survive an edit.
## Protocol
**Unbanked-session recovery:** Compare `.aigent/last-close`, if prese