К основному содержанию
скилл CX Codex

hivemind-goals · activeloopai — скилл для Claude Code: цели и установка

Скилл хранит цели и задачи команды в Deeplake, отслеживает их статус и переносит задачи между сессиями. Подходит для измеримых планов и отложенной работы.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add activeloopai/hivemind --skill hivemind-goals -a claude-code
Открыть на GitHub

Что делает hivemind-goals

hivemind-goals записывает цели и задачи в Markdown-файлы внутри виртуальной файловой системы Deeplake по пути ~/.deeplake/memory/goal/<owner>/<status>/<goal_id>.md. Статус задаётся папкой opened, in_progress или closed, а тело файла содержит описание и заметки. Для новой цели скилл получает владельца через hivemind whoami, создаёт UUIDv4 и записывает файл через Bash.

Отложенная задача сохраняется командой hivemind goal add --agent capture вместе с контекстом: первым действием, файлами, веткой, командой запуска и причиной. При возврате скилл находит запись через hivemind goal list --mine, читает детали командой hivemind goal get <goal_id> и переводит файл в in_progress. Путь считается источником истины, поэтому owner, status и goal_id нельзя дублировать в тексте файла. Удаление через rm означает мягкое закрытие, а не физическое удаление.

Какие задачи решает

  • создать цель с описанием и сроком
  • разложить цели по статусам
  • сохранить отложенную задачу с контекстом
  • возобновить задачу в новой сессии
  • закрыть или переназначить цель

Примеры запросов агенту

  • Создай цель «выпустить функцию отчётов» со сроком и заметкой о проверках.
  • Напомни мне позже добавить ограничение запросов в обработчик вебхука и сохрани контекст для продолжения.
  • Покажи мои открытые и незавершённые цели, затем возьми в работу задачу про отчёты.

Как установить hivemind-goals

1Через Skills CLI (Vercel)

npx skills add activeloopai/hivemind --skill hivemind-goals -a claude-code

2Вручную: положить файлы

~/.claude/skills/hivemind-goals/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/hivemind-goals/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о hivemind-goals

Как установить hivemind-goals в Claude Code?

Выполните npx skills add activeloopai/hivemind --skill hivemind-goals -a claude-code, затем проверьте файл ~/.claude/skills/hivemind-goals/SKILL.md.

Что делает hivemind-goals?

Скилл создаёт, перечисляет, редактирует, переносит и закрывает цели через Deeplake virtual filesystem. Он также хранит отложенные задачи с контекстом для следующей сессии.

Как hivemind-goals понимает статус цели?

Статус берётся из пути файла: opened, in_progress или closed. Перемещение между папками меняет статус, а rm выполняет мягкое закрытие.

Исходный текст

SKILL.md · Apache-2.0
---
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
---

# Hivemind Goals

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.

## When to use this skill

Activate when the user expresses any of:
- "I want to track X / aim for X / track my progress on Y"
- "add a goal", "what are my goals?"
- "mark this as done", "close that goal"
- "shipping X by Friday", "5 PRs this week", any measurable target
- "create a task", "add a todo", "remind me to fix X", any work item (the goals system absorbs the old `hivemind tasks` CLI — there is no separate task store)

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.

## Path conventions (LEARN THESE)

```
~/.deeplake/memory/goal/<owner>/<status>/<goal_id>.md
```

- `<owner>` — user identifier (use the userName from `hivemind whoami` or the credentials)
- `<status>` — one of `opened`, `in_progress`, `closed`
- `<goal_id>` — UUIDv4 you generate at create time

**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.

## File body format

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.

## Operations

### 1. Create a new goal

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):
   ```bash
   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.

### 1a. Capture a task for later (with resumable context)

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:

```bash
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"
```

- **Line 1 is the label** — keep it short; it's what `goal list` and the SessionStart banner show.
- Fill `Start here / Files / Branch / Run / Why` from the live conversation — you already know the files you just touched and the branch. Include only the lines you can fill; omit the rest. **`Start here:` is the most important** — the concrete first action.
- Pass the whole package as **one double-quoted argument** (the newlines are preserved into the stored body).
- Confirm to the user: the label + that it'll resume cleanly next session.

### 1b. Resume a parked task (automatic context transfer)

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`

### 2. List goals

```bash
ls ~/.deeplake/memory/goal/<owner>/opened/
ls ~/.deeplake/memory/goal/<owner>/in_progress/
```

Then `cat` each `<uuid>.md` to read the body.

### 3. Edit a goal description

```bash
# 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
```

### 4. Move a goal to in_progress

```bash
mv ~/.deeplake/memory/goal/<owner>/opened/<uuid>.md ~/.deeplake/memory/goal/<owner>/in_progress/<uuid>.md
```

`mv` between status folders is an atomic version-bump. The file body carries over unchanged.

