hivemind-goals
À propos
Cette compétence gère les objectifs, les KPI et les tâches en créant et en mettant à jour des fichiers Markdown dans le système de fichiers virtuel Deeplake, aux chemins `memory/goal/` et `memory/kpi/`. Elle s'active lorsque les utilisateurs mentionnent des objectifs, des cibles, des jalons ou des éléments de travail actionnables comme des tâches et des todos. Elle remplace un ancien système de gestion des tâches et utilise le chemin du fichier pour les métadonnées, tandis que le corps du fichier contient la description lisible par l'humain.
Installation rapide
Claude Code
Recommandénpx skills add activeloopai/hivemind -a claude-code/plugin add https://github.com/activeloopai/hivemindgit clone https://github.com/activeloopai/hivemind.git ~/.claude/skills/hivemind-goalsCopiez et collez cette commande dans Claude Code pour installer cette compétence
Documentation
Hivemind Goals
Track goals and KPIs 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", "add a KPI", "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 tasksCLI — 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
~/.deeplake/memory/kpi/<goal_id>/<kpi_id>.md
<owner>— user identifier (use the userName fromhivemind whoamior the credentials)<status>— one ofopened,in_progress,closed<goal_id>— UUIDv4 you generate at create time<kpi_id>— short slug likek-prsork-demos
Path encoding is the source of truth. The owner, status, goal_id, and kpi_id come from the path — NOT from the file body. Do NOT write owner/status/goal_id/kpi_id inside the file content.
File body format
Goal file body — plain markdown, free form:
ship the goals-graph feature
Notes: focus on KPI tracking via VFS, no separate CLI.
Due: 2026-05-30.
KPI file body — markdown with a few mandatory key:value lines so the commit-driven auto-progress worker can parse and bump:
PRs merged
- target: 5
- current: 2
- unit: count
The target:, current:, unit: lines must stay on a single line each. The first line is the human-readable name. Anything else is free notes.
Operations
1. Create a new goal
When the user expresses a new goal:
- Get the current owner with
hivemind whoami(use the userName, e.g.emanuele.fenocchi). - Generate a UUIDv4:
uuidgenornode -e 'console.log(crypto.randomUUID())'. - Write the goal file at
~/.deeplake/memory/goal/<owner>/opened/<uuid>.mdwith the goal description as body. - Respond to the user that the goal is created.
Do NOT auto-generate KPIs. A goal is created with zero KPI files by default. Generate KPIs ONLY when the user explicitly asks you to ("aggiungi KPI per …", "add metrics for this goal", "track these metrics: …"). When the user asks, write each KPI as a separate file at ~/.deeplake/memory/kpi/<goal_id>/<kpi-slug>.md with the body format documented above.
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". 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 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"
- Line 1 is the label — short; it's what
goal listand the SessionStart banner show. - Fill
Start here / Files / Branch / Run / Whyfrom the live conversation. Include only the lines you can fill;Start here:(the concrete first action) matters most. - Pass the whole package as one double-quoted argument (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.
- Find it:
hivemind goal list --mineand match the user's reference to agoal_id. If ambiguous, show the candidates and ask. - 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 listonly shows the first line, so always usegoal getfor the full body. - Flip to in_progress:
mv ~/.deeplake/memory/goal/<owner>/opened/<uuid>.md ~/.deeplake/memory/goal/<owner>/in_progress/<uuid>.md - Act on it: open the
Files:, switch to theBranch:if given, and begin fromStart here:. You are resumed — continue as if the context was never lost.
2. List goals
ls ~/.deeplake/memory/goal/<owner>/opened/
ls ~/.deeplake/memory/goal/<owner>/in_progress/
Then cat each <uuid>.md to read the body. Optionally ls ~/.deeplake/memory/kpi/<uuid>/ and cat each KPI to surface progress.
3. Edit a goal description
# Use Read + Edit (or Write) on the existing file. The VFS handles
# version-bumping — every write produces a fresh row in the
# hivemind_goals table.
4. Move a goal to in_progress
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:
# 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. Add a KPI manually
Write the file at ~/.deeplake/memory/kpi/<uuid>/<kpi-slug>.md with:
<KPI name>
- target: <N>
- current: 0
- unit: <unit>
7. Record progress on a KPI
Read the KPI file, increment the current: line, write it back:
<KPI name>
- target: 5
- current: 3 ← incremented from 2
- unit: count
Use the Edit tool for the most surgical change (just the line with current:).
8. Reassign a goal (transfer ownership)
mv ~/.deeplake/memory/goal/<old-owner>/<status>/<uuid>.md ~/.deeplake/memory/goal/<new-owner>/<status>/<uuid>.md
Goal ownership lives in the path. KPI files do NOT have an owner segment — they are linked to the goal by <uuid>, so they need no change when a goal is reassigned.
Constraints — DO NOT do these
- Do NOT put
owner,status,goal_id, orkpi_idinside 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. - Do NOT block on the KPI generator subprocess — always spawn it detached (
nohup … &).
Auto-progress from git commit
A PostToolUse hook listens for git commit. When it fires, it spawns the agent's native LLM in the background with the commit diff + the list of the current user's open goals. The LLM reads each goal + its KPIs, judges whether the commit advanced any KPI, and edits the relevant KPI file to bump current:. This is fire-and-forget; the user does not block on it.
To disable globally: HIVEMIND_AUTO_KPI_FROM_COMMITS=false.
Team visibility
Every write goes to a team-shared table on Deeplake (hivemind_goals or hivemind_kpis). 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.
Dépôt GitHub
Questions fréquentes
Qu’est-ce que le Skill hivemind-goals ?
hivemind-goals est un Skill Claude créé par activeloopai. Un Skill regroupe des instructions et des ressources que Claude charge à la demande pour effectuer des tâches liées à hivemind-goals sans consigne supplémentaire.
Comment installer hivemind-goals ?
Utilisez les commandes d’installation de cette page : ajoutez hivemind-goals à Claude Code comme plugin ou clonez son dépôt dans votre dossier skills, puis redémarrez Claude pour charger le Skill.
À quelle catégorie appartient hivemind-goals ?
hivemind-goals appartient à la catégorie Méta.
hivemind-goals est-il gratuit ?
Oui. hivemind-goals est référencé sur AIMCP et son installation est gratuite.
Compétences associées
Cette compétence propose une configuration éprouvée en production pour Content Collections, un outil axé sur TypeScript qui transforme des fichiers Markdown/MDX en collections de données typées de manière sûre avec une validation Zod. Utilisez-la lors de la création de blogs, de sites de documentation ou d'applications Vite + React riches en contenu pour garantir la sécurité de typage et la validation automatique du contenu. Elle couvre tout, de la configuration du plugin Vite et de la compilation MDX à l'optimisation des déploiements et la validation des schémas.
Cette compétence permet aux développeurs de créer des applications avec la plateforme de marchés prédictifs Polymarket, incluant l'intégration d'API pour le trading et les données de marché. Elle fournit également une diffusion de données en temps réel via WebSocket pour surveiller les transactions en direct et l'activité du marché. Utilisez-la pour mettre en œuvre des stratégies de trading ou pour créer des outils traitant les mises à jour de marché en direct.
Cette compétence aide les développeurs à créer des plugins OpenCode qui s'interconnectent avec plus de 25 types d'événements tels que les commandes, les fichiers et les opérations LSP. Elle fournit la structure du plugin, les spécifications de l'API événementielle et les modèles d'implémentation pour les modules JavaScript/TypeScript. Utilisez-la lorsque vous avez besoin d'intercepter, de surveiller ou d'étendre le cycle de vie de l'assistant IA OpenCode avec une logique personnalisée pilotée par les événements.
SGLang est un framework de service LLM haute performance spécialisé dans la génération rapide et structurée pour les workflows JSON, regex et agentiques grâce à son cache de préfixe RadixAttention. Il offre une inférence nettement plus rapide, particulièrement pour les tâches avec des préfixes répétés, ce qui le rend idéal pour les sorties complexes et structurées ainsi que les conversations multi-tours. Choisissez SGLang plutôt que des alternatives comme vLLM lorsque vous avez besoin d'un décodage contraint ou que vous construisez des applications avec un partage étendu de préfixes.
