{
  "schemaVersion": "1.0",
  "item": {
    "slug": "memorylayer",
    "name": "MemoryLayer",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/khli01/memorylayer",
    "canonicalUrl": "https://clawhub.ai/khli01/memorylayer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/memorylayer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=memorylayer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      ".gitignore",
      "index.js",
      "package-lock.json",
      "package.json",
      "README.md",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/memorylayer"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/memorylayer",
    "agentPageUrl": "https://openagent3.xyz/skills/memorylayer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/memorylayer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/memorylayer/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "MemoryLayer",
        "body": "Semantic memory infrastructure for AI agents that actually scales."
      },
      {
        "title": "Features",
        "body": "95% Token Savings - Retrieve only relevant memories\nSemantic Search - Find memories by meaning, not keywords\nSub-200ms - Lightning-fast memory retrieval\nMulti-tenant - Isolated memory per agent instance"
      },
      {
        "title": "1. Sign up for FREE account",
        "body": "Visit https://memorylayer.clawbot.hk and sign up with Google. You'll get:\n\n10,000 operations/month\n1GB storage\nCommunity support"
      },
      {
        "title": "2. Configure credentials",
        "body": "# Option 1: Email/Password\nexport MEMORYLAYER_EMAIL=your@email.com\nexport MEMORYLAYER_PASSWORD=your_password\n\n# Option 2: API Key (recommended for production)\nexport MEMORYLAYER_API_KEY=ml_your_api_key_here"
      },
      {
        "title": "3. Install Python SDK (if not using skill wrapper)",
        "body": "pip install memorylayer"
      },
      {
        "title": "Basic Example",
        "body": "// In your Clawdbot agent\nconst memory = require('memorylayer');\n\n// Store a memory\nawait memory.remember(\n  'User prefers dark mode UI',\n  { type: 'semantic', importance: 0.8 }\n);\n\n// Search memories\nconst results = await memory.search('UI preferences');\nconsole.log(results[0].content); // \"User prefers dark mode UI\""
      },
      {
        "title": "Python Example",
        "body": "from plugins.memorylayer import memory\n\n# Store\nmemory.remember(\n    \"Boss prefers direct reporting with zero bullshit\",\n    memory_type=\"semantic\",\n    importance=0.9\n)\n\n# Search\nresults = memory.recall(\"What are Boss's preferences?\")\nfor r in results:\n    print(f\"{r.relevance_score:.2f}: {r.memory.content}\")"
      },
      {
        "title": "Token Savings",
        "body": "Before MemoryLayer:\n\n# Inject entire memory files\ncontext = open('MEMORY.md').read()  # 10,500 tokens\nprompt = f\"{context}\\n\\nUser: What are my preferences?\"\n\nAfter MemoryLayer:\n\n# Inject only relevant memories\ncontext = memory.get_context(\"user preferences\", limit=5)  # ~500 tokens\nprompt = f\"{context}\\n\\nUser: What are my preferences?\"\n\nResult: 95% token reduction, $900/month savings at scale"
      },
      {
        "title": "memory.remember(content, options)",
        "body": "Store a new memory.\n\nParameters:\n\ncontent (string): Memory content\noptions.type (string): 'episodic' | 'semantic' | 'procedural'\noptions.importance (number): 0.0 to 1.0\noptions.metadata (object): Additional tags/data\n\nReturns: Memory object with id"
      },
      {
        "title": "memory.search(query, limit)",
        "body": "Search memories semantically.\n\nParameters:\n\nquery (string): Search query (natural language)\nlimit (number): Max results (default: 10)\n\nReturns: Array of SearchResult objects"
      },
      {
        "title": "memory.get_context(query, limit)",
        "body": "Get formatted context for prompt injection.\n\nParameters:\n\nquery (string): What context do you need?\nlimit (number): Max memories (default: 5)\n\nReturns: Formatted string ready for prompt"
      },
      {
        "title": "memory.stats()",
        "body": "Get usage statistics.\n\nReturns: Object with total_memories, memory_types, operations_this_month"
      },
      {
        "title": "Memory Types",
        "body": "Episodic - Events and experiences\n\nmemory.remember('Deployed MemoryLayer on 2026-02-03', { type: 'episodic' });\n\nSemantic - Facts and knowledge\n\nmemory.remember('Boss prefers concise reports', { type: 'semantic' });\n\nProcedural - How-to and processes\n\nmemory.remember('To restart server: ssh root@... && systemctl restart...', { type: 'procedural' });"
      },
      {
        "title": "Metadata Tagging",
        "body": "memory.remember('User likes blue', {\n  type: 'semantic',\n  metadata: {\n    category: 'preferences',\n    subcategory: 'colors',\n    source: 'user_profile'\n  }\n});"
      },
      {
        "title": "Usage Tracking",
        "body": "const stats = await memory.stats();\nconsole.log(`Total memories: ${stats.total_memories}`);\nconsole.log(`Operations this month: ${stats.operations_this_month}`);\nconsole.log(`Plan: ${stats.plan} (${stats.operations_limit}/month)`);"
      },
      {
        "title": "Pricing",
        "body": "FREE Plan (Current)\n\n10,000 operations/month\n1GB storage\nCommunity support\n\nPro Plan ($99/mo)\n\n1M operations/month\n10GB storage\nEmail support\n99.9% SLA\n\nEnterprise (Custom)\n\nUnlimited operations\nUnlimited storage\nDedicated support\nSelf-hosted option\nCustom SLA"
      },
      {
        "title": "Support",
        "body": "Documentation: https://memorylayer.clawbot.hk/docs\nAPI Reference: https://memorylayer.clawbot.hk/api\nCommunity: Discord (link in docs)\nIssues: GitHub (link in docs)"
      },
      {
        "title": "Links",
        "body": "Homepage: https://memorylayer.clawbot.hk\nDashboard: https://dashboard.memorylayer.clawbot.hk\nAPI Docs: https://memorylayer.clawbot.hk/docs\nPython SDK: https://pypi.org/project/memorylayer (when published)"
      }
    ],
    "body": "MemoryLayer\n\nSemantic memory infrastructure for AI agents that actually scales.\n\nFeatures\n95% Token Savings - Retrieve only relevant memories\nSemantic Search - Find memories by meaning, not keywords\nSub-200ms - Lightning-fast memory retrieval\nMulti-tenant - Isolated memory per agent instance\nSetup\n1. Sign up for FREE account\n\nVisit https://memorylayer.clawbot.hk and sign up with Google. You'll get:\n\n10,000 operations/month\n1GB storage\nCommunity support\n2. Configure credentials\n# Option 1: Email/Password\nexport MEMORYLAYER_EMAIL=your@email.com\nexport MEMORYLAYER_PASSWORD=your_password\n\n# Option 2: API Key (recommended for production)\nexport MEMORYLAYER_API_KEY=ml_your_api_key_here\n\n3. Install Python SDK (if not using skill wrapper)\npip install memorylayer\n\nUsage\nBasic Example\n// In your Clawdbot agent\nconst memory = require('memorylayer');\n\n// Store a memory\nawait memory.remember(\n  'User prefers dark mode UI',\n  { type: 'semantic', importance: 0.8 }\n);\n\n// Search memories\nconst results = await memory.search('UI preferences');\nconsole.log(results[0].content); // \"User prefers dark mode UI\"\n\nPython Example\nfrom plugins.memorylayer import memory\n\n# Store\nmemory.remember(\n    \"Boss prefers direct reporting with zero bullshit\",\n    memory_type=\"semantic\",\n    importance=0.9\n)\n\n# Search\nresults = memory.recall(\"What are Boss's preferences?\")\nfor r in results:\n    print(f\"{r.relevance_score:.2f}: {r.memory.content}\")\n\nToken Savings\n\nBefore MemoryLayer:\n\n# Inject entire memory files\ncontext = open('MEMORY.md').read()  # 10,500 tokens\nprompt = f\"{context}\\n\\nUser: What are my preferences?\"\n\n\nAfter MemoryLayer:\n\n# Inject only relevant memories\ncontext = memory.get_context(\"user preferences\", limit=5)  # ~500 tokens\nprompt = f\"{context}\\n\\nUser: What are my preferences?\"\n\n\nResult: 95% token reduction, $900/month savings at scale\n\nAPI Reference\nmemory.remember(content, options)\n\nStore a new memory.\n\nParameters:\n\ncontent (string): Memory content\noptions.type (string): 'episodic' | 'semantic' | 'procedural'\noptions.importance (number): 0.0 to 1.0\noptions.metadata (object): Additional tags/data\n\nReturns: Memory object with id\n\nmemory.search(query, limit)\n\nSearch memories semantically.\n\nParameters:\n\nquery (string): Search query (natural language)\nlimit (number): Max results (default: 10)\n\nReturns: Array of SearchResult objects\n\nmemory.get_context(query, limit)\n\nGet formatted context for prompt injection.\n\nParameters:\n\nquery (string): What context do you need?\nlimit (number): Max memories (default: 5)\n\nReturns: Formatted string ready for prompt\n\nmemory.stats()\n\nGet usage statistics.\n\nReturns: Object with total_memories, memory_types, operations_this_month\n\nAdvanced\nMemory Types\n\nEpisodic - Events and experiences\n\nmemory.remember('Deployed MemoryLayer on 2026-02-03', { type: 'episodic' });\n\n\nSemantic - Facts and knowledge\n\nmemory.remember('Boss prefers concise reports', { type: 'semantic' });\n\n\nProcedural - How-to and processes\n\nmemory.remember('To restart server: ssh root@... && systemctl restart...', { type: 'procedural' });\n\nMetadata Tagging\nmemory.remember('User likes blue', {\n  type: 'semantic',\n  metadata: {\n    category: 'preferences',\n    subcategory: 'colors',\n    source: 'user_profile'\n  }\n});\n\nUsage Tracking\nconst stats = await memory.stats();\nconsole.log(`Total memories: ${stats.total_memories}`);\nconsole.log(`Operations this month: ${stats.operations_this_month}`);\nconsole.log(`Plan: ${stats.plan} (${stats.operations_limit}/month)`);\n\nPricing\n\nFREE Plan (Current)\n\n10,000 operations/month\n1GB storage\nCommunity support\n\nPro Plan ($99/mo)\n\n1M operations/month\n10GB storage\nEmail support\n99.9% SLA\n\nEnterprise (Custom)\n\nUnlimited operations\nUnlimited storage\nDedicated support\nSelf-hosted option\nCustom SLA\nSupport\nDocumentation: https://memorylayer.clawbot.hk/docs\nAPI Reference: https://memorylayer.clawbot.hk/api\nCommunity: Discord (link in docs)\nIssues: GitHub (link in docs)\nLinks\nHomepage: https://memorylayer.clawbot.hk\nDashboard: https://dashboard.memorylayer.clawbot.hk\nAPI Docs: https://memorylayer.clawbot.hk/docs\nPython SDK: https://pypi.org/project/memorylayer (when published)"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/khli01/memorylayer",
    "publisherUrl": "https://clawhub.ai/khli01/memorylayer",
    "owner": "khli01",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/memorylayer",
    "downloadUrl": "https://openagent3.xyz/downloads/memorylayer",
    "agentUrl": "https://openagent3.xyz/skills/memorylayer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/memorylayer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/memorylayer/agent.md"
  }
}