Mem Compress banner
OoOshisuiOoO OoOshisuiOoO

Mem Compress

AI community

Description

--- description: "rtk-style pre-storage compression — collapses 3+ adjacent identical lines + merges adjacent `key: value` runs sharing the same key. Deterministic, idempotent, no LLM. Use before writing large journal/aspect blocks." --- Compress a markdown chunk before writing it to memory. Strips obvious token-waste without altering semantics. Run with the Bash tool: ```bash # from file python3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/_compress.py" "$@" path/to/file.md # or pipe cat path/to/fi

Installation

Installs to ~/.claude/skills/oooshisuiooo-gowth-mem-mem-compress/SKILL.md

Terminal
mkdir -p ~/.claude/skills/oooshisuiooo-gowth-mem-mem-compress && curl -fsSL https://raw.githubusercontent.com/OoOshisuiOoO/gowth-mem/HEAD/commands/mem-compress.md -o ~/.claude/skills/oooshisuiooo-gowth-mem-mem-compress/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository