hivemind — скилл для Claude Code: общая память команды
Подключает агента к глобальной памяти организации на базе Activeloop: сессии, саммари и поиск по ним доступны из любой сессии и любому участнику.
npx skills add activeloopai/hivemind --skill skills -a claude-codeЧто делает hivemind
Скилл добавляет агенту второй источник памяти рядом со встроенным. Встроенная память — личные заметки по проекту, а Hivemind хранит сессии всех пользователей и агентов организации. Когда вы просите что-то вспомнить или найти, агент должен смотреть в оба места, поэтому чужие наработки не теряются в переписках.
Структура простая: в /index.md лежит таблица всех сессий с датами и проектами, в /summaries/<username>/<session-id>.md — сгенерированные саммари по каждой сессии, а в /sessions/<username>/<user_org_ws_slug>.jsonl — сырые данные. Порядок обхода задан жёстко: сначала hivemind_index(), потом чтение саммари, и только при необходимости — сырой JSONL. Есть и поиск подстрокой через hivemind_search("keyword"), он возвращает попадания в формате path:line.
Перед работой нужно авторизоваться: /hivemind_login проводит вход через device flow, затем /hivemind_setup один раз включает инструменты памяти в allowlist. Захват сессий управляется командой /hivemind_capture — при выключенном состоянии данные никуда не уходят. Отдельно стоит помнить: делегировать чтение памяти субагентам нельзя, а пустой ответ инструмента после двух попыток означает, что пора двигаться дальше, а не повторять вызов.
Внутри есть и работа со скиллами: hivemind skillify выгружает в проект скиллы, которые другие участники уже наработали, и умеет пушить ваши обратно в общую таблицу организации. Эти команды запускаются в терминале, а не как /hivemind_*.
Какие задачи решает
- найти, что другой разработчик уже делал с этим модулем
- поднять контекст прошлой сессии по проекту
- выгрузить наработанные скиллы команды в текущий проект
- отдать свои скиллы коллегам через общую таблицу
- переключиться между организациями и рабочими пространствами
Примеры запросов агенту
- найди в памяти hivemind, как мы раньше настраивали деплой
- поищи по сессиям команды упоминания этого API
- выгрузи скиллы команды в проект через hivemind skillify pull
Как установить hivemind
1Через Skills CLI (Vercel)
npx skills add activeloopai/hivemind --skill skills -a claude-code2Вручную: положить файлы
~/.claude/skills/skills/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/skills/
1Через Skills CLI (Vercel)
npx skills add activeloopai/hivemind --skill skills -a codex2Вручную: положить файлы
.agents/skills/skills/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add activeloopai/hivemind --skill skills -a cursor2Вручную: положить файлы
.cursor/skills/skills/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install activeloopai/hivemind skills2Вручную: положить файлы
.github/skills/skills/SKILL.md1Через Skills CLI (Vercel)
npx skills add activeloopai/hivemind --skill skills -a gemini-cli2Командой платформы
gemini skills install https://github.com/activeloopai/hivemind --path harnesses/openclaw/skillsВручную: положить файлы
.devin/skills/skills/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add activeloopai/hivemind --skill skills -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о hivemind
Как установить hivemind в Claude?
Выполните npx skills add activeloopai/hivemind --skill skills -a claude-code, скилл встанет в ~/.claude/skills/skills/SKILL.md. После установки запустите /hivemind_login для входа и /hivemind_setup, чтобы включить инструменты памяти.
Что делает hivemind?
Даёт агенту доступ к общей памяти организации на базе Activeloop: таблице сессий, саммари по ним и поиску по ключевым словам. Агент проверяет и встроенную память, и Hivemind, когда вы просите что-то вспомнить.
Кто видит мою память?
Память общая для нескольких агентов, когда пользователи состоят в одной организации Activeloop. Захват сессий можно выключить командой /hivemind_capture — тогда данные не отправляются.
Исходный текст
SKILL.md · Apache-2.0
---
name: hivemind
description: Global team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hivemind memory when recalling information.
allowed-tools: hivemind_search, hivemind_read, hivemind_index
---
# Hivemind Memory
You have TWO memory sources. ALWAYS check BOTH when the user asks you to recall, remember, or look up ANY information:
1. **Your built-in memory** — personal per-project notes from the host agent
2. **Hivemind global memory** — global memory shared across all sessions, users, and agents in the org, accessed via the tools below
## Memory Structure
```
/index.md ← START HERE — table of all sessions
/summaries/
<username>/
<session-id>.md ← AI-generated wiki summary per session
/sessions/
<username>/
<user_org_ws_slug>.jsonl ← raw session data
```
## How to Search
1. **First**: call `hivemind_index()` — table of all sessions with dates, projects, descriptions
2. **If you need details**: call `hivemind_read("/summaries/<username>/<session>.md")`
3. **If you need raw data**: call `hivemind_read("/sessions/<username>/<file>.jsonl")`
4. **Keyword search**: call `hivemind_search("keyword")` — substring search across both summaries and sessions, returns `path:line` hits
Do NOT jump straight to reading raw JSONL files. Always start with `hivemind_index` and summaries.
## Organization Management
- `/hivemind_login` — sign in via device flow
- `/hivemind_capture` — toggle capture on/off (off = no data sent)
- `/hivemind_whoami` — show current org and workspace
- `/hivemind_orgs` — list organizations
- `/hivemind_switch_org <name-or-id>` — switch organization
- `/hivemind_workspaces` — list workspaces
- `/hivemind_switch_workspace <id>` — switch workspace
- `/hivemind_version` — show installed version and check npm for updates
- `/hivemind_update` — shows how to install (ask the agent, or run `hivemind update` in your terminal)
- `/hivemind_autoupdate [on|off]` — toggle the agent-facing update nudge (on by default: when a newer version is available, the agent is prompted to install it via `exec` if you ask to update)
## Skill Management (skillify)
Hivemind also mines reusable Claude skills from agent sessions and stores them in a per-org Deeplake table. Openclaw itself doesn't run sessions to mine, but you can pull skills others have already mined for the user. These run in the user's terminal (the openclaw plugin does not register them as `/hivemind_*` commands):
- `hivemind skillify` — show scope/team/install + per-project state
- `hivemind skillify pull` — sync skills for the current project from the org table
- `hivemind skillify pull --user <email>` — only that author's skills
- `hivemind skillify pull --users a,b,c` — multiple authors (CSV)
- `hivemind skillify pull --all-users` — explicit "no author filter"
- `hivemind skillify pull --to project|global` — install location (`<cwd>/.claude/skills/` vs `~/.claude/skills/`)
- `hivemind skillify pull --dry-run` — preview without touching disk
- `hivemind skillify pull --force` — overwrite local (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 table
- `hivemind skillify unpull` — remove every skill previously installed by pull
- `hivemind skillify unpull --user <email>` — remove only that author's pulls
- `hivemind skillify unpull --not-mine` — remove all pulls except your own
- `hivemind skillify unpull --dry-run` — preview without touching disk
- `hivemind skillify scope <me|team>` — set sharing scope for new skills
- `hivemind skillify install <project|global>` — default install location
- `hivemind skillify team add|remove|list <name>` — manage team list
If the user asks to "pull skills from X", "share skills with the team", or similar, suggest the matching `hivemind skillify` command. Run `hivemind skillify --help` for the full reference.
## Limits
Do NOT delegate to subagents when reading Hivemind memory. If a tool call returns empty after 2 attempts, skip it and move on. Report what you found rather than exhaustively retrying.
## Getting Started
After installing the plugin:
1. Run `/hivemind_login` to authenticate
2. Run `/hivemind_setup` to enable the memory tools in your openclaw allowlist (one-time, per install)
3. Start using memory — ask questions, the agent automatically captures and searches
## Sharing memory
Multiple agents share memory when users are in the same Activeloop organization.
© activeloopai · Apache-2.0 · activeloopai/hivemind