Skip to content
Back to skills

reflect-codex-skills

ASecurity

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.

  • 19 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added February 8, 2026
toolspythongoshell

Works with

  • cli

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add olliepro/Codex-Reflect-Skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of reflect-codex-skills?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for reflect-codex-skills
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/olliepro-reflect-codex-skills/badge)](https://www.skillsdirectory.com/skills/olliepro-reflect-codex-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: reflect-codex-skills
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.
---

# 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 `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

1. **Choose scope**: `--project`, `--since`, `--until`, `--session-id(s)`, `--limit`.
   Note: the most recent session is skipped unless `--include-most-recent`.
2. **Generate reflections**: `python3 reflect_sessions.py ...` and adjust
   `--refresh-mode`, `--prompt-preset`, `--prompt-text`, `--prompt-file`, or Codex flags only when asked.
3. **Respond carefully**: highlight repeated, non-niche patterns and keep claims
   tentative unless the user confirms them.

## Prompt presets

Default preset: `reflection`.

Available presets:

- `reflection`: Full reflection on repetition, friction, and skill ideas (default).
- `summary`: Concise summary of goals, actions, outputs, and decisions.
- `bloat`: Bloat/dead ends/cleanup opportunities introduced during the session.
- `incomplete`: Open loops and tasks left unfinished.
- `decisions`: Key decisions, alternatives, and rationale.
- `next_steps`: Concrete follow-up actions, tests, and validations.

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

- `references/cli.md` for the command catalog and full flag list.
- `references/README.md` for system behavior, cache semantics, and output schema.
- `references/examples.md` for an end-to-end example from ExampleProject.

Files in this skill

  • SKILL.md2.6 KB
  • references/README.md3.7 KB
  • references/cli.md4.4 KB
  • references/examples.md1.9 KB
  • scripts/cleanup_reflection_copies.py3.4 KB
  • scripts/parse_traces.py14.1 KB
  • scripts/reflect_sessions.py10.4 KB
  • scripts/session_io.py16.8 KB
  • scripts/sync_session_id.py2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.