Agent skill

Hivemind Memory

by activeloopai in activeloopai/hivemind

Global team and org memory powered by Activeloop. An agent skill from activeloopai/hivemind.

Apache-2.0Auto-check: notesAI & LLM Engineering

Install Hivemind Memory

skills CLI
$ npx skills add activeloopai/hivemind --skill hivemind-memory -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install activeloopai/hivemind hivemind-memory --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/activeloopai/hivemind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/harnesses/codex/skills/deeplake-memory .claude/skills/hivemind-memory && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hivemind-memory
GitHub stars
1.6k
Token cost
~1.4k tokens
SKILL.md length
612 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

Global team and org memory powered by Activeloop. An agent skill from activeloopai/hivemind.

  • Works in 4 steps: First: Read ~/.deeplake/memory/index.md… → If you need details: Read the specific… → If you need raw data: Read the session… → …
  • AI & LLM Engineering work in your project
  • SKILL.md covers Memory Structure, How to Search, Organization Management and Skill Management (skillify), plus 5 more sections
  • Calls node, codex and jq

What it does

Hivemind Memory is an agent skill from activeloopai/hivemind. Global team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hivemind memory when recalling information.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering. The repository describes itself as: Hivemind turns your traces into reusable skills across agents. The licence is Apache-2.0.

When your agent uses it

  • AI & LLM Engineering work in your project

Example prompts

  • “/hivemind-memory”

Requirements

  • Pre-approved tools (allowed-tools): Bash

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  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/.md
  3. If you need raw data: Read the session JSONL at ~/.deeplake/memory/sessions//.jsonl
  4. Keyword search: grep -r "keyword" ~/.deeplake/memory/

What it can do on your machine

Read from SKILL.md and the folder at commit e054fb1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node
    • codex
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hivemind Memory loads about 1.4k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 612 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from activeloopai/hivemind at commit e054fb1, republished under its Apache-2.0 licence (© activeloopai). 612 words, ~1,373 tokens.

