# Reflect

> Reflect is an open-source agent skill for developer tools. Mines a session transcript for lasting lessons and turns them into skill edits. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/michael-denyer/pstack-claude/tree/main/plugins/pstack/skills/reflect
- **Repository:** https://github.com/michael-denyer/pstack-claude
- **GitHub stars:** 5,057
- **License:** MIT
- **Skill name:** reflect
- **Collection:** https://github.com/michael-denyer/pstack-claude
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Reflect looks back over the current conversation and pulls out learnings that would still matter months later, such as user corrections, commands the agent had to discover, context that could have been fetched, and checks that were skipped. Each keeper is matched to an existing skill it should change, and the skill reads that file first so it does not repeat guidance already there. One-off details and volatile specifics like versions or commit hashes are dropped, and anything a lint or script could enforce is sent to a backlog instead of prose.

The workflow presents accepted findings, rejected ones with reasons, and a backlog, then waits for approval before touching any skill. Edits go to a copy in the project or user skills folder rather than the plugin cache, and the skill never opens a pull request or pushes. It locates the session transcript with bundled Node.js scripts, which look only in the current project's transcript directory.

The skill includes platform mapping notes for Codex, GitHub Copilot, Muse and Antigravity, and it expects Claude Code's transcript layout to find the conversation history.

## When your agent uses it

> Mine the active transcript for durable learnings and route each to a concrete edit on an existing skill. Use when the user says reflect.

## What it can access

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

- [Runs JavaScript scripts](https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/skills/reflect)
- [No network calls found in its scripts](https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/skills/reflect)
- [License: MIT](https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/skills/reflect)

## Features

- **Transcript mining:** Scans the full conversation for corrections, discovered commands, and skipped checks.
- **Finding filters:** Keeps only learnings that stay valid over time and map to a skill the session used.
- **Skill edit routing:** Matches each kept finding to a concrete change in an existing skill file.
- **Approval gate:** Presents accepted, rejected and backlog items and waits before editing anything.
- **Transcript lookup scripts:** Node.js helpers locate the current project's transcript by matching the opening prompt.
- **Safe copy editing:** Edits a copy in the project or user skills folder, never the plugin cache.

## Good for

- Review this session and suggest lasting improvements to my skills
- Find the corrections I gave you and turn them into skill updates
- Tune a skill's description so it triggers on the right requests
- Log lint-worthy issues from this session into a backlog

## Install

### Claude Code

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

```sh
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claude
```

Or copy only this skill to `~/.claude/skills/reflect`:

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

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/reflect &&
cp -R "$tmp/plugins/pstack/skills/reflect" ~/.agents/skills/reflect &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/reflect &&
cp -R "$tmp/plugins/pstack/skills/reflect" ~/.cursor/skills/reflect &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/reflect` 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/michael-denyer/pstack-claude.git --path plugins/pstack/skills/reflect
```

Or copy the folder to `~/.gemini/skills/reflect` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/reflect &&
cp -R "$tmp/plugins/pstack/skills/reflect" ~/.copilot/skills/reflect &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git
```

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

## FAQ

### What triggers Reflect?

It is meant for when the user says reflect, according to its description.

### Will Reflect change my installed skills directly?

No. It presents proposed changes for approval first, then copies the skill folder to a project or user skills location and edits that copy.

### Does Reflect open pull requests or push code?

No. The skill states that it never opens a PR or pushes.

### What does Reflect need to find the transcript?

It uses bundled Node.js scripts that read Claude Code's per-project transcripts directory. If no matching transcript is found, it works from the conversation in context and says so.

### How do I install Reflect in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/reflect to use it in all your projects, or to .claude/skills/reflect in one project. Or install the pstack plugin, which includes it: /plugin marketplace add michael-denyer/pstack-claude, then /plugin install pstack@pstack-claude.

### Does Reflect run scripts?

Yes. It runs JavaScript scripts. No network calls were found in its 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 Reflect?

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 Reflect?

The closest alternatives to Reflect are Automate me, Recall, Skill improver, Transfer and Shiplog.

## Where this comes from

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

## Alternatives

- [Automate me](https://ai-powered.com/skills/automate-me): Automate me is an open-source agent skill for developer tools.
- [Recall](https://ai-powered.com/skills/recall-michael-denyer): Recall is an open-source agent skill for developer tools.
- [Skill improver](https://ai-powered.com/skills/skill-improver): Skill improver is an open-source agent skill for developer tools.
- [Transfer](https://ai-powered.com/skills/transfer-arjunrajlaboratory): Transfer is an open-source agent skill for developer tools.
- [Shiplog](https://ai-powered.com/skills/shiplog-devallibus): Shiplog is an open-source agent skill for developer tools.
- [Recoil](https://ai-powered.com/skills/recoil): Recoil is an open-source agent skill for developer tools.
- [Correct](https://ai-powered.com/skills/correct): Correct is an open-source agent skill for developer tools.
- [Code simplifier](https://ai-powered.com/skills/code-simplifier): Code simplifier is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/reflect-michael-denyer
