Hivemind Goals (openclaw)
OpenClaw exposes purpose-built tools for goals + KPIs. Use them directly — do NOT try to write files via the host filesystem.
Tools
hivemind_goal_add({ text })— create a new goal. Returnsgoal_id(UUID). Status starts atopened.hivemind_kpi_add({ goal_id, kpi_id, target, unit, name? })— add a KPI to an existing goal. Only call when the user explicitly asks for KPIs; do NOT auto-generate.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
- (Optional)
hivemind_searchfirst to surface any existing related goal. hivemind_goal_add({ text: "<short description>" })— capture the returnedgoal_id.- ONLY if the user asks for KPIs:
hivemind_kpi_addonce per KPI withgoal_id+kpi_id(short slug likek-prs) +target(positive int) +unit. - Confirm to the user with the goal_id and that the goal is team-visible.
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 thehivemind_*tools above do. - Do NOT call
hivemind_kpi_addunsolicited. Wait for the user to ask. - Do NOT use
hivemind_searchto create anything — it's read-only.