Download

slash command · Developer tools

Memory Gc

by elementalsouls

Inspect or rotate the autopilot ledger JSONL files (findings.jsonl, negatives.jsonl). Caps file size and keeps N rotated backups so memory does not grow unbounded.

Calyban is a free desktop app. It checks Memory Gc for red flags before installing, lets you choose the agent and folder, and undoes it in one click.

Install Memory Gc manually

Prefer the terminal? This does the same thing as Calyban's install.

Claude Code

mkdir -p ~/.claude/commands
curl -fsSL https://raw.githubusercontent.com/elementalsouls/Claude-BugHunter/04abf749b2d0d04ef7d5a96e14a88bd1955a721e/commands/memory-gc.md -o ~/.claude/commands/memory-gc.md

Codex

mkdir -p ~/.codex/prompts
curl -fsSL https://raw.githubusercontent.com/elementalsouls/Claude-BugHunter/04abf749b2d0d04ef7d5a96e14a88bd1955a721e/commands/memory-gc.md -o ~/.codex/prompts/memory-gc.md

Start a new Claude Code & Codex session afterwards so it picks up the change.

Remove Memory Gc

In Calyban it's one click on Undo. By hand:

Claude Code

rm ~/.claude/commands/memory-gc.md

Codex

rm ~/.codex/prompts/memory-gc.md

Similar slash commands

All slash commands →

Guides

Listed in the public Calyban catalog. Memory Gc is made by elementalsouls, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.