reflect
Reflect
On Codex, read the platform mapping, including its per-skill notes, before following this skill.
On GitHub Copilot, read the platform mapping, including its per-skill notes, before following this skill.
On Muse, read the platform mapping, including its per-skill notes, before following this skill.
Mine the current conversation for durable learnings, then route them into skill edits.
Invoke when the user says "reflect" or "/reflect". Skip when the conversation is trivial, off-topic, or already covered by an existing skill the parent followed correctly. One-offs are not learnings.
1. Locate the active transcript
Before fanning out, find this conversation's transcript in Claude Code's per-project transcripts directory at ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/projects/<encoded-cwd>/. Do not glob across ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/projects/. That crosses workspace boundaries and reads private chats from unrelated projects.
Run the finder at skills/reflect/scripts/find-transcript.mjs under the installed plugin with the projects directory and a fragment of the conversation's opening user prompt. claude-project-dir.mjs beside it prints this session's projects directory, wherever the shell has moved since: