ablate apply
Remove sections from a config, archiving them first. $0 — no agent runs.
ablate apply CLAUDE.md --drop s11,s06
ablate apply CLAUDE.md --drop s11,s06 --writeArguments & flags
| Argument/flag | Default | What |
|---|---|---|
FILE | auto-detected | Config file. |
--drop IDS | required | Comma-separated section ids to remove, e.g. s11,s06. |
--granularity | section | Must match whatever ablate sections was run with — ids mean different things at section vs bullet granularity. |
--write | off | Actually perform the edit. Without it, this previews only. |
What it does
Previews by default; nothing is written until you pass --write. Section
ids come from ablate sections — run that first to find
out what’s safe to drop.
Removed sections are saved to .ablate/removed/<timestamp>.md with a
provenance header (source file, command, git commit, each section’s
original line range) before the config file itself is edited. So
nothing here is unrecoverable, and if the edit step ever failed partway,
the archive would already exist.
Last updated on