Claude Code Default Compaction Prompt
# Claude Code Default Compaction Prompt
Local source: `/Users/jaredboynton/__devlocal/claude-deobfuscated/organized/tools/2773.js`
Observed constructors:
- `E$i(e, t = "from")`: shared constructor. Its `t === "up_to"` branch summarizes an earlier conversation segment before newer messages follow.
- `IRn(e)`: main current-session compaction prompt.
- `UOt(e, t, n, r, o)`: installs the compacted summary into the continuation session.
## Main Current-Session Prompt
Source: `IRn(e)` in `organized/tools/2773.js`.when to use it
Community prompt sourced from the open-source GitHub repo jaredboynton/patchpress (no explicit license). A "Claude Code Default Compaction Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
writingcommunitygeneral
source
jaredboynton/patchpress · no explicit license
more in Writing
Writing✓ tested
Explain anything to a smart friend
great teacher who refuses to dumb things down
Writing✓ tested
Line-edit my draft (keep my voice)
sharp copy editor who tightens without flattening
Writing✓ tested
Outline a long piece before you write it
editor who structures the argument before a word is drafted