← ClaudeAtlas

brieflisted

Session bootstrap — loads shared memories and team standards from the Mori server. Use at session start, or after a context compaction with --post-compact.
fjwood69/mori · ★ 19 · AI & Automation · score 75
Install: claude install-skill fjwood69/mori
**If the Mori server is unreachable** (a tool call returns a connection error, ECONNREFUSED, or timeout), do not show a stack trace. Tell the user the Mori server appears to be down and that a running Mori server is required. Point them to the quickstart at https://github.com/fjwood69/mori#quickstart and suggest checking the server URL in plugin settings. Then stop. ## Argument Parsing Parse the raw input for: - `--project <name>`: scope the brief to a specific project - `--auto`: detect project from the current git working directory - `--post-compact`: lightweight **delta** re-grounding after a context compaction — surfaces only what changed in shared state since the last brief, not the full base. Fired automatically by the Mori `PostCompact` hook; can also be run manually. If no arguments: run the standard unscoped brief. ## Marker file The brief boundary is tracked in a per-config-dir marker: ``` ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/.mori-last-brief ``` It holds the UTC ISO-8601 timestamp of the most recent brief. Stamp it (overwrite with the current UTC time) at the **end** of every brief run, in all modes: ```bash date -u +%Y-%m-%dT%H:%M:%SZ > "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/.mori-last-brief" ``` ## Execution ### 1. Resolve project (if --auto or --project) **If `--auto`:** 1. Check for `.mori-project` file — walk up from CWD to filesystem root; if found, use its text content (stripped, lowercased) 2. Else check `MORI_PROJECT` environment variable 3. El