Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

trusty-memory

БесплатноБез исполняемых скриптовНе проверен

Persistent memory palace system with hierarchical storage (palace/wing/room/closet/drawer), progressive retrieval (L0-L3), and temporal knowledge graph for…

bobmatnycот bobmatnyc★ 160 звёзд на GitHub

Об этом скилле

trusty-memory

Persistent memory system using the Memory Palace metaphor for organizing context across sessions. Replaces mcp__kuzu-memory__* tools.

When to Use

  • Session start: Recall relevant context for the current task
  • Decision moments: Store key architectural/design decisions
  • Learning capture: Remember new patterns, conventions, gotchas discovered
  • Relationship tracking: Assert facts in the knowledge graph (X depends on Y, A replaces B)
  • Session end: Persist outcomes and next steps

Do NOT use for: ephemeral scratch notes, code snippets (use trusty-search), or content that belongs in source files.

Architecture

Palace (project)     e.g. "claude-mpm"
  └── Wing (area)    e.g. "Backend"
        └── Room     e.g. "Backend", "Frontend", "Testing", "Planning",
                          "Documentation", "Research", "Configuration",
                          "Meetings", "General"
              └── Closet (sub-category)
                    └── Drawer (memory item: uuid, content, tags, importance)

Progressive Retrieval Layers

Layer Tokens When Trigger
L0 ~100 Always Identity / project context auto-loaded
L1 ~800 Always Top-15 drawers by importance auto-loaded
L2 variable On topic match memory_recall — metadata-filtered vector search
L3 exhaustive Explicit memory_recall_deep — full HNSW deep search

Always try memory_recall first. Escalate to memory_recall_deep only if results are insufficient.

Tool Reference

Retrieval

memory_recall — Fast progressive retrieval (L0+L1+L2). Use this first.

mcp__trusty-memory__memory_recall(
  query="how does the migration registry work",
  room="Backend",        # optional filter
  limit=10               # optional
)

memory_recall_deep — Full HNSW deep search (L3). Use when memory_recall insufficient.

mcp__trusty-memory__memory_recall_deep(
  query="rare edge case in hook dispatcher",
  limit=20
)

memory_list — Browse drawers by room/tag (no semantic query).

mcp__trusty-memory__memory_list(room="Planning", tag="release-workflow")

Storage

memory_remember — Store a drawer.

mcp__trusty-memory__memory_remember(
  content="The migration runner uses run_pending_migrations() at startup; state in ~/.claude-mpm/migrations.json",
  room="Backend",
  tags=["migrations", "startup"],
  importance=0.8         # 0.0-1.0; higher = more likely to appear in L1
)

memory_forget — Delete by UUID.

mcp__trusty-memory__memory_forget(drawer_id="<uuid>")

Palace Management

mcp__trusty-memory__palace_list()
mcp__trusty-memory__palace_info(palace="claude-mpm")
mcp__trusty-memory__palace_create(name="new-project")

Knowledge Graph (temporal triples)

kg_assert — Assert a (subject, predicate, object) fact.

mcp__trusty-memory__kg_assert(
  subject="trusty-memory",
  predicate="replaces",
  object="kuzu-memory"
)

kg_query — Query triples for a subject.

mcp__trusty-memory__kg_query(subject="trusty-memory")

Room Type Selection

Room Use For
Backend Server-side logic, APIs, services, data layer
Frontend UI, components, styling, client-state
Testing Test patterns, fixtures, flaky test notes, coverage decisions
Planning Roadmaps, architectural decisions, ticket plans
Documentation Doc conventions, README structure, public API docs
Research Investigations, spike findings, library evaluations
Configuration Build setup, env vars, deploy config, tooling
Meetings Decisions from sync calls, action items
General Cross-cutting concerns, miscellaneous

When unsure, prefer the most-specific room. Tags handle the rest.

KG Triple Patterns

Use consistent predicates for queryable graphs:

Predicate Example
replaces (trusty-memory, replaces, kuzu-memory)
depends_on (release-publish, depends_on, gh-account-bobmatnyc)
implements (migration_runner, implements, run_pending_migrations)
documented_in (release_workflow, documented_in, CLAUDE.md)
owned_by (planner-agent, owned_by, .claude/agents/planner.md)
version_of (6.2.67, version_of, claude-mpm)
triggers (SessionStart, triggers, model_tier_hook)

Workflow Protocols

Session Start Protocol

  1. Auto-loaded: L0 identity + L1 top-15 drawers appear in context automatically.
  2. Targeted recall: For task-specific context:
    memory_recall(query="<current task domain>", limit=10)
    
  3. Check KG for relevant entity relationships:
    kg_query(subject="<entity being modified>")
    

Session End Protocol

For each significant outcome, persist it:

  1. Decisions → memory_remember with high importance (0.7-0.9)
    memory_remember(
    
Полный SKILL.md на GitHub

Установить trusty-memory в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

metadata.json

FAQ

Что делает скилл trusty-memory?

Persistent memory palace system with hierarchical storage (palace/wing/room/closet/drawer), progressive retrieval (L0-L3), and temporal knowledge graph for cross-session context

Как установить скилл trusty-memory?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл trusty-memory запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить trusty-memory с