### 5. Close a goal

Two equivalent ways:

```bash
# Explicit mv to closed (recommended — clearest intent)
mv ~/.deeplake/memory/goal/<owner>/in_progress/<uuid>.md ~/.deeplake/memory/goal/<owner>/closed/<uuid>.md

# Or: rm (the VFS interprets rm on a goal path as a soft-close)
rm ~/.deeplake/memory/goal/<owner>/opened/<uuid>.md
```

**Important:** `rm` does NOT actually delete the goal. It is a soft-close — the VFS writes a new version with status=closed. The goal remains in the team-shared table for audit. There is no hard-delete in v1.

### 6. Reassign a goal (transfer ownership)

```bash
mv ~/.deeplake/memory/goal/<old-owner>/<status>/<uuid>.md ~/.deeplake/memory/goal/<new-owner>/<status>/<uuid>.md
```

Goal ownership lives in the path; the file body carries over unchanged.

## Constraints — DO NOT do these

- Do NOT put `owner`, `status`, or `goal_id` inside the file body. The path is the source of truth — duplicating in the body causes drift.
- Do NOT use status values other than `opened`, `in_progress`, `closed`.
- Do NOT rename the goal_id (the UUID in the filename) via `mv`. The VFS rejects goal_id renames.

## Team visibility

Every write goes to a team-shared table on Deeplake (`hivemind_goals`). Other team members see your goals in their SessionStart context and via direct `ls` / `cat` on the same paths in their own VFS. No explicit sharing step needed.

© activeloopai · Apache-2.0 · activeloopai/hivemind

Похожие скиллы

Все скиллы по теме «Заметки, задачи и проекты» →

Сначала — hivemind-goals от других авторов.

hivemind-goals activeloopai Скилл помогает создавать командные цели в Hivemind, находить уже сохранённые записи и возвращаться к отложенным задачам с контекстом. Пригодится, если нужно вести измеримые цели и рабочие пункты в общей памяти. CX Codex +1 ★ 1 638звёзд репо hivemind-goals activeloopai Скилл ведёт командные цели и отложенные задачи через CLI hivemind, чтобы они были видны всей команде, а не лежали в локальных файлах. CX Codex +1 ★ 1 638звёзд репо find-skills vercel-labs Ищет и устанавливает готовые скиллы для ИИ-агентов через каталог skills.sh. Пригодится, когда для рабочей задачи нужен специализированный воркфлоу. CX Codex +1 4 000 000установок grill-me Matt Pocock Скилл проводит жёсткое интервью по плану или дизайну, чтобы найти пробелы и уточнить решения. Подойдёт перед началом разработки. 1 424 476установок grill-with-docs Matt Pocock Скилл проводит жёсткое интервью по плану или дизайну и по ходу создаёт ADR и глоссарий. Подойдёт перед началом сложной разработки. 1 219 756установок handoff Matt Pocock Собирает текущий диалог в документ передачи, чтобы другой агент продолжил работу с нужным контекстом. Нужен при смене сессии или исполнителя. 1 038 491установок grilling Matt Pocock Стресс-тестирует план, решение или идею сериями уточняющих вопросов. Подходит, когда нужно вскрыть допущения до начала работы. 979 543установок teach Matt Pocock Ведёт обучение по выбранной теме прямо в текущем каталоге и сохраняет прогресс между сессиями. Подойдёт, если хотите собрать личный курс вокруг рабочей цели. 862 247установок

Из того же набора7

hivemind-graph Ищет связи в кодовой базе по локальному AST-графу: вызовы функций, импорты и наследование. Пригодится при оценке последствий рефакторинга. CX Codex +1 ★ 1 638звёзд репо hivemind-goals Скилл помогает создавать командные цели в Hivemind, находить уже сохранённые записи и возвращаться к отложенным задачам с контекстом. Пригодится, если нужно вести измеримые цели и рабочие пункты в общей памяти. CX Codex +1 ★ 1 638звёзд репо hivemind-goals Скилл ведёт командные цели и отложенные задачи через CLI hivemind, чтобы они были видны всей команде, а не лежали в локальных файлах. CX Codex +1 ★ 1 638звёзд репо hivemind-graph Строит AST-граф связей кодовой базы и отвечает на вопросы об архитектуре, импортах и влиянии правок через виртуальные файлы точки монтирования Deeplake. CX Codex +1 ★ 1 638звёзд репо hivemind Подключает агента к глобальной памяти организации на базе Activeloop: сессии, саммари и поиск по ним доступны из любой сессии и любому участнику. CX Codex +1 ★ 1 638звёзд репо deeplake-hivemind Плагин сохраняет контекст сессий Claude Code в облачную базу Deeplake. Он связывает опыт всей команды, чтобы агенты не решали одни и те же задачи с нуля. ★ 1 638звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой