memory

GitHub

提供基于本地 .mv2 文件的持久化记忆管理功能。支持通过 Node.js 脚本进行语义搜索、自然语言问答、查看统计信息及最近记忆。自动分类发现、决策、问题等九种记忆类型,便于跨会话上下文保持与团队协作共享。

skills/memory/SKILL.md memvid/claude-brain

触发场景

需要回顾之前的开发决策或技术细节 查询已记录的问题解决方案或代码模式 需要了解当前会话的近期上下文信息

安装

npx skills add memvid/claude-brain --skill memory -g -y
更多选项

不安装直接使用

npx skills use memvid/claude-brain@memory

指定 Agent (Claude Code)

npx skills add memvid/claude-brain --skill memory -a claude-code -g -y

安装 repo 全部 skill

npx skills add memvid/claude-brain --all -g -y

预览 repo 内 skill

npx skills add memvid/claude-brain --list

SKILL.md

Frontmatter
{
    "name": "memory",
    "description": "Claude Mind - Search and manage Claude's persistent memory stored in a single portable .mv2 file"
}

Claude Mind

You have access to a persistent memory system powered by Claude Mind. All your observations, discoveries, and learnings are stored in a single .claude/mind.mv2 file.

How to Execute Memory Commands

Use the bundled SDK scripts via Node.js (NOT the CLI). The scripts are at ${CLAUDE_PLUGIN_ROOT}/dist/scripts/.

Search Memories

node "${CLAUDE_PLUGIN_ROOT}/dist/scripts/find.js" "<query>" [limit]

Examples:

  • node "${CLAUDE_PLUGIN_ROOT}/dist/scripts/find.js" "authentication" 5
  • node "${CLAUDE_PLUGIN_ROOT}/dist/scripts/find.js" "database schema" 10

Ask Questions

node "${CLAUDE_PLUGIN_ROOT}/dist/scripts/ask.js" "<question>"

Examples:

  • node "${CLAUDE_PLUGIN_ROOT}/dist/scripts/ask.js" "Why did we choose React?"
  • node "${CLAUDE_PLUGIN_ROOT}/dist/scripts/ask.js" "What was the CORS solution?"

View Statistics

node "${CLAUDE_PLUGIN_ROOT}/dist/scripts/stats.js"

View Recent Memories

node "${CLAUDE_PLUGIN_ROOT}/dist/scripts/timeline.js" [count]

Memory Types

Memories are automatically classified into these types:

  • discovery - New information discovered
  • decision - Important decisions made
  • problem - Problems or errors encountered
  • solution - Solutions implemented
  • pattern - Patterns recognized in code/data
  • warning - Warnings or concerns noted
  • success - Successful outcomes
  • refactor - Code refactoring done
  • bugfix - Bugs fixed
  • feature - Features added

File Location

Your memory is stored at: .claude/mind.mv2

This file is:

  • Portable - Copy it anywhere, share with teammates
  • Git-friendly - Commit to version control
  • Self-contained - Everything in ONE file
  • Searchable - Instant semantic search

Usage Tips

  1. Start of session: Recent memories are automatically injected as context
  2. During coding: Observations are captured automatically from tool use
  3. Searching: Use natural language queries to find relevant past context
  4. Sharing: Send the .mind.mv2 file to teammates for instant onboarding

版本历史

  • 5df71f7 当前 2026-07-05 09:22

同 Skill 集合

skills/mind/SKILL.md

元信息

文件数
0
版本
5df71f7
Hash
bcb7bc16
收录时间
2026-07-05 09:22

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-14 12:16
浙ICP备14020137号-1 $访客地图$