Skip to main content
skill CX Codex

hivemind — Claude Code skill: shared team memory

Wires your agent into an org-wide memory store on Activeloop, so sessions, summaries and keyword search are reachable from any session by any teammate.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add activeloopai/hivemind --skill skills -a claude-code
Open on GitHub

What hivemind does

The skill gives the agent a second memory source next to its built-in one. Built-in memory holds personal per-project notes; Hivemind keeps sessions from every user and agent in the organization. When you ask it to recall or look something up, it is supposed to check both, which is how work done in someone else's session stops being invisible.

The layout is flat. /index.md is the table of all sessions with dates and projects, /summaries/<username>/<session-id>.md holds an AI-generated wiki summary per session, and /sessions/<username>/<user_org_ws_slug>.jsonl is the raw data. The lookup order is fixed: call hivemind_index() first, read summaries next, and only then touch raw JSONL. For plain text there is hivemind_search("keyword"), a substring search over summaries and sessions that returns path:line hits.

Before any of that works you authenticate with /hivemind_login, which uses a device flow, and run /hivemind_setup once to put the memory tools in your allowlist. Capture is toggled by /hivemind_capture — with it off, nothing leaves your machine. Two limits are worth knowing up front: do not delegate memory reads to subagents, and if a tool call comes back empty twice, skip it instead of retrying.

There is also skill sharing. hivemind skillify pulls skills other people mined from their sessions into your project, and pushes yours back to the org table. Those commands run in your terminal rather than as /hivemind_* slash commands.

What it helps with

  • find out what a teammate already did with this module
  • restore context from an earlier session on the project
  • pull team-mined skills into the current project
  • share your own skills with the rest of the org
  • switch between organizations and workspaces

Example prompts for the agent

  • search hivemind memory for how we set up deploys before
  • look through team sessions for mentions of this API
  • pull the team's skills into this project with hivemind skillify pull

How to install hivemind

1Skills CLI (Vercel)

npx skills add activeloopai/hivemind --skill skills -a claude-code

2Manually: put the files in place

~/.claude/skills/skills/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/skills/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about hivemind

How do I install hivemind in Claude?

Run npx skills add activeloopai/hivemind --skill skills -a claude-code; the skill lands at ~/.claude/skills/skills/SKILL.md. Then run /hivemind_login to sign in and /hivemind_setup to enable the memory tools.

What does hivemind do?

It connects your agent to shared org memory on Activeloop: a session index, per-session summaries and keyword search across both. The agent checks built-in memory and Hivemind together whenever you ask it to recall something.

Who can see my memory?

Memory is shared across agents when users belong to the same Activeloop organization. You can turn capture off with /hivemind_capture, and then no data is sent.

Source text

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

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set2

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor