AI & Integration v0.1.0

context-memoize

Caches frequently used context fragments to reduce redundant processing.

shaoxiang616 更新于 2026-04-06 1 浏览
下载 SKILL

技能说明

Caches frequently used context fragments to reduce redundant processing.

使用场景

Caches frequently used context fragments to reduce redundant processing.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/context-memoize
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 18 kB
SKILL.md text/markdown
# Context Memoize Skill

Caches frequently used context fragments to reduce redundant processing.

## Trigger
When user says "缓存这个上下文" or "memoize this context" - save the current context for reuse.

## Implementation
Use a simple file-based cache:

```bash
# Save context fragment
echo "$CONTENT" >> ~/.openclaw/context-cache/fragments.md

# List cached fragments  
ls ~/.openclaw/context-cache/

# Clear cache
rm -rf ~/.openclaw/context-cache/
```

## Integration
This skill can be called from AGENTS.md Session Startup to pre-load cached context:
```bash
if [ -f ~/.openclaw/context-cache/fragments.md ]; then
  cat ~/.openclaw/context-cache/fragments.md
fi
```

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。