brieflisted
Install: claude install-skill 7xuanlu/origin
# /brief
Pull a curated session brief from Origin. Three sources, in order:
1. **Project status file** — what `/handoff` last wrote. Authoritative for
"what's left to do" right now.
2. **`context` MCP** — identity, preferences, topic-relevant memories.
Background, not ledger.
3. **`list_pending_revisions`** — daemon-flagged memories awaiting review.
Status file wins on "what's next" because memories rank by topic similarity
and surface stale items alongside fresh ones; the status file is the live
ledger maintained per session.
## 1. Read project status file first
Detect project root:
```
Bash: cd_repo=$(git -C "$PWD" rev-parse --show-toplevel 2>/dev/null); echo "${cd_repo:-no-git}"
```
- If output is a path → `<project>` = basename (e.g. `origin`).
- If `no-git` → `<project>` = cwd basename.
Read `~/.origin/sessions/_status/<project>.md`:
```
Bash: cat ~/.origin/sessions/_status/<project>.md
```
If the file exists, render its `## Last session`, `## Active`, and `## Backlog`
sections verbatim at the top of the brief output, under a heading like
`Status (last session <date>)`. This is the authoritative "what's left" frame.
If the file is missing, say nothing about it. First-time projects haven't
been handed off yet.
## 2. Resolve the active space
Before any MCP call, resolve the active space by invoking the bundled
resolver script via Bash:
"$CLAUDE_PLUGIN_ROOT/bin/resolve-space.sh" --cwd "$PWD" \
${SPACE_ARG:+--arg "$SPACE_ARG"} \
${TOPI