memory-compress-free for Openclaw

Openclaw Skills memory-compress-free turns long daily agent logs into compact, structured memory summaries with local Node.js processing.

thcjp
v1.0.1
Jul 28, 2026
0
395
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install memory-compress-free

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install memory-compress-free using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is memory-compress-free?

Openclaw Skills memory-compress-free is a lightweight, free log compression skill for AI agents that converts long Markdown daily logs into concise, structured summaries. It is designed for memory archiving workflows where agents need to preserve key events, decisions, and next steps without carrying forward excessive context.

This skill emphasizes simple local execution, single-file processing, and predictable output structure. It uses keyword extraction plus classic compression rules to reduce log volume, making it easier to append distilled memory into a central MEMORY.md file while keeping important context accessible.

memory-compress-free Use Cases

  • Compressing a single day of agent activity into a smaller archival summary
  • Turning verbose development logs into structured memory entries
  • Extracting key events, progress updates, and pending tasks from Markdown logs
  • Appending compressed daily summaries into a long-term MEMORY.md knowledge file
  • Running local, no-API-key log reduction for AI agent workflows
  • Reviewing whether a log is too repetitive or already concise enough to compress

How memory-compress-free Works

  1. Prepare a daily log file in Markdown format, typically stored as memory/YYYY-MM-DD.md.
  2. Invoke the local Node.js compression script through the AI agent using the input log path and an optional output path.
  3. The script scans the log for important keyword patterns, major progress points, and to-do items.
  4. It applies structured compression rules inspired by classic writing principles: remove repetition, keep turning points, remove process noise, and retain white space for readability.
  5. The result is written as a summarized Markdown output file, usually a compressed memory artifact.
  6. Review the compressed summary and append it to MEMORY.md for long-term retention.
  7. If needed, manually inspect edge cases where key information may not match the keyword-based extraction rules.

memory-compress-free Setup

  1. Ensure your AI agent environment supports SKILL.md-style skills and can run local commands.
  2. Install Node.js 16 or later on Windows, macOS, or Linux.
  3. Place the provided skill files in the agent’s skills directory so the local script is available.
  4. Make sure your daily logs are stored as Markdown files under memory/YYYY-MM-DD.md.
  5. Run the compression workflow from the agent with the input log and output destination.
node <skill-directory>/memory-compress.js memory/2026-07-18.md /tmp/compressed.md
  1. Append the result to your long-term memory file after reviewing the summary.
cat /tmp/compressed.md >> MEMORY.md
  1. No external API key is required because processing is handled locally by Node.js.

memory-compress-free Data Schema & Taxonomy

The skill is organized around a small, file-based memory pipeline rather than a database or remote API.

Artifact Purpose Format Notes
memory/YYYY-MM-DD.md Raw daily agent log input Markdown Primary source file for compression
compressed.md or /tmp/compressed.md Generated summary output Markdown Structured compressed memory artifact
MEMORY.md Long-term memory archive Markdown Appended after summary review
options Optional configuration Object Controls mode, format preference, and similar behavior
callback_url Optional async notification target String Present in the skill metadata, though local processing is the main workflow

Metadata taxonomy used by Openclaw Skills for this skill:

  • slug: memory-compress-free
  • version: 1.0.0
  • pricing_tier: free
  • category: Agents
  • tags: memory, compress, automation, productivity, 记忆管理, 上下文, AI, node, tmp

Core input parameters:

  • input — required string containing the log data or command
  • options — optional object for mode and formatting preferences
  • callback_url — optional URL for asynchronous completion notice

Output characteristics:

  • Structured summary with key events and pending items
  • Preservation of date context for daily archival
  • Designed for single-file compression only

memory-compress-free Advanced Features

  • Local-only Node.js execution with no external API key requirement
  • Keyword-matching extraction for major events and action items
  • Classic compression rules that remove repetition while preserving important signal
  • Markdown-native workflow that fits AI agent memory archives
  • Manual append pattern for long-term MEMORY.md consolidation
  • Built for single-file daily log compression in Openclaw Skills workflows
  • Compatible with multi-platform agent environments on Windows, macOS, and Linux
  • Clear upgrade path to paid-tier features such as batch compression, heartbeat automation, and mixed extraction engines

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*