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 agent-transcripts/ directory, typically under ~/.agents/projects/<slug>/agent-transcripts/; the legacy ~/.cursor/projects/<slug>/agent-transcripts/ path is a fallback when that is where your harness keeps them. Use that path. Do not glob across ~/.agents/projects/*/ (or the legacy ~/.cursor/projects/*/). That crosses workspace boundaries and reads private chats from unrelated projects.

ls -t <agent-transcripts>/*.jsonl <agent-transcripts>/*/*.jsonl <agent-transcripts>/*/subagents/*.jsonl 2>/dev/null | head -10

Three transcript layouts: legacy flat (<id>.jsonl), current nested (<id>/<id>.jsonl), and subagent (<parent>/subagents/<child>.jsonl).

Installs
12
First Seen
Sep 24, 2026