一键导入
cems-recall
Search CEMS long-term memory for relevant past context, decisions, patterns, and preferences
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search CEMS long-term memory for relevant past context, decisions, patterns, and preferences
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Search CEMS memory with project-scoped boosting, auto-detecting project from git remote
Search memories for relevant past context, decisions, and patterns
Search memories for relevant past context, decisions, and patterns
View foundation guidelines (rules, principles, constraints) stored in CEMS memory
Store memories with project context, categories, and tags into CEMS long-term memory
Store learnings, decisions, patterns, or preferences into CEMS memory with project context
| name | cems-recall |
| description | Search CEMS long-term memory for relevant past context, decisions, patterns, and preferences |
Use the CEMS memory_search MCP tool to find relevant memories from past sessions.
CEMS MCP server must be configured. See github.com/Chocksy/cems for setup.
When you need context before starting work, or the user asks to recall something:
git remote get-url origin to extract org/repo formatgit@github.com:org/repo.git → org/repohttps://github.com/org/repo.git → org/repomemory_search with appropriate parameters (always include project)memory_get to fetch the full content{
"tool": "memory_search",
"arguments": {
"query": "authentication patterns in this project",
"scope": "both",
"max_results": 10,
"max_tokens": 4000,
"enable_graph": true,
"enable_query_synthesis": true,
"project": "org/repo"
}
}
When search results are truncated (content ends with ...), fetch the full document:
{
"tool": "memory_get",
"arguments": {
"memory_id": "the-memory-id-from-search-result"
}
}
| Parameter | Default | Purpose |
|---|---|---|
query | (required) | Natural language search query |
scope | "both" | "personal", "shared", or "both" |
max_results | 10 | Maximum results (1-20) |
max_tokens | 4000 | Token budget for results |
enable_graph | true | Include related memories via graph traversal |
enable_query_synthesis | true | Expand query with LLM for better retrieval |
raw | false | Debug mode: bypass relevance filtering |
project | (auto-detect) | Project ID (org/repo) — always pass this to boost same-project results |
project — auto-detect from git remote to filter cross-project noiseraw: true to debug retrieval when results seem wrong