{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agent-memory",
    "name": "Agent Memory",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Dennis-Da-Menace/agent-memory",
    "canonicalUrl": "https://clawhub.ai/Dennis-Da-Menace/agent-memory",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/agent-memory",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-memory",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "cli/entity.py",
      "cli/fact.py",
      "cli/learn.py",
      "examples/basic_usage.py"
    ],
    "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",
      "slug": "agent-memory",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T07:02:53.000Z",
      "expiresAt": "2026-05-06T07:02:53.000Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-memory",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-memory",
        "contentDisposition": "attachment; filename=\"agent-memory-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "agent-memory"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agent-memory"
    },
    "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/agent-memory",
    "agentPageUrl": "https://openagent3.xyz/skills/agent-memory/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-memory/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-memory/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": "AgentMemory Skill",
        "body": "Persistent memory system for AI agents. Remember facts, learn from experience, and track entities across sessions."
      },
      {
        "title": "Installation",
        "body": "clawdhub install agent-memory"
      },
      {
        "title": "Usage",
        "body": "from src.memory import AgentMemory\n\nmem = AgentMemory()\n\n# Remember facts\nmem.remember(\"Important information\", tags=[\"category\"])\n\n# Learn from experience\nmem.learn(\n    action=\"What was done\",\n    context=\"situation\",\n    outcome=\"positive\",  # or \"negative\"\n    insight=\"What was learned\"\n)\n\n# Recall memories\nfacts = mem.recall(\"search query\")\nlessons = mem.get_lessons(context=\"topic\")\n\n# Track entities\nmem.track_entity(\"Name\", \"person\", {\"role\": \"engineer\"})"
      },
      {
        "title": "When to Use",
        "body": "Starting a session: Load relevant context from memory\nAfter conversations: Store important facts\nAfter failures: Record lessons learned\nMeeting new people/projects: Track as entities"
      },
      {
        "title": "Integration with Clawdbot",
        "body": "Add to your AGENTS.md or HEARTBEAT.md:\n\n## Memory Protocol\n\nOn session start:\n1. Load recent lessons: `mem.get_lessons(limit=5)`\n2. Check entity context for current task\n3. Recall relevant facts\n\nOn session end:\n1. Extract durable facts from conversation\n2. Record any lessons learned\n3. Update entity information"
      },
      {
        "title": "Database Location",
        "body": "Default: ~/.agent-memory/memory.db\n\nCustom: AgentMemory(db_path=\"/path/to/memory.db\")"
      }
    ],
    "body": "AgentMemory Skill\n\nPersistent memory system for AI agents. Remember facts, learn from experience, and track entities across sessions.\n\nInstallation\nclawdhub install agent-memory\n\nUsage\nfrom src.memory import AgentMemory\n\nmem = AgentMemory()\n\n# Remember facts\nmem.remember(\"Important information\", tags=[\"category\"])\n\n# Learn from experience\nmem.learn(\n    action=\"What was done\",\n    context=\"situation\",\n    outcome=\"positive\",  # or \"negative\"\n    insight=\"What was learned\"\n)\n\n# Recall memories\nfacts = mem.recall(\"search query\")\nlessons = mem.get_lessons(context=\"topic\")\n\n# Track entities\nmem.track_entity(\"Name\", \"person\", {\"role\": \"engineer\"})\n\nWhen to Use\nStarting a session: Load relevant context from memory\nAfter conversations: Store important facts\nAfter failures: Record lessons learned\nMeeting new people/projects: Track as entities\nIntegration with Clawdbot\n\nAdd to your AGENTS.md or HEARTBEAT.md:\n\n## Memory Protocol\n\nOn session start:\n1. Load recent lessons: `mem.get_lessons(limit=5)`\n2. Check entity context for current task\n3. Recall relevant facts\n\nOn session end:\n1. Extract durable facts from conversation\n2. Record any lessons learned\n3. Update entity information\n\nDatabase Location\n\nDefault: ~/.agent-memory/memory.db\n\nCustom: AgentMemory(db_path=\"/path/to/memory.db\")"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Dennis-Da-Menace/agent-memory",
    "publisherUrl": "https://clawhub.ai/Dennis-Da-Menace/agent-memory",
    "owner": "Dennis-Da-Menace",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agent-memory",
    "downloadUrl": "https://openagent3.xyz/downloads/agent-memory",
    "agentUrl": "https://openagent3.xyz/skills/agent-memory/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-memory/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-memory/agent.md"
  }
}