multiagent-memory-setup
Skill by topoteretes
Imports your Claude Code and Codex session history into one cognee dataset so you can ask questions over past coding work. It is for developers who want several coding agents to share one memory of earlier sessions.
Install multiagent-memory-setup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/topoteretes/cognee /tmp/cognee && mkdir -p ~/.claude/skills && cp -r /tmp/cognee/.agents/skills/multiagent-memory-setup ~/.claude/skills/multiagent-memory-setupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install multiagent-memory-setup in Claude Code
git clone --depth 1 https://github.com/topoteretes/cognee /tmp/cognee && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cognee/.agents/skills/multiagent-memory-setup ~/.gemini/antigravity-cli/skills/multiagent-memory-setupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install multiagent-memory-setup in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill loads a user's previous Claude Code and Codex sessions, meaning the prompts they typed and the agents' answers, into one cognee dataset named imported_agent_sessions. It first checks which coding agents are installed and how many sessions each has kept. The user then chooses the agents and projects to import, and the skill answers questions over all of them or over each agent separately.
The skill runs locally and reads ~/.claude and ~/.codex in read-only mode. It needs one LLM key, and every imported session is sent to the provider of that key. A demo mode uses sample sessions for a made-up web shop instead of the user's own history. The skill is for people who want to backfill or search their earlier coding-agent sessions.
Written from the project's SKILL.md and checked against it.
What it can do
- Find installed agentsChecks which coding agents are installed and how many sessions each one has kept.
- Import sessionsLoads chosen agents' sessions into the imported_agent_sessions cognee dataset.
- Filter by project or dateLimits the import with project paths, a --since date and a session limit.
- Ask across agentsAnswers a question over all imported sessions, with one answer per agent when two are chosen.
- Ask laterRuns new questions over the existing dataset without importing again.
- Demo modeImports sample Claude Code and Codex sessions for a made-up web shop.
What you need
- One LLM key: LLM_API_KEY, OPENAI_API_KEY or ANTHROPIC_API_KEY
- Claude Code and/or Codex session history on the machine
- uv to run the cookbook scripts
Try asking
- Import my Claude Code sessions from this project and ask what I worked on.
- Ask my imported Codex sessions what I changed in the login code.
- Which of my earlier coding sessions covered database migrations?
Good to know
- Claude desktop chats, Cursor's own agent and ChatGPT are not imported.
- Every imported session is sent to the LLM provider of the key cognee runs on.
- Redaction only catches common key formats and secret-named values.
- Clearing the dataset with --clear forgets everything it holds.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/multiagent-memory-setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to multiagent-memory-setup
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
multiagent-memory-setup: common questions
Does this change my Claude Code or Codex history?
No. It reads ~/.claude and ~/.codex read-only and writes only to cognee's memory.
Can I import only one project?
Yes. Pass one --project path per chosen project, or leave it out to import all projects.
Do I need to re-import to ask new questions?
No. Later questions run over the existing dataset with the ask.py script.
How do I install multiagent-memory-setup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is multiagent-memory-setup free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is multiagent-memory-setup safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. 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 multiagent-memory-setup?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
