/memoree:memoree-goalsfrom memoree
Create, track and update team goals + KPIs via the Memoree virtual filesystem at memory/goal/ and memory/kpi/. Use whenever the user mentions a goal, objective, KPI, 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 `memoree tasks` CLI and now covers both objectives and tasks.
Ships in memoree. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Track goals and KPIs as Markdown files inside the Memoree 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:
memoree tasks CLI — there is no separate task store)For "list my goals", read ~/.memoree/memory/goals.md. If empty, ask the user if they want to create one.
~/.memoree/memory/goal/<owner>/<status>/<goal_id>.md
~/.memoree/memory/kpi/<goal_id>/<kpi_id>.md
<owner> — userName from the read-only ~/.memoree/memory/identity.json<status> — one of opened, in_progress, closed<goal_id> — UUIDv4 you generate at create time<kpi_id> — short slug like k-prs or k-demosPath 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.
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.
When the user expresses a new goal:
userName from ~/.memoree/memory/identity.json.uuidgen, or another helper.printf '%s' '<goal description>' > ~/.memoree/memory/goal/<owner>/opened/<uuid>.md. Write/Edit tools are denied on memory paths.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 ~/.memoree/memory/kpi/<goal_id>/<kpi-slug>.md with the body format documented above.
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 Memoree". 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 through the same filesystem path, preserving enough context to resume:
printf '%s\n' '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' > ~/.memoree/memory/goal/<owner>/opened/<uuid>.md
goal list and the SessionStart banner show.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.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.
~/.memoree/memory/goals.md and match the user's reference to a goal_id. If ambiguous, show the candidates and ask which one.cat the linked goal file to read the full package (Start here / Files / Branch / Run / Why).mv ~/.memoree/memory/goal/<owner>/opened/<uuid>.md ~/.memoree/memory/goal/<owner>/in_progress/<uuid>.mdFiles:, 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 ~/.memoree/memory/goal/<owner>/opened/
ls ~/.memoree/memory/goal/<owner>/in_progress/
Then cat each <uuid>.md to read the body. Optionally ls ~/.memoree/memory/kpi/<uuid>/ and cat each KPI to surface progress.
cat ~/.memoree/memory/goal/<owner>/opened/<uuid>.md
printf '%s' '<new body here>' > ~/.memoree/memory/goal/<owner>/opened/<uuid>.md
mv ~/.memoree/memory/goal/<owner>/opened/<uuid>.md ~/.memoree/memory/goal/<owner>/in_progress/<uuid>.md
mv between status folders is an atomic version-bump. The file body carries over unchanged.
Two equivalent ways:
# Explicit mv to closed (recommended — clearest intent)
mv ~/.memoree/memory/goal/<owner>/in_progress/<uuid>.md ~/.memoree/memory/goal/<owner>/closed/<uuid>.md
# Or: rm (the VFS interprets rm on a goal path as a soft-close)
rm ~/.memoree/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.
printf '%s\n' '<KPI name>' '' '- target: <N>' '- current: 0' '- unit: <unit>' > ~/.memoree/memory/kpi/<uuid>/<kpi-slug>.md
Read the KPI file, increment the current: line, then overwrite the full file with one direct printf command. KPI move and removal are intentionally denied.
printf '%s\n' '<KPI name>' '' '- target: 5' '- current: 3' '- unit: count' > ~/.memoree/memory/kpi/<uuid>/<kpi-slug>.md
mv ~/.memoree/memory/goal/<old-owner>/<status>/<uuid>.md ~/.memoree/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.
owner, status, goal_id, or kpi_id inside the file body. The path is the source of truth — duplicating in the body causes drift.opened, in_progress, closed.mv. The VFS rejects goal_id renames.nohup … &).git commitA 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: MEMOREE_AUTO_KPI_FROM_COMMITS=false.
Every write goes to a team-shared table on Memoree (memoree_goals or memoree_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.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sskarz/memoree --plugin memoree3 skills in this plugin
/memoree-graphQuery the local code graph (functions, classes, calls, imports) through the Memoree memory mount at memory/graph/. Use when the user asks structural questions about the codebase — "what calls X?", "what does Y import?", "where is Z defined?", "what's the architecture / which subsystems exist?", "what's the impact of changing this?". The graph is an AST-derived map of the repo, queried as files (no build needed — it rebuilds automatically)./memoree-memoryLocal persistent memory powered by Memoree. ALWAYS check BOTH built-in memory AND Memoree memory when recalling information.