home/writing/claude-code-default-compaction-prompt

Claude Code Default Compaction Prompt

GPTClaudeGemini··175 copies·updated 2026-07-14
claude-code-default-compaction-prompt.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