hivemind-graph
Query the local code graph (functions, classes, calls, imports) through the Deeplake mount at memory/graph/. Use when the user…
Create, 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
Claude Code
$ npx -y skills add activeloopai/hivemind --skill hivemind-goals --agent claude-code
Codex
$ npx skills add activeloopai/hivemind --skill hivemind-goals -a codex -y
Cursor
$ npx skills add activeloopai/hivemind --skill hivemind-goals -a cursor -y
Gemini CLI
$ npx skills add activeloopai/hivemind --skill hivemind-goals -a gemini-cli -y
GitHub Copilot
$ npx skills add activeloopai/hivemind --skill hivemind-goals -a github-copilot -y
OpenCode
$ npx skills add activeloopai/hivemind --skill hivemind-goals -a opencode -y
Windsurf
$ npx skills add activeloopai/hivemind --skill hivemind-goals -a windsurf -y
name: hivemind-goals description: Create, 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. allowed-tools: Read Bash
Track goals as Markdown files inside the Deeplake virtual filesystem. Each file is one row in a dedicated team-shared table — the path encodes the structural metadata, the file body holds the human-readable description.
Activate when the user expresses any of:
For "list my goals" → run `ls ~/.deeplake/memory/goal/<userName>/opened/` and `ls ~/.deeplake/memory/goal/<userName>/in_progress/`. If empty, ask the user if they want to create one.
~/.deeplake/memory/goal/<owner>/<status>/<goal_id>.md
**Path encoding is the source of truth.** The owner, status, and goal_id come from the path — NOT from the file body. Do NOT write owner/status/goal_id inside the file content.
Goal file body — plain markdown, free form:
ship the goals-graph feature Notes: route every write through the VFS, no separate CLI. Due: 2026-05-30.
The first line is the human-readable label (what `goal list` and the SessionStart banner show). Anything else is free notes.
When the user expresses a new goal:
1. Get the current owner with `hivemind whoami` (use the userName, e.g. `emanuele.fenocchi`). 2. Generate a UUIDv4: `uuidgen` (do NOT use `node -e` — Node is not available under the VFS path). 3. Write the goal file via **Bash** (Write / Edit are denied on memory paths; only Bash is intercepted and routed to SQL):
cat > ~/.deeplake/memory/goal/<owner>/opened/<uuid>.md <<'EOF' <goal description here, multiple lines OK> EOF
For a single-line goal, `echo '<text>' > ~/.deeplake/memory/goal/<owner>/opened/<uuid>.md` is equivalent. 4. Respond to the user that the goal is created.
Use this when the user **parks a tangential task** mid-session — "save this for later", "remind me to …", "don't let me forget …", "let's do X later", "capture this in Hivemind". The value is NOT the one-liner — it's storing enough **context to resume cold** in a future session without the user re-explaining anything.
Write it via the **CLI** (not the VFS heredoc) so the row is tagged `agent: capture`, which separates parked side-tasks from hand-made goals:
hivemind goal add --agent capture "Add rate-limiting to the webhook handler Start here: add a per-IP token bucket on the handler entry path Files: src/webhook/handler.ts:120-160, src/webhook/limits.ts Branch: feat/webhook-hardening Run: pnpm test webhook Why: bursty clients hammer the endpoint; agreed to defer until the retry-backoff work lands"
When the user says "let's work on that task / that goal", "let's start the `<X>` task", or "pick up the parked `<X>`", pull its stored context back into the session and continue — the user should NOT have to re-explain anything.
1. **Find it:** `hivemind goal list --mine` and match the user's reference to a `goal_id` (by label / topic). If ambiguous, show the candidates and ask which one. 2. **Transfer the context:** `hivemind goal get <goal_id>` prints the full package (`Start here / Files / Branch / Run / Why`). Read it as your working context — `goal list` only shows the first line, so always use `goal get` for the full body. 3. **Flip to in_progress:** `mv ~/.deeplake/memory/goal/<owner>/opened/<uuid>.md ~/.deeplake/memory/goal/<owner>/in_progress/<uuid>.md` 4. **Act on it:** open the `Files:`, switch to the `Branch:` if given, and begin from `Start here:`. You are now resumed — continue as if the context was never lost. Close it (section 5) when the work is done.
ls ~/.deeplake/memory/goal/<owner>/opened/ ls ~/.deeplake/memory/goal/<owner>/in_progress/
Then `cat` each `<uuid>.md` to read the body.
# Read the existing body, then overwrite via Bash heredoc. Edit / Write # tools are denied on memory paths in claude-code (the hook can only # rewrite Bash). The VFS handles version-bumping — every overwrite # produces a fresh row in the hivemind_goals table. cat ~/.deeplake/memory/goal/<owner>/opened/<uuid>.md # read current cat > ~/.deeplake/memory/goal/<owner>/opened/<uuid>.md <<'EOF' <new body here> EOF
mv ~/.deeplake/memory/goal/<owner>/opened/
Query the local code graph (functions, classes, calls, imports) through the Deeplake mount at memory/graph/. Use when the user…
Global team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hivemind memory when recalling…
Global team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hivemind memory when recalling…
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…