capture

Solid

Save a memory to Wenlan in flow. Active capture verb — use proactively when the user states a preference, makes a decision, corrects you, or shares a durable fact. Invoked as `/capture <content>`.

AI & Automation 47 stars 5 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 83/100

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

Skill Content

# /capture Capture a single memory in the moment. Active verb: agent captures the moment of insight, like a photograph. ## Argument parsing The `/capture` skill accepts one optional inline token of the form `space:<name>` anywhere in the argument string. Extract it before treating the rest as content: raw_args="<the full argument string passed to /capture>" space_arg="$(printf '%s\n' "$raw_args" | grep -oE 'space:[A-Za-z0-9_-]+' | head -1 | cut -d: -f2)" content="$(printf '%s\n' "$raw_args" | sed -E 's/[[:space:]]*space:[A-Za-z0-9_-]+[[:space:]]*/ /g' | sed -E 's/^[[:space:]]+|[[:space:]]+$//g')" If `space_arg` is non-empty, pass it to the resolver as `--arg "$space_arg"`. ## Resolve the active space Call the bundled resolver: resolved="$("$CLAUDE_PLUGIN_ROOT/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)" Pass `space="$space"` to the `capture` MCP tool only when `space` is non-empty. Before every capture, also print: Resolved space: <space> (from <source-layer>) If `space` is empty, print: Resolved space: none (unscoped) This line reports the proposed client context. After capture, relay the tool's returned `space`, `space_source`, and `write_outcome`; those fields describe what the daemon actually persisted and are authoritative. Unknown spaces are not auto-created. Register one through...

Details

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

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

capture

Adaptive-depth session recap and low-friction checkpoint capture for report-ready Tracework memory. Use this skill for "/tracework:capture" or when the user signals end of a work session, such as "收工", "今天到这", "done", "wrap up", "that's it for today", "好了", or "先这样". Also trigger on explicit checkpoint or logging requests like "记录变更", "log changes", "记一下今天做了什么", "记一下当前进展", or "checkpoint". The skill dynamically routes the session to lite, standard, or deep capture depth; explicit "/tracework:capture lite|standard|deep" wording overrides that route. Use day mode for "/tracework:capture day", "扫描今天的会话", "补录今天", or "capture today". Do NOT trigger when the user is simply saying goodbye or switching topics.

2 Updated today
KKenny0
AI & Automation Solid

capture

Quick note capture with automatic wikilink suggestions to related existing notes. Use when the user wants to save a single, specific, titled idea, insight, or piece of information to the vault. Do NOT use for: unstructured multi-thread thought dumps (use braindump), saving a URL for later (use bookmark), deeply summarizing an article or URL (use summarize), processing a book (use reading-notes), or teaching the agent a preference (use learn).

20 Updated 5 days ago
onebrain-ai
Code & Development Listed

capture

Save the current workspace context to the br8n session KB as a snapshot — branch, open/cursor files, git diff stat, and a one-line hypothesis of what you're doing — AND sweep every other live Claude Code session, snapshotting each one's repo+branch in the background. Use when the user is about to switch away, says "save my context", "remember where I am", or wants to checkpoint intent before an interruption.

2 Updated today
anthonysuherli