---
title: "memory-trim"
url: "https://claudemods.dev/zh-cn/builds/memory-trim-b6e3fc"
source: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/stubs/memory-trim"
source_type: "github"
repo: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/stubs/memory-trim"
author: "DJPalefaceSD"
author_handle: "DJPalefaceSD"
stars: 0
category: "记忆与上下文"
categories: ["memory"]
tags: ["claude-code", "hooks", "memory", "plugin", "stub"]
permission_level: 0
scan_complete: true
install: "claude plugin marketplace add DJPalefaceSD/rostech-mods\nclaude plugin install memory-trim"
added: "2026-10-05T01:57:30.868Z"
updated: "2026-11-14T01:19:37Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# memory-trim

让你的记忆索引保持在 Claude 会完整读取的长度以内。

## Description

memory-trim 会将你的记忆索引控制在 Claude 会完整读取的长度范围内。

## Install

```
claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install memory-trim
```

## Original README

# memory-trim

Keeps your memory index under the length Claude reads in full.

Status: stub. Tested with Claude Code 2.1.287.
