brief

Solid

Session-start briefing from Origin. Reads the project status file (the /handoff-maintained ledger of Active/Backlog work), then loads identity, preferences, and topic-relevant memories so the agent walks in with context. Surfaces any memories the daemon has flagged for human revision before the session uses them. Invoked as `/brief [topic]`. Call FIRST at session start, before any other Origin verb.

AI & Automation 30 stars 2 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
50
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /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...

Details

Author
7xuanlu
Repository
7xuanlu/origin
Created
1 months ago
Last Updated
today
Language
Rust
License
Apache-2.0

Related Skills