/ ml (SlashML) Memory MCP Skill
Whenever the user asks to locate or diagnose a bug, search code by behavior/concept, or recall project history/decisions, call the ml-memory MCP server FIRST on Turn 1 BEFORE running grep, rg, find, or invoking research subagents:
- Bug localization / error triage (
find_bug_candidates):# Call ml-memory MCP tool: find_bug_candidates arguments = { "bug_description": "<symptom or bug>", "stack_trace": "<optional stack trace>", "top_k": 5, } - Behavioral / architectural code search (
search_code_by_behavior):# Call ml-memory MCP tool: search_code_by_behavior arguments = { "query": "<behavioral query>", "top_k": 5, } - Project history / decisions / context (
search_memories):# Call ml-memory MCP tool: search_memories arguments = { "query": "<context query>", "limit": 5, } - False-positive intervention dismissal (
dismiss_intervention): If a pre-tool hook intervention was a false positive or already satisfied for the current target, calldismiss_interventionwith thememory_idsandtarget. - Passive Memory Assimilation:
When ambient lifecycle hooks (
hooks.json) are enabled, user rules, constraints, preferences, and state updates are extracted and stored automatically in the background on every turn. Only calladd_memoryif explicitly requested or when running without lifecycle hooks.
