diff --git a/skills/remember/SKILL.md b/skills/remember/SKILL.md index 9934f2f..6629da2 100644 --- a/skills/remember/SKILL.md +++ b/skills/remember/SKILL.md @@ -12,8 +12,16 @@ Use `add_memory` when the user shares durable context worth remembering: - decisions and corrections - recurring technical setup or workflow facts -When storing repository-specific context through MCP, read `membase://project` -and pass the project slug explicitly. +When storing repository-specific context, scope it to the project by passing a +`project` slug to `add_memory`. Derive the slug the same way the plugin does, so +memories align across clients: take the repo's git remote URL path +(`owner/repo`, minus host and `.git`) — or the working-directory name if there's +no remote — lowercase it, and replace every run of non-alphanumeric characters +with a single `-` (e.g. `https://github.com/aristoapp/membase-plugin-mcp.git` +→ `aristoapp-membase-plugin-mcp`). If you can't determine a slug, omit `project` +rather than guessing. On the Claude Code plugin only, the `membase://project` +resource returns this already-resolved slug; other clients (remote MCP) do not +expose it, so don't depend on reading it. Do not store: