hivemind-goals · activeloopai — скилл для Claude Code: цели и установка
Скилл помогает создавать командные цели в Hivemind, находить уже сохранённые записи и возвращаться к отложенным задачам с контекстом. Пригодится, если нужно вести измеримые цели и рабочие пункты в общей памяти.
npx skills add activeloopai/hivemind --skill hivemind-goals -a claude-codeЧто делает hivemind-goals
Скилл использует инструменты Hivemind: hivemind_goal_add создаёт цель, а hivemind_search, hivemind_read и hivemind_index помогают найти существующую запись, прочитать её или просмотреть память. Перед созданием похожей цели можно сначала поискать её, чтобы не добавлять дубликат.
Для отложенной задачи инструкция предлагает сохранить вместе с описанием первый шаг, связанные файлы, ветку, команду запуска и причину переноса. Позже агент может найти запись и продолжить с указанного шага. Созданная цель получает статус opened и видна команде; инструменты смены статуса в OpenClaw не предусмотрены, поэтому цель остаётся в этом статусе. Записи нужно вести через инструменты hivemind_*: запись в файлы ~/.deeplake/memory/ не сохраняет данные в таблицах Deeplake.
Какие задачи решает
- создать командную цель в Hivemind
- проверить, есть ли похожая цель
- сохранить отложенную задачу с контекстом для продолжения
- найти и прочитать ранее сохранённую цель
Примеры запросов агенту
- Добавь в Hivemind командную цель: завершить перенос API на новую версию.
- Проверь, есть ли уже цель по миграции базы, и покажи её содержимое.
- Сохрани задачу на потом: добавить ограничение запросов в обработчик вебхуков, указав первый шаг и нужные файлы.
Как установить hivemind-goals
1Через Skills CLI (Vercel)
npx skills add activeloopai/hivemind --skill hivemind-goals -a claude-code2Вручную: положить файлы
~/.claude/skills/hivemind-goals/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/hivemind-goals/
1Через Skills CLI (Vercel)
npx skills add activeloopai/hivemind --skill hivemind-goals -a codex2Вручную: положить файлы
.agents/skills/hivemind-goals/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add activeloopai/hivemind --skill hivemind-goals -a cursor2Вручную: положить файлы
.cursor/skills/hivemind-goals/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install activeloopai/hivemind hivemind-goals2Вручную: положить файлы
.github/skills/hivemind-goals/SKILL.md1Через Skills CLI (Vercel)
npx skills add activeloopai/hivemind --skill hivemind-goals -a gemini-cli2Командой платформы
gemini skills install https://github.com/activeloopai/hivemind --path harnesses/openclaw/skills/hivemind-goalsВручную: положить файлы
.devin/skills/hivemind-goals/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add activeloopai/hivemind --skill hivemind-goals -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в 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?
Создаёт и находит командные цели в Hivemind, а также сохраняет отложенные задачи с контекстом, чтобы позже продолжить работу.
Как скилл помогает вернуться к отложенной задаче?
Он ищет цель в памяти, читает её полное содержимое и продолжает с указанного первого шага, используя сведения о файлах, ветке и команде запуска.
Исходный текст
SKILL.md · Apache-2.0
---
name: hivemind-goals
description: Create, 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.
allowed-tools: hivemind_search, hivemind_read, hivemind_index, hivemind_goal_add
---
# Hivemind Goals (openclaw)
OpenClaw exposes purpose-built tools for goals. Use them directly — do NOT try to write files via the host filesystem.
## Tools
- `hivemind_goal_add({ text })` — create a new goal. Returns `goal_id` (UUID). Status starts at `opened`.
- `hivemind_search({ query })` — search Hivemind shared memory (summaries + sessions). Use this when the user asks "what's already there" before creating a duplicate.
- `hivemind_read({ path })` — read the full content of a specific Hivemind path.
- `hivemind_index({})` — list everything in memory.
## Workflow when the user expresses a goal
1. (Optional) `hivemind_search` first to surface any existing related goal.
2. `hivemind_goal_add({ text: "<short description>" })` — capture the returned `goal_id`.
3. Confirm to the user with the goal_id and that the goal is team-visible.
## Capture a task for later (with resumable context)
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" — store enough **context to resume cold** later, not just a one-liner. Put the full package in the `text` of `hivemind_goal_add`:
```
hivemind_goal_add({ text:
"Add rate-limiting to the webhook handler\n\n" +
"Start here: add a per-IP token bucket on the handler entry path\n" +
"Files: src/webhook/handler.ts:120-160, src/webhook/limits.ts\n" +
"Branch: feat/webhook-hardening\n" +
"Run: pnpm test webhook\n" +
"Why: bursty clients hammer the endpoint; defer until retry-backoff lands" })
```
Line 1 is the label. Fill `Start here / Files / Branch / Run / Why` from the conversation; `Start here:` (the concrete first action) matters most. (OpenClaw's `hivemind_goal_add` has no provenance flag, so the row is tagged `manual` — that's fine; the context is what matters.)
## Resume a parked task (automatic context transfer)
When the user says "let's work on that task / goal" or "pick up the `<X>` task":
1. `hivemind_search({ query: "<topic>" })` or `hivemind_index({})` to locate the parked goal, then `hivemind_read({ path: "memory/goal/<owner>/opened/<goal_id>.md" })` to pull the **full** context package back.
2. Read it as your working context and begin from `Start here:` using the `Files` / `Branch` / `Run` lines — continue as if the context was never lost.
(Status-move tools aren't exposed on OpenClaw, so leave the goal where it is and just resume the work.)
## What NOT to do
- Do NOT write files anywhere under `~/.deeplake/memory/`. OpenClaw's runtime does not route filesystem writes to the Deeplake tables — only the `hivemind_*` tools above do.
- Do NOT use `hivemind_search` to *create* anything — it's read-only.
© activeloopai · Apache-2.0 · activeloopai/hivemind
Похожие скиллы
Все скиллы по теме «Настройка агента: память, контекст, субагенты» →Сначала — hivemind-goals от других авторов.