memory-timem
БесплатноБез исполняемых скриптовНе проверенTiMEM long-term memory skill covering coding, general, and writing domains. AUTO on EVERY turn when TiMEM MCP is connected: call search_memories BEFORE…
от infometa★ 475 звёзд на GitHubОб этом скилле
TiMEM Memory Skill
Use TiMEM memory with MCP (search_memories / create_memory / delete_memory).
Search before reply and create after reply — every turn, no exceptions.
Trigger
When TiMEM MCP is connected — every turn, no exceptions.
Instructions
- Search: Call
search_memoriesBEFORE generating reply (passquery_text; coding also passessearch_tier=S3) - Reply: Generate reply using recalled context + fresh context
- Create: Call
create_memoryAFTER generating reply, passing 2-4 recent turns — every turn, no skip - "记"字强制: If user message contains "记", MUST call
create_memoryeven if you think there's nothing new to store
Example
Coding
Input: User asks "timem-mcp 的 rule learning 循环是怎么实现的?"
search_memories(query_text="rule learning 循环实现", search_tier="S3")→ returns 2 hits about rule loop architecture- Answer the question using recalled + fresh code context
create_memory(messages=[...recent turns...])
General
Input: User says "我们团队 Q3 的 OKR 是什么?"
search_memories(query_text="团队 Q3 OKR 目标")→ returns 1 hit with Q3 OKR details- Answer using the recalled information
create_memory(messages=[...recent turns...])
Writing
Input: User says "按之前的语气写一段产品介绍"
search_memories(query_text="产品介绍 语气 风格")→ returns 1 hit with established tone guidelines- Write the product introduction matching the established style
create_memory(messages=[...recent turns...])
Parameters
| Field | Rule |
|---|---|
query_text |
required, 3–12 task-oriented words |
messages |
required for create, 2–4 recent {role, content} turns |
search_tier |
coding only: S3 default; S0 recall; S6 before delete |
memory_hint |
coding only, optional: decision / constraint / lesson / convention / preference / correction |
domain is optional (defaults to general); it is used only as a memory tag and does not affect retrieval or storage.
Never paste full files or long logs into messages. Never use random UUIDs per turn.
Memory vs rule: facts / preferences / orientation → create_memory; reusable "in situation X, do Y" → learn_rule (rule-learning skill).
Memory vs knowledge base: memory stores cognition about the user distilled from conversations (preferences, decisions, lessons); the knowledge base stores reference material the user provides (papers, docs, specs, plans) via write_knowledge / search_knowledge (timem-knowledge skill). Rule of thumb: does the info stand on its own outside this conversation as external material? → knowledge base. Did it grow out of interactions as cognition about the user? → memory. When unsure which holds the answer, query both.
Skip
No skip. Every turn: search before reply, create after reply.
Forget
User asks to forget → search_memories (coding: search_tier="S6") to get memory_id → confirm if ambiguous → delete_memory(memory_id="...").
References
AGENTS.md snippet
For business repos: assets/agents-snippet.md
Changelog
- 1.0.4 (2026-09-08): Add memory-vs-knowledge-base boundary note and pointer to timem-knowledge skill.
- 1.0.3 (2026-09-04): Remove three-domain teaching and all
session_idnotes; domain is an optional tag only. Name → 跨Agent记忆-太忆 TiMEM. - 1.0.2 (2026-09-01): Adjust metadata frontmatter layout.
- 0.3.1 (2026-08-26): Remove all
session_idrequirements — server schema has no such field. - 1.0.1 (2026-08-30): Add metadata block (author/version/display_name/descriptions); unify versioning; clean legacy merge references.
- 0.2.0 (2026-08-19): Introduce three-domain selection (coding / general / writing) within the single memory skill.
- 0.1.0 (2026-08-18): Initial version of the memory skill.
Установить memory-timem в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл memory-timem?
TiMEM long-term memory skill covering coding, general, and writing domains. AUTO on EVERY turn when TiMEM MCP is connected: call search_memories BEFORE generating reply, then create_memory AFTER generating reply. No exceptions, no skip. If user message contains "记", MUST call create_memory. Ambiguous: classify_memory_scene.
Как установить скилл memory-timem?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл memory-timem запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic