Help us improve
Share bugs, ideas, or general feedback.
From memory
Proactively recalls relevant memories from a knowledge base when context suggests prior experience, using triggers like difficulty, importance, or keywords.
npx claudepluginhub ohdearquant/lionagi --plugin memoryHow this skill is triggered — by the user, by Claude, or both
Slash command
/memory:memory-recallThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automatically search memory when context suggests relevant prior experience.
Searches and surfaces relevant memories from past sessions to inform current work with decisions, patterns, and learnings.
Retrieves relevant memories from past sessions using memsearch for historical context, decisions, debugging notes, and project knowledge. Activates on relevance or '[memsearch] Memory available' hints.
Guides effective Forgetful semantic memory usage with Zettelkasten atomic principles for query/create decisions, content structuring, and importance scoring.
Share bugs, ideas, or general feedback.
Automatically search memory when context suggests relevant prior experience.
Invoke this skill when detecting:
khive, lionagi, cognition, waves, pydapter
Ocean, community, partners
architecture, design, pattern, approach
migration, refactor, evolution
decision, why we, rationale
# Basic recall with default parameters
mcp__khive__memory(action="recall", query="{topic}")
# Lambda-scoped recall (recommended - avoids cross-project noise)
mcp__khive__memory(action="recall", query="{topic}", lambda_id="lambda:khive")
# With custom options
mcp__khive__memory(action="recall", query="{topic}", limit=10, min_score=0.1)
# Broader search with increased limit and token budget
mcp__khive__memory(action="recall", query="{topic}", limit=50, token_budget=8000, min_score=0.05)
# Parallel memory recall and entity lookup (batch)
mcp__khive__request('[memory.recall(query="{topic}", limit=20), graph.search(query="{entity_name}")]')
# Adjust importance/temporal/relevance weights
mcp__khive__memory(action="recall", query="{topic}", limit=30, weights={"importance": 0.3, "temporal": 0.2, "relevance": 0.5})
# Execute multiple recall queries in parallel (batch)
mcp__khive__request('[memory.recall(query="authentication patterns", limit=10), memory.recall(query="security best practices", limit=10), memory.recall(query="JWT implementation", limit=5)]')
Note: The memory service uses batch retrieval internally for efficiency. Parallel requests are supported and recommended for independent queries.
memory.recall(
query: str, # Search query (required)
limit: int, # Max memories to return (1-100, default: 20)
token_budget: int, # Token budget for context (default: 4000)
min_score: float, # Min score threshold (0-1, default: 0.01)
lambda_id: str, # Scope to lambda, e.g. "lambda:khive"
memory_type: str, # "episodic" | "semantic" | "working"
source: str, # Filter by source tag
session_id: str, # Scope to session
task_id: str, # Scope to task
scope: str, # Additional scope filter
weights: { # Scoring weights (optional)
importance: float, # Default: 0.2
temporal: float, # Default: 0.1
relevance: float # Default: 0.7
},
)
MCP tool: mcp__khive__memory with action recall
# Project-scoped recall (recommended for session work)
mcp__khive__memory(action="recall", query="{topic}", lambda_id="lambda:khive")
Note: Use lambda_id= to scope recall to a specific project.
{
"memories": [
{
"id": "uuid",
"content": "memory text",
"score": 0.85,
"importance": 0.8,
"created_at": "2025-11-23T10:00:00Z"
}
],
"count": 5,
"considered": 150,
"token_count": 2400,
"token_budget": 4000
}
When triggered, silently:
When memories are found, integrate naturally:
Good:
"We approached similar complexity in the cognition refactor -
used P_PAR with 3 specialists. That pattern worked well here too."
"Based on how we handled the lionagi v0 migration, the key was..."
Bad:
"MEMORY RECALL: Found 5 episodic memories about..."
"Searching memory... Results: ..."
After recall, check created_at age and caveat accordingly:
[N days old — verify technical claims].[N days old — historical context only, re-verify].High-risk stale categories: file paths, code structure, API behavior, test status, dependency versions. A cited memory makes stale claims sound MORE authoritative, not less — the recall format implies current truth. Treat technical-detail memories as perishable.
# Projects
khive, lionagi, cognition, waves, pydapter, khive-cli, khive-studio
# People
Ocean (creator), Prof. Sheng (advisor)
# Concepts
orchestration patterns, agent architecture, memory systems
quality gates, health-first, kpp protocol
KHIVE.md Part Bresources/orchestrator/recall_strategies.mdmcp__khive__graph(action="search", query="..."), mcp__khive__graph(action="link", ...)