prompt-offload
Reviewed
at commit 0e4c0dd
New version, not yet reviewed
Caution: Saves each long prompt you type or paste, which can include secrets, as a file in the temp folder outside your project and never deletes it.
Writes a prompt longer than the limit (2000 characters by default) to a temp file and sends the model its first 200 characters with the path, so one paste…
0 upvotes
Log in to upvote or save- Made by
- Kerem Gok
- Pinned commit
-
0e4c0dd09165cae2933d79eda6069c6df477137f - What we checked
-
When a prompt you type or paste is longer than the limit (2000 characters by default, /prompt-offload limit changes it), it saves the whole text to a file in the temp folder and sends Claude only the first 200 characters plus the file path. The files are not deleted afterwards. It makes no network or model calls and stores only its on/off and limit settings.
Review details
Static review of the source at the pinned commit; not run. Registers /prompt-offload (status, on, off, limit <n>, minimum 500) and handlers for session.start and prompt.submit; only prompts from the composer or the phone bridge are touched. A long prompt is written with $.fs.write to $TMPDIR/prompt-offload/<hash>.txt (or /tmp/prompt-offload), the directory being created with mkdir -p through $.process.run, and the prompt text is replaced by its first 200 characters, a note and the path, telling Claude to read that file. $.ui.log shows a line with the character count and path. On any error the prompt is passed on unchanged. Settings are kept in $.store. Saved prompts stay in the temp folder until the system clears it, and Claude's read of that path outside the project goes through the usual permission prompt. Not reviewed: eslint.config.js and Makefile (development files, not loaded).
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Writes a prompt longer than the limit (2000 characters by default) to a temp file and sends the model its first 200 characters with the path, so one paste does not fill the context.
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/prompt-offload/)