reflect
Installation
SKILL.md
Reflect
Mine the current conversation for durable learnings, then route them into skill edits.
When to invoke
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.
Process
1. Locate the active transcript
The parent finds its own transcript file before fanning out. The system prompt names the active workspace's session store. Use that source. Do not glob across other workspaces' transcripts. That crosses workspace boundaries and reads private chats from unrelated projects.
ls -t <session-store>/*.jsonl <session-store>/*/*.jsonl <session-store>/*/subagents/*.jsonl 2>/dev/null | head -10 (when the host stores transcripts as JSONL)
Three transcript layouts: legacy flat (<id>.jsonl), current nested (<id>/<id>.jsonl), and subagent (<parent>/subagents/<child>.jsonl).