reflect
Skill by mann1x
Reflect synthesizes recent memories into rules for CLAUDE.md. It groups stored memories by type and asks a model to name the recurring patterns, for users who want to distill learnings.
Install reflect
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mann1x/claude-hooks /tmp/claude-hooks && mkdir -p ~/.claude/skills && cp -r /tmp/claude-hooks/.claude/skills/reflect ~/.claude/skills/reflectRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mann1x/claude-hooks /tmp/claude-hooks && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-hooks/.claude/skills/reflect ~/.gemini/antigravity-cli/skills/reflectAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Reflect reads recent memories from all configured providers, including Qdrant and the Memory KG, and groups them by observation type: fix, preference, decision and gotcha. It sends these groups to a model through an Ollama proxy, which names the recurring patterns. The resulting rules are appended to ~/.claude/CLAUDE.md.
The skill runs the claude_hooks.reflect Python module. Passing --dry-run shows the generated rules without writing them. It is meant for users who want to review recent learnings after a long session with many fixes or decisions, or as a periodic, such as weekly, distillation step. The assistant is instructed to show the generated rules to the user and confirm they were written.
Written from the project's SKILL.md and checked against it.
What it can do
- Memory collectionPulls recent memories from all configured providers, including Qdrant and the Memory KG.
- Observation groupingGroups memories by type: fix, preference, decision and gotcha.
- Pattern namingAsks a model through an Ollama proxy to identify recurring patterns.
- CLAUDE.md rulesAppends the resulting rules to ~/.claude/CLAUDE.md.
- Dry runWith --dry-run, shows the generated rules without writing them.
What you need
- Qdrant memory provider
- Memory KG provider
- Ollama reachable through the configured proxy
- Python with the claude_hooks module installed
Try asking
- Reflect on my recent learnings and suggest CLAUDE.md rules
- Do a dry-run reflect to preview the rules before writing
- Synthesize recurring fixes and decisions from my recent sessions
Good to know
- Appends rules to ~/.claude/CLAUDE.md unless --dry-run is used
- Depends on the configured memory providers and the Ollama proxy
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/reflect/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to reflect
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
reflect: common questions
Does reflect change my CLAUDE.md file?
Yes. It appends new rules to ~/.claude/CLAUDE.md. Running it with --dry-run shows the rules without writing them.
Which memory sources does reflect read?
It reads recent memories from all configured providers. The source names Qdrant and the Memory KG.
When should I run reflect?
The source suggests running it after a long session with many fixes or decisions, or periodically, for example weekly.
How do I install reflect?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is reflect free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is reflect safe to use?
It scores 52 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to reflect?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
