Skip to main content

hivemind-memory

Global team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hivemind memory when recalling information.

v1.0.0New

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install activeloop-hivemind-harnesses-codex-deeplake-memory-hivemind-memory
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/activeloop-hivemind-harnesses-codex-deeplake-memory-hivemind-memory/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiCryptographically signed by the skills-hub.ai distributor key at publish time.
Signed
0Save

Instructions

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

How to Search

  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, linked for Codex/Hermes/pi)
  • 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 dedupe — one skill per name: remove pulled -- copies of your own skills, merge same-name skills from several authors in the org table into one
  • hivemind skillify dedupe --no-merge — only remove own copies; no cross-author merge
  • hivemind skillify dedupe --dry-run — preview without touching the table or 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

Embeddings (semantic memory search)

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
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →

More from Activeloop Hivemind

View source →
hivemind-graphQuery the local code graph (functions, classes, calls, imports) through the Deeplake mount at memory/graph/. Use when the user asks structural questions about the codebase — "what calls X?", "what does Y import?", "where is Z defined?", "what's the architecture / which subsystems exist?", "what's the impact of changing this?". The graph is an AST-derived map of the repo, queried as files (no build needed — it rebuilds automatically).1 installshivemind-memoryGlobal team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hivemind memory when recalling information.0 installshivemind-goalsCreate, track and update team goals via the Deeplake virtual filesystem at memory/goal/. Use whenever the user mentions a goal, objective, target, milestone, or asks to track progress on something measurable. ALSO use when the user says "task", "todo", "work item", "remind me to", "fix X", or any actionable work item — the goal system replaced the legacy `hivemind tasks` CLI and now covers both objectives and tasks.0 installshivemind-goalsCreate, track and update team goals in Hivemind via the `hivemind` CLI. Use whenever the user mentions a goal, objective, target, milestone, or asks to track progress on something measurable. ALSO use when the user says "task", "todo", "work item", "remind me to", "fix X", or any actionable work item — the goal system replaced the legacy `hivemind tasks` CLI and now covers both objectives and tasks.0 installshivemind-goalsCreate, track, and read team goals via Hivemind from openclaw. Use whenever the user mentions a goal, objective, target, milestone, or asks to track progress on something measurable. ALSO use when the user says "task", "todo", "work item", "remind me to", "fix X", or any actionable work item — the goal system replaced the legacy `hivemind tasks` CLI and now covers both objectives and tasks.0 installshivemind-graphQuery 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. The graph rebuilds automatically after each agent turn; use hivemind_graph_search and hivemind_graph_neighborhood tools (no manual build step).0 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.635 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.535 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.346 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.246 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.173 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions145 installs

Frequently asked questions about hivemind-memory

What does the hivemind-memory skill do?

Global team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hivemind memory when recalling information. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the hivemind-memory skill?

Run `npx @skills-hub-ai/cli install activeloop-hivemind-harnesses-codex-deeplake-memory-hivemind-memory` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/activeloop-hivemind-harnesses-codex-deeplake-memory-hivemind-memory/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does hivemind-memory work with?

hivemind-memory runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the hivemind-memory skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use hivemind-memory after installing it?

In Claude Code, type `/activeloop-hivemind-harnesses-codex-deeplake-memory-hivemind-memory` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the hivemind-memory skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.