
Reflect
Mines a session transcript for lasting lessons and turns them into skill edits
Reflect is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- JavaScript
- Platforms
- Claude Code
- GitHub stars
- 5.1K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Reflect
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs JavaScript scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 3 files (16 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the pstack plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claudeOr copy only this skill to ~/.claude/skills/reflect:
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.
Copy the skill folder to ~/.agents/skills/reflect to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/reflect to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/michael-denyer/pstack-claude.git --path plugins/pstack/skills/reflectOr copy the folder to ~/.gemini/skills/reflect yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/reflect:
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.
Get the folder:
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.gitThen 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.
What it does
- 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
Reflect 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.
More from michael-denyer/pstack-claude

Makes the agent read pstack's poteto-mode skill first and follow its routing
- Open source
- 5.1K GitHub stars
- Developer tools

Has the agent restate your goals and the problem you're solving in its own words
- Open source
- 5.1K GitHub stars
- Productivity

Prototype 2-3 competing designs and compare them before committing to one
- Open source
- 5.1K GitHub stars
- Developer tools

Sketches types, signatures and module layout before the agent writes code
- Open source
- 5.1K GitHub stars
- Developer tools

Runs parallel candidate attempts at a task, then merges the best parts into one artifact
- Open source
- 5.1K GitHub stars
- Developer tools

Drafts a personal working-style skill from your past agent conversations
- Open source
- 5.1K GitHub stars
- Developer tools



