{
  "schemaVersion": "1.0",
  "item": {
    "slug": "hierarchical-memory",
    "name": "Hierarchical Memory",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/balkanblbn/hierarchical-memory",
    "canonicalUrl": "https://clawhub.ai/balkanblbn/hierarchical-memory",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/hierarchical-memory",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hierarchical-memory",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/add_branch.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",
      "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/hierarchical-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/hierarchical-memory",
    "agentPageUrl": "https://openagent3.xyz/skills/hierarchical-memory/agent",
    "manifestUrl": "https://openagent3.xyz/skills/hierarchical-memory/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/hierarchical-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": "Hierarchical Memory (Neural Branching)",
        "body": "This skill provides a structured method for managing long-term memory in a multi-layered, branched format to prevent context bloat and ensure high-fidelity recall."
      },
      {
        "title": "🛡️ Security & Transparency",
        "body": "This skill includes a Python script scripts/add_branch.py. This script is used solely to:\n\nCreate directories in your memory/ folder.\nCreate boilerplate markdown files for new memory branches.\nAppend links to these new files in your existing memory maps.\nIt does not perform any network activity, access sensitive system files, or execute external code."
      },
      {
        "title": "Memory Architecture",
        "body": "The memory system is organized into three primary layers:\n\nLayer 1: Root Memory (MEMORY.md)\n\nThe central nervous system.\nContains high-level context about the partnership, core missions, and global goals.\nActs as a map to all other memory layers.\n\n\n\nLayer 2: Domain Memories (memory/domains/*.md)\n\nSpecialized knowledge silos.\nExamples: coding.md, trading.md, social.md, research.md.\nContains domain-specific philosophies, tech stacks, and project indices.\n\n\n\nLayer 3: Project Memories (memory/projects/*.md)\n\nDeep-dive details for specific initiatives.\nExamples: hesapgaraj.md, clawguard.md, baa.md.\nContains project status, to-dos, technical specs, and history."
      },
      {
        "title": "1. Recalling Information",
        "body": "Always start by searching MEMORY.md.\nFollow the \"Map\" links to the relevant Domain or Project file.\nUse read to load only the specific branch needed for the current task."
      },
      {
        "title": "2. Adding New Information",
        "body": "New Fact about the Partnership: Update MEMORY.md.\nNew Domain: Create a new file in memory/domains/ and link it from MEMORY.md.\nNew Project: Create a new file in memory/projects/ and link it from its primary Domain file."
      },
      {
        "title": "3. Cross-Referencing",
        "body": "If a project belongs to multiple domains (e.g., a trading bot that requires coding), link the Project file from both Domain files."
      },
      {
        "title": "Automation Tools",
        "body": "Use the provided scripts to maintain the hierarchy:\n\nscripts/add_branch.py: Automatically create a new domain or project file with the correct template and linking."
      },
      {
        "title": "Best Practices",
        "body": "Atomic Writes: Keep project files focused only on that project.\nBacklinks: Every branch should have a \"Back to Root\" or \"Back to Domain\" link.\nPruning: During heartbeats, review branches and remove obsolete information.\nWhy This Matters: Every branch and major entry must include a \"Significance\" line (Why is this important?) to prevent \"Zombie Memory\" (useless data accumulation).\nRecent Delta: Maintain a recent_delta.md in each domain/project folder containing changes from the last 3-7 days for rapid context synchronization."
      }
    ],
    "body": "Hierarchical Memory (Neural Branching)\n\nThis skill provides a structured method for managing long-term memory in a multi-layered, branched format to prevent context bloat and ensure high-fidelity recall.\n\n🛡️ Security & Transparency\n\nThis skill includes a Python script scripts/add_branch.py. This script is used solely to:\n\nCreate directories in your memory/ folder.\nCreate boilerplate markdown files for new memory branches.\nAppend links to these new files in your existing memory maps. It does not perform any network activity, access sensitive system files, or execute external code.\nMemory Architecture\n\nThe memory system is organized into three primary layers:\n\nLayer 1: Root Memory (MEMORY.md)\n\nThe central nervous system.\nContains high-level context about the partnership, core missions, and global goals.\nActs as a map to all other memory layers.\n\nLayer 2: Domain Memories (memory/domains/*.md)\n\nSpecialized knowledge silos.\nExamples: coding.md, trading.md, social.md, research.md.\nContains domain-specific philosophies, tech stacks, and project indices.\n\nLayer 3: Project Memories (memory/projects/*.md)\n\nDeep-dive details for specific initiatives.\nExamples: hesapgaraj.md, clawguard.md, baa.md.\nContains project status, to-dos, technical specs, and history.\nHow to Use This Skill\n1. Recalling Information\nAlways start by searching MEMORY.md.\nFollow the \"Map\" links to the relevant Domain or Project file.\nUse read to load only the specific branch needed for the current task.\n2. Adding New Information\nNew Fact about the Partnership: Update MEMORY.md.\nNew Domain: Create a new file in memory/domains/ and link it from MEMORY.md.\nNew Project: Create a new file in memory/projects/ and link it from its primary Domain file.\n3. Cross-Referencing\nIf a project belongs to multiple domains (e.g., a trading bot that requires coding), link the Project file from both Domain files.\nAutomation Tools\n\nUse the provided scripts to maintain the hierarchy:\n\nscripts/add_branch.py: Automatically create a new domain or project file with the correct template and linking.\nBest Practices\nAtomic Writes: Keep project files focused only on that project.\nBacklinks: Every branch should have a \"Back to Root\" or \"Back to Domain\" link.\nPruning: During heartbeats, review branches and remove obsolete information.\nWhy This Matters: Every branch and major entry must include a \"Significance\" line (Why is this important?) to prevent \"Zombie Memory\" (useless data accumulation).\nRecent Delta: Maintain a recent_delta.md in each domain/project folder containing changes from the last 3-7 days for rapid context synchronization."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/balkanblbn/hierarchical-memory",
    "publisherUrl": "https://clawhub.ai/balkanblbn/hierarchical-memory",
    "owner": "balkanblbn",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/hierarchical-memory",
    "downloadUrl": "https://openagent3.xyz/downloads/hierarchical-memory",
    "agentUrl": "https://openagent3.xyz/skills/hierarchical-memory/agent",
    "manifestUrl": "https://openagent3.xyz/skills/hierarchical-memory/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/hierarchical-memory/agent.md"
  }
}