claude-skills-orchestration / agent-memory
CLAUDE.md1 starsChanged 8 months agoMITView on GitHub
In this repository10 other files it gives its agents.
- agent-memorySkill
- auto-iterateSkill
- collaborating-with-codexSkill
- collaborating-with-geminiSkill
- collaborating-with-kimiSkill
- explorationSkill
- reflex-auditSkill
- reflex-fuzzSkill
- skill-catalogSkill
- skill-snapshotSkill
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
TDD: Write tests FIRST, then implement
- Distinctive: line 15
All tests must pass: before marking a step complete
- Distinctive: line 17
Update plan.md: Check off completed steps
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Memory Project
Overview
Associative memory system for Claude Code subagents. Fuses A-MEM (Zettelkasten) + Generative Agents (3D scoring) + BM25.
Architecture
scripts/memory_store.py— Memory dataclass + JSONL storescripts/retriever.py— BM25 + recency/importance/relevance scoring + spreading activationscripts/associator.py— Bidirectional link managementscripts/extractor.py— Claude API memory extraction (K/G/X/importance)tests/— Unit tests (run withpython3 tests/test_retriever.py)
Development Rules
- TDD: Write tests FIRST, then implement
- All tests must pass before marking a step complete
- Gate checks: Each phase has verification gates — don't skip them
- Update plan.md: Check off completed steps
- Update project log: Append progress to Obsidian project homepage
Key APIs
from scripts.memory_store import Memory, MemoryStore
from scripts.retriever import retrieve, format_for_prompt
from scripts.associator import link_memory
store = MemoryStore("path/to/memories.jsonl")
results = retrieve("query", store, top_k=3, spread=True)
prompt_text = format_for_prompt(results)Testing
cd ~/.claude/skills/agent-memory
python3 tests/test_retriever.py
python3 tests/test_extractor.py # after Phase 2Does 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.

