server/src/built-ins/agents/reflection-coach/routines/recent-agent-reflection.md
This routine is paused by default and spends no tokens until an operator enables its schedule or triggers a manual run. When it runs, it produces coaching proposals only.
{{targetAgentMode}}:
recent_active — agents with completed/in-review/blocked issue activity within the last {{lookbackDays}} days.all — every non-terminated agent in the company.explicit — only agents named in the run inputs.
Cap the set at {{maxTargetAgents}}. Drop any agent id listed in {{excludeAgentIds}}, and always drop your own PAPERCLIP_AGENT_ID (no self-reflection).reflection-coach skill as the operating procedure: pull recent trajectories, read current AGENTS.md and assigned skills, cluster evidence-backed patterns, and draft the smallest durable change.request_confirmation task interaction, applied only in a separate follow-up run.agent:<agentId>:instructions, agent:<agentId>:profile, skill:<skillId>, skill-slug:<slug>, skill-import:<source>, or skills:scan-projects.A single bounded routine issue that links one proposal document (or follow-up proposal issue) per reviewed target agent, plus a summary comment listing: agents reviewed, window, clusters found, surfaces proposed, and the next-step owner for each accepted-or-pending change.