A prompt that has a coding agent read your past sessions, count what you keep asking for and correcting, and turn each pattern into a rule or skill with the count as evidence. Reads Claude Code and Codex transcripts on your computer and changes nothing until you pick.
Read my past sessions with coding agents on this computer, find what I keep asking for and correcting, and propose rules and skills that would stop the repeats. Every proposal carries its count. Change nothing until I pick. If you need something from me, such as a date range other than the last 30 days, ask in one short message.
~/.claude/projects/<one folder per working directory>/<session>.jsonl. Skip <session>/subagents/, which holds no words of mine.~/.codex/sessions/<year>/<month>/<day>/rollout-*.jsonl and ~/.codex/archived_sessions/.Most “user” records aren’t me. On one Mac over a month, more than nine in ten were tool results.
isMeta or isCompactSummary, <task-notification> and other event tags, slash-command echoes (<command-name>, <local-command-caveat>), skill bodies (“Base directory for this skill”), briefs one session wrote for another (“Background (from the session that started this one)”), and test probes.<system-reminder> blocks. They’re often prepended to a real message. Skipping every message that starts with < loses real asks.AGENTS.md instructions. Keep only what I typed.Print sessions and messages kept, by project and week, and 20 random kept messages, so I can check the filter.
[Request interrupted by user]). Group by what was corrected.~/.claude/CLAUDE.md or ~/.codex/AGENTS.md. One project → its AGENTS.md or CLAUDE.md. A repeated multi-step ask → a skill, so it runs the same way every time. A choice only I can make, like adding a hook → a question for me.[owner] and anything nobody has tested [unproven].The window, sessions and messages kept, then at most 15 proposals ranked by count, grouped by where they’d go. Sketch each skill in three lines: when it runs, its steps, what it hands back. Then ask which to write, and stop.