Skip to main content

switch-project

Override the auto-detected project scope for MemMesh reads/writes, or widen to cross-project / user-level search. Use when working across repos, pulling a decision from another project, or when auto-detection resolved to the wrong projectId.

来源信息

仓库
ThinkfleetAI/memmesh
最近来源活动
2026年7月13日 02:13
检测到的 SKILL.md 语言
英语
星标
420
分支
439

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
switch-project
description
Override the auto-detected project scope for MemMesh reads/writes, or widen to cross-project / user-level search. Use when working across repos, pulling a decision from another project, or when auto-detection resolved to the wrong projectId.
# switch-project Change which scope memory operations target. ## Default detection By default `projectId` = the git repo directory name, `userId` = the OS user, `platformId` = `local`. That's usually right. ## Point at another project Pass an explicit `projectId` on the call: ```jsonc { "name": "memory_search", "arguments": { "projectId": "other-repo", "limit": 20 } } ``` For the rest of the task, keep using that `projectId` on `observe` / `save` / `search` so reads and writes stay consistent. ## Widen the search - **User-level** (personal preferences, cross-project): drop `projectId`, pass `userId` and `scope: "user"`. - **Everything under the platform**: pass only `platformId` (and optionally `scope`). Use sparingly — it can be noisy. ## Confirm the switch Tell the user which scope you're now reading/writing, and switch back when the cross-project detour is done, so you don't accidentally write memories into the wrong project.
在 GitHub 查看