AI SummarySummarize and reflect on past Codex session histories to identify patterns, themes, and insights from your coding work. Useful for developers who want to audit their development process, track projects, or surface repeated patterns across multiple sessions.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "reflect-codex-skills" skill in my project. Please run this command in my terminal: # Install skill into the correct directory mkdir -p .claude/skills/Codex-Reflect-Skill && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/Codex-Reflect-Skill/SKILL.md "https://raw.githubusercontent.com/olliepro/Codex-Reflect-Skill/main/SKILL.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Generate reflections for past Codex session histories using the Reflection CLI. Use when asked to summarize or reflect on previous Codex conversations, list projects/sessions, filter by date or session id, or refresh cached reflections from ~/.codex/sessions.
When to use this skill
• Summarize or reflect on past Codex session histories. • List projects, session counts, or filter by date/session id. • Retrieve/Refresh cached reflections or pull extra metadata for auditing.
Interpretation guidance (important)
• Treat reflection content as heuristics, not facts or ideas from a user. Use it as a starting point. • Surface only non-niche, broadly useful themes and repeated patterns and confirm with the user before acting on a pattern. • Avoid over-indexing on one-offs; ask for confirmation when a pattern is uncertain.
Quick start
• Run commands from scripts/ inside this skill directory. • Default: python3 reflect_sessions.py --output -. • Use --output-style human when replying in chat; use JSON for downstream parsing. • Ensure the shell command timeout is at least 120000 ms (2 minutes) so runs are not cut off. • Use Python 3.11+ (the CLI relies on features not present in Python 3.9).
Workflow
• Choose scope: --project, --since, --until, --session-id(s), --limit. Note: the most recent session is skipped unless --include-most-recent. • Generate reflections: python3 reflect_sessions.py ... and adjust --refresh-mode, --prompt-preset, --prompt-text, --prompt-file, or Codex flags only when asked. • Respond carefully: highlight repeated, non-niche patterns and keep claims tentative unless the user confirms them.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster