Remove the megamemory MCP knowledge graph and replace with plain markdown files in .memory/ for tracking plans, research, knowledge, and implementation state. This enables collaboration across people and agentic coding tools (Claude Code, Copilot, Cursor, etc.). Changes: - Remove megamemory MCP from opencode.jsonc - Delete tool/megamemory.ts and .megamemory/ database - Rewrite all 25 config files to use .memory/ markdown files - Add cross-tool instruction file awareness (AGENTS.md, CLAUDE.md, copilot-instructions.md, .cursorrules) - Update save-memory, bootstrap-memory, status commands for md workflow - Update all agent files, skills, and commands consistently
812 B
812 B
description
| description |
|---|
| Invoke the SME (Subject Matter Expert) agent for deep domain consultation — guidance is cached in .memory/decisions.md |
You are the lead agent. The user has invoked /sme to consult a domain expert.
Steps
-
Check
.memory/decisions.mdfor existing SME guidance on the requested domain. If found, return the cached guidance immediately with its section heading. -
If not cached, delegate to the
smeagent with:- The user's specific question
- Relevant context (project stack, constraints, current approach)
- Any relevant file paths or code snippets
-
Once SME responds, record or update the guidance in
.memory/decisions.md. Present the guidance to the user. -
Add cross-references between the SME guidance section and any active plan file in
.memory/plans/.