hivemind-memory

hivemind-memory is a skill for Claude Code from activeloopai/hivemind. It costs 33 tokens per session (1,487 once invoked), scanned A, original, Apache-2.0.

A shared memory skill that checks both the agent's local notes and Hivemind, an organisation-wide memory store, when recalling information.

In plain words
What is it for?
Finding past project information, session summaries, and shared organisational context.
Why use it?
It reduces the chance of missing relevant knowledge stored in one memory source while consulting another.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Codex.

Part of the hivemind plugin — 3 skills, 2 commands, 7 hooks shipped together

Good fit Finding past project information, session summaries, and shared organisational context.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/activeloopai/hivemind/hivemind-memory
About the project

Hivemind is a shared memory system for coding agents that records their sessions and turns recurring solutions into reusable skills. Teams use it to let agents search past traces, share learned procedures across tools and machines, and keep the resulting knowledge in their own cloud or on-premises storage. The catalogue entries are Hivemind's own skills, hooks, plugins, and commands for connecting agents to that shared memory.

activeloopai/hivemind · 1,628 stars · on GitHub · deeplake.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add activeloopai/hivemind --skill hivemind-memory
Clone the repo
git clone --depth 1 https://github.com/activeloopai/hivemind

Made for: Claude Code.

Or install hivemind, the plugin that ships this one along with the rest of its 3 skills, 2 commands, 7 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hivemind-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/activeloopai/hivemind/hivemind-memory/github.svg)](https://agentmods.dev/skills/activeloopai/hivemind/hivemind-memory)
Your own site
<a href="https://agentmods.dev/skills/activeloopai/hivemind/hivemind-memory"><img src="https://agentmods.dev/badge/skills/activeloopai/hivemind/hivemind-memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hivemind-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/activeloopai/hivemind/hivemind-memory"><img src="https://agentmods.dev/badge/skills/activeloopai/hivemind/hivemind-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,487 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.01487
Opus 5.5 $0.00013 $0.00595
Sonnet 5.5 $0.00007 $0.00297
Haiku 4.5 $0.00003 $0.00149

Measured 5d ago against content hash 04280f09abc4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hivemind-memory scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

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 fi
harnesses/claude-code/skills/hivemind-memory/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 (~/.claude/) — personal per-project notes
  2. 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
  1. First: Read ~/.deeplake/memory/index.md — quick scan of all sessions with dates, projects, descriptions
  2. If you need details: Read the specific summary at ~/.deeplake/memory/summaries/<session>.md
  3. If you need raw data: Read the session JSONL at ~/.deeplake/memory/sessions/<user>/<file>.jsonl
  4. 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 login
  • node "<AUTH_CMD>" whoami — show current user/org
  • node "<AUTH_CMD>" org list — list organizations
  • node "<AUTH_CMD>" org switch <name-or-id> — switch organization
  • node "<AUTH_CMD>" workspaces — list workspaces
  • node "<AUTH_CMD>" workspace <id> — switch workspace
  • node "<AUTH_CMD>" invite <email> <ADMIN|WRITE|READ> — invite member (ALWAYS ask user which role first)
  • node "<AUTH_CMD>" members — list members
  • node "<AUTH_CMD>" remove <user-id> — remove member
  • node "<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.

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed 04280f09abc4
  2. 1mo ago First seen · 105 lines · 33 tokens per session scan A 7e5c1b6f499b

Subscribe to this mod's changes

hivemind-memory is a skill published in the GitHub repository activeloopai/hivemind (1,628 stars, last pushed today), licensed Apache-2.0. It adds 33 tokens to every session and 1,487 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ccs-align

Run the CCS Align seat's hourly breathing cycle — prove the local claude-mem worker is healthy, pull needle observations through search → timeline → getobservations, land them in a seat-owned middle cache via atomic grab → append → filter exclude-marks → replace, manage exclude marks, and walk house → project → seat…

thedotmack/claude-mem · 136 tokens

weekly-digests

Generate a serial week-by-week narrative digest of a project's full claude-mem timeline. Splits the timeline into per-ISO-week files, then runs one consecutive subagent per week — each receiving the prior week's carry-forward block — to produce one chapter per ISO week of data. Use when asked for "weekly digests"…

thedotmack/claude-mem · 93 tokens

mode-creator

Interactively create, install, activate, and verify custom claude-mem modes, including domain-specific observation types, concept tags, optional Telegram alerts, bot setup, worker restart, and startup-context verification. Use this whenever someone asks to customize what claude-mem remembers, create or change a mode…

thedotmack/claude-mem · 94 tokens

handoff

Generate a HANDOFF.md that captures goal, current state, files touched, failed attempts, and next steps — so a fresh Claude session can continue exactly where this one left off. Use when sessions are getting long, Claude keeps retrying the same broken solution, or the user wants to step away and resume later.

thedotmack/claude-mem · 66 tokens

cloud-sync

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

thedotmack/claude-mem · 64 tokens

screenpipe

Search screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe.

thedotmack/claude-mem · 46 tokens