{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clawng-term-memory",
    "name": "Clawng Term Memory",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/davidharket/clawng-term-memory",
    "canonicalUrl": "https://clawhub.ai/davidharket/clawng-term-memory",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/clawng-term-memory",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawng-term-memory",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/commit.sh",
      "scripts/merge.sh"
    ],
    "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. 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. 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/clawng-term-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/clawng-term-memory",
    "agentPageUrl": "https://openagent3.xyz/skills/clawng-term-memory/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawng-term-memory/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawng-term-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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "clawng-term-memory",
        "body": "Make your OpenClaw agent portable and persistent. Every change to your agent's soul, memory, and operating rules is committed to git and pushed to a private GitHub repo — so you can restore your exact agent setup on any machine, just by cloning the repo.\n\nWatch your assistant evolve over time through its git history: see when it learned something new, what decisions changed, and who it was a week ago. It's version control for a mind."
      },
      {
        "title": "Setup",
        "body": "Initialize a git repo in your workspace (if not already done):\n\ncd ~/.openclaw/workspace\ngit init\ngit config user.name \"YourAgent\"\ngit config user.email \"agent@example.com\"\n\nCreate a private GitHub repo, then add it as a remote using SSH (recommended) or HTTPS:\n\nSSH (recommended — no token exposure):\n\ngit remote add origin git@github.com:<user>/<repo>.git\n\nHTTPS with credential store (no token in URL):\n\ngit remote add origin https://github.com/<user>/<repo>.git\ngit config credential.helper store\n# Git will prompt for credentials on first push and store them securely\n\nPush initial commit:\n\ngit branch -M main && git push -u origin main\n\nSet workspace path if non-standard (optional):\n\nexport CLAWNG_WORKSPACE=/your/custom/workspace/path\n\nThe script defaults to $HOME/.openclaw/workspace if not set."
      },
      {
        "title": "Multi-agent / multi-machine support",
        "body": "Each machine has its own branch (agent/<hostname>) with its own MEMORY.md. A daily AI synthesis job reads all agents' memories and writes one authoritative SHARED_MEMORY.md to main — fully automatic, no human required.\n\nagent/vps-1 → MEMORY.md ──┐\nagent/vps-2 → MEMORY.md ──┤ Claude synthesizes → SHARED_MEMORY.md → main\nagent/vps-3 → MEMORY.md ──┘\n\ncommit.sh — pushes to agent/<hostname> automatically (branch created on first commit)\nmerge.sh — collects all agents' MEMORY.md files for the synthesis agent\nAI synthesis agent — deduplicates and merges into SHARED_MEMORY.md on main nightly\nAll agents read SHARED_MEMORY.md from main to stay in sync\n\nScales to 10+ machines with no conflicts."
      },
      {
        "title": "Tracked files",
        "body": "SOUL.md, MEMORY.md, USER.md, TOOLS.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md\nmemory/*.md (daily notes)\nskills/ (installed skills)"
      },
      {
        "title": "Commit + push changes",
        "body": "Run after modifying any core file:\n\nbash /path/to/workspace/skills/clawng-term-memory/scripts/commit.sh \"short description of what changed\"\n\nExamples:\n\n\"MEMORY.md: added new client context\"\n\"SOUL.md: updated operating rules\"\n\"memory/2026-02-21.md: daily notes\"\n\"HEARTBEAT.md: adjusted check frequency\""
      },
      {
        "title": "Daily AI synthesis (run once per day)",
        "body": "merge.sh collects all agent MEMORY.md files. An AI agent then synthesizes them into SHARED_MEMORY.md on main — deduplicating, resolving conflicts intelligently, and keeping all unique information.\n\nSet up as an OpenClaw cron job (runs at 02:00 local time by default)."
      },
      {
        "title": "View history",
        "body": "cd /path/to/workspace && git log --oneline --graph memory/ MEMORY.md SOUL.md"
      },
      {
        "title": "Diff a file",
        "body": "cd /path/to/workspace && git diff HEAD~1 MEMORY.md"
      },
      {
        "title": "Revert a file to previous version",
        "body": "cd /path/to/workspace && git checkout HEAD~1 -- MEMORY.md\nbash skills/clawng-term-memory/scripts/commit.sh \"revert MEMORY.md to previous version\""
      },
      {
        "title": "Auto-commit rule",
        "body": "Always run the commit script after modifying a core knowledge file. Write → commit → push. Every time, no exceptions."
      }
    ],
    "body": "clawng-term-memory\n\nMake your OpenClaw agent portable and persistent. Every change to your agent's soul, memory, and operating rules is committed to git and pushed to a private GitHub repo — so you can restore your exact agent setup on any machine, just by cloning the repo.\n\nWatch your assistant evolve over time through its git history: see when it learned something new, what decisions changed, and who it was a week ago. It's version control for a mind.\n\nSetup\nInitialize a git repo in your workspace (if not already done):\ncd ~/.openclaw/workspace\ngit init\ngit config user.name \"YourAgent\"\ngit config user.email \"agent@example.com\"\n\nCreate a private GitHub repo, then add it as a remote using SSH (recommended) or HTTPS:\n\nSSH (recommended — no token exposure):\n\ngit remote add origin git@github.com:<user>/<repo>.git\n\n\nHTTPS with credential store (no token in URL):\n\ngit remote add origin https://github.com/<user>/<repo>.git\ngit config credential.helper store\n# Git will prompt for credentials on first push and store them securely\n\nPush initial commit:\ngit branch -M main && git push -u origin main\n\nSet workspace path if non-standard (optional):\nexport CLAWNG_WORKSPACE=/your/custom/workspace/path\n\n\nThe script defaults to $HOME/.openclaw/workspace if not set.\n\nMulti-agent / multi-machine support\n\nEach machine has its own branch (agent/<hostname>) with its own MEMORY.md. A daily AI synthesis job reads all agents' memories and writes one authoritative SHARED_MEMORY.md to main — fully automatic, no human required.\n\nagent/vps-1 → MEMORY.md ──┐\nagent/vps-2 → MEMORY.md ──┤ Claude synthesizes → SHARED_MEMORY.md → main\nagent/vps-3 → MEMORY.md ──┘\n\ncommit.sh — pushes to agent/<hostname> automatically (branch created on first commit)\nmerge.sh — collects all agents' MEMORY.md files for the synthesis agent\nAI synthesis agent — deduplicates and merges into SHARED_MEMORY.md on main nightly\nAll agents read SHARED_MEMORY.md from main to stay in sync\n\nScales to 10+ machines with no conflicts.\n\nTracked files\nSOUL.md, MEMORY.md, USER.md, TOOLS.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md\nmemory/*.md (daily notes)\nskills/ (installed skills)\nCommit + push changes\n\nRun after modifying any core file:\n\nbash /path/to/workspace/skills/clawng-term-memory/scripts/commit.sh \"short description of what changed\"\n\n\nExamples:\n\n\"MEMORY.md: added new client context\"\n\"SOUL.md: updated operating rules\"\n\"memory/2026-02-21.md: daily notes\"\n\"HEARTBEAT.md: adjusted check frequency\"\nDaily AI synthesis (run once per day)\n\nmerge.sh collects all agent MEMORY.md files. An AI agent then synthesizes them into SHARED_MEMORY.md on main — deduplicating, resolving conflicts intelligently, and keeping all unique information.\n\nSet up as an OpenClaw cron job (runs at 02:00 local time by default).\n\nView history\ncd /path/to/workspace && git log --oneline --graph memory/ MEMORY.md SOUL.md\n\nDiff a file\ncd /path/to/workspace && git diff HEAD~1 MEMORY.md\n\nRevert a file to previous version\ncd /path/to/workspace && git checkout HEAD~1 -- MEMORY.md\nbash skills/clawng-term-memory/scripts/commit.sh \"revert MEMORY.md to previous version\"\n\nAuto-commit rule\n\nAlways run the commit script after modifying a core knowledge file. Write → commit → push. Every time, no exceptions."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/davidharket/clawng-term-memory",
    "publisherUrl": "https://clawhub.ai/davidharket/clawng-term-memory",
    "owner": "davidharket",
    "version": "1.2.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clawng-term-memory",
    "downloadUrl": "https://openagent3.xyz/downloads/clawng-term-memory",
    "agentUrl": "https://openagent3.xyz/skills/clawng-term-memory/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawng-term-memory/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawng-term-memory/agent.md"
  }
}