Command Palette

Search for a command to run...

Context Attachment Manager

Stop your agent re-sending every earlier image with each message in long, image-heavy chats.

Context Attachment Manager

About Context Attachment Manager

An agent normally sends every earlier image again with each message, so a long chat full of screenshots or keyframes gets slow and can stop going through. This plugin numbers each image (IMG-001, IMG-002 and so on) and sends earlier ones as short placeholders with a one-line note on what each shows. When the model needs an image again, it fetches the original by its ID, also after compaction.

Why it matters: in the authors' Codex test, a chat with nine keyframes grew to 42.4 MB and could not be sent after a restart or compaction; with the plugin the same requests were 0.12 MB. It runs locally and deletes nothing. Codex and Claude Code are tested; other agents are supported through adapters not yet tested live.

TypeScript, MIT, about 794 stars at the time of listing. Install by pointing your agent at the repo's INSTALL.md.

← Back to Resources