config/codex/skills/reflect/SKILL.md
Analyze the current conversation for learnings and persist approved insights. Triggers on "reflect", "retrospective", "session review", "what did we learn", "conversation review".
npx skillsauth add cryptofish7/dotfiles reflectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze the current conversation session, extract actionable insights, and persist approved learnings to the appropriate destinations.
Scan the full conversation context for significant events:
Filter ruthlessly. Only keep medium/high significance findings — things that would save time or prevent mistakes in future sessions.
Classify each finding into one of five categories based on where it should be persisted:
| Category | Destination |
|---|---|
| Mistakes to avoid | AGENTS.md "Mistakes to Avoid" section (append), falling back to CLAUDE.md if needed |
| Skill opportunities | ~/.codex/skills/<name>/SKILL.md (create stub) |
| Skill improvements | Edit existing skill's SKILL.md |
| Memory candidates | ~/.codex/memories/<project-slug>.md (append) |
| Process improvements | Edit AGENTS.md workflow sections, falling back to CLAUDE.md if needed |
For each finding, draft the exact content that would be written (the rule text, the stub, the edit, etc.).
Output a structured report:
## Session Reflection
**Session summary:** [1-2 sentence overview of what happened]
**Findings:** N total across M categories
### Mistakes to Avoid
1. [Finding title] — [Specific rule to add]
### Skill Opportunities
2. [Skill name] — [What it would do, why it's warranted]
### Skill Improvements
3. [Existing skill name] — [What to change and why]
### Memory Candidates
4. [Knowledge item] — [Why it's worth remembering]
### Process Improvements
5. [Workflow change] — [Before → After]
Skip empty categories. If the session is clean (no findings), report "Clean session — no actionable insights found." and stop.
Ask the user which findings to apply. Present each finding as a numbered option and accept a subset or "all".
Then execute only the approved actions:
AGENTS.md, or CLAUDE.md if the project has not migrated yet.~/.codex/skills/<name>/SKILL.md with frontmatter (name, description) and a # TODO section describing the skill's purpose. User can flesh it out later with skill-creator.SKILL.md.~/.codex/memories/<project-slug>.md. Create the file if it doesn't exist.testing
Generate and maintain a local deploy script (scripts/deploy.sh). Discovers project services, deploys them locally, and health-checks each one. Use when the user asks to "smoke test", "deploy locally", "test local deploy", "update deploy script", "run deploy", or "run smoke test".
testing
Audit installed skills and agents for bloat, overlap, and improvement opportunities. Use when the user wants to review, audit, list, or improve their skills and agents. Triggers on "review skills", "audit skills", "list skills", "skill review", "improve skills".
development
Set up the autonomous post-task workflow for a project. Injects the standard development pipeline into AGENTS.md and installs all required skills and agents (docs-consolidator, ci-cd-pipeline, smoke-test, bug-bash-update, code-reviewer, debugger). Use at the start of a new project. Triggers on "setup workflow", "init workflow", "add workflow", or "set up project workflow".
development
Audit a codebase for refactoring opportunities across all packages/sections. Spawns parallel refactor subagents per section, collects suggestions without executing, then presents a ranked plan for approval. Use when the user asks to "audit for refactors", "refactoring suggestions", "code quality review", "refactor plan", "find refactoring opportunities", or "what should we clean up".