关于
This skill provides global organizational memory using Activeloop's Deep Lake, enabling shared knowledge across all Claude sessions and users. Developers should always query both this Hivemind memory and local project memory when recalling information. It structures data through session summaries and raw logs, accessible via a central index file for efficient searching.
快速安装
Claude Code
推荐npx skills add activeloopai/hivemind -a claude-code/plugin add https://github.com/activeloopai/hivemindgit clone https://github.com/activeloopai/hivemind.git ~/.claude/skills/hivemind-memory在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Hivemind Memory
You have TWO memory sources. ALWAYS check BOTH when the user asks you to recall, remember, or look up ANY information:
- Your built-in memory (
~/.claude/) — personal per-project notes - Hivemind global memory (
~/.deeplake/memory/) — global memory shared across all sessions, users, and agents in the org
Memory Structure
~/.deeplake/memory/
├── index.md ← START HERE — table of all sessions
├── summaries/
│ ├── session-abc.md ← AI-generated wiki summary
│ └── session-xyz.md
└── sessions/
└── username/
├── user_org_ws_slug1.jsonl ← raw session data
└── user_org_ws_slug2.jsonl
How to Search
- First: Read
~/.deeplake/memory/index.md— quick scan of all sessions with dates, projects, descriptions - If you need details: Read the specific summary at
~/.deeplake/memory/summaries/<session>.md - If you need raw data: Read the session JSONL at
~/.deeplake/memory/sessions/<user>/<file>.jsonl - Keyword search:
Grep pattern="keyword" path="~/.deeplake/memory"
Do NOT jump straight to reading raw JSONL files. Always start with index.md and summaries.
Organization Management
The auth command path is injected at session start. Use the exact path from the session context. Each argument is separate — do NOT quote subcommands together:
node "<AUTH_CMD>" login— SSO loginnode "<AUTH_CMD>" whoami— show current user/orgnode "<AUTH_CMD>" org list— list organizationsnode "<AUTH_CMD>" org switch <name-or-id>— switch organizationnode "<AUTH_CMD>" workspaces— list workspacesnode "<AUTH_CMD>" workspace <id>— switch workspacenode "<AUTH_CMD>" invite <email> <ADMIN|WRITE|READ>— invite member (ALWAYS ask user which role first)node "<AUTH_CMD>" members— list membersnode "<AUTH_CMD>" remove <user-id>— remove membernode "<AUTH_CMD>" --help— show all commands
Skill Management (skillify)
Hivemind can mine reusable skills from agent session logs and share them across your team. Each argument is separate — do NOT quote subcommands together.
hivemind skillify— show current scope, team, install location, per-project statehivemind skillify pull— sync project skills from the org table to local FShivemind skillify pull --user <email>— only skills authored by that userhivemind skillify pull --users <a,b,c>— multiple authors (CSV)hivemind skillify pull --all-users— explicit "no author filter" (default)hivemind skillify pull --to <project|global>— install location (project=cwd/.claude/skills, global=~/.claude/skills)hivemind skillify pull --dry-run— preview without touching diskhivemind skillify pull --force— overwrite local files even if up-to-date (creates .bak)hivemind skillify pull <skill-name>— pull only that one skill (combines with --user)hivemind skillify push <skill-name>— upload a local skill to the org table (inverse of pull; re-push lands a new version)hivemind skillify push --from <project|global>— which local skills dir to read (default: project)hivemind skillify push --dry-run— preview without writing to the org tablehivemind skillify unpull— remove every skill previously installed by pullhivemind skillify unpull --user <email>— remove only that author's pullshivemind skillify unpull --not-mine— remove all pulls except your ownhivemind skillify unpull --dry-run— preview without touching diskhivemind skillify scope <me|team>— sharing scope for newly mined skillshivemind skillify install <project|global>— default install location for new skillshivemind skillify promote <skill-name>— move a project skill to the global locationhivemind skillify team add|remove|list <username>— manage team member listhivemind skillify mine-local— one-shot: mine skills from local sessions, no auth needed
Embeddings (semantic memory search)
Opt-in, persisted in ~/.deeplake/config.json.
hivemind embeddings install— download deps (~600MB), symlink agents, set enabled:truehivemind embeddings enable— flip enabled:true (run install first if deps missing)hivemind embeddings disable— flip enabled:false + SIGTERM daemon (deps stay on disk)hivemind embeddings uninstall [--prune]— remove agent symlinks + disable; --prune wipes deps toohivemind embeddings status— show config + deps + per-agent link state
Important: Bash Only
Only use bash commands (cat, ls, grep, echo, jq, head, tail, sed, awk, etc.) to interact with ~/.deeplake/memory/. Do NOT use python, python3, node, curl, or other interpreters — they are not available in the memory filesystem. If a task seems to require Python, rewrite it using bash tools (e.g., cat file.json | jq 'keys | length').
Limits
If a file returns empty after 2 attempts, skip it and move on. Report what you found rather than exhaustively retrying.
Getting Started
After installing the plugin:
- Run
/hivemind:loginto authenticate - Start using memory — ask questions, Claude automatically captures and searches
Configuration
HIVEMIND_DEBUG=1 claude— enable verbose logging to~/.deeplake/hook-debug.logHIVEMIND_CAPTURE=false claude— disable session capture
GitHub 仓库
常见问题
什么是 hivemind-memory Skill?
hivemind-memory 是一个 Claude Skill,作者为 activeloopai。Skill 将 Claude 按需加载的说明和资源打包,让 Claude 无需额外提示即可执行与 hivemind-memory 相关的任务。
如何安装 hivemind-memory?
使用本页的安装命令:将 hivemind-memory 作为插件添加到 Claude Code,或将其仓库克隆到 skills 目录,然后重启 Claude 以加载该 Skill。
hivemind-memory 属于哪个分类?
hivemind-memory 属于设计分类。
hivemind-memory 可以免费使用吗?
可以。hivemind-memory 已收录在 AIMCP,可免费安装。
相关推荐技能
该Skill用于当开发者提供完整实施计划时,以受控批次方式执行代码实现。它会先审阅计划并提出疑问,然后分批次执行任务(默认每批3个任务),并在批次间暂停等待审查。关键特性包括分批次执行、内置检查点和架构师审查机制,确保复杂系统实现的可控性。
该Skill可在完成任务、实现主要功能或合并代码前自动调度代码审查子代理,确保实现符合需求和计划。它支持通过指定git SHA范围进行精准的代码变更审查,帮助开发者在关键节点及时发现潜在问题。核心原则是"早审查、勤审查",适用于开发流程的各个关键阶段。
这个Skill指导开发者如何将MCP服务器连接到Claude Code,支持HTTP、stdio和SSE三种传输协议。它涵盖了从安装配置到认证安全的完整流程,适用于集成GitHub、Notion、数据库等外部服务。当开发者需要添加集成、配置外部工具或提及MCP相关功能时,这个Skill能提供实用的操作指南。
该Skill帮助开发者根据任务特性选择Claude Code的Web或CLI界面,并指导如何在两种环境间无缝迁移会话。它能分析任务复杂度、迭代需求等要素,推荐最优工作界面和工作流。关键特性包括会话状态管理、环境切换指导和上下文优化建议。
