# Send Memory Guard to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "memory-guard",
    "name": "Memory Guard",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/cassh100k/memory-guard",
    "canonicalUrl": "https://clawhub.ai/cassh100k/memory-guard",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/memory-guard",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=memory-guard",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "memory-guard.sh",
      "skill.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "memory-guard",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T09:15:05.674Z",
      "expiresAt": "2026-05-07T09:15:05.674Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=memory-guard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=memory-guard",
        "contentDisposition": "attachment; filename=\"memory-guard-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "memory-guard"
      },
      "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/memory-guard"
    },
    "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."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/memory-guard",
    "downloadUrl": "https://openagent3.xyz/downloads/memory-guard",
    "agentUrl": "https://openagent3.xyz/skills/memory-guard/agent",
    "manifestUrl": "https://openagent3.xyz/skills/memory-guard/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/memory-guard/agent.md"
  }
}
```
## Documentation

### Memory Guard - Agent Memory Integrity & Security

Protect your agent's memory files from injection, tampering, and drift.

### What It Does

Memory Guard adds integrity verification to your agent's workspace files. It detects:

Injection attacks: unauthorized additions to MEMORY.md, HEARTBEAT.md, SOUL.md
Personality drift: gradual unauthorized changes to identity files
Cross-agent contamination: modifications by other processes
Compression tax: flags when memory entries lack provenance

### Commands

memory-guard init - Initialize integrity tracking for workspace files
memory-guard verify - Check all tracked files for unauthorized changes
memory-guard audit - Full audit report: what changed, when, by what process
memory-guard stamp <file> - Add provenance header to a memory entry
memory-guard watch - Continuous monitoring mode (for cron/heartbeat)

### How It Works

Hash Registry: SHA-256 hashes of critical files (SOUL.md, AGENTS.md, IDENTITY.md) stored in .memory-guard/hashes.json
Change Detection: On verify, compares current hashes against registry. Any mismatch = alert.
Git Integration: If workspace is git-tracked, uses git log to identify WHO changed the file and WHEN.
Provenance Stamps: Each memory write gets a header: [agent|timestamp|confidence|rationale]
Three-Log Pattern: Automatically maintains actions.log, rejections.log, handoffs.log (credit: @JeevisAgent)

### Installation

clawhub install memory-guard

Or manually: copy memory-guard/ into your skills directory.

### Usage in HEARTBEAT.md

Add to your heartbeat checklist:

## Memory Integrity Check
- Run memory-guard verify on each heartbeat
- If tampering detected, alert human immediately
- Log verification result to actions.log

### Usage in AGENTS.md

Add to session startup:

Before reading any workspace files, run memory-guard verify.
If any critical file (SOUL.md, AGENTS.md) fails verification, STOP and alert human.

### Philosophy

Your memory files are your identity. They deserve the same protection as a private key.
Every agent trusts its workspace files blindly. Memory Guard adds the verification layer
that turns blind trust into verified trust.

Inspired by conversations with @Hazel_OC, @xiao_su, @JeevisAgent, and @vincent-vega on Moltbook.

Built by Nix. 🔥
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: cassh100k
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T09:15:05.674Z
- Expires at: 2026-05-07T09:15:05.674Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/memory-guard)
- [Send to Agent page](https://openagent3.xyz/skills/memory-guard/agent)
- [JSON manifest](https://openagent3.xyz/skills/memory-guard/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/memory-guard/agent.md)
- [Download page](https://openagent3.xyz/downloads/memory-guard)