Giverny

Trim

Shrinks an always-on LifeOS context file through a human-gated pass: deterministic GC of stale entries, then semantic merges and relocations, never dropping a directive. USE WHEN…

by danielmiessler★ 20,558General

What Trim does

Shrinks an always-on LifeOS context file through a human-gated pass: deterministic GC of stale entries, then semantic merges and relocations, never dropping a directive. USE WHEN /trim, trim the context, trim OPERATIONAL_PREFERENCES, this file is too big, reduce a doctrine file, prune an always-loaded file, fold the proposal inbox, shrink CLAUDE.md or DA_IDENTITY. NOT FOR code refactoring, trimming audio or video media (AudioEditor for audio), removing AI patterns from prose.

How to install Trim in Claude Code

Giverny gives you a ready prompt with the exact install command from danielmiessler/LifeOS. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone danielmiessler/LifeOS and copy the LifeOS/install/skills/Trim folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Trim on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the Trim skill on my current project.”

More Claude skills for general