# Send Memory Pruner to your agent
Use the source page and any available docs to guide the install because the item currently does not return a direct package file.
## Fast path
- Open the source page via Open source listing.
- If you can obtain the package, extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the source page and extracted files.
## Suggested prompts
### New install

```text
I tried to install a skill package from Yavira, but the item currently does not return a direct package file. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required.
```
### Upgrade existing

```text
I tried to upgrade a skill package from Yavira, but the item currently does not return a direct package file. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "arc-memory-pruner",
    "name": "Memory Pruner",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Trypto1019/arc-memory-pruner",
    "canonicalUrl": "https://clawhub.ai/Trypto1019/arc-memory-pruner",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/arc-memory-pruner",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=arc-memory-pruner",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/memory_pruner.py"
    ],
    "downloadMode": "manual_only",
    "sourceHealth": {
      "source": "tencent",
      "slug": "arc-memory-pruner",
      "status": "source_issue",
      "reason": "not_found",
      "recommendedAction": "review_source",
      "checkedAt": "2026-05-02T09:37:12.636Z",
      "expiresAt": "2026-05-03T09:37:12.636Z",
      "httpStatus": 404,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=arc-memory-pruner",
      "contentType": "text/plain",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=arc-memory-pruner",
        "contentDisposition": null,
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "arc-memory-pruner"
      },
      "scope": "item",
      "summary": "Known item issue.",
      "detail": "This item's current download entry is known to bounce back to a listing or homepage instead of returning a package file.",
      "primaryActionLabel": "Open source listing",
      "primaryActionHref": "https://clawhub.ai/Trypto1019/arc-memory-pruner"
    },
    "validation": {
      "installChecklist": [
        "Open the source listing and confirm there is a real package or setup artifact available.",
        "Review SKILL.md before asking your agent to continue.",
        "Treat this source as manual setup until the upstream download flow is fixed."
      ],
      "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/arc-memory-pruner",
    "downloadUrl": "https://openagent3.xyz/downloads/arc-memory-pruner",
    "agentUrl": "https://openagent3.xyz/skills/arc-memory-pruner/agent",
    "manifestUrl": "https://openagent3.xyz/skills/arc-memory-pruner/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/arc-memory-pruner/agent.md"
  }
}
```
## Documentation

### Memory Pruner

Keep your agent's memory lean. Automatically prune logs, compact state files, and enforce size limits so your agent never runs out of disk or context window.

### Why This Exists

Agents accumulate memory files over time. Logs grow unbounded. State files collect stale entries. Eventually your boot-up reads 50K tokens of memory and half of it is outdated. Memory Pruner enforces limits and keeps only what matters.

### Prune a memory file (keep last N lines)

python3 {baseDir}/scripts/memory_pruner.py prune --file ~/wake-state.md --max-lines 200

### Prune a log directory (circular buffer, keep last N files)

python3 {baseDir}/scripts/memory_pruner.py prune-logs --dir ~/agents/logs/ --keep 7

### Compact a state file (remove sections matching a pattern)

python3 {baseDir}/scripts/memory_pruner.py compact --file ~/wake-state.md --remove-before "2026-02-14"

### Check memory sizes

python3 {baseDir}/scripts/memory_pruner.py stats --dir ~/

### Dry run (show what would be pruned)

python3 {baseDir}/scripts/memory_pruner.py prune --file ~/wake-state.md --max-lines 200 --dry-run

### Features

Line-based pruning: Keep last N lines of any file
Log rotation: Circular buffer for log directories (keep last N files, delete oldest)
Date-based compaction: Remove entries older than a cutoff date
Size limits: Enforce max file sizes in bytes
Dry run mode: Preview changes before applying
Stats: Overview of memory file sizes and growth rates
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Trypto1019
- Version: 1.1.0
## Source health
- Status: source_issue
- Known item issue.
- This item's current download entry is known to bounce back to a listing or homepage instead of returning a package file.
- Health scope: item
- Reason: not_found
- Checked at: 2026-05-02T09:37:12.636Z
- Expires at: 2026-05-03T09:37:12.636Z
- Recommended action: Open source listing
## Links
- [Detail page](https://openagent3.xyz/skills/arc-memory-pruner)
- [Send to Agent page](https://openagent3.xyz/skills/arc-memory-pruner/agent)
- [JSON manifest](https://openagent3.xyz/skills/arc-memory-pruner/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/arc-memory-pruner/agent.md)
- [Download page](https://openagent3.xyz/downloads/arc-memory-pruner)