topoteretes/cognee

multiagent-memory-setup

Import the user's own Claude Code and/or Codex session history (the prompts they typed and the agents' answers) into one cognee dataset, then answer questions over it, across every agent and per agent.

  • SKILL.md 已保存
  • 英文来源资料
  • 安装与运行未实测
先判断是否解决你的问题

multiagent-memory-setup 是什么?

Import the user's own Claude Code and/or Codex session history (the prompts they typed and the agents' answers) into one cognee dataset, then answer questions over it, across every agent and per agent. Use when someone wants to load, import or backfill their previous coding-agent sessions into cognee, give several coding agents one shared memory of past work, or ask what their earlier sessions were about. Runs locally; reads ~/.claude and ~/.codex read-only, writes only to cognee's memory.

以上为来源原文,中文用途说明尚待整理。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 multiagent-memory-setup,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 multiagent-memory-setup

请在 Codex 的当前工作环境中安装并检查 multiagent-memory-setup 这个 Skill。

项目身份:topoteretes/cognee / multiagent-memory-setup
来源:https://github.com/topoteretes/cognee/blob/1961133d0c68b450fe8e71941a756371e94f7c04/.agents/skills/multiagent-memory-setup/SKILL.md
已定位的源文件:.agents/skills/multiagent-memory-setup/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-23T04:29:48.865Z
中文使用说明
尚待整理,保留英文来源内容
安装与任务测试
本站未执行安装或任务测试
来源复核
已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料

.agents/skills/multiagent-memory-setup/SKILL.md · 抓取时间 2026-11-23T04:29:48.865Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Import the user's own Claude Code and/or Codex session history (the prompts they typed and the agents' answers) into one cognee dataset, then answer questions over it, across every agent and per agent. Use when someone wants to load, import or backfill their previous coding-agent sessions into cognee, give several coding agents one shared memory of past work, or ask what their earlier sessions were about. Runs locally; reads ~/.claude and ~/.codex read-only, writes only to cognee's memory.

查看源文件章节 / Source sections
  • 原文:Import coding-agent sessions
  • 原文:Demo
  • 原文:Steps
  • 原文:Rules
  • 原文:Clean up
原文:Import coding-agent sessions

Runs the cookbook in `examples/cookbooks/import_agent_sessions/`. It first finds the coding agents installed on this machine and the sessions each has kept. One LLM key (`LLM_API_KEY`, `OPENAI_API_KEY` or `ANTHROPIC_API_KEY`) runs cognee and imports every agent's history. The chosen agents go into the dataset `imported_agent_sessions`, and each question is answered over all of them. Setup, the scripts and what each one does are in the cookbook's [`README.md`](../../../examples/cookbooks/import_agent_sessions/README.md). Run every command from the repo root.

原文:Demo

When the user has no Claude Code or Codex history, or wants to see it work first, run the demo instead of the steps below. It needs one key and imports sample sessions of both agents (a made-up web shop), never the user's own. It is what the cookbook runs without `--agents`: `uv run python examples/cookbooks/import_agent_sessions/import_agent_sessions.py` (`--check` first to check the key; exit 2 with a `MISSING:` line means no key is set). Give the user the `[ask]` answers and tell them they come from sample data. Pass `--ask "..."` for their own question.

原文:Steps

1. Run `uv run python examples/cookbooks/import_agent_sessions/import_agent_sessions.py --check`. - Exit 2: each `[setup] MISSING:` line names one fix. Tell the user, using the README's "What it needs" table, and stop. Never ask the user to paste a key into the chat. - Exit 0: go on. 2. Tell the user what was found, from the `[find_agents]` lines: each agent, how it is installed, and how many sessions it has and where they were started. Name each `Not imported:` app (Claude desktop chats, Cursor's own agent, ChatGPT) and why its chats can't be read. 3. Ask the user which agent sessions to ingest into cognee, with your question tool when you have one: one choice per agent the `OK:` line names, several allowed. Skip asking only when the user already named the agents. Don't choose for them, and never leave `--agents` out of the import: without it the run is the demo on sample data. 4. Ask the user which projects to import, from the `[find_agents] Project:` lines, with "All projects" as one choice. Every imported session is sent to the LLM provider, and a machine often holds work the user can't share, so never assume all. When there are more projects than your question tool shows, list them and ask the user to name theirs. Skip asking only when the user already named the projects. 5. Run the import with `--agents` set to the user's choice, like `--agents claude,codex`, and one `--project <path>` per chosen project, copying the path from its `Project:` line (leave `--project` out for all projects). A project includes the folders inside it. Start with the default `--limit 20` unless the user asked for more, and pass `--since YYYY-MM-DD` for a period. Pass their question with `--ask "..."`; without one the run asks "What did I work on in these sessions?": `uv run python examples/cookbooks/import_agent_sessions/import_agent_sessions.py --agents <choice> --project <path> --ask "..."`. It takes a few minutes for 20 sessions. 6. The answers are on the `[ask]` lines: `all sessions>` over everything, and with two agents one `<agent> only>` line each. Give them to the user. 7. Later questions don't need a new im

本段为节选,完整内容见源文件。

原文:Rules

- Session history is the user's private data. Don't quote it beyond what answers the question, and don't print `.env`. - Every imported session is sent to the provider of the key cognee runs on and costs LLM calls, so run the import only when the user asked for it, and raise `--limit` only when they want more history. - Pass `--clear` only when the user asked to start over: it forgets everything the dataset holds. It never touches `~/.claude` or `~/.codex`. - Redaction catches common key formats and secret-named values (`DB_PASSWORD=...`) only. If the user is about to import a lot, suggest they look at a few files in `examples/cookbooks/import_agent_sessions/sessions/` first.

原文:Clean up

```bash uv run cognee-cli forget --dataset imported_agent_sessions uv run cognee-cli forget --dataset imported_agent_sessions_demo rm -r examples/cookbooks/import_agent_sessions/sessions examples/cookbooks/import_agent_sessions/sample ```

文件 SHA256:eef54643807e91b1bec592bd9e7fb5cc70ad4e3ca8e8b0d8e5f7206c6f520157

仓库许可证记录:Apache-2.0;repository-license-recorded-scope-unverified,查看来源。

SKILL.md原文description · 2026-11-23T04:29:48.865Z

Import the user's own Claude Code and/or Codex session history (the prompts they typed and the agents' answers) into one cognee dataset, then answer questions over it, across every agent and per agent. Use when someone wants to load, import or backfill their previous coding-agent sessions into cognee, give several coding agents one shared memory of past work, or ask what their earlier sessions were about. Runs locally; reads ~/.claude and ~/.codex read-only, writes only to cognee's memory.

查看历史简介来源

历史收录数据

来源仓库topoteretes/cognee
Skill源路径.agents/skills/multiagent-memory-setup/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源