recall

Featured

Search Wenlan's local memory by query. Targeted lookup, not orientation. Invoked as `/recall <query>`. Use when the user asks "do you remember", "what do you know about", "look up".

AI & Automation 498 stars 8 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 94/100

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

Skill Content

# /recall Search Wenlan's memory by natural-language query. Returns matching memories ranked by hybrid vector + FTS search, then re-ordered by the agent if it helps. ## Resolve the active space The `/recall` skill accepts one optional inline token of the form `space:<name>` anywhere in the argument string. The bundled resolver strips it and returns the rest as the query. It prints the resolved Space line itself: ```bash raw_args="<the full argument string passed to /recall>" resolved="$("${CLAUDE_PLUGIN_ROOT}/scripts/resolve-space.sh" --cwd "$PWD" --args "$raw_args")" space="$(printf '%s\n' "$resolved" | cut -f1)" source_layer="$(printf '%s\n' "$resolved" | cut -f2)" query="$(printf '%s\n' "$resolved" | cut -f3-)" ``` If `query` is empty, ask the user what they want to search for. Pass `space="$space"` to the `recall` MCP tool only when `space` is non-empty; otherwise omit the space filter. ## Two phases When a local model or API key is configured, the daemon can rerank and expand server-side. In local memory mode it cannot. The skill always does **agent-side expansion and rerank** itself — cheap, makes results good in both modes. ### Phase 1 — expand the query (agent-side) Before calling `recall`, rewrite the user's query into a more search-friendly form: - Replace pronouns with the referent ("it" → the actual thing). - Expand abbreviations the embedder is unlikely to know. - Add the obvious synonym when the original term is too narrow (e.g. "auth" → "auth OR aut...

Details

Author
wenlan-app
Repository
wenlan-app/wenlan
Created
7 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