memory
Skill0 starsChanged 2 months agoMITView on GitHub
Query and manage the AIGORA long-term memory (mem0 + local Qdrant + Ollama, optional) and the daily logs. Layer 1 is owned by Claude Code natively.
66 other projects use a version of this.
Adopted by
Most recently taken up by
- ProjectAJ14/eklavyatheir own version, first seen Oct 4, 2026
- DioNanos/nexuscrewtheir own version, first seen Oct 3, 2026
- Quad4-Software/skillstheir own version, first seen Oct 3, 2026
- vbcherepanov/total-agent-memorytheir own version, first seen Sep 30, 2026
- harshanandak/forgetheir own version, first seen Sep 28, 2026
- komluk/scaffoldingtheir own version, first seen Sep 28, 2026
Used with
Projects with it also use harness-review, postmortem and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
fockusSkillharness-review
Harness v3 統合レビュースキル。コード・プラン・スコープを多角的にレビュー。以下で起動: レビュー、コードレビュー、プランレビュー、スコープ分析、セキュリティ、品質チェック、harness-review。実装・新機能・バグ修正・セットアップ・リリースには使わない。
Also in 3 projects that use this
Hongyu-yuSkillpostmortem
Use when analyzing failures, outages, incidents, or negative outcomes, conducting blameless postmortems, documenting root causes with 5 Whys or fishbone diagrams, identifying corrective actions with owners and timelines, learning from near-misses, establishing prevention strategies, or when user mentions postmortem, incident review, failure analysis, RCA, lessons learned, or after-action review.
Also in 4 projects that use this
MicrosoftSkilldev
Development workflows for the playwright-cli repository. Use when the user asks about rolling dependencies, releasing, or other repo maintenance tasks.
Also in 3 projects that use this
AnthropicSkillstart
Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.
Also in 4 projects that use this
MicrosoftSkillsync
Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.
Also in 3 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 4 projects that use this
- +1 more from microsoft
Other versions66 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 66
- google-gemini/gemini-cli★ 107ksame name
- Chachamaru127/claude-code-harness★ 3.1ksame name
- codeaholicguy/ai-devkit★ 1.6ksame name
- Muuuun/luxas★ 1.2ksame name
- rshankras/claude-code-apple-skills★ 777same name
- memvid/claude-brain★ 578same name
- shobcoder/shob★ 577same name
- boshu2/agentops★ 447same name
- lokikill123/codex-token-skills★ 119same name
- 686f6c61/alfred-dev★ 116same name
56 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- analystSkill
- build-appSkill
- build-websiteSkill
- business-setupSkill
- content-pipelineSkill
- content-writerSkill
- email-assistantSkill
- email-digestSkill
- ksuite-setupSkill
- meeting-prepSkill
- odooSkill
- plugin-builderSkill
- qfieldcloudSkill
- qgisSkill
- quarto-slidesSkill
- research-leadSkill
- researchSkill
- r-sessionSkill
- schedulerSkill
- scrum-masterSkill
- skill-creatorSkill
- task-managerSkill
- weekly-reviewSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 57 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 67
Stop hook auto_capture.py runs after every response cycle.
- Very specific: line 72
Default (100% local, open source): LLM qwen3:4b and embeddings nomic-embed-text served by
- Distinctive: line 83
If you switch the LLM to Infomaniak AI Tools, conversation snippets are sent to Infomaniak (Switzerland).
“Common” is measured: kept by at least 6 in 10 of the 57 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Memory Skill
Operates on layers 2 and 3 of the AIGORA memory stack. Layer 1 (native auto-memory) is managed by Claude Code itself; see .claude/rules/memory-protocol.md for the full architecture.
When to use this skill
- The user references something from a past session that is not in the native auto-memory topic files → search layer 3.
- The user asks "what have you got on me?" or wants an export → list layer 3.
- You want to manually add a fact you judge important enough → add to layer 3.
- You want to append a chronological event to today's log → write to layer 2.
- A skill (weekly-review, meeting-prep, business-setup) needs to persist project facts → use the Write tool against layer 1 topic files directly. Do NOT use this skill for layer 1 writes.
Layer 3 operations (mem0 + Qdrant, optional)
Search (recommended: smart_search)
python3 .claude/skills/memory/scripts/smart_search.py --query "topic" --limit 5Hybrid retrieval: BM25 keyword (30%) + vector similarity (70%) + temporal decay + MMR diversity. First run on a fresh install requires --rebuild-index to populate the FTS5 keyword index.
Search (basic vector only)
python3 .claude/skills/memory/scripts/mem0_search.py --query "topic" --limit 10Rebuild keyword index
python3 .claude/skills/memory/scripts/smart_search.py --rebuild-indexRepopulates FTS5 from the history DB. Run after installation or to fix drift.
Add a fact manually
python3 .claude/skills/memory/scripts/mem0_add.py --content "User prefers kSuite over Google Workspace"Add from conversation messages
python3 .claude/skills/memory/scripts/mem0_add.py --messages '[{"role":"user","content":"I switched to ClickUp"}]'List all memories
python3 .claude/skills/memory/scripts/mem0_list.py --limit 50Delete a memory
python3 .claude/skills/memory/scripts/mem0_delete.py --memory-id "abc123"
python3 .claude/skills/memory/scripts/mem0_delete.py --all --confirmLayer 2 operation (daily logs)
Append to today's session log
python3 .claude/skills/memory/scripts/daily_log.py --content "Completed memory system overhaul" --type eventAuto-capture (background, no action needed)
Stop hook auto_capture.py runs after every response cycle. It reads new transcript messages, feeds them to mem0 for fact extraction and dedup against the vector store, and appends a session summary to today's daily log. Logs at data/auto_capture.log.
Config
- mem0 config:
.claude/skills/memory/references/mem0_config.yaml - Default (100% local, open source): LLM
qwen3:4band embeddingsnomic-embed-textserved by Ollama on this computer; vectors in Qdrant embedded mode (data/qdrant/, no server). - Alternative LLM: Infomaniak AI Tools (OpenAI-compatible, open-source models hosted in Switzerland), see the commented block at the bottom of the config.
- History DB:
data/mem0_history.db(SQLite, auto-managed) - Capture markers:
data/capture_markers/(tracks transcript position per session)
Security
sanitize_text()inmem0_client.pystrips secrets (API keys, tokens, JWTs, connection strings) before any processing.- With the default local stack, nothing leaves the computer: extraction, embeddings and storage are local.
- If you switch the LLM to Infomaniak AI Tools, conversation snippets are sent to Infomaniak (Switzerland).
- Local files (SQLite history DB, Qdrant folder, daily logs) are plaintext on disk;
.gitignoreexcludes them.
Known issues
- Small local models can occasionally return invalid JSON on heavy markdown.
prepare_messages()strips most of it; failed batches are skipped, the transcript is preserved. A larger model (qwen3:8b) is more reliable if the machine allows. - First run on a long conversation is slow on CPU. Incremental runs (2-4 messages) are fast.
- Layer 3 is off by default. Layers 1 and 2 (native memory + daily logs) always work with no install.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

