跳到主要内容
知仓学习社ZHICANG

hivemind-memory

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

不碰外部(只输出文字)无严重或高危命中activeloopai/hivemind

它会碰到什么

扫了多少1 个文本文件,5 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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)
  • 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

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

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 1,616
本站分层T1
该仓技能数11
原文件路径harnesses/codex/skills/deeplake-memory/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 11 个技能

同名技能的其他版本

有 2 个不同仓库或目录里都有叫 hivemind-memory 的技能。它们内容并不相同,别混用:

  • activeloopai/hivemind — Global team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hi