Skip to content

/brief

Read the current Space-owned project Brief from Wenlan for Codex. With an optional topic, appends separately labeled related context from the same Space. Invoked as /brief [topic] when resuming work or asking to catch up.

From plugin
4725 skills1 agents
shell
$ npx -y skills add 7xuanlu/wenlan --skill brief --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/brief
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Read the current Space-owned project Brief from Wenlan for Codex. With an optional topic, appends separately labeled related context from the same Space. Invoked as /brief [topic] when resuming work or asking to catch up.

SKILL.md

brief.SKILL.md
name: brief
description: >
  Read the current Space-owned project Brief from Wenlan for Codex. With an
  optional topic, appends separately labeled related context from the same
  Space. Invoked as /brief [topic] when resuming work or asking to catch up.
argument-hint: "[topic]"
allowed-tools: ["Bash", "mcp__wenlan__brief", "mcp__wenlan__list_pending_revisions", "mcp__wenlan__accept_revision", "mcp__wenlan__dismiss_revision"]
user-invocable: true

/brief

Read one Space's current project snapshot. The daemon Brief is authoritative; `~/.wenlan/sessions/_status/*.md` is only a one-way human-readable receipt and must never be read as product state.

1. Resolve the Space

raw_args="<the full argument string passed to /brief>"
space_arg="$(printf '%s\n' "$raw_args" | grep -oE 'space:[A-Za-z0-9_-]+' | head -1 | cut -d: -f2)"
topic_arg="$(printf '%s\n' "$raw_args" | sed -E 's/[[:space:]]*space:[A-Za-z0-9_-]+[[:space:]]*/ /g' | sed -E 's/^[[:space:]]+|[[:space:]]+$//g')"
resolved="$(plugin-codex/bin/resolve-space.sh --cwd "$PWD" ${space_arg:+--arg "$space_arg"} 2>/dev/null)"
space="$(printf '%s\n' "$resolved" | cut -f1)"
source_layer="$(printf '%s\n' "$resolved" | cut -f2)"

Print `Resolved space: <space> (from <source-layer>)`. If no Space resolves, print `Resolved space: none (unscoped)` and omit `space`.

2. Read the Brief

Call:

mcp__wenlan__brief(
  topic="<topic_arg only when the user supplied one>",
  space="<resolved only when non-empty>"
)

Do not invent or infer a topic when the argument is absent. No topic means the complete Brief alone. A topic means the same complete Brief plus a separate `Related Context` section scoped to that Space.

Brief reads never create state. If the state is `brief_not_created`, explain that the first `/handoff` update will create it. If the state is `space_not_resolved`, ask for a Space only when the working directory and configuration cannot resolve one safely.

Render the last-session summary, Active, Backlog, then Related Context only when returned. Keep stable item IDs and versions available for later `/handoff` reconciliation, but omit them from the normal user-facing list.

3. Pending revisions

Call:

mcp__wenlan__list_pending_revisions(limit=10)

If empty, say nothing. If it fails, emit one warning and keep the Brief. If non-empty, show at most three. Never auto-action them.

  • accept: `mcp__wenlan__accept_revision(target_source_id="<id>")`
  • dismiss: `mcp__wenlan__dismiss_revision(target_source_id="<id>")`
  • skip: no call

If more than three exist, point to `/curate revisions`.

Boundary

Use `/brief` to resume a Space or answer "catch me up." It is not a mandatory every-session boot step. Use `/recall` for a specific fact, `/capture` for a durable memory, and `/handoff` to close a work session.

Read more
Read it on GitHub ↗
Ships withwenlan

Wenlan is a knowledge base for the AI-native age. Your AI agents capture what they learn, Wenlan keeps it current and distills it into source-cited wiki pages you can trust

Get the whole plugin, auto-invoked
Stats
47
Stars
0
Views
6
Forks
Active
Maintenance
Rust
Language
Apache-2.0
License
3h ago
Last commit
3mo ago
Created

Repo: 7xuanlu/wenlan