wenlan-brief

wenlan-brief is a skill for Claude Code, Codex from wenlan-app/wenlan. It costs 54 tokens per session (645 once invoked), scanned A, original, Apache-2.0.

A command that reads the current project brief for a Wenlan Space, with optional related context for a topic. The brief is the project's authoritative snapshot for resuming work.

In plain words
What is it for?
Use it when returning to a project or asking what is currently known about a Space, optionally focusing on a supplied topic.
Why use it?
It helps an agent catch up on the current project state without treating a human-readable status file as the source of truth.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when returning to a project or asking what is currently known about a Space, optionally focusing on a supplied topic.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wenlan-app/wenlan/wenlan-brief
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wenlan-app/wenlan --skill wenlan-brief
Clone the repo
git clone --depth 1 https://github.com/wenlan-app/wenlan

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wenlan-brief

README.md
[![agentmods](https://agentmods.dev/badge/skills/wenlan-app/wenlan/wenlan-brief/github.svg)](https://agentmods.dev/skills/wenlan-app/wenlan/wenlan-brief)
Your own site
<a href="https://agentmods.dev/skills/wenlan-app/wenlan/wenlan-brief"><img src="https://agentmods.dev/badge/skills/wenlan-app/wenlan/wenlan-brief/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wenlan-brief

Your own site · 80×15
<a href="https://agentmods.dev/skills/wenlan-app/wenlan/wenlan-brief"><img src="https://agentmods.dev/badge/skills/wenlan-app/wenlan/wenlan-brief.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 645 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00645
Opus 5.5 $0.00022 $0.00258
Sonnet 5.5 $0.00011 $0.00129
Haiku 4.5 $0.00005 $0.00064

Measured yesterday against content hash e94a00b89518, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wenlan-brief scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin-agents/skills/wenlan-brief/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/wenlan-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

Run the bundled resolver once. It prints the resolved Space line itself; an empty space means unscoped, so omit space.

raw_args="<the full argument string passed to /wenlan-brief>"
resolved="$("{{WENLAN_SKILLS_DIR}}/wenlan/scripts/resolve-space.sh" --cwd "$PWD" --args "$raw_args")"
space="$(printf '%s\n' "$resolved" | cut -f1)"
source_layer="$(printf '%s\n' "$resolved" | cut -f2)"
topic_arg="$(printf '%s\n' "$resolved" | cut -f3-)"

2. Read the Brief

Call:

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 /wenlan-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:

  1. Last-session summary.
  2. Active items.
  3. Backlog items.
  4. Related Context, only when returned.

Keep stable item IDs and versions available for later /wenlan-handoff reconciliation, but do not clutter the normal user-facing list with them.

3. Pending revisions

After the Brief, call:

list_pending_revisions(limit=10)

If empty, say nothing. If the call fails, emit one warning and keep the Brief. If non-empty, show at most the top three with target_source_id, revision_content, and source agent. Never auto-action them.

  • accept: accept_revision(target_source_id="<id>")
  • dismiss: dismiss_revision(target_source_id="<id>")
  • skip: no call

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

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 80 lines · 54 tokens per session scan A e94a00b89518

Subscribe to this mod's changes

wenlan-brief is a skill published in the GitHub repository wenlan-app/wenlan (86 stars, last pushed yesterday), licensed Apache-2.0. It adds 54 tokens to every session and 645 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-24.

Related

Other skills, from other repositories

curate

Review pending Wenlan captures, revisions, or daemon refinements from Codex. Use for explicit audit walks after /brief or /handoff surfaces pending work. Invoked as /curate captures, /curate revisions, or /curate refinements.

7xuanlu/wenlan · 55 tokens

run-wenlan-app

Build, launch, screenshot, and drive the wenlan-app Tauri desktop app in dev mode on macOS (WKWebView) or Windows (WebView2). Use when asked to run or start the app, verify a UI change in the real running app (not just tests), or take a screenshot of it.

7xuanlu/wenlan · 71 tokens

help

Show a one-screen Codex reference for the Wenlan plugin. Use when the user asks for Wenlan help, command list, invokes /help, or explicitly asks about import progress.

7xuanlu/wenlan · 39 tokens

verify

Drive/evidence recipe for verifying wenlan changes at their real surfaces (daemon HTTP, CLI, MCP stdio). The handle file the built-in verify protocol expects; launch primitives live in the run-wenlan skill, deeper machinery (mutation audit, behavior trace, weekly sweep) in the prove skill.

7xuanlu/wenlan · 63 tokens

run-wenlan

Build, launch, and stop the wenlan daemon (wenlan-server) for local dev and verification. Use when asked to run or restart the daemon, or before driving any surface (HTTP, CLI, MCP) against a live instance.

7xuanlu/wenlan · 53 tokens

setup

Frictionless Wenlan setup for Codex. Detects a missing local runtime, installs or repairs it, and verifies the plugin to MCP to local runtime round-trip. Run when the user says "set up wenlan", "is wenlan working", or "fix wenlan".

7xuanlu/wenlan · 59 tokens