Download SKILL.mdSave it as .claude/skills/hivemind-memory/SKILL.md (or your agent's skills folder).
name
hivemind-memory
description
Global team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hivemind memory when recalling information.
allowed-tools
Bash

Hivemind Memory

You have persistent memory at ~/.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 -r "keyword" ~/.deeplake/memory/

Do NOT jump straight to reading raw JSONL files. Always start with index.md and summaries.

Organization Management

Each argument is separate — do NOT quote subcommands together. The auth command is at $PLUGIN_ROOT/bundle/commands/auth-login.js (or check the session context for the resolved path):

  • node "<path>/auth-login.js" login — SSO login
  • node "<path>/auth-login.js" whoami — show current user/org
  • node "<path>/auth-login.js" org list — list organizations
  • node "<path>/auth-login.js" org switch <name-or-id> — switch organization
  • node "<path>/auth-login.js" workspaces — list workspaces
  • node "<path>/auth-login.js" workspace <id> — switch workspace
  • node "<path>/auth-login.js" invite <email> <ADMIN|WRITE|READ> — invite member (ALWAYS ask user which role first)
  • node "<path>/auth-login.js" members — list members
  • node "<path>/auth-login.js" remove <user-id> — remove member
  • node "<path>/auth-login.js" --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 state
  • hivemind skillify pull — sync project skills from the org table to local FS
  • hivemind skillify pull --user <email> — only skills authored by that user
  • hivemind 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 disk
  • hivemind 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 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> — sharing scope for newly mined skills
  • hivemind skillify install <project|global> — default install location for new skills
  • hivemind skillify promote <skill-name> — move a project skill to the global location
  • hivemind skillify team add|remove|list <username> — manage team member list
  • hivemind skillify mine-local — one-shot: mine skills from local sessions, no auth needed
Show full SKILL.md (184 more words)Show less

Opt-in, persisted in ~/.deeplake/config.json.

  • hivemind embeddings install — download deps (~600MB), symlink agents, set enabled:true
  • hivemind 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 too
  • hivemind 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

Do NOT spawn subagents to read deeplake memory. 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:

  1. Authenticate with node "<AUTH_CMD>" login
  2. Start using memory — ask questions, Codex automatically captures and searches

Configuration

  • HIVEMIND_DEBUG=1 codex — enable verbose logging to ~/.deeplake/hook-debug.log
  • HIVEMIND_CAPTURE=false codex — disable session capture

© activeloopai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in harnesses/codex/skills/deeplake-memory of activeloopai/hivemind.

Open the folder on GitHubat commit e054fb1

Compare with similar skills

Hivemind Memory next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hivemind Memory compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hivemind Memory this skillactiveloopai/hivemind1.6k—~1.4kAutomated safety check: NotesApache-2.0
Agent BuildershareAI-lab/learn-claude-code78k6 repos~1.2kAutomated safety check: PassMIT
Planning With Filesjarrodwatts/claude-code-config1.1k5 repos~967Automated safety check: PassNone
Codebase Managementgiancarloerra/SocratiCode3.3k1 repos~1.8kAutomated safety check: PassAGPL-3.0
Context Compressionguanyang/open-agent-hub9732 repos~4.6kAutomated safety check: PassMIT
Looperksimback/looper710—~2.7kAutomated safety check: NotesMIT

Similar skills

  • Agent Builder

    shareAI-lab/learn-claude-code

    Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.

    78k GitHub starsUsed in 6 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Planning With Files

    jarrodwatts/claude-code-config

    Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage.

    1.1k GitHub starsUsed in 5 repos~967 tokens
    AI & LLM EngineeringAuto-check passed
  • Codebase Management

    giancarloerra/SocratiCode

    Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.

    3.3k GitHub starsUsed in 1 repo~1.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Context Compression

    guanyang/open-agent-hub

    This skill should be used when long-running agent sessions need context compression, structured summarization, compaction, token-per-task optimization, or durable handoff summaries that preserve…

    973 GitHub starsUsed in 2 repos~4.6k tokens
    AI & LLM EngineeringAuto-check passed
  • Looper

    ksimback/looper

    Scaffold a well-designed agent loop with best-practice coaching and a cross-model review council.

    710 GitHub stars~2.7k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check: notes
  • Docs Planner

    strands-agents/harness-sdk

    Identify documentation gaps and prioritize the docs backlog.

    8.7k GitHub stars~821 tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from activeloopai/hivemind

  • Hivemind Goals

    activeloopai/hivemind

    Create, track and update team goals via the Deeplake virtual filesystem at memory/goal/.

    1.6k GitHub stars~1.7k tokensUpdated 9 days ago
    Auto-check: notes
  • Hivemind Goals

    activeloopai/hivemind

    Create, track and update team goals in Hivemind via the hivemind CLI.

    1.6k GitHub stars~814 tokensUpdated 9 days ago
    Auto-check passed
  • Hivemind Goals

    activeloopai/hivemind

    Create, track, and read team goals via Hivemind from openclaw.

    1.6k GitHub stars~805 tokensUpdated 9 days ago
    Auto-check passed
  • Hivemind

    activeloopai/hivemind

    Global team and org memory powered by Activeloop. An agent skill from activeloopai/hivemind.

    1.6k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Hivemind Graph

    activeloopai/hivemind

    Query the local code graph (functions, classes, calls, imports) through the Deeplake mount at memory/graph/.

    1.6k GitHub stars~1.2k tokensUpdated 9 days ago
    Auto-check: notes
  • Hivemind Graph

    activeloopai/hivemind

    Query the local AST-derived code graph (functions, classes, calls, imports) for structural codebase questions — what calls X, what does Y import, where is Z defined, blast radius of a change.

    1.6k GitHub stars~731 tokensUpdated 9 days ago
    Auto-check passed

Questions about Hivemind Memory

What does Hivemind Memory do?

Global team and org memory powered by Activeloop. An agent skill from activeloopai/hivemind. Hivemind Memory is an agent skill from activeloopai/hivemind. Global team and org memory powered by Activeloop.

When should I use Hivemind Memory?

Hivemind Memory fits situations like: AI & LLM Engineering work in your project.

How do I install Hivemind Memory in Claude Code?

Run `npx skills add activeloopai/hivemind --skill hivemind-memory -a claude-code`. Or copy the skill folder (harnesses/codex/skills/deeplake-memory in activeloopai/hivemind) into .claude/skills/hivemind-memory in your project. Claude Code loads it when a task matches its description.

How do I install Hivemind Memory in Codex?

Run `npx skills add activeloopai/hivemind --skill hivemind-memory -a codex`. Or copy the skill folder (harnesses/codex/skills/deeplake-memory in activeloopai/hivemind) into .agents/skills/hivemind-memory in your project. Codex loads it when a task matches its description.

Can I use Hivemind Memory in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add activeloopai/hivemind --skill hivemind-memory -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hivemind-memory, .gemini/skills/hivemind-memory, .github/skills/hivemind-memory and .opencode/skills/hivemind-memory in your project.

What does Hivemind Memory need to run?

Going by SKILL.md and its folder, Hivemind Memory needs the command-line tools its instructions call (node, codex and jq). Its frontmatter pre-approves these tools: Bash.

Does Hivemind Memory access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hivemind Memory safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Hivemind Memory use?

Hivemind Memory is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hivemind Memory use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hivemind Memory?

Skills that share tags, products or a category with Hivemind Memory: Agent Builder (shareAI-lab/learn-claude-code, 78k stars), Planning With Files (jarrodwatts/claude-code-config, 1.1k stars), Codebase Management (giancarloerra/SocratiCode, 3.3k stars) and Context Compression (guanyang/open-agent-hub, 973 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hivemind Memory?

activeloopai (a GitHub organization) maintains it in activeloopai/hivemind, which has 1,622 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on September 28, 2026.

Source: activeloopai/hivemind on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.