Skip to main content
skill CX Codex

groove-utilities-memory-mistakes — Claude Code skill

This skill turns an agent mistake into a tracked incident, fixes its cause, and records the lesson in project memory. Use it to stop repeat errors.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add andreadellacorte/groove --skill groove-utilities-memory-mistakes -a claude-code
Open on GitHub

What groove-utilities-memory-mistakes does

The skill takes a workflow mistake from description to resolution. It asks for confirmation of the root cause and proposed fix, creates a bug under the “Groove Memory” milestone and “Mistakes” epic, edits the relevant file, then appends the lesson to .groove/memory/learned/<topic>.md. Pass --list as $ARGUMENTS to display open incidents.

Before doing any work, it reads tasks.backend from .groove/index.md. Without a configured task backend, incident creation cannot proceed; run /groove-utilities-task-install first. The task records use beans commands. If the fix points to a file under skills/, the skill redirects it to learned/anti-patterns.md because skills/ is managed by groove:update.

The incident stays open until the user confirms the audit and the fix.

What it helps with

  • log an agent mistake as a bug
  • trace a workflow error to its root cause
  • apply a fix to the project memory
  • graduate a lesson into .groove/memory/learned/
  • list unresolved incidents

Example prompts for the agent

  • Record this mistake: the agent edited the wrong file, find the root cause, and save the fix in project memory.
  • Show the open incidents with --list.
  • Review the latest error, suggest a root cause, and add the confirmed lesson to learned/anti-patterns.md.

How to install groove-utilities-memory-mistakes

1Skills CLI (Vercel)

npx skills add andreadellacorte/groove --skill groove-utilities-memory-mistakes -a claude-code

2Manually: put the files in place

~/.claude/skills/groove-utilities-memory-mistakes/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/groove-utilities-memory-mistakes/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about groove-utilities-memory-mistakes

How do I install groove-utilities-memory-mistakes in Claude Code?

Run npx skills add andreadellacorte/groove --skill groove-utilities-memory-mistakes -a claude-code, then check ~/.claude/skills/groove-utilities-memory-mistakes/SKILL.md.

What does groove-utilities-memory-mistakes do?

It records a mistake as an incident, guides confirmation of the cause and fix, writes the lesson to .groove/memory/learned/<topic>.md, and closes the incident.

What does the skill require before it can create an incident?

A task backend must be configured in .groove/index.md. If it contains tasks.backend: none, run /groove-utilities-task-install first; incidents use beans commands.

Source text

SKILL.md · MIT
---
name: groove-utilities-memory-mistakes
description: "Log a workflow mistake, fix its root cause, and graduate the lesson to learned memory. Use when the agent makes an error you want to prevent recurring."
license: MIT
allowed-tools: Read Write Edit Glob Grep Bash(git:*) Bash(beans:*) AskUserQuestion
metadata:
  author: andreadellacorte
---

# groove-utilities-memory-mistakes

Use $ARGUMENTS as the mistake description if provided (e.g. `--list` to show open incidents only).

## Outcome

The workflow mistake is logged, its root cause is fixed in the relevant memory or learned file, and the lesson is graduated to `.groove/memory/learned/<topic>.md`. The incident is closed.

## Acceptance Criteria

- Incident is recorded with root cause and fix
- Permanent fix applied to `.groove/memory/learned/<topic>.md`
- Incident marked resolved

## Task backend

Read `tasks.backend` from `.groove/index.md`. Incidents are tracked as tasks in the configured backend. If no task backend is configured (`tasks.backend: none`), tell the user to run `/groove-utilities-task-install` first.

Incidents are stored as bugs under a shared "Groove Memory" milestone → "Mistakes" epic.

### Ensure parent hierarchy

Before any operation, resolve or create the parent epic:

1. Find or create the **Groove Memory** milestone:
   - `beans list -t milestone --search "Groove Memory" -q` — if non-empty, use first ID; otherwise `beans create "Groove Memory" -t milestone`
2. Find or create the **Mistakes** epic under that milestone:
   - `beans list -t epic --parent <milestone-id> --search "Mistakes" -q` — if non-empty, use first ID; otherwise `beans create "Mistakes" -t epic --parent <milestone-id>`

### `--list`

1. Resolve `<parent-id>`
2. `beans list --parent <parent-id> -t bug -s in-progress`
3. Display as numbered list: `1. [<id>] <title>`
4. If empty: print "No open incidents."

### Log and resolve an incident

1. Resolve `<parent-id>`
2. Get description from $ARGUMENTS or ask: "What mistake did I make?"
3. Ask: "Root cause — why did it happen?" (propose from context; user confirms)
4. Ask: "What fix should be applied?" (propose; user confirms)
5. `beans create "<description>" -t bug --parent <parent-id> -s in-progress`
6. Apply the fix immediately (edit the relevant file)
7. Ask: "Which learned topic? (e.g. `anti-patterns`, `tools`)" — suggest based on root cause
8. Append lesson to `.groove/memory/learned/<topic>.md` under `## YYYY-MM-DD` heading
9. `beans update <id> -s completed`
10. Report: "Incident resolved → learned/<topic>.md"

## Constraints

- Read `tasks.backend` from `.groove/index.md`; memory path is always `.groove/memory/`
- Requires a configured task backend — if `tasks.backend: none`, prompt user to install one
- Never auto-create incidents without user confirmation
- Root cause is required before resolving — do not skip the audit step
- Parent hierarchy is idempotent — always check before creating
- If the fix targets a `skills/` file: note that `skills/` is managed by groove:update; redirect fix to `learned/anti-patterns.md`

© andreadellacorte · MIT · andreadellacorte/groove

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set39

groove-work-exec This skill takes a finished implementation plan and writes the code, tests and docs for it, logging progress in your task backend. Use it once planning is done. CX Codex +1 536installs groove-utilities-task-config Displays or updates the active task tracking backend in Groove. Useful when switching project tasks to Linear or GitHub. CX Codex +1 533installs groove-utilities-task-archive Archives completed and scrapped tasks in the configured backend. Use it when you want to close a batch of finished work with a confirmation step. CX Codex +1 532installs groove-admin-claude-hooks Installs groove’s native shell hooks in .claude/settings.json. They track git activity, prepare session-capture drafts, and guard managed paths. CX Codex +1 530installs groove-admin-update Pulls the latest groove skills and applies pending migrations to your local groove state. Useful when a new release lands but your config and memory are still on the old one. CX Codex +1 528installs groove-work-doc Creates a reference document explaining how a codebase component or concept works. Use it when future agents or contributors need concrete project context. CX Codex +1 518installs groove-admin-cursor-hooks Registers groove's native Cursor hooks in .cursor/hooks.json: context re-priming after compaction, end-of-day reminders, a git commit buffer and managed-path protection. CX Codex +1 518installs groove-utilities-memory-graduate Promotes a stable workflow insight from .groove/memory/learned/ into AGENTS.md, so the rule applies to every future session without running prime. CX Codex +1 510installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor