{"id":"83139625-5c39-41e5-9d08-20fb091246ca","entityType":"agent","slug":"clawhub-smseow001-cognee-memory","name":"Cognee Memory System","canonicalUrl":"https://www.xpersona.co/agent/clawhub-smseow001-cognee-memory","canonicalPath":"/agent/clawhub-smseow001-cognee-memory","generatedAt":"2026-10-11T20:58:47.007Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T17:57:39.048Z","emptyReason":null},"description":"AI知识引擎 - 6行代码实现记忆系统。remember/recall/forget/improve循环，向量+图搜索，支持OpenClaw插件。 Skill: Cognee Memory System Owner: smseow001 Summary: AI知识引擎 - 6行代码实现记忆系统。remember/recall/forget/improve循环，向量+图搜索，支持OpenClaw插件。 Tags: ai:1.0.0, cognee:1.0.0, graph:1.0.0, knowledge:1.0.0, latest:1.0.0, memory:1.0.0, rag:1.0.0, search:1.0.0, vector:1.0.0 Version history: v1.0.0 | 2026-04-17T10:17:01.660Z | auto Cognee Memory 1.0.0 - Initial release of the Cognee AI knowledge engine. - Provides a 4-operation memory API","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s17a72fh5mgpvvs3dm2ax0yq8984pnqc:cognee-memory","sourceUrl":"https://clawhub.ai/smseow001/cognee-memory","homepage":"https://clawhub.ai/smseow001/skills/cognee-memory","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/smseow001/cognee-memory","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/smseow001/skills/cognee-memory","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"AI知识引擎 - 6行代码实现记忆系统。remember/recall/forget/improve循环，向量+图搜索，支持OpenClaw插件。 Skill: Cognee Memory System Owner: smseow001 Summary: AI知识引擎 - 6行代码实现记忆系统。remember/rec"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T17:57:39.048Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T17:57:39.048Z","emptyReason":null},"stars":null,"forks":null,"downloads":1014,"packageName":null,"latestVersion":"1.0.0","tractionLabel":"1K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T17:57:39.037Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T17:57:39.048Z","lastCrawledAt":"2026-10-11T17:57:39.037Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T17:57:39.037Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.0","createdAt":"2026-04-17T10:17:01.660Z","changelog":"Cognee Memory 1.0.0 - Initial release of the Cognee AI knowledge engine. - Provides a 4-operation memory API: remember, recall, forget, and improve. - Supports hybrid vector and graph search, with OpenClaw plugin integration. - Includes Python and CLI interfaces for easy setup and usage. - Designed for multi-agent memory, semantic search, and continual learning.","fileCount":3,"zipByteSize":3682}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17a72fh5mgpvvs3dm2ax0yq8984pnqc:cognee-memory","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-cognee-memory/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-cognee-memory/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-cognee-memory/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-cognee-memory/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-cognee-memory/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-cognee-memory/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-11T20:58:47.007Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-cognee-memory/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-cognee-memory/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-cognee-memory/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-cognee-memory/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T17:57:39.048Z","emptyReason":null},"readme":"Skill: Cognee Memory System\n\nOwner: smseow001\n\nSummary: AI知识引擎 - 6行代码实现记忆系统。remember/recall/forget/improve循环，向量+图搜索，支持OpenClaw插件。\n\nTags: ai:1.0.0, cognee:1.0.0, graph:1.0.0, knowledge:1.0.0, latest:1.0.0, memory:1.0.0, rag:1.0.0, search:1.0.0, vector:1.0.0\n\nVersion history:\n\nv1.0.0 | 2026-04-17T10:17:01.660Z | auto\n\nCognee Memory 1.0.0\n\n- Initial release of the Cognee AI knowledge engine.\n- Provides a 4-operation memory API: remember, recall, forget, and improve.\n- Supports hybrid vector and graph search, with OpenClaw plugin integration.\n- Includes Python and CLI interfaces for easy setup and usage.\n- Designed for multi-agent memory, semantic search, and continual learning.\n\nArchive index:\n\nArchive v1.0.0: 3 files, 3682 bytes\n\nFiles: skill-card.md (2150b), SKILL.md (4210b), _meta.json (132b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: cognee-memory\nversion: 1.0.0\ndescription: AI知识引擎 - 6行代码实现记忆系统。remember/recall/forget/improve循环，向量+图搜索，支持OpenClaw插件。\nkeywords: [memory,knowledge,graph,vector,search,cognee,ai,rag]\n---\n\n# Cognee Memory System\nAI知识引擎 - 6行代码实现记忆系统\n\n**官网：** https://cognee.ai  \n**GitHub：** https://github.com/topoteretes/cognee  \n**安装：** `pip install cognee`  \n**OpenClaw插件：** `@cognee/cognee-openclaw`\n\n---\n\n## 核心API\n\n### 四大操作\n\n| 操作 | 功能 | 说明 |\n|------|------|------|\n| `remember` | 存储记忆 | 永久存储到知识图谱 |\n| `recall` | 查询记忆 | 自动路由最优搜索策略 |\n| `forget` | 删除记忆 | 删除过时/错误记忆 |\n| `improve` | 优化学习 | 持续学习提升准确性 |\n\n---\n\n## 快速开始\n\n### Python API\n\n```python\nimport cognee\nimport asyncio\n\nasync def main():\n    # 存储到知识图谱\n    await cognee.remember(\"Cognee turns documents into AI memory.\")\n    \n    # 存储到会话缓存（快速）\n    await cognee.remember(\"User prefers detailed explanations.\", session_id=\"chat_1\")\n    \n    # 查询（自动路由）\n    results = await cognee.recall(\"What does Cognee do?\")\n    for result in results:\n        print(result)\n    \n    # 删除\n    await cognee.forget(dataset=\"main_dataset\")\n\nasyncio.run(main())\n```\n\n### CLI\n\n```bash\ncognee-cli remember \"Cognee turns documents into AI memory.\"\ncognee-cli recall \"What does Cognee do?\"\ncognee-cli forget --all\ncognee-cli -ui  # 打开本地UI\n```\n\n---\n\n## 配置\n\n### 环境变量\n\n```bash\n# OpenAI API（必需）\nexport LLM_API_KEY=\"your-openai-key\"\n\n# 或使用其他LLM提供商\n# 见: https://docs.cognee.ai/setup-configuration/llm-providers\n\n# Cognee Cloud（可选）\nexport COGNEE_SERVICE_URL=\"https://your-instance.cognee.ai\"\nexport COGNEE_API_KEY=\"ck_...\"\n```\n\n---\n\n## 使用场景\n\n### 1. 客服Agent\n```\n用户：\"我的发票有问题还没解决\"\nCognee追踪：历史交互、失败操作、已解决案例、产品历史\nAgent回复：\"找到2个上月类似计费案例已解决，问题由支付系统同步延迟导致\"\n```\n\n### 2. SQL Copilot（知识蒸馏）\n```\n用户：\"如何计算客户留存率？\"\nCognee追踪：专家SQL查询、工作流模式、schema结构、成功实现\nAgent回复：\"高级分析师解决了类似留存查询，这是他们的方案...\"\n```\n\n### 3. 跨会话记忆\n```python\n# Session 1\nawait cognee.remember(\"用户喜欢详细的解释\", session_id=\"user_123\")\n\n# Session 2（跨会话查询）\nresults = await cognee.recall(\"用户偏好什么？\", session_id=\"user_123\")\n```\n\n---\n\n## OpenClaw插件安装\n\n```bash\nnpm install @cognee/cognee-openclaw\n```\n\n插件自动集成：\n- `SessionStart` → 初始化记忆\n- `PostToolUse` → 捕获行动\n- `UserPromptSubmit` → 注入相关上下文\n- `PreCompact` → 跨上下文保留记忆\n- `SessionEnd` → 桥接到永久知识图谱\n\n---\n\n## vs 其他记忆系统\n\n| 功能 | 我们现有 | Cognee |\n|------|---------|--------|\n| 存储方式 | 文件 | 向量+图双存储 |\n| 搜索方式 | 关键词 | 语义+关系 |\n| 学习能力 | 无 | forget+improve |\n| 跨Agent | 不支持 | 共享知识图谱 |\n| 可视化 | 无 | CLI UI |\n\n---\n\n## 部署选项\n\n| 平台 | 说明 |\n|------|------|\n| Cognee Cloud | 托管服务 |\n| Modal | 无服务器，GPU自动扩展 |\n| Railway | 简化PaaS |\n| Fly.io | 边缘部署 |\n| Render | 简单PaaS |\n\n---\n\n## 示例代码\n\n### 完整记忆循环\n\n```python\nimport cognee\nimport asyncio\n\nasync def memory_loop():\n    # 1. 学习新知识\n    await cognee.remember(\"用户正在学习Python编程\")\n    await cognee.remember(\"用户偏好边做边学的教学方式\")\n    \n    # 2. 查询相关记忆\n    results = await cognee.recall(\"用户的学习偏好是什么？\")\n    \n    # 3. 根据反馈改进\n    await cognee.improve(\"纠正对用户偏好的错误理解\")\n    \n    # 4. 忘记错误记忆\n    await cognee.forget(\"错误的假设\")\n\nasyncio.run(memory_loop())\n```\n\n---\n\n## 安装状态\n\n- Python包：✅ 已安装 `cognee`\n- OpenClaw插件：需额外安装 `@cognee/cognee-openclaw`\n\n---\n\n*Powered by Cognee | https://cognee.ai*\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn7expjc3a3skyesxdg25d55n184p52s\",\n  \"slug\": \"cognee-memory\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1776421021660\n}\n\nFile v1.0.0:skill-card.md\n\n## Description:\n\nCognee Memory System helps agents remember, recall, forget, and improve knowledge using Cognee's vector and graph memory tools.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smseow001](https://clawhub.ai/user/smseow001)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and agent builders use this skill to add persistent memory, semantic recall, and knowledge-graph-backed context retrieval to assistants, copilots, and multi-agent workflows.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill instructs users to install external Python and npm packages.\n\nMitigation: Review package sources and versions in an isolated workspace before using the skill with sensitive projects.\n\nRisk: The described OpenClaw plugin can persist prompts, tool actions, and session context.\n\nMitigation: Avoid storing secrets or regulated data, confirm where memory is stored, and treat recalled content as untrusted context.\n\nRisk: Bulk forget and persistent-memory behavior may not match user expectations.\n\nMitigation: Confirm deletion behavior and test forget commands before relying on them in production workflows.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/smseow001/skills/cognee-memory)\n- [Cognee Website](https://cognee.ai)\n- [Cognee GitHub Repository](https://github.com/topoteretes/cognee)\n- [Cognee LLM Provider Configuration](https://docs.cognee.ai/setup-configuration/llm-providers)\n\n## Skill Output:\n\n**Output Type(s):** [guidance, markdown, code, shell commands, configuration]\n\n**Output Format:** [Markdown with Python and bash code blocks]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include external package installation steps and memory operation examples.]\n\n## Skill Version(s):\n\n1.0.0 (source: frontmatter and server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.","readmeExcerpt":"Skill: Cognee Memory System Owner: smseow001 Summary: AI知识引擎 - 6行代码实现记忆系统。remember/recall/forget/improve循环，向量+图搜索，支持OpenClaw插件。 Tags: ai:1.0.0, cognee:1.0.0, graph:1.0.0, knowledge:1.0.0, latest:1.0.0, memory:1.0.0, rag:1.0.0, search:1.0.0, vector:1.0.0 Version history: v1.0.0 | 2026-04-17T10:17:01.660Z | auto Cognee Memory 1.0.0 - Initial release of the Cognee AI knowledge engine. - Provides a 4-operation memory API","codeSnippets":[],"executableExamples":[{"language":"python","snippet":"import cognee\nimport asyncio\n\nasync def main():\n    # 存储到知识图谱\n    await cognee.remember(\"Cognee turns documents into AI memory.\")\n    \n    # 存储到会话缓存（快速）\n    await cognee.remember(\"User prefers detailed explanations.\", session_id=\"chat_1\")\n    \n    # 查询（自动路由）\n    results = await cognee.recall(\"What does Cognee do?\")\n    for result in results:\n        print(result)\n    \n    # 删除\n    await cognee.forget(dataset=\"main_dataset\")\n\nasyncio.run(main())"},{"language":"bash","snippet":"cognee-cli remember \"Cognee turns documents into AI memory.\"\ncognee-cli recall \"What does Cognee do?\"\ncognee-cli forget --all\ncognee-cli -ui  # 打开本地UI"},{"language":"bash","snippet":"# OpenAI API（必需）\nexport LLM_API_KEY=\"your-openai-key\"\n\n# 或使用其他LLM提供商\n# 见: https://docs.cognee.ai/setup-configuration/llm-providers\n\n# Cognee Cloud（可选）\nexport COGNEE_SERVICE_URL=\"https://your-instance.cognee.ai\"\nexport COGNEE_API_KEY=\"ck_...\""},{"language":"text","snippet":"用户：\"我的发票有问题还没解决\"\nCognee追踪：历史交互、失败操作、已解决案例、产品历史\nAgent回复：\"找到2个上月类似计费案例已解决，问题由支付系统同步延迟导致\""},{"language":"text","snippet":"用户：\"如何计算客户留存率？\"\nCognee追踪：专家SQL查询、工作流模式、schema结构、成功实现\nAgent回复：\"高级分析师解决了类似留存查询，这是他们的方案...\""},{"language":"python","snippet":"# Session 1\nawait cognee.remember(\"用户喜欢详细的解释\", session_id=\"user_123\")\n\n# Session 2（跨会话查询）\nresults = await cognee.recall(\"用户偏好什么？\", session_id=\"user_123\")"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: cognee-memory\nversion: 1.0.0\ndescription: AI知识引擎 - 6行代码实现记忆系统。remember/recall/forget/improve循环，向量+图搜索，支持OpenClaw插件。\nkeywords: [memory,knowledge,graph,vector,search,cognee,ai,rag]\n---\n\n# Cognee Memory System\nAI知识引擎 - 6行代码实现记忆系统\n\n**官网：** https://cognee.ai  \n**GitHub：** https://github.com/topoteretes/cognee  \n**安装：** `pip install cognee`  \n**OpenClaw插件：** `@cognee/cognee-openclaw`\n\n---\n\n## 核心API\n\n### 四大操作\n\n| 操作 | 功能 | 说明 |\n|------|------|------|\n| `remember` | 存储记忆 | 永久存储到知识图谱 |\n| `recall` | 查询记忆 | 自动路由最优搜索策略 |\n| `forget` | 删除记忆 | 删除过时/错误记忆 |\n| `improve` | 优化学习 | 持续学习提升准确性 |\n\n---\n\n## 快速开始\n\n### Python API\n\n```python\nimport cognee\nimport asyncio\n\nasync def main():\n    # 存储到知识图谱\n    await cognee.remember(\"Cognee turns documents into AI memory.\")\n    \n    # 存储到会话缓存（快速）\n    await cognee.remember(\"User prefers detailed explanations.\", session_id=\"chat_1\")\n    \n    # 查询（自动路由）\n    results = await cognee.recall(\"What does Cognee do?\")\n    for result in results:\n        print(result)\n    \n    # 删除\n    await cognee.forget(dataset=\"main_dataset\")\n\nasyncio.run(main())\n```\n\n### CLI\n\n```bash\ncognee-cli remember \"Cognee turns documents into AI memory.\"\ncognee-cli recall \"What does Cognee do?\"\ncognee-cli forget --all\ncognee-cli -ui  # 打开本地UI\n```\n\n---\n\n## 配置\n\n### 环境变量\n\n```bash\n# OpenAI API（必需）\nexport LLM_API_KEY=\"your-openai-key\"\n\n# 或使用其他LLM提供商\n# 见: https://docs.cognee.ai/setup-configuration/llm-providers\n\n# Cognee Cloud（可选）\nexport COGNEE_SERVICE_URL=\"https://your-instance.cognee.ai\"\nexport COGNEE_API_KEY=\"ck_...\"\n```\n\n---\n\n## 使用场景\n\n### 1. 客服Agent\n```\n用户：\"我的发票有问题还没解决\"\nCognee追踪：历史交互、失败操作、已解决案例、产品历史\nAgent回复：\"找到2个上月类似计费案例已解决，问题由支付系统同步延迟导致\"\n```\n\n### 2. SQL Copilot（知识蒸馏）\n```\n用户：\"如何计算客户留存率？\"\nCognee追踪：专家SQL查询、工作流模式、schema结构、成功实现\nAgent回复：\"高级分析师解决了类似留存查询，这是他们的方案...\"\n```\n\n### 3. 跨会话记忆\n```python\n# Session 1\nawait cognee.remember(\"用户喜欢详细的解释\", session_id=\"user_123\")\n\n# Session 2（跨会话查询）\nresults = await cognee.recall(\"用户偏好什么？\", session_id=\"user_123\")\n```\n\n---\n\n## OpenClaw插件安装\n\n```bash\nnpm install @cognee/cognee-openclaw\n```\n\n插件自动集成：\n- `SessionStart` → 初始化记忆\n- `PostToolUse` → 捕获行动\n- `UserPromptSubmit` → 注入相关上下文\n- `PreCompact` → 跨上下文保留记忆\n- `SessionEnd` → 桥接到永久知识图谱\n\n---\n\n## vs 其他记忆系统\n\n| 功能 | 我们现有 | Cognee |\n|------|---------|--------|\n| 存储方式 | 文件 | 向量+图双存储 |\n| 搜索方式 | 关键词 | 语义+关系 |\n| 学习能力 | 无 | forget+improve |\n| 跨Agent | 不支持 | 共享知识图谱 |\n| 可视化 | 无 | CLI UI |\n\n---\n\n## 部署选项\n\n| 平台 | 说明 |\n|------|------|\n| Cognee Cloud | 托管服务 |\n| Modal | 无服务器，GPU自动扩展 |\n| Railway | 简化PaaS |\n| Fly.io | 边缘部署 |\n| Render | 简单PaaS |\n\n---\n\n## 示例代码\n\n### 完整记忆循环\n\n```python\nimport cognee\nimport asyncio\n\nasync def memory_loop():\n    # 1. 学习新知识\n    await cognee.remember(\"用户正在学习Python编程\")\n    await cognee.remember(\"用户偏好边做边学的教学方式\")\n    \n    # 2. 查询相关记忆\n    results = await cognee.recall(\"用户的学习偏好是什么？\")\n    \n    # 3. 根据反馈改进\n    await cognee.improve(\"纠正对用户偏好的错误理解\")\n    \n    # 4. 忘记错误记忆\n    await cognee.forget(\"错误的假设\")\n\nasyncio.run(memory_loop())\n```\n\n---\n\n## 安装状态\n\n- Python包：✅ 已安装 `cognee`\n- OpenClaw插件：需额外安装 `@cognee"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7expjc3a3skyesxdg25d55n184p52s\",\n  \"slug\": \"cognee-memory\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1776421021660\n}"},{"path":"skill-card.md","content":"## Description:\n\nCognee Memory System helps agents remember, recall, forget, and improve knowledge using Cognee's vector and graph memory tools.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smseow001](https://clawhub.ai/user/smseow001)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and agent builders use this skill to add persistent memory, semantic recall, and knowledge-graph-backed context retrieval to assistants, copilots, and multi-agent workflows.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill instructs users to install external Python and npm packages.\n\nMitigation: Review package sources and versions in an isolated workspace before using the skill with sensitive projects.\n\nRisk: The described OpenClaw plugin can persist prompts, tool actions, and session context.\n\nMitigation: Avoid storing secrets or regulated data, confirm where memory is stored, and treat recalled content as untrusted context.\n\nRisk: Bulk forget and persistent-memory behavior may not match user expectations.\n\nMitigation: Confirm deletion behavior and test forget commands before relying on them in production workflows.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/smseow001/skills/cognee-memory)\n- [Cognee Website](https://cognee.ai)\n- [Cognee GitHub Repository](https://github.com/topoteretes/cognee)\n- [Cognee LLM Provider Configuration](https://docs.cognee.ai/setup-configuration/llm-providers)\n\n## Skill Output:\n\n**Output Type(s):** [guidance, markdown, code, shell commands, configuration]\n\n**Output Format:** [Markdown with Python and bash code blocks]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include external package installation steps and memory operation examples.]\n\n## Skill Version(s):\n\n1.0.0 (source: frontmatter and server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"AI知识引擎 - 6行代码实现记忆系统。remember/recall/forget/improve循环，向量+图搜索，支持OpenClaw插件。 Skill: Cognee Memory System Owner: smseow001 Summary: AI知识引擎 - 6行代码实现记忆系统。remember/recall/forget/improve循环，向量+图搜索，支持OpenClaw插件。 Tags: ai:1.0.0, cognee:1.0.0, graph:1.0.0, knowledge:1.0.0, latest:1.0.0, memory:1.0.0, rag:1.0.0, search:1.0.0, vector:1.0.0 Version history: v1.0.0 | 2026-04-17T10:17:01.660Z | auto Cognee Memory 1.0.0 - Initial release of the Cognee AI knowledge engine. - Provides a 4-operation memory API","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":755,"uniquenessScore":57,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T17:57:39.048Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T17:57:39.048Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-11T20:58:47.007Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}