# Vibe reflect and compound

> Vibe reflect and compound is an open-source agent skill for knowledge and memory. Saves reusable lessons from bugs, feedback and patterns into the agent's memory file. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ash1794/vibe-engineering/tree/master/plugins/vibe-engineering/skills/vibe-reflect-and-compound
- **Repository:** https://github.com/ash1794/vibe-engineering
- **GitHub stars:** 163
- **License:** MIT
- **Skill name:** vibe-reflect-and-compound
- **Collection:** https://github.com/ash1794/vibe-engineering
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-03

## About

This skill has the agent turn finished work into durable notes. After a non-trivial bug fix, a failed attempt, feedback, or a repeated code pattern, it gathers what happened, compares expected and actual behavior, identifies the root cause, and checks whether an existing entry already covers it before writing something new.

Entries follow one of three templates: a short actionable learning, a bug record with symptom, root cause, why it was hard to find, fix and prevention, or a pattern note that points to a canonical file and line rather than copying code. The skill also tells the agent to keep the always-loaded memory file short, moving longer entries into a docs/learnings folder with a one-line pointer, and to prune older items into an archive once roughly thirty active learnings are reached.

It is written for agents that read a project memory file such as CLAUDE.md, AGENTS.md or GEMINI.md, and it lists which file each supported agent loads automatically. It expects write access to the repository and asks the user to confirm changes to shared project instructions before saving. It refers to a separate vibe-decision-journal skill for architectural decisions.

## When your agent uses it

> Captures reusable knowledge after work is done — learnings from feedback or failures, resolved bugs (symptom, root cause, prevention), and recurring code patterns — into the project's persistent memory file. Use after feedback, a non-trivial bug fix, a failed attempt, or the third repetition of a pattern.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-reflect-and-compound)
- [License: MIT](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-reflect-and-compound)

## Features

- **Capture bug post-mortems:** Records symptom, root cause, the misleading clues, the fix and a prevention guard for each resolved bug.
- **Actionable learning entries:** Turns feedback and failed attempts into specific rules with the context where they apply.
- **Recurring pattern notes:** Documents a code pattern on its third occurrence, linking to a canonical example and the common anti-pattern.
- **Memory file pruning:** Merges duplicate entries and archives stale ones to keep the always-loaded file short.
- **Per-agent memory targets:** Maps each supported agent to the memory file it loads automatically, such as CLAUDE.md or AGENTS.md.

## Good for

- Save the root cause of a tricky race condition so the next session avoids it
- Record what went wrong after a rejected approach so it is not retried
- Note a code pattern I have now written three times and point to its canonical example
- Prune the project's learnings file down to the most useful active entries
- Log feedback I received on a deliverable as a reusable rule

## Install

### Claude Code

This skill ships in the `vibe-engineering` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ash1794/vibe-engineering
/plugin install vibe-engineering@vibe-plugins
```

Or copy only this skill to `~/.claude/skills/vibe-reflect-and-compound`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/vibe-reflect-and-compound &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-reflect-and-compound" ~/.claude/skills/vibe-reflect-and-compound &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/vibe-reflect-and-compound` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/vibe-reflect-and-compound` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/vibe-reflect-and-compound &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-reflect-and-compound" ~/.agents/skills/vibe-reflect-and-compound &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/vibe-reflect-and-compound` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/vibe-reflect-and-compound` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/vibe-reflect-and-compound &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-reflect-and-compound" ~/.cursor/skills/vibe-reflect-and-compound &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/vibe-reflect-and-compound` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ash1794/vibe-engineering.git --path plugins/vibe-engineering/skills/vibe-reflect-and-compound
```

Or copy the folder to `~/.gemini/skills/vibe-reflect-and-compound` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/vibe-reflect-and-compound`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/vibe-reflect-and-compound &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-reflect-and-compound" ~/.copilot/skills/vibe-reflect-and-compound &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/vibe-reflect-and-compound` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git
```

Then copy `vibe-engineering/plugins/vibe-engineering/skills/vibe-reflect-and-compound` into your agent's skills folder as `vibe-reflect-and-compound`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should the skill trigger?

After feedback on work, a non-trivial bug fix, a failed or abandoned attempt, the third repetition of a pattern, or at the end of a complex task. It advises against using it for trivial edits, when nothing new was learned, or during active implementation.

### Where does Vibe reflect and compound save entries?

To the memory file the agent loads automatically, such as CLAUDE.md or AGENTS.md. Longer entries go into docs/learnings/, with a one-line pointer in the memory file.

### Does Vibe reflect and compound change files without asking?

It asks the user to confirm the entry before saving when it changes shared project instructions.

### How does Vibe reflect and compound differ from architectural decision records?

Architectural decisions are handled by a different skill, vibe-decision-journal, which keeps ADRs in the repository.

### How do I install Vibe reflect and compound in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/vibe-reflect-and-compound to use it in all your projects, or to .claude/skills/vibe-reflect-and-compound in one project. Or install the vibe-engineering plugin, which includes it: /plugin marketplace add ash1794/vibe-engineering, then /plugin install vibe-engineering@vibe-plugins.

### Does Vibe reflect and compound run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Vibe reflect and compound?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Vibe reflect and compound?

The closest alternatives to Vibe reflect and compound are Learn, Continual learn, Memory sync, Memory review and Continual learning.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Learn](https://ai-powered.com/skills/learn): Learn is an open-source agent skill for knowledge and memory.
- [Continual learn](https://ai-powered.com/skills/continual-learn): Continual learn is an open-source agent skill for knowledge and memory.
- [Memory sync](https://ai-powered.com/skills/memory-sync): Memory sync is an open-source agent skill for knowledge and memory.
- [Memory review](https://ai-powered.com/skills/memory-review): Memory review is an open-source agent skill for knowledge and memory.
- [Continual learning](https://ai-powered.com/skills/continual-learning): Continual learning is an open-source agent skill for knowledge and memory.
- [Claude mem](https://ai-powered.com/skills/claude-mem-smartworldarafath): Claude mem is an open-source agent skill for knowledge and memory.
- [Recap](https://ai-powered.com/skills/recap-onebrain-ai): Recap is an open-source agent skill for knowledge and memory.
- [Compound memory](https://ai-powered.com/skills/compound-memory-protocol-zero-0): Compound memory is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/vibe-reflect-and-compound
