Awesome-omni-skill reflect-codex-skills
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.
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/tools/reflect-codex-skills" ~/.claude/skills/diegosouzapw-awesome-omni-skill-reflect-codex-skills && rm -rf "$T"
manifest:
skills/tools/reflect-codex-skills/SKILL.mdsource content
Reflect 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
inside this skill directory.scripts/ - Default:
.python3 reflect_sessions.py --output - - Use
when replying in chat; use JSON for downstream parsing.--output-style human - 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)
. Note: the most recent session is skipped unless--limit
.--include-most-recent - Generate reflections:
and adjustpython3 reflect_sessions.py ...
,--refresh-mode
,--prompt-preset
,--prompt-text
, or Codex flags only when asked.--prompt-file - Respond carefully: highlight repeated, non-niche patterns and keep claims tentative unless the user confirms them.
Prompt presets
Default preset:
reflection.
Available presets:
: Full reflection on repetition, friction, and skill ideas (default).reflection
: Concise summary of goals, actions, outputs, and decisions.summary
: Bloat/dead ends/cleanup opportunities introduced during the session.bloat
: Open loops and tasks left unfinished.incomplete
: Key decisions, alternatives, and rationale.decisions
: Concrete follow-up actions, tests, and validations.next_steps
Use
--prompt-preset <name> to select one, --prompt-text "<prompt>" for inline prompts,
or --prompt-file /path/to/prompt.md for a custom prompt file.
References
for the command catalog and full flag list.references/cli.md
for system behavior, cache semantics, and output schema.references/README.md
for an end-to-end example from ExampleProject.references/examples.md